omdsh-dev/dsh-genui 预览 preview

omdsh-dev/dsh-genui

GenUI for DeepSeek Harness:通过 dsh-ui 围栏在助手回复中内联渲染的交互式 UI 组件 — 布局、图表、图形、表单、测验、Mermaid、3D 场景,以及返回模型的动作事件循环。随附围栏教学宿主插件、浏览器渲染器(客户端半部分)和 genui 技能。

Project Overview项目介绍

dsh-genui is a native plugin built exclusively for DeepSeek Harness (DSH) that enables interactive UI components to render directly inside DSH conversation replies. It ships with an official DSH bundle manifest, and automatically selects between two rendering channels to work with both new and older builds of DSH without requiring any patches to the DSH source code. It supports incremental streaming rendering, so components appear as the model generates the reply, with no need to wait for the full response to finish before you can start interacting with the UI.

To install dsh-genui, you can add it directly from the DSH plugin marketplace with one click, or clone the repository and build it from source with pnpm. After installation, you only need to prompt the model to output content using the dsh-ui declarative component syntax to get an interactive result. It does not require any external dependencies after installation, and all interactions run locally in your browser. This keeps the tool lightweight and avoids any extra API costs, making it ideal for developers, data analysts, and product designers who need dynamic visualizations inside conversations.

dsh-genui is released under the permissive open-source MIT license, so it is free to use, modify, and redistribute for both personal and commercial projects. For developers who want to contribute to the project, the repository includes end-to-end test scripts to verify functionality against a local DSH build, including visual testing that does not require a DeepSeek API key. The only major limitation is that it is built exclusively for DSH, and does not currently support integration with other AI agent platforms.

dsh-genui 是一款专为 DeepSeek Harness 开发的原生插件,核心能力是在 DSH 的对话回复中直接渲染交互式 UI 组件。它允许模型在文本回复中嵌入可排序数据面板、可拖动函数图表、本地测验、持久化会话面板等交互内容,不会覆盖原有回复文本,同时自带两套自动适配不同 DSH 版本的渲染通道。

普通用户可以通过 DSH 的插件商店直接一键安装,安装完成后只需要在提问时提示模型使用 dsh-ui 语法输出结果即可使用。它适合需要对查询结果进行可视化分析、制作可交互演示面板或者生成可动态调整函数图表的开发者、数据分析师和产品设计师,开箱即用不需要额外配置。

该插件基于 MIT 协议开源免费使用,所有交互都在本地浏览器中运行,不会额外请求外部服务。它依赖 pnpm 进行项目构建,若需要二次开发可按照官方文档指引执行 pnpm install 和 pnpm run check 完成编译,使用时请确保 DSH 版本不要过于老旧。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add @changfenhuang/dsh-genui

把 omdsh-dev/dsh-genui 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

🎨 dsh-genui

English · 简体中文


Open the live product site · Watch the real demo · Install in DSH

Give the model's answers a face — the text is still there, and an interactive UI is already live.

🔌 Ecosystem: the repo carries the #dsh · #dsh-plugin topics — welcome to be listed by @dsh-plugin.

dsh-genui turns a model reply into a safe, interactive DSH surface. Ask “how are this month’s orders doing?” and the answer can include a sortable data panel, a native video, a draggable plot, a local quiz, or a persistent session panel — without replacing the surrounding text.

Start with the evidence

If you want to… Go straight to… What you can verify
See the complete DSH flow first 40-second real walkthrough Components are rendered inside a real DSH conversation.
Inspect concrete UI outputs Three real outputs Monitoring, function plots, and composable layout primitives.
Try it in your own DSH Quick start A public npm install, a prompt to run, and an activation check.
Learn the JSON language Component syntax The supported, guarded dsh-ui component specification.

Watch the real interface

No concept mockups. The recording and images in this section are captured from dsh-genui rendering in the DSH interface. Use them to see the actual visual language before installing.

40-second walkthrough

https://github.com/user-attachments/assets/f5db33ec-7471-4d4a-a85b-79c9962ab4ef

Preview of the complete dsh-genui walkthrough video
Click the preview to download the original MP4 if the GitHub player is unavailable.

The walkthrough moves from an answer-embedded panel through forms, plotting, Mermaid, and 3D-oriented components. The player does not auto-play. If it does not load, use the original MP4; the four-step prompt sequence is documented in demo-prompts.md.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-at-file 下一个 Next de-anthropocentric-research-engine →