dsh_design
已验证 · 实测可装 xbyzzZ
功能简介
Clickable HTML prototype canvas for DeepSeek Harness.
可用 — 实测通过,早期项目
Clickable HTML prototype canvas for DeepSeek Harness. 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-design
Clickable HTML prototypes inside DeepSeek Harness.

What it does
- Agent tools (
design_*) write HTML under.dsh-design/ - Preview is a scaled artboard at the platform size
- Click the page, drop pins, and continue in the same chat
Official plugin docs: tools · publish · Cordis
Requirements
- DeepSeek Harness web profile, Node.js 22+
- dsh-better-sidebar for the sidebar tab (optional; tools still write files without it)
Two places to open Prototype (toolbar checkboxes):
| Entry | Where |
|---|---|
| Sidebar tab (on by default) | better-sidebar + → Prototype |
| Chat tab (off by default) | in-chat view tab |
Install
From this directory:
dsh plugin --profile web add .
Restart DSH. Open better-sidebar + and choose Prototype.
dsh plugin installs into $DSH_HOME/profiles/web and appends the bundle because package.json declares dsh.bundle.patch.
If add fails with pnpm v11.12.0 is a broken release, bump the profile packageManager pin (for example [email protected]) and run the same command. That pin is not in this package.
Use
- In chat: “Make a login page.” If you did not already say platform / look, the agent asks: web, iOS, or Android? paper or ink?
- It calls
design_createthendesign_write. HTML lands under.dsh-design/. - The Prototype tab shows a scaled artboard:
- web 1280×800, iOS 390×844, Android 412×915
- several prototypes in one workspace → pick from the strip under the toolbar
- − / % / + zoom · Pan or hold Space and drag · two-finger scroll to pan · ⌘/Ctrl+scroll to zoom
- Pin: click a spot, write a note, then mention it in chat. The agent reads pins before rewriting.
Files may nest two folders. HTML can <link href="css/app.css">, <a href="settings.html">, <img src="assets/logo.png">. Raster images use encoding=base64. design_systems with id=paper or ink loads a sample page.
Looks:
| id | Use |
|---|---|
paper |
Light product UI (auth, settings, content) |
ink |
Dark operations UI (admin, tables, dashboards) |
Agent tools
| Tool | Role |
|---|---|
design_status |
Projects in this workspace and the file currently previewed |
design_systems |
Platforms, default artboards, and paper / ink |
design_create |
New project; pass platform and designSystem from discovery |
design_brief |
Complete or change the brief on an existing project |
design_write |
Write html / css / js / svg / raster; first HTML needs a complete brief |
design_list |
List files in a project |
design_open |
Point preview at an existing HTML file or another project |
design_comments |
Read canvas pins (x,y in 0..1, optional CSS selector) before rewriting |
Storage
<workspace>/.dsh-design/
current.json
projects/<id>/
project.json
comments.json
index.html
css/app.css
assets/logo.png
settings.html
Safe to commit or gitignore. Paths stay under .dsh-design. Single file cap is 512 KiB (maxFileBytes).
Config
The bundle ships cordis.patch.yml. Official patches replace config wholesale. To override:
- insert:
- id: dsh-design
name: dsh-design
config:
maxFileBytes: 524288
Develop
node --test test/*.test.js
Tests use Node builtins only.
Product notes (Chinese): docs/prd.md.
License
MIT. See LICENSE.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh_design」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:xbyzzZ/dsh_design Headless(CLI)profile:
dsh plugin --profile headless add github:xbyzzZ/dsh_design 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。