@anthropic-ai/claude-agent-sdk 0.2.69 → 0.2.71
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/cli.js +2698 -2005
- package/manifest.json +18 -18
- package/manifest.zst.json +18 -18
- package/package.json +2 -2
- package/sdk-tools.d.ts +6 -2
- package/sdk.d.ts +2 -0
- package/sdk.mjs +23 -23
- package/vendor/ripgrep/arm64-darwin/ripgrep.node +0 -0
- package/vendor/ripgrep/arm64-linux/ripgrep.node +0 -0
- package/vendor/ripgrep/arm64-win32/ripgrep.node +0 -0
- package/vendor/ripgrep/x64-darwin/ripgrep.node +0 -0
- package/vendor/ripgrep/x64-linux/ripgrep.node +0 -0
- package/vendor/ripgrep/x64-win32/ripgrep.node +0 -0
package/manifest.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"buildDate": "2026-03-
|
|
2
|
+
"version": "2.1.71",
|
|
3
|
+
"buildDate": "2026-03-06T22:51:07Z",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"binary": "claude",
|
|
7
|
-
"checksum": "
|
|
8
|
-
"size":
|
|
7
|
+
"checksum": "f3d8129ec7ddaf158c10e193df546421499d69b7f44ec2f0b67c3fe54f601cb9",
|
|
8
|
+
"size": 192377712
|
|
9
9
|
},
|
|
10
10
|
"darwin-x64": {
|
|
11
11
|
"binary": "claude",
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "a8ff210022860b1567d35fba5822d9be4a74c422962e2e32c39f4116796d57c8",
|
|
13
|
+
"size": 198519888
|
|
14
14
|
},
|
|
15
15
|
"linux-arm64": {
|
|
16
16
|
"binary": "claude",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "ae26e4a5654238f0a684d5fd9a6bf592321b06eb88ea834343b275f310e39bea",
|
|
18
|
+
"size": 234383757
|
|
19
19
|
},
|
|
20
20
|
"linux-x64": {
|
|
21
21
|
"binary": "claude",
|
|
22
|
-
"checksum": "
|
|
23
|
-
"size":
|
|
22
|
+
"checksum": "61002e5f5c4190e9a775bd9cf90e57fff3f0379fb2c8edc653ac0942a347babd",
|
|
23
|
+
"size": 237119954
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64-musl": {
|
|
26
26
|
"binary": "claude",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "e2223aa7ad06c216fa681996fa51388c1a8ba90cf0d5ce43f8ebaaa618d2b3b1",
|
|
28
|
+
"size": 224919229
|
|
29
29
|
},
|
|
30
30
|
"linux-x64-musl": {
|
|
31
31
|
"binary": "claude",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "46e941a6f6f354b47644cb132f33a2f55a9fc51fd84ec42fcf0355054aa79974",
|
|
33
|
+
"size": 227717442
|
|
34
34
|
},
|
|
35
35
|
"win32-x64": {
|
|
36
36
|
"binary": "claude.exe",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "743c3a8bfefe20f7d466517c8e5de2ad46bced461e970e48ea0ce980f209a9c3",
|
|
38
|
+
"size": 240928416
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"binary": "claude.exe",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "75bbe4d3ec469c5440a3cb045924bf90fff4c1792007e77429dbd608b8eabc2f",
|
|
43
|
+
"size": 235514016
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"buildDate": "2026-03-
|
|
2
|
+
"version": "2.1.71",
|
|
3
|
+
"buildDate": "2026-03-06T22:51:08Z",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"binary": "claude.zst",
|
|
7
|
-
"checksum": "
|
|
8
|
-
"size":
|
|
7
|
+
"checksum": "8136b9d5166ba659aa7c139b2777f42e10466760721937887868c63e638aa20b",
|
|
8
|
+
"size": 40664092
|
|
9
9
|
},
|
|
10
10
|
"darwin-x64": {
|
|
11
11
|
"binary": "claude.zst",
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "703cea977e558b12baa2f5a3f0f6f4dad94fc77a69bb3032719ffe6858152cfa",
|
|
13
|
+
"size": 43095882
|
|
14
14
|
},
|
|
15
15
|
"linux-arm64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "864d742f1cc757ee7ede99e57ec44ba2918c9b191dc58d7fb9b447440a8f19ac",
|
|
18
|
+
"size": 52562010
|
|
19
19
|
},
|
|
20
20
|
"linux-x64": {
|
|
21
21
|
"binary": "claude.zst",
|
|
22
|
-
"checksum": "
|
|
23
|
-
"size":
|
|
22
|
+
"checksum": "6797fe1b61bff80a996849deb2fd18159c8dd812e630ab3f447b32baeab0fe08",
|
|
23
|
+
"size": 53298616
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64-musl": {
|
|
26
26
|
"binary": "claude.zst",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "be54f1f66cc5c78571f9e947160b02b36d8e8af5652936c107c7aa2da5671531",
|
|
28
|
+
"size": 50480463
|
|
29
29
|
},
|
|
30
30
|
"linux-x64-musl": {
|
|
31
31
|
"binary": "claude.zst",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "8b8d95e0383ca31c0d7ad00ca1105f309350cf9e6c8fe5181ce497825a1371b2",
|
|
33
|
+
"size": 51286831
|
|
34
34
|
},
|
|
35
35
|
"win32-x64": {
|
|
36
36
|
"binary": "claude.exe.zst",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "db2c70e5097a31127a9f6f649a59c22d1b2c82254687ad502f37b9adf9e9c1cd",
|
|
38
|
+
"size": 53784053
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"binary": "claude.exe.zst",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "2862375e0f3105749e3c6708b7d0d9c86c444976cd40fc9f818cbeb04d58c901",
|
|
43
|
+
"size": 51899587
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-agent-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.71",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"@img/sharp-win32-arm64": "^0.34.2",
|
|
49
49
|
"@img/sharp-win32-x64": "^0.34.2"
|
|
50
50
|
},
|
|
51
|
-
"claudeCodeVersion": "2.1.
|
|
51
|
+
"claudeCodeVersion": "2.1.71"
|
|
52
52
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -263,13 +263,13 @@ export interface AgentInput {
|
|
|
263
263
|
/**
|
|
264
264
|
* The type of specialized agent to use for this task
|
|
265
265
|
*/
|
|
266
|
-
subagent_type
|
|
266
|
+
subagent_type?: string;
|
|
267
267
|
/**
|
|
268
268
|
* Optional agent ID to resume from. If provided, the agent will continue from the previous execution transcript.
|
|
269
269
|
*/
|
|
270
270
|
resume?: string;
|
|
271
271
|
/**
|
|
272
|
-
* Set to true to run this agent in the background.
|
|
272
|
+
* Set to true to run this agent in the background. You will be notified when it completes.
|
|
273
273
|
*/
|
|
274
274
|
run_in_background?: boolean;
|
|
275
275
|
/**
|
|
@@ -2270,6 +2270,10 @@ export interface BashOutput {
|
|
|
2270
2270
|
* Total size of the output in bytes (set when output is too large for inline)
|
|
2271
2271
|
*/
|
|
2272
2272
|
persistedOutputSize?: number;
|
|
2273
|
+
/**
|
|
2274
|
+
* Compressed output sent to model when token-saver is active (UI still uses stdout)
|
|
2275
|
+
*/
|
|
2276
|
+
tokenSaverOutput?: string;
|
|
2273
2277
|
}
|
|
2274
2278
|
export interface ExitPlanModeOutput {
|
|
2275
2279
|
/**
|
package/sdk.d.ts
CHANGED
|
@@ -973,6 +973,7 @@ export declare type Options = {
|
|
|
973
973
|
plugins?: SdkPluginConfig[];
|
|
974
974
|
|
|
975
975
|
|
|
976
|
+
|
|
976
977
|
/**
|
|
977
978
|
* Enable prompt suggestions. When true, the agent emits a `prompt_suggestion`
|
|
978
979
|
* message after each turn with a predicted next user prompt.
|
|
@@ -2166,6 +2167,7 @@ export declare type SDKTaskStartedMessage = {
|
|
|
2166
2167
|
tool_use_id?: string;
|
|
2167
2168
|
description: string;
|
|
2168
2169
|
task_type?: string;
|
|
2170
|
+
prompt?: string;
|
|
2169
2171
|
uuid: UUID;
|
|
2170
2172
|
session_id: string;
|
|
2171
2173
|
};
|