dsh-motion-ui 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # DSH Motion UI
2
2
 
3
+ ## 0.5.4 — 2026-10-10
4
+
5
+ - Publish a native object schema for render_ui, including the document skeleton and component vocabulary. Legacy JSON strings are decoded internally; models are no longer offered a string branch that encourages double escaping.
6
+ - Accept JSON fences/trailing commas outside strings without guessing malformed quotes or executing source. Errors identify the failed field and JSON location where available.
7
+ - Support string/boolean metrics, optional table captions, inline table/chart rows, scoped row shorthand, and Unicode identifiers consistently across formulas, maps and references.
8
+ - Add bounded structured JSON state for canvas checklists/objects, preserving arrays and objects through persistence and standalone export. A string state with a structured default and no options is canonicalized to json; native inputs still require scalar state.
9
+ - Default to a clean view: hide footer diagnostics, history, parameter status and original-description disclosures. Home → Plugins offers optional details. Canvas actions use a compact menu; charts expose data through a title-row button.
10
+ - Use rounder surfaces and soft theme-aware gradient fills. Committed, preview and exported canvases fit content height rather than keeping a 160px minimum; filtering can shrink them again.
11
+
3
12
  ## 0.5.3 — 2026-10-10
4
13
 
5
14
  - Prefer lightweight static diagrams, concise comparisons, short processes and compact dashboards; controls and animation are added when useful.
package/README.md CHANGED
@@ -6,6 +6,12 @@ Interactive, declarative tool views for **DeepSeek Harness Web 0.2.0-rc.2**.
6
6
 
7
7
  The plugin adds `ui_catalog` (protocol + examples + visual vocabulary) and `render_ui` (validated UI). It renders native conversation turn-tail views, computes local expressions, saves per-conversation input state on the Host, and sends explicit follow-up requests with the current parameter snapshot.
8
8
 
9
+ ### Easier authoring and cleaner visuals (0.5.4)
10
+
11
+ The tool schema exposes the document structure and accepts common authoring forms: inline table/chart rows, Chinese identifiers, text metrics, table captions and structured canvas state (`type:"json"`, array/object, max16KiB per value). Runtime arithmetic and chart series still require numbers; unknown fields and unsafe properties remain errors. Prefer passing a document object directly and use `render_canvas` for HTML/SVG source.
12
+
13
+ The default display hides bottom diagnostics/history/parameter disclosures. Canvas export/reset/stop live in a compact top-corner menu. Optional details can be enabled under Home → Plugins. Rounded surfaces and soft gradients follow the host theme; canvas height fits content after rendering and shrinks when content is removed.
14
+
9
15
  ## Install
10
16
 
11
17
  Install the published plugin (or paste `dsh-motion-ui` into Home → Plugins → Add plugin):
package/VERIFICATION.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Verification
2
2
 
3
+ ## 0.5.4 — main Web release acceptance (2026-10-10)
4
+
5
+ Build `0.5.4+92e88973eabc` passes all 59 automated tests and 13 release checks after a clean `npm ci --ignore-scripts` (zero reported vulnerabilities). The main Web profile installs the packed package with all 54 distributed files matching. Its composed configuration validates after migration from the old package name. Actual Home → Plugins settings, saved calculator parameters, reload and downloaded offline HTML pass. Evidence: `test-output/motion054-main-web-smoke.json` and `test-output/release-verification.json`.
6
+
7
+ Two natural-completion DeepSeek V4.1 Flash Fast trials on the main Web, both in the test workspace, pass in one UI tool call with zero tool errors: an unsolicited static project-tool comparison commits at about 37 seconds via render_canvas, and an explicitly requested adjustable resistor explanation commits at about 30 seconds via render_ui. The resistor trial verifies saved input changes, refresh restoration, and bounds at 1920/1365px in light/dark themes; observed visual audits report no issues, but their contrast coverage is partial. Screenshots were also visually reviewed. Both plain GiB follow-ups use no UI tools and answer correctly. Prompt injection and request model identity are verified. No model output was capped, truncated or cancelled. These individual trials do not establish a general first-attempt success rate. Evidence: `test-output/natural-models/guided-deepseek-v4-1-flash-fast-quick-comparison-web-release054/results.json` and `test-output/natural-models/guided-deepseek-v4-1-flash-fast-explicit-resistor-web-release054/results.json`.
8
+
9
+ This release retains its Web compatibility declaration. Desktop has a separate installed profile and requires post-publication installation and actual Electron acceptance; Web results alone do not establish Desktop support.
10
+
11
+ ## Unreleased development — forgiving authoring and clean rounded defaults
12
+
13
+ Development build `0.5.3+89c9850332a7` is distinct from the published 0.5.3 package. All 59 automated tests and 13 release verification steps pass. The packed development installation matches all 54 distributed files in an isolated Web profile; the main Web profile is unchanged.
14
+
15
+ Browser checks cover Unicode identifiers, inline table data and captions, text metrics, structured checklist state, persistence and standalone export. Default footer disclosures are hidden, optional details update live without losing state, and the compact action menu supports Escape and export. Computed styles confirm rounded corners and gradients. A short canvas shrinks below 120px, grows when 360px of content is appended, then shrinks again when it is removed; the root bottom gap stays within 30px. Evidence: `test-output/authoring-verification.json`, `test-output/authoring-desktop.png`, and `test-output/release-verification.json`.
16
+
17
+ Actual installed Web acceptance also passes: Home → Plugins saves design mode and the details checkbox across reload, an existing model-authored calculator retains correct calculations and saved values, and the compact menu downloads a working offline HTML copy. Evidence: `test-output/motion-authoring-native-smoke.json`. The smoke harness waits for asynchronous checkbox persistence and reopens the Plugins panel after page reload; initial harness failures were corrected before the successful run.
18
+
19
+ Natural-completion model trials in the test workspace used the same project-tool comparison question without an explicit UI request. Fast delivered seven nodes in one render_ui call with no tool errors (about 33 seconds); Ling delivered five nodes in one call with no tool errors (about 60 seconds), but its subsequent plain-answer turn ended with an error, so the complete Ling run is not a pass. Those two trials used the earlier native-schema build `6cb03c60f2c8`. MiMo initially selected the advertised legacy JSON-string branch and needed a repair. After exposing only the object form while retaining internal legacy decoding, MiMo on the current build delivered twenty nodes in one call, no tool errors, about 64 seconds to commit, and passed the plain-answer follow-up. These are individual trials, not guaranteed timings or a general first-attempt success rate. No inference was cut off or capped.
20
+
3
21
  ## 0.5.3 — lightweight delivery and one answer-area view
4
22
 
5
23
  55 tests and 12 release checks pass. The new browser regression mounts two native turn-tail seats plus a stale tool preview for the same document in inline mode without a marker: only one committed UI remains. It verifies ownership handoff, saved input restoration, late/removed markers, missing sidebar fallback and independent documents. Four stateless flow/comparison/architecture/dashboard examples render at PC widths without controls or parameter-save chrome.