Skip to content

Interface: UiBlock

Defined in: packages/core/src/presenter/ui.ts:36

A structured UI block produced by a Presenter's SSR layer.

Each block carries a semantic type for future protocol evolution and the content string ready for MCP transport.

Properties

content

ts
readonly content: string;

Defined in: packages/core/src/presenter/ui.ts:40

Ready-to-transport content string


type

ts
readonly type: string;

Defined in: packages/core/src/presenter/ui.ts:38

Semantic type identifier (e.g. 'echarts', 'mermaid', 'markdown')