assistant-ui 扩展跨端生成式组件词汇与可持久交互状态
assistant-ui 于 10 月 13 日发布 @assistant-ui/generative-ui 0.0.4 与 generative-frame 0.0.5:为 React 与 React Native 增加图表、地图、标签页、步骤、时间线、引用与进度清单,并让显式用户操作产生的界面状态可进入后续模型上下文。
为什么值得关注
生成式界面正在从一次性渲染转向有状态交互闭环;组件目录、运行时隔离、宿主策略与模型上下文必须协同。
技术细节
新版改进 React Native 卡片和图片尺寸、VoiceOver/TalkBack 嵌套控件可访问性,并转义 Slack mrkdwn。generative-frame 持久化状态,限制模型上下文回传为最多 4,000 字符且标记为数据;$calc 使用有界解释器而非 eval,并以显式来源白名单控制外部字体和样式。
适合哪些读者
生成式 UI 框架、React/React Native、智能体运行时和安全治理团队
原始来源
- assistant-ui ↗www.assistant-ui.com
- Separate October 15 runtime update; not evidence for this October 13 event ↗github.com
- assistant-ui ↗github.com
修订与更正记录 (4)
— Use version-specific canonical release for restored October 13 event. Retained October 15 PR explicitly labels a separate later event; source history preserved.
— Correction: restore October 13 generative-ui/frame event after broad changelog canonical URL incorrectly merged the distinct October 15 runtime update. Original date and complete original bilingual content restored; retain audit history.
— Original release/paper and actual publication date verified; new distinct event, bilingual original synthesis with explicit evidence limitations.
— Assistant-ui's October 13 official release combines a new cross-platform generative component vocabulary with persisted frame state and an explicit user-event-to-model-context channel. It is materially relevant, not present in the catalog, and the two same-day package releases are merged into one event.