bosenok/dsh-mermaid ↗★ 0

dsh-mermaid

Render mermaid fenced code blocks as diagrams in DSH markdown. 适合需要在会话中直接预览和阅读Mermaid流程图或图表的用户。

패키지
dsh-mermaid
호환성
미검증
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 21.

같은 패키지 이름의 다른 저장소

설치

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

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 add github:bosenok/dsh-mermaid.
  • Local checkout: dsh plugin --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 desktop profile: dsh plugin --profile desktop add only installs the dependency and copies the package; unlike a regular profile it does not enable the bundle. Enable it by adding the package name to dsh.profile.bundles in ~/.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.