@adia-ai/llm 0.5.5 → 0.5.6
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 +6 -24
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
All notable changes to this package are documented here.
|
|
4
4
|
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
-
|
|
7
6
|
## [Unreleased]
|
|
8
7
|
|
|
9
8
|
_No pending changes._
|
|
9
|
+
## [0.5.6] - 2026-05-14
|
|
10
|
+
|
|
11
|
+
### Fixed — §190 (v0.5.6) — `loadGenerators()` resolves packages-root in both dev + prod
|
|
10
12
|
|
|
13
|
+
`server.js` learns to resolve `_packagesRoot` first-existing-wins between the dev layout (repo-relative `packages/<name>/…`) and prod layout (rsync'd `/srv/adia-ui/dist/packages/<name>/…` per `scripts/build/site.mjs`). Pre-§190 the generator imports referenced the dev path absolutely, which failed at runtime on the production VM after the §188 cutover took the LLM-gateway path live but left `/api/generate` (zettel + mcp generator imports) unresolved. The fix: cache `_packagesRoot` once, fall back across layouts, then use it for every dynamic import path. Tested locally via `node packages/llm/server.js` against both layouts; production verified by operator post-deploy.
|
|
14
|
+
|
|
15
|
+
Plus README polish noting the §188 LLM-gateway routing + the dev-vs-prod packages-root resolution. No public API change.
|
|
11
16
|
## [0.5.5] - 2026-05-14
|
|
12
17
|
|
|
13
18
|
### Removed — §188 (v0.5.5) — replace `handleLlmPassthrough` with exe.dev LLM Gateway
|
|
@@ -38,7 +43,6 @@ These existed to proxy LLM API calls from the browser to upstream providers (Ant
|
|
|
38
43
|
These were defenses against per-key API billing drain when AdiaUI owned the API key. With subscription-billed exe.dev gateway, the subscription IS the cost cap. Per user direction, accepted.
|
|
39
44
|
|
|
40
45
|
Commit `656b39dd1`. See root CHANGELOG and journal §181-§188 for the full architectural arc.
|
|
41
|
-
|
|
42
46
|
## [0.5.4] - 2026-05-14
|
|
43
47
|
|
|
44
48
|
### Changed — lockstep ride-along; no source changes
|
|
@@ -50,28 +54,21 @@ Tracking the v0.5.4 cycle's prop-fidelity arcs (§163 transpiler fix,
|
|
|
50
54
|
§164 chunk re-harvest, §165 validator check #19, §166a/b/c audit-script
|
|
51
55
|
family slots 12+13 + smoke shift-left): see root `CHANGELOG.md` for the
|
|
52
56
|
full narrative. This package carries no source changes this cycle.
|
|
53
|
-
|
|
54
57
|
## [0.5.3] - 2026-05-14
|
|
55
58
|
|
|
56
59
|
_No pending changes._
|
|
57
|
-
|
|
58
60
|
## [0.5.2] - 2026-05-13
|
|
59
61
|
|
|
60
62
|
_Lockstep ride-along (no source change)._
|
|
61
|
-
|
|
62
|
-
|
|
63
63
|
## [0.5.1] - 2026-05-13
|
|
64
64
|
|
|
65
65
|
_Lockstep ride-along (no source change)._
|
|
66
|
-
|
|
67
66
|
## [0.5.0] - 2026-05-13
|
|
68
67
|
|
|
69
68
|
_Lockstep ride-along (no source change)._
|
|
70
|
-
|
|
71
69
|
## [0.4.9] - 2026-05-13
|
|
72
70
|
|
|
73
71
|
_No pending changes._
|
|
74
|
-
|
|
75
72
|
## [0.4.8] - 2026-05-12
|
|
76
73
|
|
|
77
74
|
### Ride-along (no source changes)
|
|
@@ -79,7 +76,6 @@ _No pending changes._
|
|
|
79
76
|
Lockstep PATCH cut alongside `@adia-ai/web-components@0.4.8` (§80 event-types codegen for 38 non-form primitives + §85 class-subpath script fix + §89 icons.js split + B+C+D consumer-friction infra), `@adia-ai/web-modules@0.4.8` (FEEDBACK-02 #1 `.d.ts` shipment + `composes:` ADR-0027 wiring), `@adia-ai/a2ui-compose@0.4.8` (§87 zettel `ensureBooted()` race fix + §88 free-form composition mode), `@adia-ai/a2ui-corpus@0.4.8` (catalog regen ride-along), `@adia-ai/a2ui-mcp@0.4.8` (§87 eval threshold rebaseline). Source byte-identical to v0.4.7.
|
|
80
77
|
|
|
81
78
|
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.8]`](../../../CHANGELOG.md) for the cut narrative.
|
|
82
|
-
|
|
83
79
|
## [0.4.7] - 2026-05-12
|
|
84
80
|
|
|
85
81
|
### Ride-along (no source changes)
|
|
@@ -87,19 +83,16 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
|
|
|
87
83
|
Lockstep PATCH cut alongside `@adia-ai/web-components@0.4.7` (§74 `.d.ts` codegen for 73 non-form primitives + §77 non-side-effect `class` subpath per component + class.js helper extractions in agent + toolbar primitives), `@adia-ai/web-modules@0.4.7`, `@adia-ai/a2ui-compose@0.4.7` (§72 `getComponentCatalog()` reads canonical catalog), `@adia-ai/a2ui-corpus@0.4.7` (§72 `corpus/patterns/` + `corpus/compositions/` retired from disk + tarball — v0.4.6 §65 carry-over closed), `@adia-ai/a2ui-mcp@0.4.7`, `@adia-ai/a2ui-retrieval@0.4.7` (§72 vocab reads canonical catalog + dead pattern-embeddings retired). Source byte-identical to v0.4.6.
|
|
88
84
|
|
|
89
85
|
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.7]`](../../../CHANGELOG.md) for the cut narrative.
|
|
90
|
-
|
|
91
86
|
## [0.4.6] - 2026-05-12
|
|
92
87
|
|
|
93
88
|
### Changed — README currency sweep
|
|
94
89
|
|
|
95
90
|
- **`README.md`** — currency + consumer-guide sweep aligned with v0.4.6 [Unreleased] (commit `c94374c9`). Doc-only; no API change.
|
|
96
|
-
|
|
97
91
|
## [0.4.5] - 2026-05-12
|
|
98
92
|
|
|
99
93
|
### Changed — doc-comment refresh (§54)
|
|
100
94
|
|
|
101
95
|
- **`models.js`** — header docstring path-rename `apps/genui/gen-ui-ux/` → `apps/genui/app/factory-chat/`. Cross-doc sweep from the §54 GenUI overhaul rename arc. No API change.
|
|
102
|
-
|
|
103
96
|
## [0.4.4] - 2026-05-12
|
|
104
97
|
|
|
105
98
|
### Ride-along (no source changes)
|
|
@@ -107,7 +100,6 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
|
|
|
107
100
|
Lockstep PATCH cut alongside `@adia-ai/web-components@0.4.4` (14 yaml gap closures from corpus simplification arc), `@adia-ai/a2ui-runtime@0.4.4` (registry expansion +27 web-modules + renderer kebab-case fix), `@adia-ai/a2ui-compose@0.4.4` (composition-library rename + transpiler `<a>` → Link), `@adia-ai/a2ui-corpus@0.4.4` (corpus simplification arc §36–§51), `@adia-ai/a2ui-mcp@0.4.4` (`get_fragment` tool retirement). Source byte-identical to v0.4.3.
|
|
108
101
|
|
|
109
102
|
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.4]`](../../../CHANGELOG.md) for the cut narrative.
|
|
110
|
-
|
|
111
103
|
## [0.4.3] - 2026-05-11
|
|
112
104
|
|
|
113
105
|
### Added
|
|
@@ -119,7 +111,6 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
|
|
|
119
111
|
Lockstep PATCH cut alongside `@adia-ai/web-components@0.4.3` (input-ui type=number locale + thousands grouping + hold-to-repeat) + `@adia-ai/a2ui-compose@0.4.3` + `@adia-ai/a2ui-retrieval@0.4.3` (process.env browser-compat fix) + `@adia-ai/a2ui-corpus@0.4.3` (catalog regen + chunks re-harvest with new settings-appearance pattern). Apart from the `llm-bridge.js` addition above, source byte-identical to v0.4.2.
|
|
120
112
|
|
|
121
113
|
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.3]`](../../CHANGELOG.md) for the cut narrative.
|
|
122
|
-
|
|
123
114
|
## [0.4.2] - 2026-05-11
|
|
124
115
|
|
|
125
116
|
### Ride-along (no source changes)
|
|
@@ -127,7 +118,6 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
|
|
|
127
118
|
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.
|
|
128
119
|
|
|
129
120
|
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.
|
|
130
|
-
|
|
131
121
|
## [0.4.1] - 2026-05-10
|
|
132
122
|
|
|
133
123
|
### Ride-along (no source changes)
|
|
@@ -135,7 +125,6 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
|
|
|
135
125
|
Lockstep PATCH cut alongside `@adia-ai/web-modules@0.4.1` (simple cluster) + `@adia-ai/a2ui-validator@0.4.1` (Phase 3 foundation) + `@adia-ai/a2ui-corpus@0.4.1` (fragment metrics reconciliation). Source byte-identical to v0.4.0.
|
|
136
126
|
|
|
137
127
|
Internal `@adia-ai/*` dep ranges bumped from `^0.4.0` to `^0.4.1`. See root [CHANGELOG.md `## [0.4.1]`](../../CHANGELOG.md) for the cut narrative.
|
|
138
|
-
|
|
139
128
|
## [0.4.0] - 2026-05-10
|
|
140
129
|
|
|
141
130
|
### Ride-along (no source changes)
|
|
@@ -143,25 +132,21 @@ Internal `@adia-ai/*` dep ranges bumped from `^0.4.0` to `^0.4.1`. See root [CHA
|
|
|
143
132
|
Lockstep MINOR cut alongside `@adia-ai/web-modules@0.4.0` (ADR-0024 legacy shell shapes retired). Source byte-identical to v0.3.6.
|
|
144
133
|
|
|
145
134
|
Internal `@adia-ai/*` dep ranges bumped from `^0.3.0` to `^0.4.0`. See root [CHANGELOG.md `## [0.4.0]`](../../CHANGELOG.md) for the cut narrative.
|
|
146
|
-
|
|
147
135
|
## [0.3.6] - 2026-05-10
|
|
148
136
|
|
|
149
137
|
### Ride-along (no source changes)
|
|
150
138
|
|
|
151
139
|
Lockstep version bump only — source byte-identical to v0.3.5. Internal `@adia-ai/*` dep ranges remain at `^0.3.0`. See root [CHANGELOG.md `## [0.3.6]`](../../CHANGELOG.md) for the cut narrative.
|
|
152
|
-
|
|
153
140
|
## [0.3.5] - 2026-05-07
|
|
154
141
|
|
|
155
142
|
### Ride-along (no source changes)
|
|
156
143
|
|
|
157
144
|
Lockstep version bump only — source byte-identical to v0.3.4. Internal `@adia-ai/*` dep ranges remain at `^0.3.0`. See root [CHANGELOG.md `## [0.3.5]`](../../CHANGELOG.md) for the cut narrative.
|
|
158
|
-
|
|
159
145
|
## [0.3.4] - 2026-05-07
|
|
160
146
|
|
|
161
147
|
### Ride-along (no source changes)
|
|
162
148
|
|
|
163
149
|
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.
|
|
164
|
-
|
|
165
150
|
## [0.3.3] - 2026-05-07
|
|
166
151
|
|
|
167
152
|
**Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` ranges stay at `^0.3.0` (patch-cut asymmetry — caret floats `0.3.x`).
|
|
@@ -202,7 +187,6 @@ Lockstep version bump only — source byte-identical to v0.3.3. Internal `@adia-
|
|
|
202
187
|
- `adapters/client.test.js` (4) — createClient defaults + override
|
|
203
188
|
- `llm-stub.test.js` (8) — StubLLMAdapter contract for free-tier evals
|
|
204
189
|
- New `npm run test:llm` script for package-scoped runs.
|
|
205
|
-
|
|
206
190
|
## [0.3.2] - 2026-05-06
|
|
207
191
|
|
|
208
192
|
**9-package lockstep patch cut to v0.3.2.** All lockstep members share
|
|
@@ -217,7 +201,6 @@ version only.
|
|
|
217
201
|
### Changed
|
|
218
202
|
|
|
219
203
|
- `version`: `0.3.1` → `0.3.2`.
|
|
220
|
-
|
|
221
204
|
## [0.3.1] - 2026-05-06
|
|
222
205
|
|
|
223
206
|
**9-package lockstep patch cut.** All 9 published `@adia-ai/*` packages bump 0.3.0 → 0.3.1 per [`docs/specs/package-architecture.md` § 15](../../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).
|
|
@@ -228,7 +211,6 @@ This package itself ships **no source changes** in v0.3.1. The cut bumps version
|
|
|
228
211
|
|
|
229
212
|
- `version`: `0.3.0` → `0.3.1`.
|
|
230
213
|
- Internal `@adia-ai/*` dep ranges: unchanged at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
|
|
231
|
-
|
|
232
214
|
## [0.3.0] - 2026-05-05
|
|
233
215
|
|
|
234
216
|
**Initial release as the 9th `@adia-ai/*` lockstep package.** Joins the lockstep at the cut version. All 9 published `@adia-ai/*` packages now share one version, governed by [`docs/specs/package-architecture.md` § 15](../../docs/specs/package-architecture.md#15-versioning-policy).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/llm",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "Provider-agnostic LLM client \u2014 anthropic / openai / gemini adapters with a unified chat() + streamChat() facade. Used by AdiaUI's chat-shell and the A2UI generation pipeline; works in browser (with proxyUrl) and Node.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|