genui / a2ui / MessageProcessor
MessageProcessor
Stateful A2UI protocol processor that turns raw v0.9 messages into renderable surfaces, resources, data-model signals, and user-action events.
构造函数
new MessageProcessor()
返回
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:48
属性
surfaces
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:43
方法
clearSurfaces()
返回
void
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:118
dispatch()
参数
返回
Promise<unknown>
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:63
getOrCreateSurface()
参数
返回
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:122
getSurfaces()
返回
ReadonlyMap<string, Surface>
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:114
onEvent()
参数
返回
Function
返回
void
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:107
onUpdate()
参数
返回
Function
返回
void
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:52
processMessages()
参数
返回
void
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:280
resolvePath()
Resolve a JSON Pointer taking into account the current data context.
- Absolute paths (starting with '/') are returned as-is.
- Relative paths are resolved against the provided dataContextPath.
参数
返回
string
定义于
@lynx-js/genui/a2ui/src/store/MessageProcessor.ts:145