dsh-motion-ui 0.5.5 → 0.5.6

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,15 @@
1
1
  # DSH Motion UI
2
2
 
3
+ ## 0.5.6 — 2026-10-10
4
+
5
+ - Disable tool-time UI preview and defer committed UI presentation until durable turn/end. Reasoning/text still stream normally. Completed, interrupted and failed turns reveal successfully generated UI; partial/failed tools do not produce a flashing canvas.
6
+ - Identify missing/invalid/duplicate node IDs separately with exact nested locations and first duplicate provenance. Mixed canvas/controls accept arbitrary JSON field order. Omitted canvas title/fallback inherit document values; guidance clarifies that state declarations do not create controls.
7
+ - Use durable turn completion rather than live tail anchor values for presentation. Regression checks cover pending tool/result stages, late markers, single presentation, saved input and iframe identity after display.
8
+ - Normalize plain numeric/boolean transport strings only in declared typed fields, and exact item-array wrappers across controls, nested containers, formulas, tables and action scopes. Preserve ordinary text, data and canvas source.
9
+ - Decode a single state-specification JSON object or exact singular object wrapper, with unsafe-key/depth checks reapplied.
10
+ - Name missing numeric fields, invalid ranges, options and formula argument paths in repair guidance. Inject a complete numeric-state example and recommend formula shorthand instead of deep argument trees or probe UIs.
11
+ - Clarify round semantics, shared-state controls and direct UI-tool usage in injected guidance; use ui_catalog for protocol questions instead of searching DSH installation sources.
12
+
3
13
  ## 0.5.5 — 2026-10-10
4
14
 
5
15
  - Describe all registered component fields in the native tool schema, including the nested steps item shape, and inject a minimal static process example.
package/README.md CHANGED
@@ -71,7 +71,7 @@ Development installs of `dsh-generative-ui` must be uninstalled before installin
71
71
 
72
72
  Free canvases now include optional theme-aware `.ui-*` primitives for typography, controls, result readouts, SVG nodes, connectors and annotations. Guided mode actively injects a construction handbook covering Chinese label widths, connector routing, actual rendered SVG font sizes, validated calculations and reset behavior. Free mode retains autonomous composition and only receives the interface/delivery contract.
73
73
 
74
- For `render_canvas`, emit `css` (an empty string if unused) before `html`, followed by `script`. Complete CSS plus partial HTML can produce a static streaming preview in a stable isolated frame. The preview strips active markup, disables controls and animation, has no state bridge, and never executes generated JavaScript. Interaction still starts only after successful submission and parameter restoration. Native `render_ui` continues to preview complete validated subtrees. Incomplete or failed generation does not become a saved interactive document.
74
+ UI appears after the entire assistant turn ends, rather than during tool-argument streaming. While the model continues reasoning or writing, the tool shows a compact status without a preview canvas. This prevents a temporary preview flashing and disappearing before the final conversation UI is available. Successfully saved UI is also revealed when a turn is interrupted or ends with an error; incomplete or failed tools never become interactive documents. Controls activate after parameter restoration. Text and reasoning continue streaming normally.
75
75
 
76
76
  Each committed canvas offers **说明与操作 → 导出独立 HTML**. The downloaded file includes the current parameter snapshot, the shared calculation interpreter and an isolated canvas. Declared state and derived results recompute locally without DSH or external libraries. It is a single-canvas export, not a complete mixed native layout; it does not send Agent requests or save back to DSH. Reloading the file restores the export-time parameters. External resources remain unavailable.
77
77
 
package/VERIFICATION.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Verification
2
2
 
3
+ ## 0.5.6 — authoring compatibility and stable presentation (2026-10-10)
4
+
5
+ 68 automated tests and 14 release stages cover typed transport normalization, decoded-object safety, exact node/argument diagnostics, field-order independence, canvas metadata defaults, durable end-of-turn UI presentation, state recovery, isolation and standalone export. Clean npm ci reports zero vulnerabilities. Production UI preview is disabled; static preview utilities remain internally tested but are not registered tool entry points.
6
+
7
+ The end-of-turn browser regression uses the real turn extension plus production ToolView/TurnUiView: partial arguments, successful tool results, late prose markers and changing tail anchors do not mount UI/iframe before turn/end. After turn completion, a single UI appears and retains input and iframe identity. Interrupted/error endings also reveal successful results. Text/reasoning streaming and model stopping behavior are unchanged. Replaying the supplied real session events confirms readiness changes only on turn/end.
8
+
9
+ Original travel-call replay passes eight of ten previously failing calls unchanged; two still need actual missing bounds/formula operands. Another session's three alleged field-order failures each omit sandbox id; adding only that id fixes them without reordering. No general model first-attempt success rate is claimed. Desktop local fixes were package-file verified and user-tested before this release; this does not change the declared Web compatibility range.
10
+
3
11
  ## 0.5.5 — process guide authoring repair (2026-10-10)
4
12
 
5
13
  61 automated tests and 14 release checks cover the static steps contract, canonicalization before native tool validation, precise error paths and compact failure presentation. Replaying all five original render_ui argument sets from the reported exported session through the registered Host tool succeeds in an isolated temporary DSH_HOME: the first four retain five steps instead of falling back to text. No new model success-rate claim is made. Evidence: test-output/exported-steps-replay.json and test-output/release-verification.json.