terrywangcode/dsh-mermaid-web

terrywangcode★ 0TypeScript最后同步: 2026-08-17

在 GitHub 打开

DeepSeek Harness Web UI plugin for rendering Mermaid diagrams with zoom and a fullscreen workspace

README 摘要

dsh-mermaid-web An out-of-tree DeepSeek Harness Web UI plugin that turns settled fenced code blocks labeled mermaid into Mermaid.js SVG diagrams. mermaid flowchart LR Prompt -- Agent -- Tool Inline diagram Fullscreen workspace Install From a DeepSeek Harness checkout: The repository commits its built browser bundle, so installing from GitHub does not require a consumer-side plugin build. To install a specific release: Build from source Use Node 22 or newer: The package is a bundle: cordis.patch.yml inserts its host row, while dsh.client points Harness at the built lib/client.js browser entry. How it works The package has two DSH plugin faces. index.js is an intentionally empty host-side Cordis entry used for Loader governance and client discovery. The ./client export contains the browser implementation. DSH hashes and serves that bundle through /plugins , adds it to window. DSH BOOT , and mounts its exported apply(ctx) through the browser Cordis Loader. The browser plugin observes settled .md-code-block elements, renders exact mermaid fences with Mermaid.js, and records every DOM mutation it owns. Its Cordis effect disposer disconnects observation, closes any fullscreen workspace, …

在 GitHub 查看完整 README →
皮肤/UIdeepseek-harnessdiagramsdsh-pluginmermaidweb uiagent

分类