DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
M

dsh-mermaid-smooth

Mermaid Smooth

将 DeepSeek Harness (Web and Desktop) 聊天中的 mermaid 围栏默认渲染为图表,支持流畅缩放和平移、右上角按围栏切换图表/代码、持久化每个围栏的偏好、跟随深色模式,以及完全离线运行(引擎已打包,不使用 CDN)。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:gitByteFree/dsh-mermaid-smooth#ee4379154b6a6e4c9656031227b9029bca044d72
README兼容性版本

兼容性与来源证明

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

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/11/4

版本

0.2.3stable
2026/10/25
0.2.2stable
2026/10/25
0.2.1stable
2026/10/8
查看其余 2 个版本收起版本
0.2.0stable
2026/10/8
0.1.0stable
2026/8/31

相关插件

正在加载相关插件…

最新版
0.2.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 1
周下载
560
最近提交
2026/10/25
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Dafeiyudsh-dafeiyu由 DeepSeek Harness 会话事件驱动的原生桌面端 BigFish companion。Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness 提供极速历史召回、全屏设置皮肤、原生物理毛玻璃换肤、模块化侧栏与桌面原生窗口菜单 · 输入增强、设置皮肤、原生玻璃主题、模块化侧栏和桌面标题栏菜单,适用于 DSHClaude Styledsh-claude-styleDeepSeek Harness (dsh) Web GUI 的 Claude Code Desktop 主题——视觉与交互全面改造Dream Skindsh-dream-skinDeepSeek Harness 换肤插件(Dream Skin for DSH):8 套 iOS / Linear 式清透冷调的高质感主题 + 弥散光壁纸 + 每款皮肤智能背景 + 强调色 + 主题包分享,将换肤打造为注重材质与配色克制的高级工艺,而非简单贴图。支持原生 DSH Web 和第三方桌面客户端(DSH Desktop):8 款原创高级主题、玻璃材质、Wallpaper 2.0

README

dsh-mermaid-smooth

English | 中文

Render mermaid code fences in DeepSeek Harness (DSH) Web chat and the DSH Desktop app as diagrams by default, with smooth zoom and pan, a per-fence diagram/code toggle at each card's top-right, a persisted per-fence preference, dark-mode follow, and a fully bundled offline engine (zero CDN).

The Desktop app is an Electron shell around the complete DSH Web application, so it loads the same Web frontend and the same plugin bundle — one client build serves both, with no Desktop-specific code path.

Supported diagram types

The plugin bundles Mermaid 11.17.2 locally, so it renders these diagram types without adding another charting library:

TypeSyntax
Flowchartflowchart / graph
Sequence diagramsequenceDiagram
State diagramstateDiagram
Class diagramclassDiagram
Mind mapmindmap
Gantt chart / timelinegantt / timeline
ER diagramerDiagram
User journey, pie, Git, Sankey, XY, Kanban, and architecture diagramsSupported by the bundled Mermaid engine
  • Default diagram — fences in assistant messages render as SVG diagrams the moment they are complete; non-mermaid code blocks are untouched.
  • Smooth interaction — cursor-anchored wheel zoom over one composed transform (with a short ease-out), direct pointer drag, double-click to fit. Reduced-motion preferences disable all easing.
  • Useful diagram tools — fit to width or the whole diagram, copy the Mermaid source, and download the rendered SVG. Press Esc to exit fullscreen.
  • Toggle at top-right — every diagram card has a 图/文案 (diagram/code) switch; several fences in one message toggle independently.
  • Per-fence memory — the toggle state persists in localStorage keyed by the fence source, so it survives page reloads and reconnects.
  • Dark-mode follow — diagrams re-render with the GUI theme.
  • Safe and offline — mermaid runs at securityLevel 'strict' (built-in sanitization, no click handlers), the engine is bundled into the plugin (zero CDN), and a failed fence keeps its original code with an inline error banner. Uninstalling restores the conversation verbatim.

Diagram card toolbar

Every card carries an icon toolbar at its top-right; hover an icon for its tooltip.

IconActionWhat it does
↔Fit widthScale the diagram to the card width (the initial state)
⊙Fit diagramScale so the entire diagram fits inside the viewport
⧉Copy sourceCopy this fence's Mermaid source to the clipboard. The async Clipboard API is used when available, with a hidden-textarea fallback; a brief "Source copied" status confirms success and "Could not copy source" reports failure.
↓Download SVGSave the rendered diagram as mermaid-diagram.svg — a vector file that stays sharp at any zoom level in browsers, docs, and design tools. If the diagram has not finished rendering, a "Diagram is not ready" status appears instead.
</>Diagram / codeSwitch between the diagram and its source; the choice is remembered per fence
⛶FullscreenShow the diagram full-screen (diagram view only). Esc exits and focus returns to the fullscreen button.

Toolbar status messages auto-clear after about two seconds and are announced to screen readers via aria-live="polite".

Screenshots

1

2

3

Install

dsh-mermaid-smooth is a plugin for the DeepSeek Harness (DSH) Web UI and the DSH Desktop app. Before proceeding, make sure DSH is installed and set up.

Six ways — pick one, then restart DSH Web or the Desktop app (the current session ends, but DSH sessions are persisted on disk and can be resumed after restart).

1. npm package (recommended, simplest)

dsh plugin --profile web add dsh-mermaid-smooth

Verified working: the tarball ships the prebuilt lib/client.js, so nothing is compiled at install time. pnpm may auto-add the package to minimumReleaseAgeExclude in the profile's pnpm-workspace.yaml (because the package was just published) — that is expected and harmless.

2. From GitHub (pinned to a commit)

dsh plugin --profile web add 'github:gitByteFree/dsh-mermaid-smooth#<full-commit-sha>'

Pin to the commit you want (e.g. the main HEAD shown on the repo's commit history page); later changes on main will not silently alter installed code. The source is installed and built at install time (prepare runs the esbuild bundle), so git and Node.js ≥ 20 are required.

pnpm ≥ 10 blocks that prepare build for git-hosted packages until you allowlist it: the first install fails with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED and prints the exact key to add. Copy that key verbatim (it embeds the codeload URL with the full commit sha — a bare package name does not match) under allowBuilds in the profile's pnpm-workspace.yaml, then re-run:

allowBuilds:
  dsh-mermaid-smooth@https://codeload.github.com/gitByteFree/dsh-mermaid-smooth/tar.gz/<full-commit-sha>: true

This is the same trust decision as any build-time script: only allowlist packages whose source you have reviewed. If you would rather not run build-time code at all, use methods 1 or 3, which ship the prebuilt bundle and need no allowBuilds entry.

3. From a release tarball (offline / where git is inconvenient)

Download dsh-mermaid-smooth-0.2.1.tgz from this repo's Releases (it contains the prebuilt lib/client.js, so no prepare script runs at install time), then run from the directory you downloaded it to:

dsh plugin --profile web add ./dsh-mermaid-smooth-0.2.1.tgz

0.2.1 above is a real filename, not a placeholder — match the version you downloaded and drop any <...> brackets (zsh reads a bare <...> as input redirection and fails with "no such file or directory"). Keep the ./ prefix: dsh plugin add anchors ./-relative paths to your current directory, while a bare filename would be looked up inside the profile.

4. Local clone (for development)

git clone git@github.com:gitByteFree/dsh-mermaid-smooth.git
cd dsh-mermaid-smooth
dsh plugin --profile web add .

5. From the DSH plugin market (Discover)

This repo publishes its own market index, so the plugin can be installed from Discover without typing a package name:

https://cdn.jsdelivr.net/gh/gitByteFree/dsh-mermaid-smooth@main/market/index.json

Open Plugins in the sidebar, switch on Custom plugin markets under Experimental plugins if it is off, then in Discover add the index URL above as a source and install Mermaid Smooth. The same index works in the Desktop app.

jsDelivr serves the index because Discover needs a direct 200 without redirects; a release can take up to 12 hours to appear there. To pick up a fresh release immediately, pin an immutable commit (@<commit> instead of @main) or use https://raw.githubusercontent.com/gitByteFree/dsh-mermaid-smooth/main/market/index.json.

6. DSH Desktop app (Electron)

The Desktop app bundles the complete DSH Web application, so this plugin needs no separate Desktop build. Desktop exclusively owns the desktop profile, and only the CLI bundled with the app can manage it — an npm-installed dsh refuses it with profile "desktop" is managed exclusively by the Electron application.

  1. Launch the Desktop app once so it initializes $DSH_HOME/profiles/desktop, then quit it completely.

  2. Install the app's command from the menu (Manage dsh Command… → Install) and run:

    dsh plugin --profile desktop add dsh-mermaid-smooth
    
  3. Reopen the app. You can also install from its Plugins page or from the market index in method 5.

Runtime behaviour is identical: diagrams, wheel zoom and drag, the per-fence switch, the persisted preference, theme follow, copy, SVG download, and fullscreen all run in the shared Web client.

Restart the web app (dsh web, or your dsh-web service) or reopen the Desktop app so the new bundle layer is composed.

License

MIT