@adia-ai/a2ui-runtime 0.7.24 → 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 +21 -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,10 @@
|
|
|
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
|
+
|
|
3
8
|
## [0.7.24] — 2026-07-01
|
|
4
9
|
|
|
5
10
|
### Maintenance
|
|
@@ -225,7 +230,7 @@
|
|
|
225
230
|
|
|
226
231
|
### Added — Phase 1 CSS channel: `updateStyles` + `removeStyles`
|
|
227
232
|
|
|
228
|
-
- **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`.
|
|
229
234
|
|
|
230
235
|
## [0.6.33] — 2026-05-23
|
|
231
236
|
|
|
@@ -323,7 +328,7 @@
|
|
|
323
328
|
## [0.6.15] — 2026-05-21
|
|
324
329
|
|
|
325
330
|
### Maintenance
|
|
326
|
-
- **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.
|
|
327
332
|
|
|
328
333
|
## [0.6.14] — 2026-05-21
|
|
329
334
|
|
|
@@ -587,7 +592,7 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
|
|
|
587
592
|
|
|
588
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.
|
|
589
594
|
|
|
590
|
-
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.
|
|
591
596
|
## [0.4.3] - 2026-05-11
|
|
592
597
|
|
|
593
598
|
### Ride-along (no source changes)
|
|
@@ -633,7 +638,7 @@ Lockstep version bump only — source byte-identical to v0.3.4. Internal `@adia-
|
|
|
633
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.
|
|
634
639
|
## [0.3.3] - 2026-05-07
|
|
635
640
|
|
|
636
|
-
**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).
|
|
637
642
|
|
|
638
643
|
### Changed
|
|
639
644
|
|
|
@@ -646,7 +651,7 @@ Lockstep version bump only — source byte-identical to v0.3.3. Internal `@adia-
|
|
|
646
651
|
## [0.3.2] - 2026-05-06
|
|
647
652
|
|
|
648
653
|
**9-package lockstep patch cut to v0.3.2.** All lockstep members share
|
|
649
|
-
one version per [
|
|
654
|
+
one version per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
650
655
|
Internal `@adia-ai/*` dep ranges unchanged at `^0.3.0`.
|
|
651
656
|
|
|
652
657
|
### No source changes
|
|
@@ -659,7 +664,7 @@ version only.
|
|
|
659
664
|
- `version`: `0.3.1` → `0.3.2`.
|
|
660
665
|
## [0.3.1] - 2026-05-06
|
|
661
666
|
|
|
662
|
-
**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).
|
|
663
668
|
|
|
664
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).
|
|
665
670
|
|
|
@@ -669,7 +674,7 @@ This package itself ships **no source changes** in v0.3.1. The cut bumps version
|
|
|
669
674
|
- Internal `@adia-ai/*` dep ranges: unchanged at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
|
|
670
675
|
## [0.3.0] - 2026-05-05
|
|
671
676
|
|
|
672
|
-
**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`.
|
|
673
678
|
|
|
674
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):
|
|
675
680
|
1. **Package renamed** — `@adia-ai/a2ui-utils` → `@adia-ai/a2ui-runtime` (this package).
|
|
@@ -708,9 +713,9 @@ The `@adia-ai/a2ui-utils@0.2.5` and earlier remain on npm and continue to work;
|
|
|
708
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.
|
|
709
714
|
## [0.2.5] - 2026-05-04
|
|
710
715
|
|
|
711
|
-
**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).
|
|
712
717
|
|
|
713
|
-
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.
|
|
714
719
|
|
|
715
720
|
### Changed
|
|
716
721
|
|
|
@@ -718,7 +723,7 @@ This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive conte
|
|
|
718
723
|
- Internal `@adia-ai/*` dep ranges: unchanged at `^0.2.0` (covers `0.2.5` under semver — patch-cut asymmetry).
|
|
719
724
|
## [0.2.4] - 2026-05-04
|
|
720
725
|
|
|
721
|
-
**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).
|
|
722
727
|
|
|
723
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.
|
|
724
729
|
|
|
@@ -738,7 +743,7 @@ _Nothing yet._
|
|
|
738
743
|
|
|
739
744
|
**Lockstep cut.** All 8 published `@adia-ai/*` packages bump
|
|
740
745
|
0.2.2 → 0.2.3 per
|
|
741
|
-
[
|
|
746
|
+
[`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
742
747
|
Patch cut — no breaking changes.
|
|
743
748
|
|
|
744
749
|
### Changed
|
|
@@ -750,7 +755,7 @@ Patch cut — no breaking changes.
|
|
|
750
755
|
`@adia-ai/a2ui-utils` source is byte-identical to `0.2.2`. The cut bumps version only.
|
|
751
756
|
## [0.2.2] — 2026-05-02
|
|
752
757
|
|
|
753
|
-
**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.
|
|
754
759
|
|
|
755
760
|
### Changed
|
|
756
761
|
|
|
@@ -763,7 +768,7 @@ Patch cut — no breaking changes.
|
|
|
763
768
|
---
|
|
764
769
|
## [0.2.1] — 2026-05-02
|
|
765
770
|
|
|
766
|
-
**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.
|
|
767
772
|
|
|
768
773
|
### Changed
|
|
769
774
|
|
|
@@ -781,14 +786,14 @@ Five new A2UI type → AdiaUI tag mappings in `registry.js`:
|
|
|
781
786
|
|
|
782
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`).
|
|
783
788
|
|
|
784
|
-
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).
|
|
785
790
|
|
|
786
791
|
---
|
|
787
792
|
## [0.2.0] — 2026-05-02
|
|
788
793
|
|
|
789
794
|
**Lockstep cut.** All 8 published `@adia-ai/*` packages now share one
|
|
790
|
-
version, governed by [
|
|
791
|
-
(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).
|
|
792
797
|
|
|
793
798
|
### Changed
|
|
794
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
|