DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Mermaid Zoom — DSH Plugin for DeepSeek Harness
← Plugins

dsh-mermaid-zoom

Mermaid Zoom

Mermaid diagram enhancement for the DeepSeek Harness (DSH) web GUI: Ctrl/Cmd+wheel zoom, drag to pan, double-click reset, hover toolbar with zoom controls and 2x PNG copy. Pure client-side DOM enhancement.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-mermaid-zoom@1.0.3
READMECompatibilityVersions

Compatibility and provenance

Mermaid Zoom is published as dsh-mermaid-zoom and currently resolves to version 1.0.3. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/14/2026

Versions

1.0.3
stable
9/14/2026
1.0.2stable
8/20/2026

Related plugins

Loading related plugins…

Latest
1.0.3
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
21.1 kB
Files
7
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
9/14/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Pet@linxin666/dsh-petMulti-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score

README

dsh-mermaid-zoom

Mermaid 图交互增强插件,适用于 DeepSeek Harness (DSH) Web GUI。

给 GUI 中 dsh-genui 渲染的 mermaid 图([data-genui-mermaid] 容器)加上:

  • 🔍 Ctrl/Cmd + 滚轮缩放(不干扰页面正常滚动)
  • ✋ 拖拽平移
  • 🖱 双击重置视图
  • 🧰 hover 工具栏:+ 放大 / - 缩小 / ⟳ 重置
  • 📋 复制图片:导出 2x 白底 PNG,剪贴板优先,失败自动下载

纯浏览器端 DOM 增强,不依赖任何宿主服务;MutationObserver 自动接管流式渲染完成的图。缩放范围 0.4x – 10x。

安装

方式一:官方一键安装(推荐)

包声明了 dsh.bundle,通过 dsh 官方 CLI 安装会自动挂载到 profile 的 bundle 栈,无需手改配置文件:

dsh plugin --profile web add dsh-mermaid-zoom

安装完成并重启 dsh web 即生效(dsh 不在 PATH 时用 npx -y @deepseek-ai/dsh plugin ...)。

方式二:手动挂载(高级)

也可以只把这个包作为普通依赖装进 profile,再手写一条 insert 记录:

cd ~/.dsh/profiles/web   # 或你实际的 profile 目录
pnpm add dsh-mermaid-zoom

然后在 cordis.patch.yml 中插入:

- insert:
    - id: dsh-mermaid-zoom
      name: 'dsh-mermaid-zoom'

⚠️ 两种方式二选一:如果已经用「方式二」挂载过,改用「方式一」前请先从 cordis.patch.yml 删除那行 insert,避免双挂载(两份客户端、两份工具栏处理逻辑)。

开发

git clone https://github.com/evanfang0054/dsh-mermaid-zoom.git
cd dsh-mermaid-zoom
npm test       # node --test tests/

结构:

  • lib/index.js — 宿主半身(无操作,能力全在客户端)
  • lib/client.js — 客户端半身(DOM 增强、事件绑定、PNG 导出)
  • lib/core.mjs — 纯逻辑核心(不触碰 DOM,可被 node --test 直接测)

License

MIT