pengyue-polaron/deepseek-harness-genui 预览 preview

pengyue-polaron/deepseek-harness-genui

Plugin插件 Native原生 ⭐ 114 MIT Productivity & Tasks效率与任务

DeepSeek Harness 的代码优先生成式 UI

Project Overview项目介绍

DeepSeek Harness GenUI is a native DSH plugin that lets coding agents build task-specific generative UIs using standard React and TypeScript, rather than a custom domain-specific language. It can render UIs in four different surfaces: inline in the conversation, as a Canvas panel, fullscreen, or on localhost. To install it, users need Node.js version 22.19.0 or newer, and run the command dsh plugin --profile web add dsh-plugin-genui to add it to their supported DeepSeek Harness web profile. TUI and headless profiles are not supported by the current v0.14 version of the plugin.

GenUI is designed for tasks that are awkward to handle in plain text, such as selecting calendar slots, exploring interactive scientific models, or tracing code paths through a repository. After a user makes selections or enters inputs in the generated UI, those values are saved for the next agent turn, so the agent can continue the workflow without asking the user to re-enter information. Users can test the plugin by starting a new web session and pasting a sample prompt that asks for an interactive interface, then follow up after saving their choices. It is not intended for simple tasks like plain questions, rewrites, or summaries, which work better as prose.

The plugin is released under the open source MIT license, and generated code runs in an opaque-origin sandbox for security. Only saved state, declared tools, and declared credential-free public HTTPS routes are brokered through the trusted parent, so MCP credentials never enter the generated code. Temporary links and task state expire 7 days after the last update to keep data fresh and reduce security risk. Users can choose a pre-built design system like Material 3, Apple Human Interface, or shadcn-ui, or add a custom DESIGN.md file to control the visual language of generated interfaces.

这是一个专为 DeepSeek Harness 开发的原生插件,允许编码代理基于普通 React + TypeScript 生成定制化的生成式界面,解决纯文本交互难以处理的复杂任务,支持在对话内联、侧边画布、全屏或本地主机运行界面。用户可通过 dsh plugin --profile web add dsh-plugin-genui 命令安装,要求环境满足 Node.js 版本 ^22.19.0 或 ^24.0.0,不支持 TUI 和无头配置文件。

用户可以用它生成任务专用界面,比如日程规划选时间、交互调节科学模型参数、探索代码调用路径等,用户在界面上做出的选择会被保存,供下一轮代理任务继续使用,无需用户重复输入信息。它适用于需要可视化复杂关系或完成多个关联选择的任务,简单问答、改写和总结等普通文本任务依然可以保持原形式处理。

本插件采用 MIT 许可开源,生成的代码运行在不透明源沙箱中,仅允许访问声明过的工具和无凭证公开 HTTPS 路由,不会泄露 MCP 凭证,临时链接和任务状态会在最后一次更新7天后过期。用户可在插件设置中选择设计规范,也可自定义 DESIGN.md 控制界面的视觉语言。

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 dsh-plugin-genui

把 pengyue-polaron/deepseek-harness-genui 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DeepSeek Harness GenUI

DSH Insights health

English | 简体中文

npm version Node.js Paper dsh.so risk License

DeepSeek Harness with an interactive day plan inline and a scientific model open in Canvas

DeepSeek Harness GenUI lets an Agent build a focused interface when a task is awkward in text. The Coding Agent writes ordinary React + TypeScript—not a component-tree DSL—and the interface can save user selections for the next Agent turn.

The result is a task-specific app that can explain a difficult relationship, collect connected choices, or continue a tool-backed workflow without asking the user to repeat their input.

Related research: EvoGenUI-Bench: Evaluating LLMs as Multi-Turn Generative UI Assistants.

Install

Requires Node.js ^22.19.0 || ^24.0.0 and a supported DeepSeek Harness Web profile.

dsh plugin --profile web add dsh-plugin-genui
dsh --profile web

v0.15 supports Inline, Canvas, fullscreen, and localhost on the tested Harness versions listed in the release notes. TUI/headless profiles are not supported. The local compiler uses WebAssembly and needs no install-script approval. Plugin users do not need Chrome or Chromium.

Where It Helps

Use an interface when the user needs to see a complex relationship or make several connected choices. Plain questions, rewriting, summaries, and simple lists should stay in prose.

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-remote 下一个 Next hanai-investment-dsh →