An MIT-licensed DSH plugin that renders Google A2UI 1.0 surfaces inside the conversation: tables, charts, KPI cards and sliders appear only for data-heavy answers, and only `action.event` controls send anything back to the agent.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-24
License
MIT
01What can it help you accomplish?
Make a data-heavy answer scannable instead of re-reading a wall of Markdown
An inline card in the conversation stream: sortable tables with number / currency / percent / date formats, bar, line and pie charts, KPI `Stat` cards, `Progress` bars and a `Plot` function graph, generated only when the answer compares rows, shows a trend, a share or a process.
People who ask DSH to compare plans or versions, summarise monthly metrics or walk through an algorithm.
Keep plain questions plain
Single facts, definitions, yes/no answers, greetings, short explanations, code, diffs, logs and paths stay ordinary Markdown, and numbers already shown in the card are not repeated in the prose.
Users who do not want every reply turned into a panel or a dashboard.
Let the reader try the numbers, then hand the operation back
Sorting, chart hover, legend toggles, sliders and frame playback redraw locally; only an `action.event` button or a form submit sends one ordinary user message, prefixed `[A2UI action]`, with context evaluated against the current data model.
Users who want to drag a parameter, for example a quadratic curve, before asking the agent for the next step.
02How to install into DeepSeek Harness
Prerequisites
- DeepSeek Harness 0.2.2-rc.1, the only version tested (Desktop and Web, profile `desktop`); `engines.dsh` is pinned to `>=0.2.2-rc.1 <0.3.0-0`, so a 0.3.x host sits outside the declared range.
- Nothing to compile at install time, because the repository root is the installable bundle and the built `index.js`, `lib/**` and `client.js` are committed; rebuilding from source needs Node ≥ 20 with `typescript`.
- A DSH host that exposes `react` in its module table and ships the `--dsw-alias-*` theme variables, plus a restart after installing so the new JavaScript module is loaded.
Installation steps
- 01
In DSH open Plugins → Add plugin, type `dsh-a2ui` and install it (the source's `latest` tag; enter `dsh-a2ui@0.3.1` to pin the version).
- 02
Or install from GitHub: `dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.3.1`, replacing `desktop` with your target profile (`web` on the web build).
$ dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.3.1
- 03
Offline: run `npm pack dsh-a2ui`, then point Add plugin at the absolute path of the `.tgz`, or install the vendored `vendor/dsh-a2ui-0.3.1.tgz`.
$ npm pack dsh-a2ui
- 04
Restart DSH after installing or replacing the package, because the refreshed JavaScript module is only picked up on restart.
Verify the integration
- Ask something that compares three or more rows or needs a trend: a card with a sortable table header or a hoverable chart should appear, and a one-line factual question should still come back as plain text.
Rollback
- Remove or disable the plugin in the DSH plugin manager: every registration goes through `ctx.effect`, so deactivating takes the view, styles, dictionary, `a2ui` tool and prompt segment with it, and no private plugin storage is left behind.
03DSH integration and capability boundaries
Native DSH plugin shipped as a bundle (`dsh.bundle` + `dsh.client`): install it from the DSH plugin manager or with `dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.3.1`, restart DSH, and the agent can then call the `a2ui` tool to render A2UI 1.0 surfaces inside the conversation.
Answer-first A2UI rendering
An `a2ui({ messages, title })` tool call that the agent emits only when the answer warrants a surface→One card holding one or more A2UI 1.0 surfaces: `Table`, `BarChart`, `LineChart`, `PieChart`, `Stat`, `Progress`, `Plot`, `FramePlayer`, plus the 18 components of the official basic catalog
Controlled catalog with schema checks on both sides
A2UI 1.0 messages such as `createSurface` → `updateComponents` → `updateDataModel`→An accepted surface state, or a rejection that names the offending path; raw HTML is never injected and an unknown component degrades to a readable placeholder
Invalid or over-quota payloads are refused instead of being half-renderedComponent-level streaming preview
Tool arguments that the model is still streaming→Every closed JSON value and component is painted as soon as it arrives, then replaced by the validated snapshot once the call reaches `start` or `result`
Local-first interaction
Clicks, hovers and drags on a rendered card→Column sorting (ascending, descending, cleared, with `aria-sort` kept in sync), chart hover tooltips, legend toggles, tab switching, slider redraw and animation playback, all inside the card
Action round-trip back to the agent
A click on an `action.event` button or a form submit→An A2UI `action` message queued through the session's Conversation service with `name`, `surfaceId`, `sourceComponentId`, `timestamp` and evaluated `context`, under the host's normal queue and permission rules
Starts a new agent turn, which is the only interaction that does`action.functionCall` such as `openUrl` stays in the browser and needs a user gesture
04Who is it for? When not to use it?
Good for
- People who ask DSH to compare plans or versions, summarise monthly metrics or walk through an algorithm.
- Users who do not want every reply turned into a panel or a dashboard.
- Users who want to drag a parameter, for example a quadratic curve, before asking the agent for the next step.
Not for
- Only A2UI 1.0 payloads are accepted, and v0.8 / v0.9 payloads are rejected with an explicit error; validation and rendering are an independent implementation of the official schema rather than the official runtime, so the usable component set is whatever this plugin's catalog declares.
- Pinned to the tested host: `engines.dsh` declares `>=0.2.2-rc.1 <0.3.0-0` and the plugin was verified on 0.2.2-rc.1 only; installing or replacing the package needs a DSH restart before the new JavaScript module loads.
- A2UI 1.0 bidirectional function calls (`callRendererFunction` / `agentFunctionResponse`) are unsupported and return an explicit error, and `run_code` sub-calls render as nested child rows without dedicated styling.
05Compatibility, maintenance and safety notes
- Only A2UI 1.0 payloads are accepted, and v0.8 / v0.9 payloads are rejected with an explicit error; validation and rendering are an independent implementation of the official schema rather than the official runtime, so the usable component set is whatever this plugin's catalog declares.
- A later turn cannot edit a card that is already on screen: one `a2ui` call is one self-contained snapshot, so changing the view means a second card, in exchange for predictable replay and zero cross-turn state.
- Pinned to the tested host: `engines.dsh` declares `>=0.2.2-rc.1 <0.3.0-0` and the plugin was verified on 0.2.2-rc.1 only; installing or replacing the package needs a DSH restart before the new JavaScript module loads.
- The browser half expects the host to supply `react` through its module table and to carry the `--dsw-alias-*` theme variables; charts are hand-written SVG with no chart library and no CDN fallback, and the plugin adds no runtime dependency besides React.
- A2UI 1.0 bidirectional function calls (`callRendererFunction` / `agentFunctionResponse`) are unsupported and return an explicit error, and `run_code` sub-calls render as nested child rows without dedicated styling.
- Any media other than `data:` images is fetched over the network, so an offline session shows a load-failure placeholder; `Image` accepts `https://` links and the browser then requests that address without credentials and without a referrer.
- MIT covers the plugin code only: the A2UI protocol spec, catalog ids and component / function names come from Google's A2UI project under Apache-2.0 with attribution in NOTICE, and DSH is used purely through public extension points.
MIT (README) · actively maintained (release v0.3.1, 2026-11-18; last push 2026-11-22)
06Frequently asked questions
How do I install dsh-a2ui in DSH?
Open Plugins → Add plugin in DSH and enter `dsh-a2ui` (or `dsh-a2ui@0.3.1` to pin the version), or run `dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.3.1`. The repository root is the installable bundle with `index.js`, `lib/**` and `client.js` committed, so nothing is compiled during install; restart DSH afterwards to load the module.
Will every reply turn into a dashboard?
No, the design is answer-first rather than dashboard-first. The prompt asks the agent to judge from the content: three or more comparable rows, a trend, a share, a target or a step-by-step algorithm may become a table, chart, KPI card or frame player, while single facts, definitions, yes/no answers, greetings, code, diffs, logs and paths stay plain Markdown.
What happens when I click a control inside a card?
Sorting, hovering, legend toggles, sliders and animation playback stay in the browser. Only an `action.event` button or a form submit sends an `[A2UI action]` message back through the session's Conversation service as an ordinary user message, with context evaluated against the current data model, so the host's queue and permission rules still apply.
Which versions and limits should I check before installing?
It was verified on DSH 0.2.2-rc.1 (Desktop and Web) and declares `engines.dsh` `>=0.2.2-rc.1 <0.3.0-0`. Cards cannot be edited in a later turn, bidirectional A2UI function calls are unsupported, and media other than `data:` images needs a network connection. Uninstalling is simply disabling or removing the plugin.
What licence covers the code, and how is attribution handled?
The plugin code is MIT (see LICENSE). The A2UI protocol spec, catalog ids and component / function names come from Google's A2UI project (Apache-2.0, Copyright 2024 Google LLC); this package re-implements validation and rendering from the official schema without copying its source, and the attribution is recorded in NOTICE.
07Related DSH workflows
dsh-tui
by ccch1mneyyy
Claude Code 风格全屏终端 TUI:像素鲸鱼顶栏、双流光大字、实时工作状态行、思考流式展开、双击 Esc 时间回溯、上下文进度条 + TPS 仪表;接入 Agent preset(standard/code/minimal/cordis)、Skills、MCP、Goals、Todos、子代理,/ 命令注册表与随附技能(audit/bug/review/practice/pr_comments/release-notes/vuln-check);纯插件挂载零核心改动。
dsh-better-sidebar
by omdsh-dev
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
dsh-media-desk
by woniuniuniu
Capture ideas and generate scripts, titles, covers, images, storyboards, schedules, and review data in a sidebar media workspace.
dsh-drawai
by fourzkw
Create diagram artifacts and use Draw.io-oriented tools from a DSH profile.
08Data and sources
**dsh-a2ui** 是一个基于 Google A2UI 1.0 协议的 DeepSeek Harness (DSH) 插件,为普通 AI 对话提供**按需生成的可视化界面**。
插件以 bundle 形式打包(`dsh.bundle` + `dsh.client`),仓库根目录就是可安装的包,构建产物已随仓库提交,安装时不需要现场编译。
**在 DSH 内安装(推荐)** — 打开「插件」→「添加插件」,输入 `dsh-a2ui` 并点击安装。默认使用所选安装源的 `latest` 标签,如需固定版本可输入 `dsh-a2ui@0.3.1`。
**走的是原生消息通道**:Host 的准入规则(会话是否运行中、队列上限、权限)与用户手动输入完全一致,界面无法绕过 DSH 权限。
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-24. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
