dsh-visualize
Manifest valid★ 324Render model-generated interactive cards inside DSH conversations
dsh-visualize

简体中文 | English
Let DSH do more than reply with plain text. After the model calls visualize, the Web UI renders an interactive card directly in the conversation — useful for simulators, charts, comparison panels, or UI mockups.
Installation
The recommended approach is to install directly from GitHub into DSH's web profile:
dsh plugin --profile web add github:Nagi-ovo/dsh-visualize
# 如果 dsh web 正在运行,重启后刷新页面
You can run dsh --profile web --dump-config to confirm the plugin has made it into the final configuration. To modify the source, clone the repository and run dsh plugin --profile web add . from the repo directory; build artifacts are already committed, so no extra build step is needed. Users who rely on the community plugin-registry can also install it from "Settings → Plugins".
How to use
Just tell the model what you want to see, for example "make a sorting-algorithm visualization with adjustable parameters". The model writes an HTML fragment and then calls visualize(path, title?, mode?) to drop it into the conversation. For content that's best compared side by side, use mode: "wide".
Cards follow DSH's light/dark theme and whale-blue palette. On session replay, pages are restored from persisted tool results and do not require the original fragment files to still exist.
Security
Cards run inside sandboxed iframes with an opaque origin and cannot reach the host page. CSP blocks network requests, nested pages, and form submissions, while allowing static assets only from pinned CDNs. A single fragment is capped at 1000000 bytes by default; you can change this with maxFragmentBytes.
Limitations
Currently, interactive cards render only in the Web UI; TUI and headless clients display plain tool results. Buttons inside a card cannot yet send follow-up messages to the main conversation.
Inspired by Codex's desktop /visualize; the layered skill references and Chart.js-first approach are borrowed from himself65/finance-skills.
Comments
Loading…
Similar plugins
by anneqaq
DSH 插件:把模型编写的 SVG/HTML 片段渲染成对话中的内联可视化卡片(图表、流程图、时间线、对比表格),沙箱隔离、无网络、无依赖
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-widgetby losinphantom
Validated, agent-composed interactive UI inside DeepSeek Harness conversations
★ 0
MIT
TypeScript
Oct 18, 2026
dsh plugin --profile web add dsh-plugin-intelligent-uiby Tasihi89
Visual conversation map for DeepSeek Harness — sessions as cards on a whiteboard: drag to arrange, double-click to chat, draw an edge to fork with injected context. ADHD-friendly spatial memory. · DSH
★ 103
MIT
JavaScript
Aug 23, 2026
dsh plugin --profile web add dsh-talk-mapby lovezi0
DeepSeek Harness 的会话流「内联可视化」插件:模型产出 SVG / HTML 源码后,交给浏览器渲染成一张可交互的内联卡片,源码只进卡片、不回灌模型上下文。
★ 0
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add dsh-visualizer-widgetby suis077
DSH 插件:人设卡 + 跨会话记忆 + 好感度,让 AI 角色在多轮对话里逐渐成长
★ 0
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-companionby SMOKTEA
Let the agent turn your data into an interactive chart. | 一句话:让 Agent 帮你把数据变成一张可交互的图表。
★ 0
MIT
TypeScript
Aug 29, 2026
dsh plugin --profile web add dsh-chartlab