@adia-ai/llm 0.4.5 → 0.4.7
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 +14 -0
- package/README.md +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
8
8
|
|
|
9
9
|
_No pending changes._
|
|
10
10
|
|
|
11
|
+
## [0.4.7] - 2026-05-12
|
|
12
|
+
|
|
13
|
+
### Ride-along (no source changes)
|
|
14
|
+
|
|
15
|
+
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.
|
|
16
|
+
|
|
17
|
+
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.
|
|
18
|
+
|
|
19
|
+
## [0.4.6] - 2026-05-12
|
|
20
|
+
|
|
21
|
+
### Changed — README currency sweep
|
|
22
|
+
|
|
23
|
+
- **`README.md`** — currency + consumer-guide sweep aligned with v0.4.6 [Unreleased] (commit `c94374c9`). Doc-only; no API change.
|
|
24
|
+
|
|
11
25
|
## [0.4.5] - 2026-05-12
|
|
12
26
|
|
|
13
27
|
### Changed — doc-comment refresh (§54)
|
package/README.md
CHANGED
|
@@ -31,6 +31,8 @@ for await (const chunk of streamChat({
|
|
|
31
31
|
}
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
+
> **Browser dev-mode warning (since v0.4.3):** if `createAdapter()` resolves an `apiKey` while running in a browser, the bridge emits a one-shot masked `console.warn` (e.g. `sk-ant-a…Fiw-`) noting that the key will be sent in request headers. Fine for local dev — **never deploy this shape**. The warning is dedup'd via `window.__adia_llm_key_warning_shown` (one warn per page load). For production, use **proxy mode** (next section) to keep the key server-side.
|
|
35
|
+
|
|
34
36
|
## Browser proxy mode
|
|
35
37
|
|
|
36
38
|
`proxyUrl` routes through a server-side proxy so the API key never
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/llm",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
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": {
|