Skip to content

dsh-visualization 0.3.6

Choose a tag to compare

@shaomingbo shaomingbo released this 14 Sep 09:43

json-table hardening

  • Concrete failure causes: an invalid json-table body no longer fails with a generic message. The error card now shows a localized cause line (zh: 失败原因:… / en: Cause: …) with the JSON parser's own message (e.g. Expected ':' after property name in JSON at position 13), or an accurate shape description (e.g. found number at index 0).
  • New accepted shape — row arrays with a leading header row: [["Column"],["Value"]] (first row = header, the same convention as csv); ragged rows are padded or truncated to the header width. Arrays of flat objects and the explicit {columns, rows} object remain accepted.
  • Model guidance updated: the ui:data-table-fences system-prompt section documents the three shapes and bans brace-comma pseudo-objects at the source.
  • Installer default source and README pinned tags move to v0.3.6.

Verified against dsh 0.1.2-alpha.3 / 0.1.5-rc.1 / 0.1.5-rc.2 (installer matrix; host web/base 0.1.2-rc.1 and 0.1.5-rc.2). Isolated acceptance: official CLI install on a reserved lab slot, byte-identity between the installed bundle and the packed candidate, factory-execution + react-dom render behavioral evidence (7/7), snapshot/verify drift check unchanged, and an independent final review that re-ran the parser tests (17/17).

Tag commit: 1cefc898dcb469b57e56966f3342c7d510189466