@anthropic-ai/claude-agent-sdk 0.3.224 → 0.3.225

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,52 +1,51 @@
1
1
  {
2
- "version": "2.1.224",
3
- "commit": "8a2a469b68f918917492973f3b16bd1682b9f82c",
4
- "buildDate": "2026-08-06T01:47:12Z",
2
+ "version": "2.1.225",
3
+ "commit": "d4b76e8c52c2391af51b60cc71a513246c40a129",
4
+ "buildDate": "2026-08-07T20:01:17Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "391df9d2ab04e4cf32199335720ac7715a582e91eaecfd4d2198a16f57ea59b3",
9
- "size": 277495040
8
+ "checksum": "08d6e85dd2b80883bb8da93cbeae3dc79b4704d6b84a05d614bf1ff4a5155b69",
9
+ "size": 279661952
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "7ae17a768a7270c7bd6c5484587c3c650dff425b4beeeb03addc1f2a4a7d702a",
14
- "size": 287105184
13
+ "checksum": "0065d7155f83a3a5b0e0153ca3b70ad902b33dc06747c8b4e4d0bad58c6e0ec5",
14
+ "size": 289284768
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "3e50836e227868746273653e0f8115cf5fc9cb34a081847c6040c81d80812c33",
19
- "size": 292404152
18
+ "checksum": "209d4279c0a3dbb48bee6017d99430269ec6aba59cd8735b1fda0f9664139a45",
19
+ "size": 294566840
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "a2b5add7dc4bcd8eaa029f4e8bdac4df7769b4073698db7989d206baf9419c2d",
24
- "size": 295676936
23
+ "checksum": "0a3be8d18cb0f5357d38ce2d588601753a60b44cc9c622579ed8b8405dee231e",
24
+ "size": 297831432
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "5ab089acd0b8d56b08d9510aeecd96767a057fc7bc05221c968c81d8d21711f6",
29
- "size": 285717864
28
+ "checksum": "9189e2776d4120288b85a6682d2b26910daa4e937baa48bd75afb3fe3115291e",
29
+ "size": 287880552
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "979b08e51d814a4abaa36d8c3b570bdaa8c1dd2020b318c6f8334b631c2c4f19",
34
- "size": 290284112
33
+ "checksum": "ae2258be1a2d4eeef291514195af5b50a55801cc0561347c3873c4df5c9646f8",
34
+ "size": 292438608
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "879f0d7e7eee606095051c0c00772fc1de41778f34835a9de43ea8e1caad9afb",
39
- "size": 284981920
38
+ "checksum": "234a59d6ea4262bb4af65d28acf19d795906295d11249750161875fbede3576d",
39
+ "size": 287053472
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "105b33963dfdcd58c52e90562fb03face32b7b7e0d9caba74bc06b9d7b45c102",
44
- "size": 279654560
43
+ "checksum": "1152d683ed9ae20d7140ddc2db04d48e5f16ed214e2b07a8bc95c363c7e63bff",
44
+ "size": 281726112
45
45
  }
46
46
  },
47
47
  "sdkCompat": {
48
48
  "testedWrapperVersions": [
49
- "0.3.183",
50
49
  "0.3.185",
51
50
  "0.3.186",
52
51
  "0.3.187",
@@ -71,6 +70,7 @@
71
70
  "0.3.212",
72
71
  "0.3.214",
73
72
  "0.3.215",
73
+ "0.3.216",
74
74
  "0.3.217",
75
75
  "0.3.218",
76
76
  "0.3.220",
package/manifest.zst.json CHANGED
@@ -1,60 +1,59 @@
1
1
  {
2
- "version": "2.1.224",
3
- "commit": "8a2a469b68f918917492973f3b16bd1682b9f82c",
4
- "buildDate": "2026-08-06T01:49:17Z",
2
+ "version": "2.1.225",
3
+ "commit": "d4b76e8c52c2391af51b60cc71a513246c40a129",
4
+ "buildDate": "2026-08-07T20:03:23Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "2177a1f22cc1c9da651e8f95c9ec786512a45431b68c8db7ea0b82b8d972dd3c",
9
- "size": 55620049,
8
+ "checksum": "7cef5c083019c8ed8e58505c8987388fca2b97cbd3b156b6be77d3a3b8ae10eb",
9
+ "size": 55963833,
10
10
  "bundle": {
11
- "checksum": "fb158f58172b7912cefccf8c260d0d46e8b1ed9f4bd9656eb10cc1f0d9cf665b",
12
- "size": 55619295
11
+ "checksum": "11f2aa153892c0c72b42de714f8b83b5fb65f969649f3c9f594e89d6845245c1",
12
+ "size": 55954834
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "515ddec30105358055c7455ee425d78751c33f651a43d70dfb6757a7d57199cf",
18
- "size": 60311453,
17
+ "checksum": "3d2774dc46981cf10056bd7dd5adfce9a001d7ad6e46088f90c0e4846071f39e",
18
+ "size": 60638677,
19
19
  "bundle": {
20
- "checksum": "4d61e167caf6b6a8d3c5636abaa184aab3a6da076a79e72181f37617d21003ff",
21
- "size": 60314967
20
+ "checksum": "3333a5d1127541eecc8ec0273ee2dd238b35443faa90ba1969276083e6243482",
21
+ "size": 60635363
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "77745c2569ec09e0e167319b995c2d2efadcb4645b54e015cdb099ee12762a9c",
27
- "size": 64445944
26
+ "checksum": "15907252edb6577bda10482e2aa1677928aa243e823ccb6577c5158bbae7f272",
27
+ "size": 64830045
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "7ee86a44c50f684686c65a6cc9e73c28ee7b3bd7cfd8d28ab2efeca3e2e627ff",
32
- "size": 65748329
31
+ "checksum": "56f6febbbda34e715dcecdc5ad9a2ef8b65f678e735675881f84ecb0ca79a610",
32
+ "size": 66133582
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "7d7cc2c37732cd150e073ff26c36ea75d2b6905edc027225f767e492f07f1ddc",
37
- "size": 63234828
36
+ "checksum": "cc449538fb17e65223c531fdd4b319078c8ed3067356a5df48b64672697eb0fc",
37
+ "size": 63542121
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "6655b0d15c00b7d5ea828d0c1eb15707285351463419e7dca0b3c2816e0eab76",
42
- "size": 64611539
41
+ "checksum": "74a5cc57c143ef730e284c5b4351bdb26da2f3436be54835a4e3acea29cb3377",
42
+ "size": 64976182
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "0cbb70b604d3a80263de752c549032259b87a5dffcc55b3cade98dc188bbce19",
47
- "size": 66001608
46
+ "checksum": "0e62dd09aeccceefade7dee10c2d390718e38da4f61258fe8313d9e687afa67e",
47
+ "size": 66322446
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "aa146b4d97044e8a86e30501da6c00030349c51bb325e2d98bf6f71736590767",
52
- "size": 64170553
51
+ "checksum": "0dbe13b41228e85c14d9dc6f47b42eeaaaa027d77ce669f4ae9ac01a724a5812",
52
+ "size": 64477363
53
53
  }
54
54
  },
55
55
  "sdkCompat": {
56
56
  "testedWrapperVersions": [
57
- "0.3.183",
58
57
  "0.3.185",
59
58
  "0.3.186",
60
59
  "0.3.187",
@@ -79,6 +78,7 @@
79
78
  "0.3.212",
80
79
  "0.3.214",
81
80
  "0.3.215",
81
+ "0.3.216",
82
82
  "0.3.217",
83
83
  "0.3.218",
84
84
  "0.3.220",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.224",
3
+ "version": "0.3.225",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "exports": {
@@ -57,14 +57,14 @@
57
57
  "zod": "^4.0.0"
58
58
  },
59
59
  "optionalDependencies": {
60
- "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.224",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.224",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.224",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.224",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.224",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.224",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.224",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.224"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.225",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.225",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.225",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.225",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.225",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.225",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.225",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.225"
68
68
  },
69
69
  "files": [
70
70
  "sdk.mjs",
@@ -80,5 +80,5 @@
80
80
  "manifest.json",
81
81
  "manifest.zst.json"
82
82
  ],
83
- "claudeCodeVersion": "2.1.224"
83
+ "claudeCodeVersion": "2.1.225"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -2661,7 +2661,7 @@ export interface ScheduleWakeupInput {
2661
2661
  stop?: boolean;
2662
2662
  }
2663
2663
  export interface RemoteTriggerInput {
2664
- action: "list" | "get" | "create" | "update" | "run";
2664
+ action: "list" | "get" | "create" | "update" | "run" | "create_webhook_trigger";
2665
2665
  /**
2666
2666
  * Required for get, update, and run
2667
2667
  */
package/sdk.d.ts CHANGED
@@ -1300,20 +1300,44 @@ export declare type NotificationHookSpecificOutput = {
1300
1300
  /**
1301
1301
  * Callback for handling MCP elicitation requests.
1302
1302
  * Called when an MCP server requests user input and no hook handles it.
1303
+ *
1304
+ * Return `null` ONLY after the consumer has already sent the
1305
+ * control_response out-of-band (e.g. a signed HTTP POST echoing
1306
+ * `requestId`); the SDK will skip its own transport write. Same contract as
1307
+ * {@link CanUseTool}. Fail-closed: an accidental null means no response is
1308
+ * sent and the elicitation stays pending until the server times it out.
1303
1309
  */
1304
1310
  export declare type OnElicitation = (request: ElicitationRequest, options: {
1305
1311
  signal: AbortSignal;
1306
- }) => Promise<ElicitationResult>;
1312
+ /**
1313
+ * The control_request envelope's `request_id`. A control_response sent
1314
+ * out-of-band (e.g. a signed HTTP POST instead of the SDK's WS write)
1315
+ * must echo this value for the worker to match it.
1316
+ */
1317
+ requestId: string;
1318
+ }) => Promise<ElicitationResult | null>;
1307
1319
 
1308
1320
  /**
1309
1321
  * Callback for handling `request_user_dialog` control requests.
1310
1322
  * Called when the CLI asks the host to render a blocking dialog.
1311
- * If not provided, dialogs are answered as cancelled and the CLI applies
1312
- * each dialog's default behavior.
1323
+ * If not provided, the dialog is left unanswered so a renderer-bearing
1324
+ * client (or the worker's park deadline) can settle it.
1325
+ *
1326
+ * Return `null` ONLY after the consumer has already sent the
1327
+ * control_response out-of-band (e.g. a signed HTTP POST echoing
1328
+ * `requestId`); the SDK will skip its own transport write. Same contract as
1329
+ * {@link CanUseTool}. Fail-closed: an accidental null means no response is
1330
+ * sent and the dialog stays parked until the worker's deadline.
1313
1331
  */
1314
1332
  export declare type OnUserDialog = (request: UserDialogRequest, options: {
1315
1333
  signal: AbortSignal;
1316
- }) => Promise<UserDialogResult>;
1334
+ /**
1335
+ * The control_request envelope's `request_id`. A control_response sent
1336
+ * out-of-band (e.g. a signed HTTP POST instead of the SDK's WS write)
1337
+ * must echo this value for the worker to match it.
1338
+ */
1339
+ requestId: string;
1340
+ }) => Promise<UserDialogResult | null>;
1317
1341
 
1318
1342
  /**
1319
1343
  * Options for the query function.