B
dsh-visualize
v0.2.1 · 1 天前发布
visualize_html tool + sandboxed HTML preview card for the dsh Web UI (Codex /vizualize analogue)
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
src/index.ts, mounts in the host loader tree): registers thevisualize_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 shortsummary, and embeds the capped HTML in the durable
presentationMeta(
tool/result.meta → ToolResultNode.meta). The HTML never enters modelcontext; the canonical value is execution-local.
src/client.tsx, a dsh.client dual-f版本兼容矩阵
| 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"]}}