@adia-ai/a2ui-retrieval 0.5.3 → 0.5.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
@@ -7,6 +7,26 @@ Follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
7
7
 
8
8
  _No pending changes._
9
9
 
10
+ ## [0.5.5] - 2026-05-14
11
+
12
+ ### Changed — lockstep ride-along; no source changes
13
+
14
+ `version`: `0.5.4` → `0.5.5`. Source byte-identical to `0.5.4`.
15
+
16
+ Tracking the v0.5.5 cycle's detector-driven cleanup arcs (§176-§179) + exe.dev LLM Gateway migration (§181-§188) + FEEDBACK-08 closure (§184): see root `CHANGELOG.md` for the full narrative. This package carries no source changes this cycle.
17
+
18
+ ## [0.5.4] - 2026-05-14
19
+
20
+ ### Changed — lockstep ride-along; no source changes
21
+
22
+ `version`: `0.5.3` → `0.5.4`. Source byte-identical to `0.5.3`.
23
+ Tarball changes: none.
24
+
25
+ Tracking the v0.5.4 cycle's prop-fidelity arcs (§163 transpiler fix,
26
+ §164 chunk re-harvest, §165 validator check #19, §166a/b/c audit-script
27
+ family slots 12+13 + smoke shift-left): see root `CHANGELOG.md` for the
28
+ full narrative. This package carries no source changes this cycle.
29
+
10
30
  ## [0.5.3] - 2026-05-14
11
31
 
12
32
  _No pending changes._
@@ -62,6 +62,30 @@ async function _loadNode() {
62
62
  } catch {
63
63
  // No .a2ui.json for this component — skip
64
64
  }
65
+ // §172 (v0.5.4): also pick up SIBLING .a2ui.json files in the same
66
+ // component dir. Some components live as sibling files inside a
67
+ // parent's folder (e.g. <chat-input-ui> in components/chat-thread/).
68
+ // Pre-§172 these were invisible to the retrieval catalog +
69
+ // system-prompt's getComponentData() lookup, causing the LLM to emit
70
+ // them without schema awareness (e.g. the 2026-05-14 redundant-send-
71
+ // button regression on ChatInput). The build scanner gained the same
72
+ // sibling-discovery treatment in `scripts/build/components.mjs`.
73
+ try {
74
+ const sibs = await fs.readdir(path.join(componentsDir, compEntry.name), { withFileTypes: true });
75
+ for (const s of sibs) {
76
+ if (!s.isFile() || !s.name.endsWith('.a2ui.json')) continue;
77
+ if (s.name === `${compEntry.name}.a2ui.json`) continue; // already loaded
78
+ try {
79
+ const raw = await fs.readFile(path.join(componentsDir, compEntry.name, s.name), 'utf8');
80
+ const data = JSON.parse(raw);
81
+ if (data?.title) _componentData.set(data.title, data);
82
+ } catch {
83
+ // skip malformed sibling sidecar
84
+ }
85
+ }
86
+ } catch {
87
+ // skip on read error
88
+ }
65
89
  }
66
90
  }
67
91
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adia-ai/a2ui-retrieval",
3
- "version": "0.5.3",
4
- "description": "AdiaUI A2UI retrieval layer catalog lookup, intent classification, domain routing, pattern + anti-pattern matching, clarity + context assembly. Consumed by the compose engine and any A2UI-protocol tooling that needs to reason about user intent against the catalog.",
3
+ "version": "0.5.5",
4
+ "description": "AdiaUI A2UI retrieval layer \u2014 catalog lookup, intent classification, domain routing, pattern + anti-pattern matching, clarity + context assembly. Consumed by the compose engine and any A2UI-protocol tooling that needs to reason about user intent against the catalog.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
7
7
  "exports": {