@anthropic-ai/claude-agent-sdk 0.2.138 → 0.2.140
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/assistant.mjs +69 -69
- package/bridge.d.ts +2 -2
- package/bridge.mjs +55 -55
- package/browser-sdk.js +30 -30
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk.d.ts +58 -49
- package/sdk.mjs +31 -31
package/bridge.d.ts
CHANGED
|
@@ -151,8 +151,8 @@ export type AttachBridgeSessionOptions = {
|
|
|
151
151
|
/**
|
|
152
152
|
* Transport died permanently. 401 = JWT expired (re-attach with fresh
|
|
153
153
|
* secret), 4090 = epoch superseded (409, newer worker registered),
|
|
154
|
-
* 4091 = CCRClient init failed
|
|
155
|
-
*
|
|
154
|
+
* 4091 = CCRClient init failed, 403/404 = permanent SSE HTTP rejection.
|
|
155
|
+
* Transient disconnects (503, network blips) retry indefinitely inside
|
|
156
156
|
* SSETransport and do NOT fire this.
|
|
157
157
|
*/
|
|
158
158
|
onClose?: (code?: number) => void;
|