@anthropic-ai/claude-agent-sdk 0.2.129 → 0.2.132
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/assistant.mjs +88 -89
- package/bridge.mjs +71 -72
- package/browser-sdk.js +49 -50
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk-tools.d.ts +1 -1
- package/sdk.d.ts +16 -8
- package/sdk.mjs +62 -63
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-05-
|
|
2
|
+
"version": "2.1.132",
|
|
3
|
+
"commit": "f9c2aef1b03555fabbb4ec60302d6750f2ff689e",
|
|
4
|
+
"buildDate": "2026-05-06T18:03:54Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "2ce6b9007f38f5caf0d116ae35d59f1a6d40e902ae7f9f19aca6ec483697b764",
|
|
9
|
+
"size": 217993856
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "1953f50853eda4c374dfd558f1cf62a13a99c814aae73b42a07d3d9a49fe727b",
|
|
14
|
+
"size": 219558096
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "27266669eda5ae6115837e06230973f565f99b0f25c09ad86aeed404c3f7f947",
|
|
19
|
+
"size": 250022464
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "623086f65cfd9c3aff0c8a5125087f8aea3100aa92bf3f0533b2bea5e5d69e8d",
|
|
24
|
+
"size": 249817728
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "66e4db284e68e8d3c522959dc86a09a73ec305322aeae725f49ecc94d777e410",
|
|
29
|
+
"size": 242747776
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "18c00ed381d3714c6abcc25f52b81f0dfb33ac62b06bb32f91a88147ccbd7036",
|
|
34
|
+
"size": 244083072
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "9e24fc289828968ce3411fafaee42d4484d3e34b63e873358ede4395aceb1b33",
|
|
39
|
+
"size": 255705248
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "c05c66f8064c1cab16c99a973e885b60de87b51756b20cc21c4a2ded3102956c",
|
|
44
|
+
"size": 251768480
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-05-
|
|
2
|
+
"version": "2.1.132",
|
|
3
|
+
"commit": "f9c2aef1b03555fabbb4ec60302d6750f2ff689e",
|
|
4
|
+
"buildDate": "2026-05-06T18:11:38Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "5422eaefb4d76be8018343a09c5078b7c8e1686fab8563150b87f631cbbcfd18",
|
|
9
|
+
"size": 45060457,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "663b92a0eb3212b31bac05f9cbd8a9eabd8d15bfdc6c2986cb1a75f58e40f0ee",
|
|
12
|
+
"size": 45059097
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "27c4874ed7e268b548f07ceb8579a68e16ab8bccd18211a29d03193d8e43ef18",
|
|
18
|
+
"size": 46743220,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "f608b0fefb8e110227c390f2c834d419dc90c69ef7043673cba486c2e962c06d",
|
|
21
|
+
"size": 46751975
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "f4be8ca67b1904fdc8c2c4966f793fbfe21664cc9a573697acc913472e2320b8",
|
|
27
|
+
"size": 54588370
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "356c9f384ac5709e9746b4e41f1ec61fdbe23c7db3537ba344865daa3f015ad0",
|
|
32
|
+
"size": 55149283
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "9328f6dd18941a540e3dfabe4af9718083e6a6a0638e5829e54302c8c2f965f6",
|
|
37
|
+
"size": 53198818
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "ed78a44d686688c3c30c5202062e55c5646af71b231c43c674dbc4038ed6aa25",
|
|
42
|
+
"size": 53843396
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "05c3dd4c6d4161857c9035586f4a2bb494fef161b4bf1a22bdd1f4b62f3dd8e7",
|
|
47
|
+
"size": 56222893
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "3118e3e150f6e35dab429030473ccd3e33dc58582d244c19e546b14b999d863d",
|
|
52
|
+
"size": 54342426
|
|
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.
|
|
3
|
+
"version": "0.2.132",
|
|
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.
|
|
59
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.
|
|
60
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.
|
|
61
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.
|
|
62
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.
|
|
63
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.
|
|
58
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.2.132",
|
|
59
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.132",
|
|
60
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.132",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.132",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.132",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.132",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.132",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.132"
|
|
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.
|
|
81
|
+
"claudeCodeVersion": "2.1.132"
|
|
82
82
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -324,7 +324,7 @@ export interface BashInput {
|
|
|
324
324
|
*/
|
|
325
325
|
description?: string;
|
|
326
326
|
/**
|
|
327
|
-
* Set to true to run this command in the background.
|
|
327
|
+
* Set to true to run this command in the background.
|
|
328
328
|
*/
|
|
329
329
|
run_in_background?: boolean;
|
|
330
330
|
/**
|
package/sdk.d.ts
CHANGED
|
@@ -2066,17 +2066,25 @@ export declare interface Query extends AsyncGenerator<SDKMessage, void> {
|
|
|
2066
2066
|
setMaxThinkingTokens(maxThinkingTokens: number | null): Promise<void>;
|
|
2067
2067
|
/**
|
|
2068
2068
|
* Merge the provided settings into the flag settings layer, dynamically
|
|
2069
|
-
* updating the active configuration.
|
|
2070
|
-
*
|
|
2071
|
-
*
|
|
2072
|
-
*
|
|
2069
|
+
* updating the active configuration. Equivalent to the inline `settings`
|
|
2070
|
+
* option of `query()`, but applies mid-session. Flag settings sit above
|
|
2071
|
+
* user/project/local settings and below managed policy settings in the
|
|
2072
|
+
* precedence order.
|
|
2073
2073
|
*
|
|
2074
|
-
*
|
|
2075
|
-
*
|
|
2074
|
+
* Successive calls shallow-merge top-level keys — a second call with
|
|
2075
|
+
* `{permissions: {...}}` replaces the entire `permissions` object from a
|
|
2076
|
+
* prior call. Pass `null` for a key to clear it from the flag layer and
|
|
2077
|
+
* fall back to lower-precedence sources (`undefined` is dropped by JSON
|
|
2078
|
+
* serialization and has no effect).
|
|
2076
2079
|
*
|
|
2077
|
-
*
|
|
2080
|
+
* Only available in streaming input mode.
|
|
2081
|
+
*
|
|
2082
|
+
* @param settings - A partial settings object to merge into the flag settings.
|
|
2083
|
+
* Each top-level key also accepts `null` to clear it from the flag layer.
|
|
2078
2084
|
*/
|
|
2079
|
-
applyFlagSettings(settings:
|
|
2085
|
+
applyFlagSettings(settings: {
|
|
2086
|
+
[K in keyof Settings]?: Settings[K] | null;
|
|
2087
|
+
}): Promise<void>;
|
|
2080
2088
|
/**
|
|
2081
2089
|
* Get the full initialization result, including supported commands, models,
|
|
2082
2090
|
* account info, and output style configuration.
|