@anthropic-ai/claude-agent-sdk 0.3.299 → 0.3.300
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.mjs +78 -74
- package/browser-sdk.js +88 -98
- package/core-3fs8zete.mjs +35 -0
- package/core-5kpyasem.mjs +52 -0
- package/core.mjs +13 -13
- package/manifest.json +19 -20
- package/manifest.zst.json +23 -24
- package/package.json +12 -12
- package/sdk.d.ts +6 -0
- package/sdk.mjs +74 -67
- package/core-x6a2shyd.mjs +0 -35
- package/core-xcjrj654.mjs +0 -52
package/manifest.json
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.300",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-10-
|
|
4
|
+
"commit": "c6733ae1276880507ca0c5b053ae18fb0df090d6",
|
|
5
|
+
"buildDate": "2026-10-14T13:29:53Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "475517caa611e3318a2f298fa071287ec98955538df78c58f709ecc01e5ae2d3",
|
|
10
|
+
"size": 249556880
|
|
11
11
|
},
|
|
12
12
|
"darwin-x64": {
|
|
13
13
|
"binary": "claude",
|
|
14
|
-
"checksum": "
|
|
15
|
-
"size":
|
|
14
|
+
"checksum": "5824fc36863e70bbd070491bb9359e217d3f17b38c45697c085b31a3a67356b3",
|
|
15
|
+
"size": 259416272
|
|
16
16
|
},
|
|
17
17
|
"linux-arm64": {
|
|
18
18
|
"binary": "claude",
|
|
19
|
-
"checksum": "
|
|
20
|
-
"size":
|
|
19
|
+
"checksum": "ae2295ae2da156936bf5831ab01971ce924d0c9a0af174e28d96fffa8d5fa0a6",
|
|
20
|
+
"size": 266264568
|
|
21
21
|
},
|
|
22
22
|
"linux-x64": {
|
|
23
23
|
"binary": "claude",
|
|
24
|
-
"checksum": "
|
|
25
|
-
"size":
|
|
24
|
+
"checksum": "674deba0bba9aee479f4503c438b49303b6fdd304b9a471b14977aaec5215453",
|
|
25
|
+
"size": 266972344
|
|
26
26
|
},
|
|
27
27
|
"linux-arm64-musl": {
|
|
28
28
|
"binary": "claude",
|
|
29
|
-
"checksum": "
|
|
30
|
-
"size":
|
|
29
|
+
"checksum": "267fecafb9df3dc1ef93f01ea936742455151d38b9bceebc4c12b531df827a2c",
|
|
30
|
+
"size": 258422872
|
|
31
31
|
},
|
|
32
32
|
"linux-x64-musl": {
|
|
33
33
|
"binary": "claude",
|
|
34
|
-
"checksum": "
|
|
35
|
-
"size":
|
|
34
|
+
"checksum": "426e7b0a3726d656babc943a92392eb3653377587658a240ab442d19e4eef3c9",
|
|
35
|
+
"size": 260587880
|
|
36
36
|
},
|
|
37
37
|
"win32-x64": {
|
|
38
38
|
"binary": "claude.exe",
|
|
39
|
-
"checksum": "
|
|
40
|
-
"size":
|
|
39
|
+
"checksum": "56810a111c01dcd218b42727c23fd8763be42320038b1adcac93cf599fac2de2",
|
|
40
|
+
"size": 270863520
|
|
41
41
|
},
|
|
42
42
|
"win32-arm64": {
|
|
43
43
|
"binary": "claude.exe",
|
|
44
|
-
"checksum": "
|
|
45
|
-
"size":
|
|
44
|
+
"checksum": "fef0df9c7f72b2d7d0c26b1702f4646113be2c45a5b40eb5bbb7c93f5cbd5f8b",
|
|
45
|
+
"size": 257010848
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"sdkCompat": {
|
|
49
49
|
"testedWrapperVersions": [
|
|
50
|
-
"0.3.266",
|
|
51
50
|
"0.3.267",
|
|
52
51
|
"0.3.268",
|
|
53
52
|
"0.3.269",
|
package/manifest.zst.json
CHANGED
|
@@ -1,61 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.300",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-10-
|
|
4
|
+
"commit": "c6733ae1276880507ca0c5b053ae18fb0df090d6",
|
|
5
|
+
"buildDate": "2026-10-14T13:31:05Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude.zst",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "5f19cc8fef7b1387f4b71691213b5aadc62d9157a78014287f3002ce8642cc23",
|
|
10
|
+
"size": 83582341,
|
|
11
11
|
"bundle": {
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "f53c2f9a3934eeebf8b7c86990e2c08b9ec046623941daea91d80a1f58a5d197",
|
|
13
|
+
"size": 83578473
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"darwin-x64": {
|
|
17
17
|
"binary": "claude.zst",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "0bf82ce30e45f97b271db94af3a6877b72f658f570cea4dfac66741708a7737d",
|
|
19
|
+
"size": 88318346,
|
|
20
20
|
"bundle": {
|
|
21
|
-
"checksum": "
|
|
22
|
-
"size":
|
|
21
|
+
"checksum": "5e4397e2736e9b9e40de94251d9c621e4fe8bcfc460dec98312090002db750f3",
|
|
22
|
+
"size": 88323146
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64": {
|
|
26
26
|
"binary": "claude.zst",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "1f87b1a7838056aaf69c2b819c0b6b118ac713e0e2ba6c0a768aa531c7c5e8d0",
|
|
28
|
+
"size": 92840828
|
|
29
29
|
},
|
|
30
30
|
"linux-x64": {
|
|
31
31
|
"binary": "claude.zst",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "ca1608ae4e85017c5408c85a3778410add7dd796324acfd0eef3ad707268d5d6",
|
|
33
|
+
"size": 93676652
|
|
34
34
|
},
|
|
35
35
|
"linux-arm64-musl": {
|
|
36
36
|
"binary": "claude.zst",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "f006bb2458db1d50c5c956b47864bc708823c132345d94dd8a10e8d5e0b2ffd8",
|
|
38
|
+
"size": 91194411
|
|
39
39
|
},
|
|
40
40
|
"linux-x64-musl": {
|
|
41
41
|
"binary": "claude.zst",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "0f5c6b4abe1d772642f85d52a4a05c79bbe7fd83bd0a551d1d0cfabbcc30ef53",
|
|
43
|
+
"size": 92091262
|
|
44
44
|
},
|
|
45
45
|
"win32-x64": {
|
|
46
46
|
"binary": "claude.exe.zst",
|
|
47
|
-
"checksum": "
|
|
48
|
-
"size":
|
|
47
|
+
"checksum": "78ed93dd777f073ef3a5961457775091d152d17c65823c40a86fc9bf55cb113a",
|
|
48
|
+
"size": 96203531
|
|
49
49
|
},
|
|
50
50
|
"win32-arm64": {
|
|
51
51
|
"binary": "claude.exe.zst",
|
|
52
|
-
"checksum": "
|
|
53
|
-
"size":
|
|
52
|
+
"checksum": "ca0cb24c68d402e8b3caa7a0daa38992cec05ac1076a4ebf709983aa608bb665",
|
|
53
|
+
"size": 92145199
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"sdkCompat": {
|
|
57
57
|
"testedWrapperVersions": [
|
|
58
|
-
"0.3.266",
|
|
59
58
|
"0.3.267",
|
|
60
59
|
"0.3.268",
|
|
61
60
|
"0.3.269",
|
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.300",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"zod": "^4.0.0"
|
|
62
62
|
},
|
|
63
63
|
"optionalDependencies": {
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
68
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
70
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
71
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.300",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.300",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.300",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.300",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.300",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.300",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.300",
|
|
71
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.300"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|
|
74
74
|
"sdk.mjs",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"extractFromBunfs.d.ts",
|
|
86
86
|
"manifest.json",
|
|
87
87
|
"manifest.zst.json",
|
|
88
|
-
"core-
|
|
89
|
-
"core-
|
|
88
|
+
"core-3fs8zete.mjs",
|
|
89
|
+
"core-5kpyasem.mjs"
|
|
90
90
|
],
|
|
91
|
-
"claudeCodeVersion": "2.1.
|
|
91
|
+
"claudeCodeVersion": "2.1.300"
|
|
92
92
|
}
|
package/sdk.d.ts
CHANGED
|
@@ -1433,6 +1433,7 @@ export declare type ModelInfo = {
|
|
|
1433
1433
|
supportsAutoMode?: boolean;
|
|
1434
1434
|
|
|
1435
1435
|
|
|
1436
|
+
|
|
1436
1437
|
};
|
|
1437
1438
|
|
|
1438
1439
|
export declare type ModelUsage = {
|
|
@@ -5154,6 +5155,7 @@ declare type SDKControlSetPermissionModeRequest = {
|
|
|
5154
5155
|
*/
|
|
5155
5156
|
mode: coreTypes.PermissionMode;
|
|
5156
5157
|
|
|
5158
|
+
|
|
5157
5159
|
};
|
|
5158
5160
|
|
|
5159
5161
|
/**
|
|
@@ -5434,6 +5436,7 @@ export declare type SDKMessageOrigin = {
|
|
|
5434
5436
|
|
|
5435
5437
|
|
|
5436
5438
|
|
|
5439
|
+
|
|
5437
5440
|
} | {
|
|
5438
5441
|
kind: 'task-notification';
|
|
5439
5442
|
/**
|
|
@@ -5449,6 +5452,7 @@ export declare type SDKMessageOrigin = {
|
|
|
5449
5452
|
* On a background task's own notification: the run_id its task_* events carried, as of when the notification was queued. Not part of the text the model reads.
|
|
5450
5453
|
*/
|
|
5451
5454
|
runId?: string;
|
|
5455
|
+
|
|
5452
5456
|
} | {
|
|
5453
5457
|
kind: 'coordinator';
|
|
5454
5458
|
} | {
|
|
@@ -6406,6 +6410,7 @@ export declare type SDKUserMessage = {
|
|
|
6406
6410
|
|
|
6407
6411
|
|
|
6408
6412
|
|
|
6413
|
+
|
|
6409
6414
|
uuid?: UUID;
|
|
6410
6415
|
/**
|
|
6411
6416
|
* Content the user pasted into the prompt rather than typed: each entry a string or an array of content blocks. The CLI appends the text of each entry after the typed text, in order, and may wrap it in `<pasted_content>` tags. Blocks other than text are ignored; send images and documents in `message.content`. A list of over 1,000 entries and blocks in all is ignored.
|
|
@@ -6500,6 +6505,7 @@ export declare type SDKUserMessageReplay = {
|
|
|
6500
6505
|
|
|
6501
6506
|
|
|
6502
6507
|
|
|
6508
|
+
|
|
6503
6509
|
uuid: UUID;
|
|
6504
6510
|
session_id: string;
|
|
6505
6511
|
isReplay: true;
|