sijidoubi/dsh-plugin-mermaid0

dsh-tool-mermaid

DeepSeek Harness 插件:提供 mermaid_render 工具,在进程内将 Mermaid 源码渲染为 SVG(无需浏览器)。

AI 分析

核心用途是让 Agent 能够直接生成并渲染流程图、时序图等图表。适合需要直观图表展示的开发或分析任务。基于 mermaid 11 和 jsdom 实现。

套件
dsh-tool-mermaid
版本
0.1.0
授權
MIT
最近更新
2026年8月15日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sijidoubi/dsh-plugin-mermaid

配置

bundle 默认启用以下配置(可在 profile 的 cordis.patch.yml 覆盖整行):

- insert:
    - id: tool-mermaid
      name: dsh-tool-mermaid
      config:
        theme: default        # default | dark | neutral | forest
        securityLevel: strict # strict(默认,消毒标签内 HTML) | loose(原样渲染)