DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Mermaid Image Preview — DeepSeek Harness 插件(DSH Plugin)
← Plugins
M

@baconbao/dsh-mermaid-image-preview

Mermaid Image Preview

用于在聊天会话中通过图片预览 Mermaid 图表的 DeepSeek Harness Plugin。查看 GitHub(https://github.com/baconbao/dsh-mermaid-image-preview)。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:baconbao/dsh-mermaid-image-preview#b8cc6ea851463fdaa848132bd651eeb6990fd374
README兼容性版本

兼容性与来源证明

Mermaid Image Preview 以 @baconbao/dsh-mermaid-image-preview 发布,当前版本为 0.4.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.4.0stable
2026/10/3
0.3.2stable
2026/10/3

相关插件

正在加载相关插件…

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

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

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

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

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

README

dsh-mermaid-image-preview

A DeepSeek Harness Plugin for Previewing Mermaid Diagram Images

Preview Mermaid syntax as images via local rendering in DSH when a chat message contains a Mermaid fenced code block (```mermaid or ```mmd).

dsh-mermaid-image-preview

Features and how it works

  • Preview mermaid diagrams by rendering images directly!
  • Local renderer first! If it fails, it can fall back to an external or self-hosted rendering engine by configuring a fallback server.
  • Nothing gets replaced: the preview is added below the agent's reply, so the original messages are not covered up or changed.
  • Settings in Plugin page: adjust the plugin's runtime settings in the Plugins panel - no restart needed.
  • Light/dark themes follow the UI automatically.

Support diagram types

The plugin renders diagrams locally with a built-in renderer. It supports 13 diagram types out of the box.

Rendered locally: flowchart, sequenceDiagram, classDiagram, stateDiagram, erDiagram, pie, journey, gitGraph, requirementDiagram, timeline, quadrantChart, packet-beta, xychart-beta

Expand: gantt, mindmap, block-beta, sankey-beta, architecture-beta, zenuml, C4Context

[!NOTE] You can enable the fallback to render expanded types — see Configuration below.

Installation

Install from github

Install with DeepSeek Harness Desktop (the desktop profile)

In DeepSeek Harness (Desktop), go to the Plugins panel, click the + Add plugin button, paste one of the URLs below, then click the Install button.

### latest release version
https://github.com/baconbao/dsh-mermaid-image-preview
### specific version
https://github.com/baconbao/dsh-mermaid-image-preview#<VERSION_TAG|GIT_TAG>
### dev version
https://github.com/baconbao/dsh-mermaid-image-preview#dev

[!NOTE] Make sure Git is installed on your machine before installing.

Install with DeepSeek Harness WebUI (the web profile)

### latest release version
$ npx @deepseek-ai/dsh plugin --profile web add github:baconbao/dsh-mermaid-image-preview

### specific version
$ npx @deepseek-ai/dsh plugin --profile web add github:baconbao/dsh-mermaid-image-preview#<VERSION_TAG|GIT_TAG>

### dev version
$ npx @deepseek-ai/dsh plugin --profile web add github:baconbao/dsh-mermaid-image-preview#dev

Install from source code

$ git clone https://github.com/baconbao/dsh-mermaid-image-preview
$ cd dsh-mermaid-image-preview
$ pnpm install
$ dsh plugin --profile web add .

[!IMPORTANT] Restart DSH after installing.

Configuration

Change runtime settings on the plugin page

dsh-mermaid-image-preview_settings

The Plugins panel lists this plugin under Installed; open its page and the configuration block carries the runtime settings - no restart needed. Values are stored in localStorage and applied immediately across all sessions.

Change render server via configuration file

Diagrams are rendered locally by default. To use your own render server or enable the external fallback, edit the profile's cordis.patch.yml (e.g. ~/.dsh/profiles/web/cordis.patch.yml for WebUI, or ~/.dsh/profiles/desktop/cordis.patch.yml for Desktop):

- id: ui-dsh-mermaid-image-preview
  config:
    enableLocalRender: true
    fallbackRenderUrl: https://mermaid.ink
    enableFallback: false
  • enableLocalRender: render locally (default true). Set it to false to always use the fallback server (enableFallback is ignored).
  • fallbackRenderUrl: fallback render server (default https://mermaid.ink).
  • enableFallback: use the fallback server when local rendering fails (default false).
  • Restart DSH after changing these settings.
  • To host your own fallback render server, see https://github.com/jihchi/mermaid.ink for the details.

Uninstallation

Unstall with DeepSeek Harness Desktop (the desktop profile)

Open this plugin's page in the Plugins panel, then click Uninstall.

Unstall with DeepSeek Harness WebUI (the web profile)

$ dsh plugin --profile web remove @baconbao/dsh-mermaid-image-preview

[!NOTE] Since v0.2.0, the plugin/package ID has been @baconbao/dsh-mermaid-image-preview (it was dsh-mermaid-image-preview before).

Test

Ask the agent to produce:

```mermaid
graph TD
  A[Start] --> B{Success?}
  B -->|Yes| C[Done]
  B -->|No| D[Retry]
```

Compatibility

This plugin versionSupported DSH version
v0.4.0 and later0.1.6-alpha.2 and later
v0.3.2 and earlier0.1.0-rc.6 – 0.1.6-alpha.1

Author

baconbao, vibe coding with AI

License

MIT

相关插件

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

Modlens@liustack/modlens面向仅支持文本的 LLM 的插件视觉能力,由免费的 Antigravity CLI 提供支持Tool Describe Image@linxin666/dsh-tool-describe-image面向模型的 describe_image 工具,用于 dsh Web GUI:通过在兼容 OpenAI 的端点调用视觉语言模型,为文本模型提供图像理解能力,以描述一张图像(本地路径、http(s) URL 或附件引用)。可热插拔 —Vision Routerdsh-vision-router为仅支持文本的 DeepSeek Harness agents 提供视觉能力:内置免费视觉链路和像素级工具。除非配置为严格仅限本地使用,否则远程视觉提供商(包括默认的免费回退服务)会接收图像内容。Vision Toolkit@anionex/dsh-vision-toolkit面向 Harness 原生集成的 DeepSeek 与 agent-vision-toolkit:图像问答、OCR、定位、UI 还原、像素差异、Artifacts 和 Web UI。