
在 DSH 对话中生成交互式可视化|Render model-generated interactive cards inside DSH conversations
Install Dsh Visualize
Likely fails to load: not on npm, needs a build, and ships no `prepare` script — a git install fetches sources, not built artifacts, so the entry point is never produced.
This install is expected to fail
prepare script to run it, and is not published to npm — so nothing produces the compiled output the loader then goes looking for.Three things would fix it, all of them on the author's side: publish the package to npm, add a prepare script that builds on install, or commit the build output to the repository. Until one of those happens, the command below is here so you can reproduce the failure, not so you can install it.
What would be run — expected to install and then fail to load
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:Nagi-ovo/dsh-visualize
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profileBefore you run it
- A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
- Installing from git resolves a moving branch. Pin a commit —
github:Nagi-ovo/dsh-visualize#<commit-sha>— so the code you reviewed is the code you install.
Prerequisites
- API key
- Not required.
- Network access
- Not required at runtime.
- Language
- TypeScript — a git install pulls this source, not build output.
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| lifecycleScripts | pass | info | no install-time scripts |
| dsh.bundle | pass | fatal | package.json declares a `dsh.bundle` layer |
| dsh.bundle.patch file | pass | fatal | patch file present at `cordis.patch.yml` |
| npm registry | missing | warn | `@dsh-external/dsh-visualize` is not published to npm |
| prepare script | missing | fatal | needs a build but ships no `prepare` script — a git install fetches sources, not built artifacts |
- Verdict reason
- git-only + needs build + no prepare script
- package.json read
- package.json
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
From the README
Excerpt as published by the author, plain text, unedited
让 DSH 不只回答一段文字。模型调用 `visualize` 后,Web UI 会在对话里直接出现一张可交互卡片,用来做模拟器、图表、对比面板或 UI mockup。 推荐直接从 GitHub 安装到 DSH 的 `web` profile:
Topics
GitHub topics on this repository
More in Web Sessions Mermaid Render
Ranked by similarity inside the cluster, not alphabetically
Dsh Mermaid
AKS1st
在 DSH Web 会话中把 Mermaid 代码围栏渲染为 SVG 图表 | Render Mermaid code fences as SVG diagrams in DSH Web messages
Dsh Plugin Mermaid
sijidoubi
DeepSeek Harness (dsh) plugin: mermaid_render tool renders Mermaid source to SVG in-process (mermaid 11 + jsdom, no browser needed)
Dsh Mermaid
GongYuanCaiJi
Mermaid 流程图渲染(移植自 pi-mermaid)
Dsh Plugin Mermaid
lj970926
DeepSeek Harness web client plugin: render mermaid code blocks with a chart/source toggle.
Dsh Client Ui Mermaid
yichangyaoyue
dsh plugin that renders Mermaid fenced code blocks as SVG diagrams in the web UI
Dsh Architecture
warren-wupeng
DeepSeek Harness (deepseek-ai/deepseek-harness) 核心组件架构图 - 5 张 Mermaid 图