abiddotdev/dsh-visualizer8

dsh-visualizer

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

AI 分析

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

套件
dsh-visualizer
版本
0.7.0
授權
MIT
最近更新
2026年9月4日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:abiddotdev/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. The complete option list, at current defaults:

- id: dsh-visualizer
  config:
    maxArtifactBytes: 262144      # per-call render size limit, in bytes
    guideTool: true               # false = drop the visualizer_guide recipe tool (render tool stays)
    guideTypes: [chart, diagram, mockup, interactive, art]   # which types to teach and allow
    shareArtifacts: true          # false = no disk mirror, serve route, or Share control
    artifactDir: ~/.dsh/visualizer/artifacts        # $DSH_HOME honored
    artifactRetentionDays: 30     # sweep artifacts older than this at activation; 0 disables
    shareKey: ''                  # pin the link key so links survive restarts

guideTypes narrows both guide surfaces at once: a disabled type is rejected at the tool's argument boundary, and unknown ids or an empty list fail the plugin load.