@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/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. Anything else = SSE reconnect budget
155
- * exhausted. Transient disconnects are handled transparently inside
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;