@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/bridge.d.ts +50 -14
- package/bridge.mjs +69 -69
- package/browser-sdk.js +42 -42
- package/manifest.json +20 -20
- package/manifest.zst.json +24 -24
- package/package.json +10 -10
- package/sdk-tools.d.ts +1 -1
- package/sdk.d.ts +28 -4
- package/sdk.mjs +64 -64
package/manifest.json
CHANGED
|
@@ -1,52 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-08-
|
|
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": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "08d6e85dd2b80883bb8da93cbeae3dc79b4704d6b84a05d614bf1ff4a5155b69",
|
|
9
|
+
"size": 279661952
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "0065d7155f83a3a5b0e0153ca3b70ad902b33dc06747c8b4e4d0bad58c6e0ec5",
|
|
14
|
+
"size": 289284768
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "209d4279c0a3dbb48bee6017d99430269ec6aba59cd8735b1fda0f9664139a45",
|
|
19
|
+
"size": 294566840
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "0a3be8d18cb0f5357d38ce2d588601753a60b44cc9c622579ed8b8405dee231e",
|
|
24
|
+
"size": 297831432
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "9189e2776d4120288b85a6682d2b26910daa4e937baa48bd75afb3fe3115291e",
|
|
29
|
+
"size": 287880552
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "ae2258be1a2d4eeef291514195af5b50a55801cc0561347c3873c4df5c9646f8",
|
|
34
|
+
"size": 292438608
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "234a59d6ea4262bb4af65d28acf19d795906295d11249750161875fbede3576d",
|
|
39
|
+
"size": 287053472
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
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.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-08-
|
|
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": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "7cef5c083019c8ed8e58505c8987388fca2b97cbd3b156b6be77d3a3b8ae10eb",
|
|
9
|
+
"size": 55963833,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "11f2aa153892c0c72b42de714f8b83b5fb65f969649f3c9f594e89d6845245c1",
|
|
12
|
+
"size": 55954834
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "3d2774dc46981cf10056bd7dd5adfce9a001d7ad6e46088f90c0e4846071f39e",
|
|
18
|
+
"size": 60638677,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "3333a5d1127541eecc8ec0273ee2dd238b35443faa90ba1969276083e6243482",
|
|
21
|
+
"size": 60635363
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "15907252edb6577bda10482e2aa1677928aa243e823ccb6577c5158bbae7f272",
|
|
27
|
+
"size": 64830045
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "56f6febbbda34e715dcecdc5ad9a2ef8b65f678e735675881f84ecb0ca79a610",
|
|
32
|
+
"size": 66133582
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "cc449538fb17e65223c531fdd4b319078c8ed3067356a5df48b64672697eb0fc",
|
|
37
|
+
"size": 63542121
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "74a5cc57c143ef730e284c5b4351bdb26da2f3436be54835a4e3acea29cb3377",
|
|
42
|
+
"size": 64976182
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "0e62dd09aeccceefade7dee10c2d390718e38da4f61258fe8313d9e687afa67e",
|
|
47
|
+
"size": 66322446
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
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.
|
|
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.
|
|
61
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
62
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
63
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
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.
|
|
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
|
-
|
|
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,
|
|
1312
|
-
*
|
|
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
|
-
|
|
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.
|