@adia-ai/a2ui-runtime 0.7.23 → 0.7.25
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 +26 -16
- package/css-channel.test.js +1 -1
- package/package.json +1 -1
- package/renderer.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-runtime
|
|
2
2
|
|
|
3
|
+
## [0.7.25] — 2026-07-03
|
|
4
|
+
|
|
5
|
+
### Maintenance
|
|
6
|
+
- **Lockstep version bump only.** No source changes in this package; bumped to maintain the 9-package version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.7.25 work shipped in accordion-ui variant="flat|contained" posture + 2 footnote fixes + keyboard a11y. See `packages/web-components/CHANGELOG.md#0725--2026-07-03` for details.
|
|
7
|
+
|
|
8
|
+
## [0.7.24] — 2026-07-01
|
|
9
|
+
|
|
10
|
+
### Maintenance
|
|
11
|
+
- **Lockstep version bump only.** No source changes in this package; bumped to maintain the 9-package version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.7.24 work shipped in @adia-ai/web-components upstream consumer findings F1/F2/F4/F5/F6 — icon-ui fail-loud registry wiring, @phosphor-icons/core direct dep, custom-elements.json de-fabrication, new display-field-ui primitive, table-ui rowExpandable per-row gate. See `packages/web-components/CHANGELOG.md#0724--2026-07-01` for details.
|
|
12
|
+
|
|
3
13
|
## [0.7.23] — 2026-06-30
|
|
4
14
|
|
|
5
15
|
### Maintenance
|
|
@@ -220,7 +230,7 @@
|
|
|
220
230
|
|
|
221
231
|
### Added — Phase 1 CSS channel: `updateStyles` + `removeStyles`
|
|
222
232
|
|
|
223
|
-
- **CSS channel — Phase 1** (commit `d664bee22`): runtime gains `updateStyles(id, patch)` + `removeStyles(id, keys)` APIs for parallel-channel CSS-token updates from a2ui messages. Lets agents send token-only updates (`{"--button-bg": "var(--a-accent-strong)"}`) without re-emitting the full component tree. Companion smoke + tests + visual eval fixture in evals/. Sibling spec example + visual eval fixture also updated in commits `f7f8430b2` and `ff62fe305`. Spec:
|
|
233
|
+
- **CSS channel — Phase 1** (commit `d664bee22`): runtime gains `updateStyles(id, patch)` + `removeStyles(id, keys)` APIs for parallel-channel CSS-token updates from a2ui messages. Lets agents send token-only updates (`{"--button-bg": "var(--a-accent-strong)"}`) without re-emitting the full component tree. Companion smoke + tests + visual eval fixture in evals/. Sibling spec example + visual eval fixture also updated in commits `f7f8430b2` and `ff62fe305`. Spec: `.claude/docs/specs/genui-css-channel.md`.
|
|
224
234
|
|
|
225
235
|
## [0.6.33] — 2026-05-23
|
|
226
236
|
|
|
@@ -318,7 +328,7 @@
|
|
|
318
328
|
## [0.6.15] — 2026-05-21
|
|
319
329
|
|
|
320
330
|
### Maintenance
|
|
321
|
-
- **Lockstep version bump only.** No source changes in this package; bumped to maintain the 9-package version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.6.15 work shipped in `@adia-ai/web-components` — `installIconLoaders` shape-detects malformed flat globs (FB-07 auto-promote + warn), `icons-phosphor.js` surfaces silent-fail diagnostics (FB-08), and docs/skill examples corrected (FB-09). See `packages/web-components/CHANGELOG.md#0615--2026-05-21` for details.
|
|
331
|
+
- **Lockstep version bump only.** No source changes in this package; bumped to maintain the 9-package version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.6.15 work shipped in `@adia-ai/web-components` — `installIconLoaders` shape-detects malformed flat globs (FB-07 auto-promote + warn), `icons-phosphor.js` surfaces silent-fail diagnostics (FB-08), and .claude/docs/skill examples corrected (FB-09). See `packages/web-components/CHANGELOG.md#0615--2026-05-21` for details.
|
|
322
332
|
|
|
323
333
|
## [0.6.14] — 2026-05-21
|
|
324
334
|
|
|
@@ -582,7 +592,7 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
|
|
|
582
592
|
|
|
583
593
|
Project-lifetime category error; same shape as the §47 `<a>` → Button transpiler bug. Both encoded incorrect assumptions about HTML attribute spelling. Fix: new `static #HTML_LOWERCASE_ATTRS` set (38 HTML-spec attrs sourced from MDN reference + DOM specs covering input/form/media/image/anchor/generic/microdata/script categories); `#toAttr()` now consults the set before kebab-casing. Multi-token attrs still kebab correctly.
|
|
584
594
|
|
|
585
|
-
See root [CHANGELOG.md `[Unreleased]`](../../../CHANGELOG.md) for the cross-cutting arc narrative + [docs/journal/2026/05/2026-05-12.md](
|
|
595
|
+
See root [CHANGELOG.md `[Unreleased]`](../../../CHANGELOG.md) for the cross-cutting arc narrative + [.claude/docs/journal/2026/05/2026-05-12.md](../../../.claude/docs/journal/2026/05/2026-05-12.md) §§ 45 / 49 / 51 for per-§ details.
|
|
586
596
|
## [0.4.3] - 2026-05-11
|
|
587
597
|
|
|
588
598
|
### Ride-along (no source changes)
|
|
@@ -628,7 +638,7 @@ Lockstep version bump only — source byte-identical to v0.3.4. Internal `@adia-
|
|
|
628
638
|
Lockstep version bump only — source byte-identical to v0.3.3. Internal `@adia-ai/*` dep ranges remain at `^0.3.0`. See root [CHANGELOG.md `## [0.3.4]`](../../../CHANGELOG.md) for the cut narrative.
|
|
629
639
|
## [0.3.3] - 2026-05-07
|
|
630
640
|
|
|
631
|
-
**Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [
|
|
641
|
+
**Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
632
642
|
|
|
633
643
|
### Changed
|
|
634
644
|
|
|
@@ -641,7 +651,7 @@ Lockstep version bump only — source byte-identical to v0.3.3. Internal `@adia-
|
|
|
641
651
|
## [0.3.2] - 2026-05-06
|
|
642
652
|
|
|
643
653
|
**9-package lockstep patch cut to v0.3.2.** All lockstep members share
|
|
644
|
-
one version per [
|
|
654
|
+
one version per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
645
655
|
Internal `@adia-ai/*` dep ranges unchanged at `^0.3.0`.
|
|
646
656
|
|
|
647
657
|
### No source changes
|
|
@@ -654,7 +664,7 @@ version only.
|
|
|
654
664
|
- `version`: `0.3.1` → `0.3.2`.
|
|
655
665
|
## [0.3.1] - 2026-05-06
|
|
656
666
|
|
|
657
|
-
**9-package lockstep patch cut.** All 9 published `@adia-ai/*` packages bump 0.3.0 → 0.3.1 per [
|
|
667
|
+
**9-package lockstep patch cut.** All 9 published `@adia-ai/*` packages bump 0.3.0 → 0.3.1 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
|
|
658
668
|
|
|
659
669
|
This package itself ships **no source changes** in v0.3.1. The cut bumps version only — substantive content lives in [`@adia-ai/web-components`](https://github.com/adiahealth/gen-ui-kit/releases/tag/web-components-v0.3.1) (folder-per-trait restructure; barrel API unchanged).
|
|
660
670
|
|
|
@@ -664,7 +674,7 @@ This package itself ships **no source changes** in v0.3.1. The cut bumps version
|
|
|
664
674
|
- Internal `@adia-ai/*` dep ranges: unchanged at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
|
|
665
675
|
## [0.3.0] - 2026-05-05
|
|
666
676
|
|
|
667
|
-
**9-package lockstep cut + package rename + LLM extraction.** All 9 published `@adia-ai/*` packages bump 0.2.5 → 0.3.0 per [
|
|
677
|
+
**9-package lockstep cut + package rename + LLM extraction.** All 9 published `@adia-ai/*` packages bump 0.2.5 → 0.3.0 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges bump `^0.2.0` → `^0.3.0`.
|
|
668
678
|
|
|
669
679
|
This is a **minor cut on top of v0.2.5 with two BREAKING changes for npm consumers** (acceptable under pre-1.0 semver):
|
|
670
680
|
1. **Package renamed** — `@adia-ai/a2ui-utils` → `@adia-ai/a2ui-runtime` (this package).
|
|
@@ -703,9 +713,9 @@ The `@adia-ai/a2ui-utils@0.2.5` and earlier remain on npm and continue to work;
|
|
|
703
713
|
"utils" undersold what this package is and collided visually with `web-modules/runtime/` (which holds `<a2ui-root>`, the surface element). The package's own description has always called it "A2UI runtime — renderer, registry, streams"; the name now matches.
|
|
704
714
|
## [0.2.5] - 2026-05-04
|
|
705
715
|
|
|
706
|
-
**8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.4 → 0.2.5 per [
|
|
716
|
+
**8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.4 → 0.2.5 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.2.0` (covers 0.2.5 under semver — patch-cut asymmetry).
|
|
707
717
|
|
|
708
|
-
This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive content lives in `web-components` (new `<fields-ui>` form-grid primitive + `draggable-list-item` last-item drop-zone fix, both surfaced by the Tasks UI Playground at
|
|
718
|
+
This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive content lives in `web-components` (new `<fields-ui>` form-grid primitive + `draggable-list-item` last-item drop-zone fix, both surfaced by the Tasks UI Playground at `.claude/docs/projects/tasks-playground/`); `a2ui-corpus` ships a catalog regen for the new `<fields-ui>` yaml. `a2ui-utils` rides along at version bump only — no source change.
|
|
709
719
|
|
|
710
720
|
### Changed
|
|
711
721
|
|
|
@@ -713,7 +723,7 @@ This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive conte
|
|
|
713
723
|
- Internal `@adia-ai/*` dep ranges: unchanged at `^0.2.0` (covers `0.2.5` under semver — patch-cut asymmetry).
|
|
714
724
|
## [0.2.4] - 2026-05-04
|
|
715
725
|
|
|
716
|
-
**8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.3 → 0.2.4 per [
|
|
726
|
+
**8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.3 → 0.2.4 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.2.0` (covers 0.2.4 under semver — patch-cut asymmetry).
|
|
717
727
|
|
|
718
728
|
This is a **patch cut on top of v0.2.3, no BREAKING changes.** Substantive content lives in `web-components` (Tier 4 trait library lift, 11 new traits + 2 architectural rewrites, plus accumulated bug fixes); `a2ui-corpus` ships a catalog regen for the new `<demo-toggle-ui>` primitive. Six packages ride along at version + dep-range bump.
|
|
719
729
|
|
|
@@ -733,7 +743,7 @@ _Nothing yet._
|
|
|
733
743
|
|
|
734
744
|
**Lockstep cut.** All 8 published `@adia-ai/*` packages bump
|
|
735
745
|
0.2.2 → 0.2.3 per
|
|
736
|
-
[
|
|
746
|
+
[`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
737
747
|
Patch cut — no breaking changes.
|
|
738
748
|
|
|
739
749
|
### Changed
|
|
@@ -745,7 +755,7 @@ Patch cut — no breaking changes.
|
|
|
745
755
|
`@adia-ai/a2ui-utils` source is byte-identical to `0.2.2`. The cut bumps version only.
|
|
746
756
|
## [0.2.2] — 2026-05-02
|
|
747
757
|
|
|
748
|
-
**Lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.1 → 0.2.2 per [
|
|
758
|
+
**Lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.1 → 0.2.2 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Patch cut — no breaking changes.
|
|
749
759
|
|
|
750
760
|
### Changed
|
|
751
761
|
|
|
@@ -758,7 +768,7 @@ Patch cut — no breaking changes.
|
|
|
758
768
|
---
|
|
759
769
|
## [0.2.1] — 2026-05-02
|
|
760
770
|
|
|
761
|
-
**Lockstep cut + A2UI registry mappings (`Field`/`Rating`/`ListItem`/`NavItem`/`NavGroup`).** All 8 published `@adia-ai/*` packages bump 0.2.0 → 0.2.1 per [
|
|
771
|
+
**Lockstep cut + A2UI registry mappings (`Field`/`Rating`/`ListItem`/`NavItem`/`NavGroup`).** All 8 published `@adia-ai/*` packages bump 0.2.0 → 0.2.1 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Patch cut — no breaking changes.
|
|
762
772
|
|
|
763
773
|
### Changed
|
|
764
774
|
|
|
@@ -776,14 +786,14 @@ Five new A2UI type → AdiaUI tag mappings in `registry.js`:
|
|
|
776
786
|
|
|
777
787
|
All 5 components existed in `@adia-ai/web-components`; the registry hadn't been kept in sync. Closing this gap fixes 28/113 hand-authored patterns that previously rendered as `[unknown: X]` placeholders when imported into `/site/playground/a2ui-editor`, plus the render-preview's `streamed-list` example. The `NavItem` and `NavGroup` additions also align with [ADR-0015](../../../.brain/adrs/0015-three-tier-naming-convention.md)'s nav consolidation (the retired `SectionNav`/`SectionNavItem` types are migrated in `@adia-ai/a2ui-corpus`).
|
|
778
788
|
|
|
779
|
-
Smoke side-effect: zettel score 91 → 92; `smoke:engines` flipped from `valid=false score=98/91` to `valid=true score=100/92` because the unregistered types were tripping validation. Per-finding triage in [
|
|
789
|
+
Smoke side-effect: zettel score 91 → 92; `smoke:engines` flipped from `valid=false score=98/91` to `valid=true score=100/92` because the unregistered types were tripping validation. Per-finding triage in [`.claude/docs/reports/playground-examples-review-2026-05-02.md`](../../../.claude/docs/reports/playground-examples-review-2026-05-02.md).
|
|
780
790
|
|
|
781
791
|
---
|
|
782
792
|
## [0.2.0] — 2026-05-02
|
|
783
793
|
|
|
784
794
|
**Lockstep cut.** All 8 published `@adia-ai/*` packages now share one
|
|
785
|
-
version, governed by [
|
|
786
|
-
(Versioning Policy)](
|
|
795
|
+
version, governed by [`.claude/docs/specs/package-architecture.md` § 15
|
|
796
|
+
(Versioning Policy)](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
787
797
|
|
|
788
798
|
### Changed
|
|
789
799
|
|
package/css-channel.test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A2UI CSS channel — unit fixtures.
|
|
3
3
|
*
|
|
4
|
-
* Spec: docs/specs/genui-css-channel.md §8.1
|
|
4
|
+
* Spec: .claude/docs/specs/genui-css-channel.md §8.1
|
|
5
5
|
* Covers the 11 named fixtures asserting the renderer's updateStyles +
|
|
6
6
|
* removeStyles surface. happy-dom supports constructable stylesheets +
|
|
7
7
|
* adoptedStyleSheets natively; @scope semantics are not enforced by the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-runtime",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.25",
|
|
4
4
|
"description": "A2UI runtime \u2014 renderer, registry, streams, surface manifest, and wiring primitives for the A2UI (Agent-to-UI) protocol. Framework-agnostic; pairs with any A2UI-conformant component set.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
package/renderer.js
CHANGED
|
@@ -103,7 +103,7 @@ export class A2UIRenderer {
|
|
|
103
103
|
bindings: new Map(),
|
|
104
104
|
// CSS channel (Phase 1): styleId -> { sheet, ruleCount, appliedAt }.
|
|
105
105
|
// Populated by #updateStyles; cleared by #removeStyles / #deleteSurface.
|
|
106
|
-
// See docs/specs/genui-css-channel.md §5.4.
|
|
106
|
+
// See .claude/docs/specs/genui-css-channel.md §5.4.
|
|
107
107
|
adoptedSheets: new Map(),
|
|
108
108
|
});
|
|
109
109
|
}
|
|
@@ -521,7 +521,7 @@ export class A2UIRenderer {
|
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
// ── CSS channel (updateStyles / removeStyles) ──
|
|
524
|
-
// Spec: docs/specs/genui-css-channel.md
|
|
524
|
+
// Spec: .claude/docs/specs/genui-css-channel.md
|
|
525
525
|
// Implements Phase 1 of the gen-ui parallel-channels initiative.
|
|
526
526
|
|
|
527
527
|
// Forbidden top-level selector tokens — these would pollute document scope
|