@anthropic-ai/claude-agent-sdk 0.2.122 → 0.2.124

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/manifest.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
- "version": "2.1.122",
3
- "commit": "70046c58fb1c720f82bcbf39a3447dadf5bd33b2",
4
- "buildDate": "2026-04-28T01:50:47Z",
2
+ "version": "2.1.124",
3
+ "commit": "241621312a512bb8563f31eaa762903c15edaa07",
4
+ "buildDate": "2026-04-30T00:32:33Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "4b01075bd923084fe56124bfb647f5eca98c2b1fa34cb039d2e75ccc84af4b86",
9
- "size": 215880320
8
+ "checksum": "464dfb7def910ae2c155ed9c2fafa217e883d703cf0fc537ae0b863197a84d9e",
9
+ "size": 216260096
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "8c56cd72093c4b0002c7ec04ad69c0f0d04f0042c9fe399c194639f2d350934d",
14
- "size": 217444560
13
+ "checksum": "406d00eece1450d81aba892b5757b83d4c7a8965568278265b173b7b4fbf70df",
14
+ "size": 217824336
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "ec608f447cf8d8a323e174a7b95f664d4835a77562c31f8562fa35b01e326d07",
19
- "size": 247925312
18
+ "checksum": "021f2d3978bd3ab447b8c767b13e14b19637c1d6334fbe9b27878b144da0d7bf",
19
+ "size": 248318528
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "5525f482dd1fa6e3fe5fa48ae7a82dd9e2db7293af165a56c95fcc7899cd8468",
24
- "size": 247732864
23
+ "checksum": "bd533ba943b9415088a0751a63fdb87d719b0ef26bd3cb746f703a7c860f06da",
24
+ "size": 248109696
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "9faa638e6613adc80af412f4896e9a289d9eb8c90e437030883d1193a64a75c2",
29
- "size": 240650624
28
+ "checksum": "d55e4b026fe012b3c13492a5acb243b82b65ec24a9318ffcee033d116526dfd0",
29
+ "size": 241043840
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "a1fb02167a8eac04721f072148244a6954705529bc0bd428d10d002e84ef8e4d",
34
- "size": 241998208
33
+ "checksum": "8ebd8bd9a3e83f7134eef3f949b0124006be4e0012b3132d54eeae57884f8542",
34
+ "size": 242375040
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "65c4534c59e25cf3d490f1109e55e8193317489848c6e834cea21ceff2a5e4b4",
39
- "size": 253690528
38
+ "checksum": "453a61fa1e7a485a0b5e2dd32b9b0b278de2d5e5c70e41eb7f31107d68ab72eb",
39
+ "size": 254056096
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "179030909886e384edadbb8538615c88d8d259f879b56f0747abf5a3772b83f0",
44
- "size": 249753248
43
+ "checksum": "42bfc5895baa448f7da874b0257d9ce66c07074e5b4f15347fba2db6a420adc1",
44
+ "size": 250118816
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.122",
3
- "commit": "70046c58fb1c720f82bcbf39a3447dadf5bd33b2",
4
- "buildDate": "2026-04-28T01:58:09Z",
2
+ "version": "2.1.124",
3
+ "commit": "241621312a512bb8563f31eaa762903c15edaa07",
4
+ "buildDate": "2026-04-30T00:39:33Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "de5f482f640d24554e402c5ccaa9ae11c922ff4467a4eec31ea1b44385f0eec7",
9
- "size": 44626967,
8
+ "checksum": "433b792d5b466f0c51b3e79f154f97231feb6e38d32cc4098115f54f0edfd179",
9
+ "size": 44678520,
10
10
  "bundle": {
11
- "checksum": "da7354edbd69af353c195b9c9b2a0dea32aa5f777c6287211148da2999135bee",
12
- "size": 44632790
11
+ "checksum": "8146449c7d79761cb5faf0b67f932951d2ee145d8f3bc95456614c2c7f3f08ca",
12
+ "size": 44679389
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "16b2a3c3f2a4fab48558881ec3cb055d959c573b96e3f3ff068a750fd7695d77",
18
- "size": 46355778,
17
+ "checksum": "3a18fffdd4ee292bb786dc06d11497eb6d0d65dd1a14bd69f9a09a298e4e38f7",
18
+ "size": 46419772,
19
19
  "bundle": {
20
- "checksum": "70cb14bd507175bc2f2786cfc594b0805ac743c2f4e46ca526d5f3740f1937a1",
21
- "size": 46362451
20
+ "checksum": "058fdc211f14f23d4765e41b345253a0fadc9bc5cad008090aef4f7770065327",
21
+ "size": 46421275
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "39e80b05bcc39fe36a3e2be4d06b38e6995eebc4ac1f03dba0eef306c8e48b86",
27
- "size": 54153349
26
+ "checksum": "4a77da6e82a982ad6cc8132adde2f0b051c3f92eeaa063b699abea543ddb5b1e",
27
+ "size": 54250755
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "1eab939d384f3cf2f7f7c667ceeb5e59297377b7df64fd854f185a2000492074",
32
- "size": 54752600
31
+ "checksum": "2eacdf5397667317592381059f442436644e0ac16bc371714b28a8cc0750624f",
32
+ "size": 54809227
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "b012fe945ce7a0ce44cf84cce5e97431a7757c17efad615b12828939f7ae3450",
37
- "size": 52792068
36
+ "checksum": "f06788d481303acc994ce48e2d297727dbe88acfeaa671418884fdd6eea4017b",
37
+ "size": 52852025
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "84c55cc4a14646e6e5fb1b484cfb8c1d098bf6b27dbfa5cb59b455d2838ea7ec",
42
- "size": 53459786
41
+ "checksum": "16b3e64dd45160c747646116921e7371a64dc1ee12bc2780aec7f62f0c5f2f0d",
42
+ "size": 53512194
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "3b1bf92de8c1d955ec9da8450cc8f66234ad1ee791cf136d678544c0842b70e6",
47
- "size": 55812105
46
+ "checksum": "6b2bfed292531978a91bb6a03ec725c513825aa94b9ebe30d7f35996793806f8",
47
+ "size": 55867499
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "4dd5c1f3aec4f350bc6a9b3c537df64db3ec27bbd6991b5fe0c406bf503f829d",
52
- "size": 53919684
51
+ "checksum": "20a367479454a14011613e29eefaf786156339557c96092e72ba077202ead5a8",
52
+ "size": 54007187
53
53
  }
54
54
  }
55
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.2.122",
3
+ "version": "0.2.124",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "exports": {
@@ -55,14 +55,14 @@
55
55
  "zod": "^4.0.0"
56
56
  },
57
57
  "optionalDependencies": {
58
- "@anthropic-ai/claude-agent-sdk-linux-x64": "0.2.122",
59
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.122",
60
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.122",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.122",
62
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.122",
63
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.122",
64
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.122",
65
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.122"
58
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.2.124",
59
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.124",
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.124",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.124",
62
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.124",
63
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.124",
64
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.124",
65
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.124"
66
66
  },
67
67
  "files": [
68
68
  "sdk.mjs",
@@ -78,5 +78,5 @@
78
78
  "manifest.json",
79
79
  "manifest.zst.json"
80
80
  ],
81
- "claudeCodeVersion": "2.1.122"
81
+ "claudeCodeVersion": "2.1.124"
82
82
  }
package/sdk.d.ts CHANGED
@@ -2340,7 +2340,7 @@ export declare type SDKAssistantMessage = {
2340
2340
  session_id: string;
2341
2341
  };
2342
2342
 
2343
- export declare type SDKAssistantMessageError = 'authentication_failed' | 'billing_error' | 'rate_limit' | 'invalid_request' | 'server_error' | 'unknown' | 'max_output_tokens';
2343
+ export declare type SDKAssistantMessageError = 'authentication_failed' | 'oauth_org_not_allowed' | 'billing_error' | 'rate_limit' | 'invalid_request' | 'server_error' | 'unknown' | 'max_output_tokens';
2344
2344
 
2345
2345
  export declare type SDKAuthStatusMessage = {
2346
2346
  type: 'auth_status';
@@ -3131,6 +3131,7 @@ export declare type SDKResultError = {
3131
3131
  errors: string[];
3132
3132
  terminal_reason?: TerminalReason;
3133
3133
  fast_mode_state?: FastModeState;
3134
+ origin?: SDKMessageOrigin;
3134
3135
  uuid: UUID;
3135
3136
  session_id: string;
3136
3137
  };
@@ -3155,6 +3156,7 @@ export declare type SDKResultSuccess = {
3155
3156
  deferred_tool_use?: SDKDeferredToolUse;
3156
3157
  terminal_reason?: TerminalReason;
3157
3158
  fast_mode_state?: FastModeState;
3159
+ origin?: SDKMessageOrigin;
3158
3160
  uuid: UUID;
3159
3161
  session_id: string;
3160
3162
  };
@@ -4992,6 +4994,7 @@ export declare interface Settings {
4992
4994
  * Reduce or disable animations for accessibility (spinner shimmer, flash effects, etc.)
4993
4995
  */
4994
4996
  prefersReducedMotion?: boolean;
4997
+
4995
4998
  /**
4996
4999
  * Enable auto-memory for this project. When false, Claude will not read from or write to the auto-memory directory.
4997
5000
  */
@@ -5105,6 +5108,10 @@ export declare interface Settings {
5105
5108
  * Start Remote Control bridge automatically each session
5106
5109
  */
5107
5110
  remoteControlAtStartup?: boolean;
5111
+ /**
5112
+ * Require explicit approval before SendMessage can reach a peer session on another machine via Remote Control
5113
+ */
5114
+ isolatePeerMachines?: boolean;
5108
5115
  /**
5109
5116
  * When no background service is running: 'transient' spawns one for this login session; 'ask' offers to install it persistently
5110
5117
  */