← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-plugin-mermaid

A DeepSeek Harness tool plugin that renders Mermaid diagram source into SVG images in-process.

UI & ProductivityDeveloper ToolsBrowser & WebSecurity & Policy
1GitHub Stars0ForksUpdated2026-08-15

Install

$ dsh plugin --profile web add github:sijidoubi/dsh-plugin-mermaid

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-tool-mermaid adds a mermaid_render tool to DeepSeek Harness. It uses Mermaid 11 and jsdom to render diagram source to SVG without requiring a browser or network connection, returning SVG, dimensions, a data URI, and optionally a web-hosted image URL.

Key Capabilities

  • Provides the mermaid_render tool for Mermaid source code.
  • Renders Mermaid diagrams to SVG in the Node.js process using Mermaid 11 and jsdom.
  • Returns SVG text, dimensions, a base64 data URI, and an optional HTTP SVG URL.
  • Can serve rendered SVGs through a DSH web-server route when a webServer service is available.
  • Supports configurable Mermaid themes: default, dark, neutral, and forest.
  • Supports strict or loose Mermaid securityLevel configuration.
  • Reports Mermaid parser errors with line and expected-token information.

Useful For

  • Embed generated flowcharts, sequence diagrams, class diagrams, pie charts, or state diagrams in DSH chat responses.
  • Turn an agent's Mermaid output into a directly displayable SVG image in DSH Web.
  • Render Mermaid diagrams in headless contexts using the returned data URI or raw SVG.

Who It Fits

  • DeepSeek Harness users who want agents to generate viewable diagrams.
  • DSH plugin users running the web profile.
  • Developers building workflows that need Mermaid-to-SVG rendering.

Documented Limitations

  • Rendered dimensions use jsdom measurement fallbacks and estimated character widths, so extreme fonts may differ slightly from browser rendering.
  • The README reports normal rendering for flowchart, sequenceDiagram, classDiagram, and pie; browser-interaction- or Canvas-dependent diagram types, including some mindmap or gantt cases, may be imperfect or fail.
  • The plugin installs jsdom DOM globals such as window and document into the host Node process on first render; coexistence with other libraries that set DOM globals needs attention.
  • Rendering is exclusive rather than concurrency-safe because Mermaid module state is shared.
  • Web-served SVGs are held in process memory, capped at 100 images with oldest entries evicted; their URLs return 404 after DSH restarts.
  • GitHub installation may require allowing the package build script in pnpm's allowBuilds configuration.

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 2 runtime, 8 development, 2 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
sijidoubi/dsh-plugin-mermaid
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
5e96aa8 · 2026-08-16

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
1GitHub stars
Forks
0
Open issues
0
Last commit
2026-08-15
Last release
No release detected
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app