Skip to content

Interface: UiBlock

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

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:62

Ready-to-transport content string


meta?

ts
readonly optional meta: UiBlockMeta;

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

Optional layout and presentation metadata


type

ts
readonly type: string;

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

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