Repository navigation
Releases
v0.4.0 — 数据可视化增强 / Expanded visualizations
中文
v0.4.0 扩充了 DSH 对话中的图表、时间线和轻量布局。
新功能
- 轻量布局。单图和短内容可使用紧凑模式,
Section可以用标题和简短说明组织内容。 - 散点图和气泡图。支持多系列、数据绑定、图例显隐和键盘查值,可按点大小编码第三个指标,并为每组散点添加线性回归线及 R²。
- 热力图和时间线。热力图支持顺序与发散色阶,区分零值和缺失值。时间线按输入顺序展示事件、说明和状态。
- 帕累托图、误差棒和雷达图。帕累托图展示分类值及累计占比,普通和分组竖向柱支持误差棒,雷达图支持在同一刻度上比较多组分数。
修复与体验改进
- 热力图提示随指针离开当前格而收起。横向和纵向滚动时,网格靠近固定标题的边缘会渐隐。
- 优化散点图边界与键盘焦点、函数图的固定坐标轴和小数刻度、折线图长提示换行,以及雷达图在窄栏中的长轴名展示。
- 安装脚本先验证本地安装包,再调用 DSH,并逐字节核对归档中的运行文件。
安装与验证
- 在 DSH 的「添加插件」中输入
github:ChimeSky/dsh-a2ui#v0.4.0,也可以下载下方的dsh-a2ui.tgz并使用本地路径安装。 - 198 个自动化用例、19 个 React 渲染用例、32 项 bundle 检查及隔离安装验证通过。安装包另外通过 27 项核验。
- 完整变更记录 · 测试报告
English
v0.4.0 expands the charts, timelines, and lightweight layouts available in DSH conversations.
What's new
- Lightweight layouts. Use compact presentation for a single chart or a short block. Group content with a titled
Sectionand an optional description. - Scatter and bubble plots. Bind data, display multiple series, toggle legends, and inspect points with the keyboard. Encode a third metric with bubble size and optionally show a per-series linear fit with R².
- Heatmaps and timelines. Use sequential or diverging heatmap scales with distinct zero and missing values. Display events with descriptions and statuses in the supplied order.
- Pareto charts, error bars, and radar charts. Compare category values and cumulative shares, add error bars to ordinary or grouped vertical bars, and compare multiple profiles on a shared score scale.
Fixes and refinements
- Heatmap tooltips clear when the pointer leaves a cell. Scrollable cells fade at the boundaries next to the fixed headers on both axes.
- Refined scatter plot boundaries and keyboard focus, fixed axes and small-value ticks for function plots, line chart tooltip wrapping, and long radar labels in narrow layouts.
- The installer validates the local archive before invoking DSH and compares every packaged runtime file byte for byte.
Installation and verification
- Enter
github:ChimeSky/dsh-a2ui#v0.4.0in DSH's Add Plugin dialog, or downloaddsh-a2ui.tgzbelow and install it from its local path. - 198 automated cases, 19 React render cases, 32 bundle checks, and the isolated install verification passed. The release archive also passed 27 checks.
- Full changelog · Test report
v0.3.1
中文
本次更新修复了流式预览和图表渲染问题,并改进了诊断信息。
- 流式预览收到完整的
updateDataModel后才写入。路径或容器内容仍在传输时,界面可以避免短暂变空。 - 折线图和柱状图保留类别对齐,区分缺失值和真实零值。折线和填充区域会在缺失处断开。
- 改进了柱状图提示位置、表格截断说明、FramePlayer 柱形尺寸、Plot 横轴范围校验、过程行的可展开失败诊断,以及
Row/Column的 CSSjustify写法。 - 更新了
a2ui_catalog的说明和示例、版本元数据及 0.3.1 安装包。
验证通过 171 个自动化用例、32 项 bundle 检查和 19 个 React 渲染用例。
感谢 @smallg0at 在 #1 中排查和复现问题。修复在 af9a6b8 中按插件现有架构落地。
可通过 dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.3.1 安装,也可使用下方的固定版本安装包。
English
Bug-fix and stability release.
- Streaming previews now wait for a complete
updateDataModelmessage before applying writes, preventing brief empty content while paths or containers are still arriving. - Line and bar charts preserve category alignment for missing values and real zeros, breaking line and area segments at gaps instead of shifting or bridging values.
- Improved bar tooltip placement, table truncation disclosure, FramePlayer bar sizing, Plot x-range checks, expandable failure diagnostics in the process row, and
Row/ColumnCSSjustifyaliases. - Updated
a2ui_catalogguidance and examples, version metadata, and the 0.3.1 package.
Verified: 171 automated cases, 32 bundle invariants, and 19 React render cases pass.
Install: dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.3.1, or the pinned tarball asset below.
Full notes: CHANGELOG.md
Acknowledgements: Issue investigation and reproduction from #1 by @smallg0at (addressed in af9a6b8 with implementations aligned to the existing architecture).
v0.3.0
中文
本次加入渐进式流式渲染。模型仍在生成工具参数时,卡片就可以逐步显示。
preparing阶段从已闭合的参数片段折叠出预览,与最终快照采用相同的消息批次。尚未到达的引用组件用骨架显示,等root出现才开始绘制。- 预览设有
pointer-events: none和aria-busy。工具调用完成且载荷通过 Host 校验后,表单提交和写入才会启用。 - 参数片段按会话观察,能够响应窗口更换和取消。不同会话的同名调用 ID 分开处理。
- 新增有资源上限的部分 JSON 恢复和流式状态折叠。遇到无效前缀或超出渲染预算时回退到骨架。
验证通过 160 个自动化用例(含 26 个流式用例)、17 个真实 React 渲染用例、32 项 bundle 检查,以及隔离安装检查。
可通过 dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.3.0 安装,也可使用下方的固定版本安装包。
English
Progressive streaming release: the card is now drawn while the model is still writing the tool arguments, instead of appearing all at once when the arguments finish.
- The
preparingstage is folded from the argument fragments that have already closed, using the same message batch as the settled snapshot; referenced-but-missing components render as skeletons and nothing is drawn beforerootexists. - The preview is inert (
pointer-events: none,aria-busy), and submit/write paths stay disabled until the call settles and its payload passes Host validation. - Session-scoped fragment observation responds to window replacement and cancellation; different Sessions can no longer overwrite the same call ID.
- New bounded partial-JSON recovery scanner and streaming fold; malformed prefixes or render-budget overruns stop the preview and fall back to the skeleton.
Tests: 160 automated cases (26 streaming cases, 17 real-React render cases overall), 32 bundle invariants and the fresh-home install check pass.
Install: dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.3.0, or the pinned tarball asset below.
Full notes: CHANGELOG.md
v0.2.1
中文
本次修复柱状图的悬停提示。
- 改用贴近当前柱形的 HTML 浮层,并限制在绘图区内。长标签和窄卡片下,提示仍能留在绘图区内并避开坐标轴标签。
- 通过图例隐藏系列时,对应的提示会一并收起。
- DOM 测试通过模拟布局坐标,覆盖分组、堆叠和横向柱形。
可通过 dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.2.1 安装,也可使用下方的固定版本安装包。
English
Patch release for the bar chart tooltip.
- The hover tooltip is now an HTML overlay anchored to the hovered bar and clamped to the plot area, so long labels and narrow cards no longer push it outside the chart or over the axis labels.
- The tooltip clears when a series is hidden from the legend.
- Grouped, stacked and horizontal bars are covered by DOM tests that mock the layout geometry.
Install: dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.2.1, or the pinned tarball asset below.
Full notes: CHANGELOG.md
v0.2.0
中文
本次更新修复了状态与渲染问题,并加入资源限制。
- 同一次调用内的
createSurface、updateComponents和updateDataModel按顺序累计。模板行按自身作用域求值,并修正了官方字段别名、被拒绝的数据写入与纯日期字段处理。 - 表单仅在发送期间锁定,过程行交给轮末卡片后保留本地编辑。修复柱状图基线、饼图剩余项和函数图断点。
- 正则表达式改用有资源上限的求值器,并新增渲染预算、深层 JSON 迭代校验及 JSON Pointer 限制。
- 构建时保留现有文件。验证通过 130 个自动化用例,包括 10 个 jsdom 用例和全部 43 个官方目录样例,另有 11 个真实 React 渲染用例、bundle 检查和隔离安装检查通过。
可通过 dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.2.0 安装,也可使用下方的固定版本安装包。
English
Correctness and safety release.
- Same-call
createSurface/updateComponents/updateDataModelnow folds correctly; template rows resolve their own scope; official field aliases, refused data-model writes and date-only fields are handled as specified. - Form sends lock only while sending; edits survive the process-row to turn-tail hand-over; bar baselines, pie remainder slices and plot discontinuities are fixed.
- The backtracking regex path is replaced by a bounded evaluator; render budget, iterative deep-JSON validation and JSON Pointer limits were added.
- The build no longer deletes files. 130 automated cases (10 jsdom DOM cases, all 43 official catalog examples), 11 real-React render cases, bundle invariants and a fresh-home install check pass.
Install: dsh plugin --profile desktop add github:ChimeSky/dsh-a2ui#v0.2.0, or the pinned tarball asset below.
Full notes: CHANGELOG.md
v0.1.0
中文
dsh-a2ui 的首个版本,仓库根目录提供可安装的 bundle。
验证通过 70 个进程内用例、bundle 和渲染检查,并在桌面 profile 中确认安装文件与构建产物逐字节一致。
可通过 dsh plugin add github:ChimeSky/dsh-a2ui#v0.1.0 安装,也可使用下方的固定版本安装包。
English
dsh-a2ui 0.1.0 — root-level bundle installable via dsh plugin add github:ChimeSky/dsh-a2ui#v0.1.0, or from the pinned tarball asset below.
Verified: 70 in-process tests, bundle invariants, render checks, and a byte-identical install in the desktop profile.