dsh-generative-ui:在 DSH 对话流里渲染可交互 Generative UI

dsh-generative-ui(@ttmouse/dsh-generative-ui,v0.2.2)是 ttmouse 维护的 DSH 客户端插件:agent 在回复中用 generative-ui 围栏输出自包含 HTML,客户端从 assistant 消息提取工件,以 sandbox allow-scripts 的 iframe 渲染可交互卡片。纯客户端、无后端与额外存储;内置设计系统 CSS 与高度自适应。安装需 dsh plugin --profile desktop add link 并在 profile bundles 中加入包名后重启 Desktop。要求 DSH >=0.1.5-rc.2,MIT 许可。

Read More
dsh-generative-ui: Let DeepSeek Harness respond with live TSX

`dsh-generative-ui` is a client-side plugin for DeepSeek Harness designed to upgrade an Agent's plain text responses into a streamable real-time React interface. The plugin supports two presentation modes: Inline mode directly renders `ui4a/tsx` code blocks between conversational paragraphs, while Canvas mode opens a standalone interface in a side panel that persists across turns. Core features include continuous streaming rendering during model output, dynamic npm dependency resolution via `esm.sh`, sharing the host React instance, and light/dark theme adaptation based on application design tokens. Regarding installation, users can install the plugin via the `dsh plugin add` command from a registry, remote URL, or local path; however, it is important to note that the plugin does not support hot reloading, and `dsh` must be restarted after installation.

Read More