@anthropic-ai/claude-agent-sdk 0.3.220 → 0.3.221
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/bridge.mjs +73 -73
- package/browser-sdk.d.ts +15 -0
- package/browser-sdk.js +42 -41
- package/manifest.json +25 -20
- package/manifest.zst.json +29 -24
- package/package.json +10 -10
- package/sdk.d.ts +60 -22
- package/sdk.mjs +64 -64
package/browser-sdk.d.ts
CHANGED
|
@@ -90,3 +90,18 @@ export type BrowserQueryOptions = BrowserQueryOptionsBase & ({
|
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
92
|
export declare function query(options: BrowserQueryOptions): Query;
|
|
93
|
+
/**
|
|
94
|
+
* Readiness sentinel for the peer-frame text-envelope guard
|
|
95
|
+
* (userFrameRequiresWorkerSource): `true` means the SSE transport enforces
|
|
96
|
+
* the full predicate on peer-authored `user` frames. The change enabling
|
|
97
|
+
* `ccr_v2_subscribe_sse_web` in a consumer repo must assert this reads
|
|
98
|
+
* `true` before flipping the flag.
|
|
99
|
+
*/
|
|
100
|
+
export declare const G4_TEXT_ENVELOPE_ARM_PORTED: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Cumulative per-category dropped-frame counts for a query() created with
|
|
103
|
+
* the `sse` transport — the aggregated receipt for the
|
|
104
|
+
* `ccr_v2_subscribe_sse_web` enablement review (category → count only,
|
|
105
|
+
* never frame contents). Returns undefined for WebSocket-transport queries.
|
|
106
|
+
*/
|
|
107
|
+
export declare function getSseDropCounts(query: Query): Readonly<Record<string, number>> | undefined;
|