dsh-web-ui
zhu1090093659
Plugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:hanzhangzzz/dsh-diagram
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
Turn any article already available in a DeepSeek Harness session into an editable Excalidraw canvas. The Agent creates the structure; you refine the text, nodes, and connections directly in DSH.

.excalidraw, SVG, or PNG.diagram_read.Requirements:
0.1.0-rc.6^22.19.0 or >=24.0.0>=10 on PATH (the DSH plugin command delegates package management to pnpm)127.0.0.1DeepSeek Harness does not install a global dsh command by default; the official way to launch it is through npx. The commands below work on any machine that meets the requirements:
npx -y @deepseek-ai/dsh@0.1.0-rc.6 plugin --profile web add dsh-diagram@latest
npx -y @deepseek-ai/dsh@0.1.0-rc.6 --profile web --dump-config
npx -y @deepseek-ai/dsh@0.1.0-rc.6 web
The config dump should contain this block:
# == dsh-diagram
- id: diagram
name: dsh-diagram
If DSH Web was already running, restart it after adding or updating the plugin. Then open an existing session and look for the Canvas tab.
Run the same commands from a DeepSeek Harness checkout that matches the supported 0.1.0-rc.6 APIs, using pnpm dsh as the prefix:
pnpm dsh plugin --profile web add dsh-diagram@latest
pnpm dsh --profile web --dump-config
pnpm dsh web
dsh is on your PATHIf you installed the CLI globally or created a shell alias, the short form works the same way:
dsh plugin --profile web add dsh-diagram@latest
dsh --profile web --dump-config
dsh web
Later sections use this short dsh form; substitute the npx -y @deepseek-ai/dsh@0.1.0-rc.6 or pnpm dsh prefix that matches how you run DSH.
Open a DSH session that already contains the article, or let the Agent read it with DSH's existing file or Web tools.
Type / in the composer and pick canvas-diagram — the plugin registers this skill so you never have to remember a tool name. Plain requests such as "把这篇文章画成架构图" route through the same skill automatically. An explicit prompt also works:
Create one clear diagram for this article. Choose the most suitable diagram type, call diagram_create, and keep the title and node labels concise.
After the tool finishes, select Canvas at the top of the conversation.
Edit the diagram directly. Saved means the Host has completed a durable write.
Export the result, or ask the Agent to call diagram_read before continuing from your manual changes.
The plugin supports flowcharts, architecture diagrams, timelines, hierarchies, comparisons, and relationship diagrams.
| Surface | Behavior |
|---|---|
diagram_create |
Creates a diagram for the current Agent Session from a compact semantic specification. Grouped architecture specs get a banded two-dimensional layout with per-group colors. |
diagram_read |
Reads a bounded summary of the current editable scene into the conversation transcript. |
canvas-diagram skill |
Built-in bilingual routing entry: selectable from the composer's / menu and matched by generic diagram requests, so the Agent reaches diagram_create without exact tool-name prompts. |
| Canvas tab | Opens the Excalidraw editor only when selected, keeping it out of the normal chat startup path. |
| Diagram list | Switches between diagrams; collapses on desktop and becomes a selector on narrow screens. |
| Autosave | Debounced durable writes with revision conflict protection and tab-local pending-draft recovery. |
| Export | Downloads .excalidraw, SVG, or PNG files. |
The plugin does not fetch articles and does not inject UI into arbitrary websites. Article acquisition stays with the DSH conversation, file tools, or Web tools.
| Item | Supported in 0.2.0 |
|---|---|
| DeepSeek Harness | 0.1.0-rc.6 |
| Profile | web |
| Web bind address | 127.0.0.1 only |
| Node.js | ^22.19.0 or >=24.0.0 |
| Editor | Excalidraw 0.18.1 |
| Storage | Plugin-owned DSH storage-domain sidecar |
| Install artifact | Prebuilt npm package or GitHub Release tarball with SHA-256 checksum |
The npm package has no install lifecycle scripts. Installation adds a bundle to the selected DSH profile; it does not compile code or modify the DeepSeek Harness source tree.
dsh plugin --profile web update dsh-diagram
Restart DSH Web after the update.
The release page publishes the same prebuilt tarball with a SHA-256 checksum:
dsh plugin --profile web add \
https://github.com/hanzhangzzz/dsh-diagram/releases/download/v0.2.0/dsh-diagram-0.2.0.tgz
See v0.2.0 for the checksum and release notes.
dsh plugin --profile web remove dsh-diagram
Removing the bundle does not delete saved diagram sidecar data. Reinstalling the plugin can make that data available again to the same Session identity.
{createdAt, cwd} lifecycle fingerprint. A reused Session id cannot read older data.cordis.patch.yml.0.0.0.0; this release does not expose the canvas RPC to a LAN.Confirm that you installed the plugin into the web profile, that --dump-config contains the dsh-diagram block shown above, and that DSH Web was restarted after installation.
The model chooses freely among all tools and workspace skills in the session. The plugin registers its own canvas-diagram skill so generic diagram requests normally route to the canvas; if a workspace skill with a stronger matching description still wins, pick canvas-diagram from the / menu or mention the Canvas explicitly — for example, "call diagram_create so I can edit the result in the Canvas tab".
Manual edits are not silently injected into model context. Ask the Agent to call diagram_read; its result is then recorded in the normal conversation transcript.
No. First let DSH obtain the content through the conversation, a file tool, or a Web tool. Then ask for a diagram.
0.0.0.0?The canvas RPC is not designed for LAN exposure in this release. The plugin fails closed unless DSH Web is physically bound to 127.0.0.1.
The editor keeps the local draft. Export it before choosing Reload server version if you need to preserve both versions.
Under the strict content security policy, Excalidraw may fall back from glyph subsetting to embedding the full self-hosted font. The exported SVG remains self-contained; the plugin does not enable unsafe-eval to suppress the warning.
git clone https://github.com/hanzhangzzz/dsh-diagram.git
cd dsh-diagram
pnpm install --frozen-lockfile
pnpm run bundle
pnpm pack
Install the generated tarball from a DeepSeek Harness checkout:
cd /path/to/deepseek-harness
pnpm dsh plugin --profile web add /absolute/path/to/dsh-diagram-0.1.1.tgz
pnpm dsh --profile web --dump-config
pnpm dsh web
Developer checks:
pnpm run typecheck
pnpm run test
pnpm run bundle
pnpm pack --json
pnpm run smoke:dsh-install
See DESIGN.md for the product and implementation decisions.
Bug reports and focused pull requests are welcome in GitHub Issues. If the plugin improves your article-to-diagram workflow, a GitHub star helps other DSH users discover it.
The plugin's own code is licensed under MIT. Licenses for bundled JavaScript and self-hosted fonts are listed in THIRD_PARTY_NOTICES.md and third_party_licenses/.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: diagram-editor、visualization、web-ui。