deepseek-intelligent-ui
Intelligent UI for DeepSeek Harness: the model answers with an openui-lang program and the Web GUI renders it as a live, interactive UI inside the chat
What it is
Intelligent UI for DeepSeek Harness: the model answers with an openui-lang program and the Web GUI renders it as a live, interactive UI inside the chat
How to install
Run this in the DSH web profile, then refresh the page.
$ dsh plugin --profile web add @my-dsh/dsh-intelligent-ui@1.1.0
DSH versions accepted
>=0.2.1-alpha.4
Author and traction
my-dsh · ★ 10 · Updated 2026-10-17
About this plugin
智能 UI · Intelligent UI for DeepSeek Harness
参考 [thesysdev/open-intelligent-ui](https://github.com/thesysdev/open-intelligent-ui) 实现的 DSH 插件:
模型的回答不再是一段文字,而是一个可以直接操作的界面。
模型调用 intelligent_ui 工具,写出一段声明式的 openui-lang 程序;Harness Web GUI 在聊天里把它渲染成真实的交互界面——
可编辑的清单、滑块、下拉框、表格、图表、SVG 绘图。所有控件绑定在 $变量 上,界面上任何一处改动都会让整段程序重新计算,
所以回答本身就是一个能干活的工具,而不是一张需要再发回给模型的表单。
模型 ──tool call: intelligent_ui({ title, program })──▶ 会话日志 (tool/call)
│
客户端 tool.call.toolview[key=intelligent_ui] ◀─────────┘
读取 block.call.argsRaw → parse → evaluate → React 元素树(自带 $state)
安装
需要 DeepSeek Harness(带 plugin_manager;Creator 预设默认启用该工具,Web 侧栏的插件页也可以安装外部 bundle)。
方式一:从 npm 安装(推荐)
已发布到 npm:
plugin_manager(action="install_bundle", target="@my-dsh/dsh-intelligent-ui")
- 包名必须带
@my-dsh/scope:npm 上裸名dsh-intelligent-ui已被另一个同名插件占用,用裸名安装会装到别人的包。 - 国内不需要额外配置:pnpm 走你已配置的 registry(npmmirror 已同步本包)。
- 仓库自带构建产物
client.js,安装即用,不需要构建步骤。
方式二:从插件市场安装
在 Web 侧栏的插件页启用实验性的「自定义插件市场」,添加索引源:
https://my-dsh.github.io/deepseek-intelligent-ui/market/index.json
索引里只有本插件,安装同样解析到 npm 上的版本。
方式三:从 GitHub 安装
仓库自带构建产物 client.js,无需预先构建。安装 spec 任选一种等价写法:
github:my-dsh/deepseek-intelligent-ui https://github.com/my-dsh/deepseek-intelligent-ui.git
通过 agent 的 plugin_manager 工具安装:
plugin_manager(action="install_bundle", target="github:my-dsh/deepseek-intelligent-ui")
管理器会先用 git ls-remote 探测仓库可达性,再交给 pnpm 安装。
安装后
install_bundle 会把包装进 profile 的依赖,并把 @my-dsh/dsh-intelligent-ui 追加到 profile
package.json 的 dsh.profile.bundles 列表。它不会往 profile 的 cordis.patch.yml 写行:
真正启用插件的那一行来自本包自带的 cordis.patch.yml(bundle 层):
- insert:
- id: intelligent-ui
name: '@my-dsh/dsh-intelligent-ui'
要调整行为,在 profile 的 cordis.patch.yml(用户层,最后应用、覆盖 bundle 层)里给同一个
id 写一次覆盖即可(本插件不导出 Config schema,因此不做校验):
- id: intelligent-ui
config:
prompt: true # 是否在系统提示里教这套语言,默认 true
maxProgramBytes: 60000
maxDiagnostics: 24
升级 / 切换安装来源
已经装过同名 bundle 时,再 install_bundle 会返回 already-installed(运行中的 bundle 不能就地替换)。
升级或切换来源都是"先移除、再安装":
plugin_manager(action="remove_bundle", target="@my-dsh/dsh-intelligent-ui")
Compare in this category
The five most-starred plugins in the same category.
| Plugin | Author | Stars | Version | Updated |
|---|---|---|---|---|
| open-design | nexu-io | 106.9K | 0.25.1 | 2026-11-10 |
| huashu-design | alchaincyf | 29.1K | 3.3.0 | 2026-11-10 |
| dsh-web | zhu1090093659 | 10.3K | 0.0.1 | 2026-11-10 |
| baoyu-design | JimLiu | 6.3K | 2.12.2 | 2026-11-10 |
| dsh-wallpaper-engine | elysia395 | 6.3K | 1.4.2 | 2026-11-10 |