shaomingbo/dsh-visualization

shaomingbo★ 0JavaScript最后同步: 2026-08-22

在 GitHub 打开

README 摘要

dsh-visualization Secure optional Mermaid, data-table, and Vega-Lite rendering for DeepSeek Harness Web. It is a GitHub-distributed DSH bundle, not a shell modification. Without it, assistant fences remain ordinary copyable code blocks. Install Or run the package installer: Restart npx @deepseek-ai/dsh web , then hard-refresh the browser. To update: To remove it: Host compatibility The plugin selects its adapter by Host capability. Releases that provide the session-keyed conversation.chat.assistant.codeBlock slot use the native renderer seam. Published rc.2 Hosts that serve companion JavaScript under /plugins/ / but lack that slot use a fail-open DOM adapter: it observes settled code blocks, mounts the same secure renderer beside the Host source, and hides the Host block only after a valid preview exists. Unknown markup, streaming content, parse failures, and renderer failures keep the original source visible. The active mode is exposed as document.documentElement.dataset.dshVisualizationAdapter for local diagnostics. Supported content Fence Behavior mermaid Mermaid diagrams with a beautiful-mermaid-inspired two-color system, neo layout, DSH light/dark tokens, rounded surfaces, fin…

在 GitHub 查看完整 README →
工具/开发dsh-plugin

分类