@adia-ai/gen-ui 0.8.64 → 0.8.66

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,22 @@
1
1
  # Changelog — @adia-ai/gen-ui
2
2
 
3
+ ## [0.8.66] — 2026-09-14
4
+
5
+ ### Maintenance
6
+ - **Lockstep version bump only.** No source changes in this package; bumped to maintain the lockstep version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.8.66 work shipped in chat-shell send()-failure cleanup + Retry button, structured-surface width fix, SSE error-frame JSON escaping. See `packages/llm/core/CHANGELOG.md#0866--2026-09-14` for details.
7
+ - **`corpus/` touched in this release window** (2 file(s), e.g. `chunks/_output-hashes.json`): no substantive entries recorded in this section, describe what shipped, or confirm this is meta-only, before cutting.
8
+
9
+ ## [0.8.65] — 2026-09-14
10
+
11
+ ### Changed
12
+
13
+ - chore: corrected an inaccurate code comment in generator.js (ticket 10050's own comment wrongly gated its claim on the 300-component threshold; the mergeCanvasDiff call was never threshold-gated); wording only, no behavior change (ticket 10060) (local ticket 10060)
14
+
15
+ ### Maintenance
16
+ - **Lockstep version bump only.** No source changes in this package; bumped to maintain the lockstep version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.8.65 work shipped in A2UI renderer tree-build cycle guard now checks real DOM ancestry (ticket 10054). See `packages/gen-ui/a2ui/CHANGELOG.md#0865--2026-09-14` for details.
17
+ - **`compose/` touched in this release window** (1 file(s), e.g. `core/generator.js`): carried by the entry above.
18
+ - **`corpus/` touched in this release window** (1 file(s), e.g. `chunks/_source-hashes.json`): carried by the entry above.
19
+
3
20
  ## [0.8.64] — 2026-09-13
4
21
 
5
22
  ### Fixed
@@ -538,14 +538,17 @@ export async function* generateUIStream({ intent, executionId, llmAdapter, model
538
538
  // ── Stage 5: Parse final + validate ──
539
539
  let messages = parseA2UIResponse(fullText, { executionId, mode: 'stream', intent });
540
540
 
541
- // ticket 10050: above the 300-component threshold, buildCanvasDiffPrompt
542
- // (monolithic/_shared.js) switches to asking for a sparse diff instead of
543
- // the full canvas, the same threshold generatePro uses. Unlike generatePro
544
- // (generate-pro.js's own mergeCanvasDiffDetailed call), this path never
545
- // reconstituted the diff against the prior canvas, so components the LLM
546
- // left out of the diff were silently dropped instead of carried forward.
547
- // Merge here, before repair, so validation/storage below see the same
548
- // full canvas generatePro would produce.
541
+ // ticket 10050: on any turn with a prior canvas, the LLM's response may
542
+ // omit components it didn't need to change (buildCanvasDiffPrompt tells it
543
+ // so above the 300-component threshold, but the model can and does return
544
+ // a partial diff below it too). Unlike generatePro (generate-pro.js's own
545
+ // mergeCanvasDiffDetailed call), this path never reconstituted the
546
+ // response against the prior canvas, so an omitted component was silently
547
+ // dropped instead of carried forward. Merge unconditionally here, before
548
+ // repair, so validation/storage below see the same full canvas generatePro
549
+ // would produce, regardless of prior-canvas size (ticket 10060: an earlier
550
+ // version of this comment wrongly gated the claim on the 300-component
551
+ // threshold; the merge itself was never threshold-gated).
549
552
  if (hasPriorCanvasFromPayload && messages && messages.length > 0) {
550
553
  for (const msg of messages) {
551
554
  if (msg.type === 'updateComponents' && msg.components) {
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "schema": "genui-chunk-output-hashes@1",
3
3
  "algo": "sha256",
4
- "capturedAt": "2026-09-13T22:07:39.419Z",
4
+ "capturedAt": "2026-09-14T16:12:04.733Z",
5
5
  "aggregateDigest": "9eaca6f62e9dc45f78ebb2d22889b53071405a51a9bcd4410c737f076e57e8d3",
6
6
  "harvestEnv": {
7
- "nodeMajor": "24",
7
+ "nodeMajor": "22",
8
8
  "layout": "npm",
9
9
  "harvestScriptSha256": "1512a978fb12eb7d31a923f00cec4441e631ce3b85bfcfd0f46676be282e6f4e"
10
10
  },
@@ -283,7 +283,7 @@
283
283
  "catalog/ui-patterns/v050-marketing-blocks/v050-marketing-blocks.html": "7833b21ee84643978cd3ca0e6ff20caa20ec8cbc9a55e371aa295a532f8ed48a",
284
284
  "catalog/ui-patterns/v050-nav-blocks/v050-nav-blocks.contents.html": "86f492db19b8aafc2bf25620f52377cd7a6cb92cfa2d0d3bc9dd4c5ade3e88c6",
285
285
  "catalog/ui-patterns/v050-nav-blocks/v050-nav-blocks.html": "196862f06f495547d85f542e6a0eee152ab40a40ca969c93b0cbd0733de5a5e2",
286
- "packages/gen-ui/a2ui/catalog/tier-index.json": "850ec77e8b2f33ea9756e22e27976cd1011ccce618d92b7e9ecf0461501302bd",
286
+ "packages/gen-ui/a2ui/catalog/tier-index.json": "bee5cf45ad837cf9135ea92cdcd4afb26dec8838ec0cf93d358bf4ef82b4bb59",
287
287
  "packages/web-components/components/accordion/accordion.examples.html": "0218a098bc9db38f6ad5a73b7fbbd8755882d92f47790488928384b79b2e7868",
288
288
  "packages/web-components/components/action-list/action-list.examples.html": "abcb4897fc8143a4c32b15bf82eb3340304cfa22d8498198328c1570102d7bc2",
289
289
  "packages/web-components/components/adia-mark/adia-mark.examples.html": "2124ad37660d157e7a85fdc57eb7725ac02d629a76a47a58ff53703ed5b06238",
@@ -611,7 +611,7 @@
611
611
  "site/pages/getting-started/usage.html": "23f477ad6e505876e36d6c774cd49acc3bb483f7e4872ea8d6d5261fdab02b4f",
612
612
  "site/pages/guides/agent-skills.html": "647864bb9c6e43ed123c95b48201f3e55a5bb26e8a77cd0ee65ad361df47bd97",
613
613
  "site/pages/guides/bundle-loading.html": "dc08497d9621c090e1581289ebf9a706ae05421a55dc9f20841c107969b3b829",
614
- "site/pages/guides/bundle-sizes.html": "b8b067e5e3c89bfb6ea809a971a5a7d13816b27f550a8a9e391dafa2d4421551",
614
+ "site/pages/guides/bundle-sizes.html": "a5d1d06589589da36f80bcc20e5ac7da9971697795c795d45c8577523ded630f",
615
615
  "site/pages/guides/creating-components.html": "f34020a12d91a0239b6303e32b3c39ecc47d7a96ccfa7ff10fc12e313065a5d6",
616
616
  "site/pages/guides/css-architecture.html": "42b4258cefc5f98d3b1297362aa090fe1310b92032871fc3144b33a42f03f331",
617
617
  "site/pages/guides/data-flow.html": "c1965674271df66cfebf95eb012048996fc8c844179fcb1816d49aae98621219",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/gen-ui",
3
- "version": "0.8.64",
3
+ "version": "0.8.66",
4
4
  "description": "AdiaUI generative-UI system — compose strategies, retrieval, the harvested training corpus, and catalog-aware + LLM-judge validation. Emits A2UI protocol messages; pairs with @adia-ai/a2ui (the protocol runtime). Folded from @adia-ai/a2ui-{compose,retrieval,corpus} + the catalog/semantic halves of the former @adia-ai/a2ui-validator (ADR-0048).",
5
5
  "type": "module",
6
6
  "main": "./compose/index.js",