← 返回列表
B

dsh-visualize

v0.2.1 · 1 天前发布

visualize_html tool + sandboxed HTML preview card for the dsh Web UI (Codex /vizualize analogue)

dshdeepseek-harnesspluginhtmlpreviewvisualizeweb

README

dsh-visualize

Out-of-tree DSH (DeepSeek Harness) plugin: the visualize_html tool plus a
sandboxed HTML preview card in the Web chat — a Codex /vizualize analogue
rendered inside the conversation.

What it does

  • Node half (src/index.ts, mounts in the host loader tree): registers the

  • visualize_html(path) tool and the human-facing /visualize [path] command.
    It resolves the path against the session workspace, reads the file through
    ctx.fs (the profile's sandbox policy applies), shows the model only a short
    summary, and embeds the capped HTML in the durable presentationMeta
    (tool/result.metaToolResultNode.meta). The HTML never enters model
    context; the canonical value is execution-local.
  • Browser half (src/client.tsx, a dsh.client dual-f
  • 查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-visualize
    Repo
    https://github.com/Nagi-ovo/dsh-visualize
    Engines
    {"node":">=20"}
    Weekly DL
    0
    Monthly DL
    0
    Stars
    ★ 161
    Open Issues
    1
    GH License
    [object Object]
    Archived
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-tool"]}}