refactor: markdown split form agent

This commit is contained in:
2026-03-12 20:37:16 +01:00
parent 35b2e9d538
commit fb1df18256
8 changed files with 204 additions and 80 deletions

View File

@@ -1,12 +1,21 @@
/**
* Output view components: "Display" step of the pipeline (see lib/graph/rendering.ts).
* Which view is used comes from the source's outputType ('image' | 'html').
*
* - Streaming (agent): StreamingMarkdownView
* - Config markdown preview: MarkdownJsxView (markdown-to-jsx)
* - Agent final / other HTML: StaticMarkdownHtmlView
* RenderingNode chooses the view directly; no shared dispatcher.
*/
export { ImageOutputView } from './ImageOutputView'
export { MarkdownOutputView } from './MarkdownOutputView'
export { MarkdownJsxView } from './MarkdownJsxView'
export { RawOutputView } from './RawOutputView'
export { StaticMarkdownHtmlView } from './StaticMarkdownHtmlView'
export { StreamingMarkdownView } from './StreamingMarkdownView'
export type { ImageOutputViewProps } from './ImageOutputView'
export type { MarkdownOutputViewProps } from './MarkdownOutputView'
export type { MarkdownJsxViewProps } from './MarkdownJsxView'
export type { RawOutputViewProps } from './RawOutputView'
export type { StaticMarkdownHtmlViewProps } from './StaticMarkdownHtmlView'
export type { StreamingMarkdownViewProps } from './StreamingMarkdownView'