DeepSeek Harness 插件

dsh_design

Clickable HTML prototype canvas for DeepSeek Harness: current-session Agent tools plus a better-sidebar Prototype tab.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
xbyzzZ/dsh_design
最近更新
2026年8月21日
分类
自动化与任务
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-21

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/xbyzzZ/dsh_design
插件名:dsh_design
作者:xbyzzZ

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-design

<p align="right"> <a href="./README.md"><kbd>English</kbd></a> <a href="./README.zh-CN.md"><kbd>中文</kbd></a> </p>

Clickable HTML prototypes inside DeepSeek Harness.

![License: MIT](LICENSE)

![Chat view tab Prototype: a scaled 1280×800 web login with zoom, pan, pins, and a prototype list](image/Snipaste_2026-08-21_10-47-41.png)

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):

EntryWhere
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 pnpm@11.22.0) and run the same command. That pin is not in this package.

Use

1. In chat: “Make a login page.” If you did not already say platform / look, the agent asks: web, iOS, or Android? paper or ink? 2. It calls design_create then design_write. HTML lands under .dsh-design/. 3. 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 4. 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:

idUse
paperLight product UI (auth, settings, content)
inkDark operations UI (admin, tables, dashboards)

Agent tools

ToolRole
design_statusProjects in this workspace and the file currently previewed
design_systemsPlatforms, default artboards, and paper / ink
design_createNew project; pass platform and designSystem from discovery
design_briefComplete or change the brief on an existing project
design_writeWrite html / css / js / svg / raster; first HTML needs a complete brief
design_listList files in a project
design_openPoint preview at an existing HTML file or another project
design_commentsRead 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](docs/prd.md).

License

MIT. See [LICENSE](LICENSE).