@adia-ai/a2ui-runtime 0.8.4 → 0.8.5

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,4 +1,10 @@
1
1
  # Changelog — @adia-ai/a2ui-runtime
2
+
3
+ ## [0.8.5] — 2026-07-17
4
+
5
+ ### Fixed
6
+ - **`kbd-ui` renders empty via A2UI (TKT-0025)**: `renderer.js`'s `#TEXT_TAG_OK` allowlist was missing `kbd-ui` — a pure text-bearing leaf with no `text=` attribute/prop to fall back to — so the fallback's `setAttribute('text', …)` was silently inert and content never applied. Runtime-only fix; the transpiled sidecar `textContent` was always correct. Verified: `components.mjs --verify` clean, `test:a2ui` 22/22, live Playwright probe — 24/24 `kbd-ui` elements render visible glyphs.
7
+
2
8
  ## [0.8.4] — 2026-07-16
3
9
 
4
10
  ### Maintenance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/a2ui-runtime",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
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
@@ -333,6 +333,11 @@ export class A2UIRenderer {
333
333
  'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
334
334
  'p', 'small', 'span', 'em', 'strong', 'code',
335
335
  'text-ui',
336
+ // kbd-ui is a pure text-bearing leaf ("Content via innerHTML" per its
337
+ // own docstring) with no `text=` attribute/prop to fall back to — the
338
+ // fallback branch's setAttribute('text', …) is silently inert for it,
339
+ // so every kbd-ui rendered via A2UI showed empty (TKT-0025).
340
+ 'kbd-ui',
336
341
  ]);
337
342
 
338
343
  // Semantic HTML variants — these render as native tags (h1, p, small)