omdsh-dev /dsh-genui
GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model. Ships the fence-teaching host plugin, the browser renderer (client half), and the genui skill.
★ 1,004⑂ 96👁 2⑃ 283● 164▤ 25
More from this author
+8
Daily
1,004
stars
96
forks
2
watchers
283
prs
164
issues
25
releases
README
Generative UI for DeepSeek Harness (DSH) Interactive, rich components rendered inline alongside the model's textual responses. English · 简体中文 🌐 Live Product Site · 🎬 Real Demo · 🚀 Quick Start · 🧩 Feature Matrix · 📖 Component Syntax (SKILL.md) --- dsh-genui turns DeepSeek Harness (DSH) assistant replies into safe, fully interactive UI surfaces. Ask “How are this month’s orders doing?”, and instead of plain text or raw code blocks, the response streams out an interactive sortable data table, audio/video players, draggable function plots, self-grading quizzes, or a persistent workspace dock — all embedded seamlessly within the conversation. --- 🎬 Real Interface Showcase [!NOTE] Real Interface Captures: All recordings and screenshots below are captured directly from real DSH interface rendering — no conceptual mockups or faked pre-renders. 40-Second Walkthrough https://github.com/user-attachments/assets/f5db33ec-7471-4d4a-a85b-79c9962ab4ef (Click the thumbnail to download the original MP4 if the GitHub video player fails to load. The prompt sequence is documented in demo-prompts.md.) Three Concrete Real Outputs | 1. Monitoring Panel: Answer is the Dashboard | 2. Function Plot: Drag to Redraw Instantly | 3. Composable Hierarchy: Work Surface | | :--- | :--- | :--- | | !Monitoring Panel | !Function Plot | !Composable Hierarchy | | Data Insights: Eyebrow stats, filterable/drill-down service table, grouped totals, and spark/ring cells directly live in the assistant reply. | Zero-Latency Exploration: plot draws mathematical curves; drag parameter sliders to re-calculate and redraw locally in real time. | Structured Hierarchy: Display quotes, stat cards, ring progress, and labeled chapter dividers composed declaratively by the model. | --- ✨ Before vs. After | Scenario | Plain Text Response | With dsh-genui | | :--- | :--- | :--- | | Business Overview | “Revenue this month is ¥128,430 (+12.4% MoM); conversion rate is slightly dipping…” | One line of concise prose + 3 stat cards (revenue/orders/conversion), a trend chart, and a progress bar rendered right beside it. | | Data Exploration | Type another prompt to ask the model to re-sort or filter. | Click table headers to sort numbers locally, or use the search box to filter rows in real time. | | Parameter Tuning | Re-prompt the model and wait for another full generation. | Drag sliders to see curves update in sub-millisecond speed with animation preview. | | Next Actions | Copy text and manually perform follow-up tasks elsewhere. | Click interactive action buttons (e.g. “Refresh”, “Switch View”) to trigger bidirectional model event loops. | --- 🚀 Quick Start 1. Prerequisites Ensure your environment meets the following requirements: - DSH Version: ^0.2.0-rc.1 || ^0.2.1-rc.1 || ^0.2.2-alpha.2. Packed browser acceptance covers 0.2.0-rc.1, 0.2.1-rc.3 and the exact npm hosts 0.2.2-rc.1 (current latest / next) and 0.2.2-alpha.2; 0.2.1-rc.4 and
Top issues
#398[Bug] 页面背景非纯色时(背景图/玻璃态外观)card / callout / table 底色完全透明,文字压花纹不可读4 comments · 2026-10-29#259[Discussion] 零交付回合的宿主层自动恢复:EMPTY_RESPONSE 策略与逐字节重放检测(承接 #242 调查)1 comments · 2026-10-05#450[Bug] 启用 dsh-genui 后 DSH 内置“引用文本”选区操作消失0 comments · 2026-11-15#443[性能] 单张 mermaid 图渲染阻塞主线程 4615 ms:241 张样式表下的强制同步布局(独立复现 #303,渲染环境未变)0 comments · 2026-11-13#441[Feature] genui:fence 系统提示从 1,739 回涨到 3,397 字符:建议加 minimal/off 开关,并把 type 白名单真正下沉到 skill0 comments · 2026-11-12#436[Bug] choices 组件漏写 action 字段时提交静默失效:建议渲染为禁用态或在教学层强制0 comments · 2026-11-10#434该插件会影响到 0.2.2-rc.1 版本的选中文本引用的功能0 comments · 2026-11-10#432Fence-feedback loop is blind to fences whose opening label is not at line start (extracted=[] and delivered=true)0 comments · 2026-11-08
Latest release
GenUI 0.16.0 v0.16.0 2026-11-09GenUI 0.16.0 新增更完整的编辑、选择与图解交互,并支持 DSH 0.2.2-rc.1。 新增与改进 - 新增 compare 图片对比、choices 丰富选项与本地判卷。 - 新增 editor 编辑器、entity-card 实体卡片、popover 浮层、date-picker 日期选择与 segmented-control 分段选项。 - diagram 支持节点选择、键盘操作、节点详情与字段联动;when / disabledWhen 提供条件显示与禁用,隐藏字段不提交。 - 容器内完整子项和表格行可提前呈现,骨架屏根据已知结构显示;移除固定组件配额和强制触发规则。 - 新增表格按列换行,并修复中文排版、深色图解对比度、步骤角标、逗号小数及面板校验与恢复。 DSH 兼容与验证 - 将精确 npm 宿主的接口、完整测试、构建和安装包浏览器验收更新到 DSH 0.2.2-rc.1,覆盖正文渲染、图片选择、计算字段提交与 Linux 地图交互。 - 保留最低宿主、此前 RC 与 0.2.2-alpha.2 检查;第三方侧栏仍在 0.2.1-rc.3 上验收。 - DSH 当前 RC 与 alpha 宿主要求 Node.js =24.9.0。 自动会话验收使用官方本地回放;真实模型账户、Android 真机和原 Windows Desktop 环境的验收