abidhmuhsin/dsh-visualizer4

dsh-visualizer

DeepSeek Harness 可视化插件:通过 `visualizer` 工具将自包含的 HTML 文档流式传输到聊天中,并在沙箱化内联框架中进行实时预览。

AI 分析

核心用途是在 DSH 聊天中实时预览大模型生成的 HTML 页面(如图表、交互原型)。适合需要直观查看和调试模型生成的前端可视化成果的用户。

包名
dsh-visualizer
版本
0.2.0
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:abidhmuhsin/dsh-visualizer

Configuration

The bundle layer already inserts the loader row, so overriding config takes a flat id-targeted patch entry in the profile's own patch layer (~/.dsh/profiles//cordis.patch.yml). Don't wrap it in insert: — that appends a second row instead of overriding the installed one. Values validate against the schema at load, and a mistake fails the mount loudly. Every option has a schema default, so an override block only lists the fields being changed. The complete option list, at current defaults:

- id: dsh-visualizer
  config:
    maxHtmlBytes: 262144    # default; per-call render limit, in UTF-8 bytes
    guideTool: true         # default; set false to use only the render tool
    guideModules: [chart, diagram, mockup, interactive, art]   # default; subset to teach and serve;

guideModules narrows both guide surfaces at once. The standing system-prompt roster lists only those types' one-liners, and the JIT tool's argument enum accepts only those ids, so a disabled type is rejected at the argument boundary before any code runs. guideTool: false skips the second tool registration; the render tool and the standing prompt section are unaffected. Unknown module ids or an empty guideModules fail the plugin load. Defaults are on, all five types (chart, diagram, mockup, interactive, art).