
pengyue-polaron/deepseek-harness-genui
91最近提交 2026年8月15日
deepseek-harness-genui DSH 插件
DeepSeek Harness GenUI 插件允许Agent生成自定义交互界面,可嵌入对话内或显示在画布中,适用于日程安排、探索性分析、代码追踪等复杂任务。生成的界面能将用户选择和输入保存到任务状态,后续对话轮次可直接读取,无需重复询问。支持 Web(内联、画布、全屏)和 TUI(仅返回本地链接)两种模式。
如何安装 deepseek-harness-genui DSH 插件
dsh plugin --profile web add dsh-plugin-genui复制不会执行命令。安装 deepseek-harness-genui DSH 插件前请核对仓库和版本。
deepseek-harness-genui DSH 插件数据来源
deepseek-harness-genui DSH 插件快照日期:2026年8月16日
discovered
deepseek-harness-genui DSH 插件能做什么
- Agent 编写普通 React + TypeScript 代码,插件负责构建和检查。
- 界面可保存语义值(选择、表单答案、草稿、进度)到当前任务。
- 支持内联、画布、全屏和本地链接四种显示方式。
- 仅声明所需的 Harness/MCP/Skill 工具或无凭证公共 HTTPS 路由,未声明的调用被阻止。
- 通过 DESIGN.md 控制设计语言(内置4个配置),不限制页面结构。
- 生成的代码在沙箱中运行;临时链接和授权7天后过期。
deepseek-harness-genui DSH 插件适合哪些场景
- 选择日历时间段:将候选可用时间转化为90分钟写作块的简短列表。
- 探索光合作用模型:通过控制光照、二氧化碳等变量找到限制步骤,图表实时变化。
- 追踪代码路径:从命令行获取基于源码的交互式探索器,展示文件、函数、分支和用户选择的路径。
- 收集复杂用户输入:通过表单、滑块等交互元素替代纯文本问答。
- 可视化关系:创建图表、模拟或地图来解释复杂概念。
deepseek-harness-genui DSH 插件适合谁
- 使用 DeepSeek Harness 的开发者,希望为复杂任务构建丰富的交互界面。
- 需要收集结构化输入或可视化数据,又不想离开对话的 AI Agent 用户。
- 构建需要由 Agent 动态生成 UI 的自定义工作流的团队。
deepseek-harness-genui DSH 插件的限制
- 需要 Node.js ^22.19.0 || >=24 和 DeepSeek Harness ^0.1.0-rc.6。
- 仅支持 Web(完整功能)和 TUI(仅返回本地链接,无画布)两种配置文件。
- 生成的代码仅限于 React + TypeScript,不支持其他框架。
- 所有外部 API 调用必须预先声明,未列出的路由将被阻止。
- DESIGN.md 仅控制设计语言,不控制页面结构或布局。
- 临时链接和授权7天后过期;任务状态在最后一次更新后7天过期。
deepseek-harness-genui DSH 插件的仓库 README 摘录
以下文字摘自 deepseek-harness-genui DSH 插件的上游仓库 pengyue-polaron/deepseek-harness-genui 的 README,版权归原作者,仅作引用。
English | [简体中文](README.zh-CN.md) [](package.json) [](LICENSE) <img src="assets/hero-en.png" width="1280" alt="A task becomes an interface, saved choices return to the task, and later actions wait for approval"> Some tasks are awkward in text. DeepSeek Harness GenUI lets an Agent create a focused interface for the current task: something that explains a difficult relationship or collects a complex user response. The plugin is code-first. The Coding Agent writes ordinary React + TypeScript, not a component-tree DSL or IR. The interface can save what the user selected, entered, or changed so the next Agent turn can read it and continue the task. ## When an Interface Helps Use an interface when the user needs to see a difficult relationship or make several connected choices. Plain questions, rewriting, summaries, and simple lists stay in prose. <table> <tr> <td><strong>Pick calendar slots</strong><br><br>Turn candidate availability into a short list of useful 90-minute writing blocks.<br><br>The interface saves the
阅读完整 README仓库许可: MIT
deepseek-harness-genui DSH 插件常见问题
如何安装 DeepSeek Harness GenUI 插件?
运行 `dsh plugin --profile web add dsh-plugin-genui` 为 Web 配置文件安装插件。然后运行 `dsh plugin --profile web exec playwright install chromium` 安装 Playwright 的浏览器依赖。最后使用 `dsh --profile web` 启动 DeepSeek Harness。
需要什么版本的 Node.js?
插件需要 Node.js 版本 ^22.19.0 或 >=24。安装前请确保你的环境满足此要求。
可以在纯终端环境下使用吗?
可以,使用 `tui` 配置文件代替 `web`。在安装和运行命令中将 `web` 替换为 `tui` 即可。注意 TUI 只返回 localhost 链接,不支持嵌入 Canvas 或内联视图。
插件如何处理安全性和权限?
插件要求 Agent 预先声明所有需要的 Harness/MCP/Skill 工具以及公共 HTTPS 路由。未声明的调用会被阻止。可以从应用卡片中查看或撤销访问权限。临时链接和授权在7天后过期。
可以自定义生成界面的设计吗?
可以。打开设置 → 插件 → 插件配置,为新应用设置默认的 DESIGN.md。你可以选择内置配置(editorial-workbench、ledger-grid、field-atlas、kinetic-signal)或导入自定义的 DESIGN.md。DESIGN.md 控制设计语言,但不控制页面结构。