DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Diagram — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-diagram

Diagram

将 DeepSeek Harness 中的文章转换为可编辑的 Excalidraw 画布

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-diagram@0.5.0
README兼容性版本

兼容性与来源证明

Diagram 以 dsh-diagram 发布,当前版本为 0.5.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.5.0stable
2026/9/16
0.4.0stable
2026/9/1
0.3.4stable
2026/8/19
查看其余 8 个版本收起版本
0.3.3stable
2026/8/19
0.3.2stable
2026/8/19
0.3.1stable
2026/8/19
0.3.0stable
2026/8/19
0.2.1stable
2026/8/19
0.2.0stable
2026/8/16
0.1.1stable
2026/8/15
0.1.0stable
2026/8/15

相关插件

正在加载相关插件…

最新版
0.5.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
21.6 MB
文件数
681
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
351
安全扫描
✓ v0.5.0 扫描通过
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

README

dsh-diagram

English | 简体中文

Your DSH session already understands the article. Turn that understanding into an Excalidraw canvas you can keep editing.

The Agent creates the first structure; you refine it in DSH, autosave it, and export it. The result stays editable instead of becoming disposable Mermaid output.

From a DSH article session to an editable, saved Excalidraw canvas

Install it in one command, then type / and pick canvas-diagram in any DSH session:

npx -y @deepseek-ai/dsh@0.1.5-rc.1 plugin --profile web add dsh-diagram@latest

Useful for your DSH toolbox? Star the repo so you can find it when the next long article needs a diagram.

Full requirements and verification: Quick install.

Why dsh-diagram?

  • Editable, not disposable. Continue working in a full Excalidraw canvas instead of accepting a static generated image.
  • Clean or sketchnote. Keep the default precise diagram, or ask for a warm-paper editorial sketch with handwritten text, marker washes, and editable semantic line icons.
  • Built into the conversation. A live preview card lands in the chat flow right after creation, and the Canvas tab opens the full editor without leaving the DSH session.
  • Saved and ready to share. Revision-safe autosave protects newer work, and export produces .excalidraw, SVG, or PNG.

Quick install

Requirements:

  • DeepSeek Harness 0.1.5-rc.1 (latest); also verified on 0.1.5-rc.2 and 0.1.2-rc.1. DSH 0.1.1-rc.2 and older need dsh-diagram 0.4.0
  • Node.js ^22.19.0 or >=24.0.0
  • pnpm >=10 on PATH (the DSH plugin command delegates package management to pnpm)
  • DSH Web bound to 127.0.0.1

DeepSeek 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.5-rc.1 plugin --profile web add dsh-diagram@latest
npx -y @deepseek-ai/dsh@0.1.5-rc.1 --profile web --dump-config
npx -y @deepseek-ai/dsh@0.1.5-rc.1 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.

Running DSH from source

Run the same commands from a DeepSeek Harness checkout that matches a supported release, using pnpm dsh as the prefix:

pnpm dsh plugin --profile web add dsh-diagram@latest
pnpm dsh --profile web --dump-config
pnpm dsh web

If dsh is on your PATH

If 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.5-rc.1 or pnpm dsh prefix that matches how you run DSH.

Create your first diagram

  1. Open a DSH session that already contains the article, or let the Agent read it with DSH's existing file or Web tools.

  2. 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.
    

    For the optional editorial hand-drawn treatment, say so explicitly:

    Turn this article into an editable sketchnote diagram. Use semantic icons only for the key concepts.
    
  3. After the tool finishes, select Canvas at the top of the conversation.

  4. Edit the diagram directly. Saved means the Host has completed a durable write.

  5. Export the result, or ask the Agent to call diagram_read before continuing from your manual changes.

The plugin supports report boards, flowcharts, architecture diagrams, timelines, hierarchies, comparisons, and relationship diagrams. Visual style is independent of diagram type: omitted/clean preserves the original rendering, while sketchnote uses warm paper, near-black ink, low-saturation marker fills, handwritten text, and a controlled set of native Excalidraw icons. Evidence-heavy reports use deterministic full-width context/outcome bands, aligned main columns, semantic colors, and converter-measured native text placement. Report and grouped-architecture connectors select stable node-boundary ports and orthogonal corridors while avoiding unrelated nodes, group headings, and independent routed edges.

What it adds

SurfaceBehavior
diagram_createCreates a diagram for the current Agent Session from a compact semantic specification. visualStyle: "sketchnote" selects the optional hand-drawn compiler; controlled icon values compile to editable native primitives rather than images.
diagram_readReads a bounded summary of the current editable scene into the conversation transcript.
canvas-diagram skillBuilt-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.
Inline chat previewAfter diagram_create, a preview card appears in the conversation flow and always renders the diagram's current content — including later canvas edits — as a static SVG.
Canvas tabOpens the Excalidraw editor only when selected, keeping it out of the normal chat startup path.
Diagram listSwitches between diagrams; collapses on desktop and becomes a selector on narrow screens.
AutosaveDebounced durable writes with revision conflict protection and tab-local pending-draft recovery.
ExportDownloads .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.

Compatibility

ItemSupported in 0.5.0
DeepSeek Harness0.1.5-rc.1, 0.1.5-rc.2, 0.1.2-rc.1 (older DSH: use dsh-diagram@0.4.0)
Profileweb
Web bind address127.0.0.1 only
Node.js^22.19.0 or >=24.0.0
EditorExcalidraw 0.18.1
StoragePlugin-owned DSH storage-domain sidecar
Install artifactPrebuilt 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.

Manage the installation

Update

dsh plugin --profile web update dsh-diagram --latest

Restart DSH Web after the update.

Install the exact latest public GitHub Release artifact

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.5.0/dsh-diagram-0.5.0.tgz

See v0.5.0 for the checksum and release notes.

Remove

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.

Data, security, and limits

  • The Excalidraw scene is the current document. The original semantic specification is retained only as its creation source.
  • A diagram is bound to its Session id and {createdAt, cwd} lifecycle fingerprint. A reused Session id cannot read older data.
  • Session fork and Session export do not copy or include diagram sidecar data.
  • Editor assets and fonts are self-hosted by the bundle; the canvas does not depend on an external CDN.
  • Static paths, RPC bodies, request origin, Session ownership, and scene contents are validated by the Host before persistence.
  • Images, iframes, embeddables, external links, and non-empty binary files are rejected in this release.
  • Defaults limit each scene to 1 MiB and all stored diagram records to 64 MiB. Element, text, diagram-count, and byte limits are explicit in cordis.patch.yml.
  • The plugin intentionally refuses to load when DSH Web binds to 0.0.0.0; this release does not expose the canvas RPC to a LAN.

Troubleshooting

The Canvas tab is missing

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 Agent wrote an SVG or Mermaid file instead of using the Canvas

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".

The Agent does not know about my manual edits

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.

Can the plugin fetch an article from a URL?

No. First let DSH obtain the content through the conversation, a file tool, or a Web tool. Then ask for a diagram.

Why does startup fail with 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.

What should I do after a revision conflict?

The editor keeps the local draft. Export it before choosing Reload server version if you need to preserve both versions.

Why can SVG export log a font fallback warning?

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.

Build from source

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-VERSION.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

Every installable development commit must use a new prerelease version; never repack changed code under an existing version. Before a public release, pack once and exercise the same DSH profile update path from the previous public version to that exact tarball:

pnpm run smoke:dsh-install -- \
  --tarball /absolute/path/to/dsh-diagram-VERSION.tgz \
  --upgrade-from PREVIOUS_PUBLIC_VERSION

This verifies the client-side update mechanics and both pre/post-update Web boots without publishing the candidate. Registry discovery through @latest is verified separately after the version is publicly released.

See DESIGN.md for the product and implementation decisions.

Contributing

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.

License

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/.

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness:通过自然语言驱动多智能体团队协作(队长、成员、具有依赖关系的任务、消息传递),并在 Web GUI 中提供树状监视器