dsh-antv-infographic
Manifest valid★ 2Render streaming, editable AntV infographics inside DeepSeek Harness replies.
🌐 简体中文 | English
dsh-antv-infographic
Render editable and exportable AntV Infographic SVGs directly inside DeepSeek Harness (DSH) replies.
Preview
Actual DSH rendering with progressive generation, local editing, SVG/PNG export, and DSL copying.
The model emits an infographic fenced block, and the plugin progressively renders the AntV Infographic DSL as SVG:
```infographic
infographic sequence-timeline-rounded-rect-node
data
title Product roadmap
sequences
- label Research
desc Identify the user problem
- label Launch
desc Release and validate
```
Features
- Supports roughly 200 AntV Infographic templates
- Progressively renders while the model streams its response
- Starts in view mode and can switch to local editing mode
- Exports SVG or PNG and copies the source DSL
- Uses the DSH
fence-registrywhen available, with a DOM fallback for older hosts - Lazy-loads the AntV engine without blocking the initial DSH page load
- Limits model-generated source size and blocks executable markup, dangerous URLs, and private-network resources
- Includes an optional
antv-infographicSkill with richer template-selection and DSL-generation guidance
Installation
Install the published package directly into a DSH profile:
dsh plugin --profile web add dsh-antv-infographic
This command installs everything required for DSH to generate and render infographic blocks. A separate Skill installation is not required.
Restart dsh web and hard-refresh the browser after installation.
Install from source
git clone https://github.com/HellowVirgil/dsh-antv-infographic.git
cd dsh-antv-infographic
pnpm install
pnpm run check
dsh plugin --profile web add "link:$PWD"
If the profile already contains an older version, remove it before adding the local link again:
dsh plugin --profile web remove dsh-antv-infographic
dsh plugin --profile web add "link:$PWD"
Optional: Install the Skill
The plugin already injects the essential DSL contract into the DSH system prompt. Install the Skill only if your agent environment discovers ~/.agents/skills and you want more detailed template guidance and examples for complex infographics.
From a source checkout:
mkdir -p ~/.agents/skills/antv-infographic
cp SKILL.md ~/.agents/skills/antv-infographic/SKILL.md
Or download the packaged Skill directly from GitHub:
mkdir -p ~/.agents/skills/antv-infographic
curl -fsSL https://raw.githubusercontent.com/HellowVirgil/dsh-antv-infographic/main/SKILL.md \
-o ~/.agents/skills/antv-infographic/SKILL.md
Try this prompt in a new session:
Use infographic to create a roadmap from product research to scaled launch.
The following browser console message confirms that the client is active:
[dsh-antv-infographic] client active; fence-channel=registry
Older hosts display fence-channel=dom instead.
How it works
The plugin has three parts:
- The Node.js plugin injects the
infographicDSL contract into the DSH system prompt. - The browser adapter recognizes fenced blocks and renders them with AntV Infographic.
- The main AntV engine is served as a separate resource and loaded on demand from the plugin's HTTP route.
When DSH provides a fence registry, the plugin registers a renderer directly. Otherwise, it observes the conversation DOM and replaces infographic code blocks with the same rendering component.
Scope
Best for roadmaps, timelines, processes, capability maps, hierarchies, comparisons, data stories, and executive summaries.
Not intended for forms, operational buttons, quizzes, complex business panels, or interactions whose results must be sent back to the model.
Development
pnpm test
pnpm build
pnpm run verify:pack
Main entry points:
src/plugin/index.ts: prompt injection and asset routesrc/client/index.tsx: DSH client registrationsrc/client/InfographicBlock.tsx: AntV UI, editing, and exportsrc/client/dom-fence.tsx: fallback for older hostssrc/client/asset-infographic.ts: lazy AntV engine bundle
License
MIT. AntV Infographic is also licensed under MIT.
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
Comments
Loading…
From the same category
by omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 3.7k
↓ 52.1k/wk
MIT
TypeScript
Sep 21, 2026
dsh plugin --profile web add dsh-better-sidebarby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3.1k
↓ 6.1k/wk
MIT
TypeScript
Sep 21, 2026
dsh plugin --profile web add @deepseek-harness-tui/dsh-tuiby MeteorNOX
DeepSeek Harness(DSH)一只住在 DSH 界面右下角的小鲸鱼娘,帮你盯着DeepSeek账户余额。QQ弹弹,支持拖拽吸附、左吸附翻转、数字滚动动画,随界面自动启用,建议直接喊来你的dsh安装
★ 2.9k
↓ 16.6k/wk
MIT
JavaScript
Sep 20, 2026
dsh plugin --profile web add dsh-whale-widgetby Devin-AXIS
DeepSeek Harness 可编辑设计系统:AI 生成、可视化编辑、模板市场与 PPT|Native Design & PPT Studio for DeepSeek Harness.
★ 1.4k
↓ 440/wk
NOASSERTION
JavaScript
Sep 4, 2026
dsh plugin --profile web add deepseek-idesignby omdsh-dev
GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop ba
★ 471
↓ 4.9k/wk
MIT
TypeScript
Sep 21, 2026
dsh plugin --profile web add @changfenhuang/dsh-genuiby chenxiachan
Your thinking deserves a map: an infinite canvas where LLM conversations grow into an editable thought graph. Wires are the context.
★ 471
MIT
TypeScript
Sep 21, 2026