@anthropic-ai/claude-agent-sdk 0.2.121 → 0.2.122
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 +74 -74
- package/bridge.mjs +46 -46
- package/browser-sdk.js +31 -31
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk.d.ts +2 -0
- package/sdk.mjs +47 -47
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-04-
|
|
2
|
+
"version": "2.1.122",
|
|
3
|
+
"commit": "70046c58fb1c720f82bcbf39a3447dadf5bd33b2",
|
|
4
|
+
"buildDate": "2026-04-28T01:50:47Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "4b01075bd923084fe56124bfb647f5eca98c2b1fa34cb039d2e75ccc84af4b86",
|
|
9
|
+
"size": 215880320
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "8c56cd72093c4b0002c7ec04ad69c0f0d04f0042c9fe399c194639f2d350934d",
|
|
14
|
+
"size": 217444560
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "ec608f447cf8d8a323e174a7b95f664d4835a77562c31f8562fa35b01e326d07",
|
|
19
|
+
"size": 247925312
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "5525f482dd1fa6e3fe5fa48ae7a82dd9e2db7293af165a56c95fcc7899cd8468",
|
|
24
|
+
"size": 247732864
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "9faa638e6613adc80af412f4896e9a289d9eb8c90e437030883d1193a64a75c2",
|
|
29
|
+
"size": 240650624
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "a1fb02167a8eac04721f072148244a6954705529bc0bd428d10d002e84ef8e4d",
|
|
34
|
+
"size": 241998208
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "65c4534c59e25cf3d490f1109e55e8193317489848c6e834cea21ceff2a5e4b4",
|
|
39
|
+
"size": 253690528
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "179030909886e384edadbb8538615c88d8d259f879b56f0747abf5a3772b83f0",
|
|
44
|
+
"size": 249753248
|
|
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-04-
|
|
2
|
+
"version": "2.1.122",
|
|
3
|
+
"commit": "70046c58fb1c720f82bcbf39a3447dadf5bd33b2",
|
|
4
|
+
"buildDate": "2026-04-28T01:58:09Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "de5f482f640d24554e402c5ccaa9ae11c922ff4467a4eec31ea1b44385f0eec7",
|
|
9
|
+
"size": 44626967,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "da7354edbd69af353c195b9c9b2a0dea32aa5f777c6287211148da2999135bee",
|
|
12
|
+
"size": 44632790
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "16b2a3c3f2a4fab48558881ec3cb055d959c573b96e3f3ff068a750fd7695d77",
|
|
18
|
+
"size": 46355778,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "70cb14bd507175bc2f2786cfc594b0805ac743c2f4e46ca526d5f3740f1937a1",
|
|
21
|
+
"size": 46362451
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "39e80b05bcc39fe36a3e2be4d06b38e6995eebc4ac1f03dba0eef306c8e48b86",
|
|
27
|
+
"size": 54153349
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "1eab939d384f3cf2f7f7c667ceeb5e59297377b7df64fd854f185a2000492074",
|
|
32
|
+
"size": 54752600
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "b012fe945ce7a0ce44cf84cce5e97431a7757c17efad615b12828939f7ae3450",
|
|
37
|
+
"size": 52792068
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "84c55cc4a14646e6e5fb1b484cfb8c1d098bf6b27dbfa5cb59b455d2838ea7ec",
|
|
42
|
+
"size": 53459786
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "3b1bf92de8c1d955ec9da8450cc8f66234ad1ee791cf136d678544c0842b70e6",
|
|
47
|
+
"size": 55812105
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "4dd5c1f3aec4f350bc6a9b3c537df64db3ec27bbd6991b5fe0c406bf503f829d",
|
|
52
|
+
"size": 53919684
|
|
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.122",
|
|
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.122",
|
|
59
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.122",
|
|
60
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.122",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.122",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.122",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.122",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.122",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.122"
|
|
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.122"
|
|
82
82
|
}
|
package/sdk.d.ts
CHANGED
|
@@ -1757,6 +1757,7 @@ export declare type Options = {
|
|
|
1757
1757
|
*/
|
|
1758
1758
|
title?: string;
|
|
1759
1759
|
|
|
1760
|
+
|
|
1760
1761
|
/**
|
|
1761
1762
|
* Custom function to spawn the Claude Code process.
|
|
1762
1763
|
* Use this to run Claude Code in VMs, containers, or remote environments.
|
|
@@ -2581,6 +2582,7 @@ declare type SDKControlInitializeRequest = {
|
|
|
2581
2582
|
* When provided, only skills whose names match an entry are loaded into the main session system prompt, using the same rules as AgentDefinition.skills: exact name, plugin-qualified name, or ":name" suffix. Omit to load every discovered skill. Applies to the main session only; subagents use AgentDefinition.skills.
|
|
2582
2583
|
*/
|
|
2583
2584
|
skills?: string[];
|
|
2585
|
+
|
|
2584
2586
|
promptSuggestions?: boolean;
|
|
2585
2587
|
agentProgressSummaries?: boolean;
|
|
2586
2588
|
forwardSubagentText?: boolean;
|