dsh-mermaid
Render mermaid fenced code blocks as diagrams in DSH markdown.
A DeepSeek Harness plugin,
packaged as a DSH bundle: package.json declares dsh.bundle.patch, and
cordis.patch.yml inserts the mermaid row into the active profile.
The client half is served from lib/client.js (dsh.client.platform: web).
Install
- Desktop app: Plugins → install
github:bosenok/dsh-mermaid(private repository: give the machine git access), then enable the bundle. - CLI:
dsh plugin --profile <profile> add github:bosenok/dsh-mermaid. - Local checkout:
dsh plugin --profile <profile> add file:/path/to/dsh-mermaid.
Enabling the bundle mounts the plugin; HMR applies it to a running app, and a restart makes sure the client half is rebuilt.
Note for the app-managed
desktopprofile:dsh plugin --profile desktop addonly installs the dependency and copies the package; unlike a regular profile it does not enable the bundle. Enable it by adding the package name todsh.profile.bundlesin~/.dsh/profiles/desktop/package.json(or through the Plugins page). Other profiles enable the installed bundle automatically.
Development
lib/ is built and committed; the sources live in src/. Rebuild the client with
the repository's Vite config (npx vite build → dist/, then the wrapper in
build/wrapper.js produces lib/client.js).
License
MIT — see LICENSE. Third-party code bundled into lib/ and its
licenses are listed in THIRD_PARTY_NOTICES.md.
No comments yet. Be the first to write one.