@amodalai/amodal 0.3.64 → 0.3.65

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
@@ -1,5 +1,29 @@
1
1
  # @amodalai/amodal
2
2
 
3
+ ## 0.3.65
4
+
5
+ ### Patch Changes
6
+
7
+ - 5523532: Add `HttpAuditSink` and `HttpUsageSink` — built-in HTTP-batching sinks that
8
+ hosting layers can wire to `StreamHooks.onAuditLog` and
9
+ `StreamHooks.onUsageReport` instead of writing their own batching/POST/timeout
10
+ plumbing. Both accept a URL template (with `{agentId}` placeholder) and a
11
+ bearer-token resolver, batch entries with auto-flush, and log delivery
12
+ failures via the `Logger` rather than blocking chat handling.
13
+
14
+ Also extend `UsageReport` with `scopeId` (end-user identity from the auth
15
+ JWT's scope claims) so consumers can attribute tokens per end-user — the one
16
+ attribution dimension LiteLLM-style proxies can't see, since they only know
17
+ the deploy's virtual key.
18
+
19
+ - Updated dependencies [5523532]
20
+ - @amodalai/runtime@0.3.65
21
+ - @amodalai/core@0.3.65
22
+ - @amodalai/studio@0.3.65
23
+ - @amodalai/runtime-app@0.3.65
24
+ - @amodalai/types@0.3.65
25
+ - @amodalai/db@0.3.65
26
+
3
27
  ## 0.3.64
4
28
 
5
29
  ### Patch Changes