@adia-ai/a2ui-retrieval 0.4.1 → 0.4.3
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 +18 -0
- package/feedback/dialog-recorder.js +7 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ Follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
|
7
7
|
|
|
8
8
|
_No pending changes._
|
|
9
9
|
|
|
10
|
+
## [0.4.3] - 2026-05-11
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **`process.env` browser-compat guard** — `feedback/dialog-recorder.js` was reading `process.env.A2UI_RETRIEVAL_DIALOG_RECORD` directly, which throws `ReferenceError: process is not defined` in browser execution paths. Now guarded by `const IS_NODE = typeof process !== 'undefined' && process.versions?.node;` before the env-lookup. Dialog recording is Node-only by design (writes to filesystem); the guard short-circuits cleanly in browser callers.
|
|
15
|
+
|
|
16
|
+
### Lockstep
|
|
17
|
+
|
|
18
|
+
9-package coordinated PATCH cut to v0.4.3. Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry). Source change scoped to one file (`feedback/dialog-recorder.js`); pairs with the same fix in `@adia-ai/a2ui-compose` v0.4.3. See root [CHANGELOG.md `## [0.4.3]`](../../../CHANGELOG.md).
|
|
19
|
+
|
|
20
|
+
## [0.4.2] - 2026-05-11
|
|
21
|
+
|
|
22
|
+
### Ride-along (no source changes)
|
|
23
|
+
|
|
24
|
+
Lockstep PATCH cut alongside `@adia-ai/web-components@0.4.2` (`<input-ui type="number">` rewrite drops native `<input type=number>` wrapping) + `@adia-ai/web-modules@0.4.2` (`<editor-sidebar>` grid-track width-mirror fix). Source byte-identical to v0.4.1.
|
|
25
|
+
|
|
26
|
+
Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4.0` covers `0.4.x` under semver). See root [CHANGELOG.md `## [0.4.2]`](../../../CHANGELOG.md) for the cut narrative.
|
|
27
|
+
|
|
10
28
|
## [0.4.1] - 2026-05-10
|
|
11
29
|
|
|
12
30
|
### Ride-along (no source changes)
|
|
@@ -181,5 +181,11 @@ export async function recordTurn(record) {
|
|
|
181
181
|
* recorder is off (the common case).
|
|
182
182
|
*/
|
|
183
183
|
export function isRecording() {
|
|
184
|
-
|
|
184
|
+
// ENABLED is already gated by IS_NODE at module init. The A2UI_COMPOSE_TRACE
|
|
185
|
+
// bypass must guard `process` again — without it, browser callers
|
|
186
|
+
// (compose/core/generator.js → generate-pro.js → isRecording()) throw
|
|
187
|
+
// `ReferenceError: process is not defined` after a successful LLM round-trip.
|
|
188
|
+
if (ENABLED) return true;
|
|
189
|
+
const IS_NODE = typeof process !== 'undefined' && process.versions?.node;
|
|
190
|
+
return IS_NODE ? !!process.env.A2UI_COMPOSE_TRACE : false;
|
|
185
191
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-retrieval",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
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.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|