@adia-ai/llm 0.4.5 → 0.4.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 CHANGED
@@ -8,6 +8,12 @@ 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.6] - 2026-05-12
12
+
13
+ ### Changed — README currency sweep
14
+
15
+ - **`README.md`** — currency + consumer-guide sweep aligned with v0.4.6 [Unreleased] (commit `c94374c9`). Doc-only; no API change.
16
+
11
17
  ## [0.4.5] - 2026-05-12
12
18
 
13
19
  ### 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.5",
3
+ "version": "0.4.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": {