@anthropic-ai/claude-agent-sdk 0.3.156 → 0.3.157
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 +82 -82
- package/bridge.mjs +69 -69
- package/browser-sdk.js +2 -2
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk-tools.d.ts +4 -0
- package/sdk.d.ts +29 -0
- package/sdk.mjs +48 -48
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-05-
|
|
2
|
+
"version": "2.1.157",
|
|
3
|
+
"commit": "11776d26a734d14a209044188d95274efb678fc7",
|
|
4
|
+
"buildDate": "2026-05-29T16:29:47Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "10f398510f0e6bd7c677ee25cfc698601bf8b1ec89658f823fa23a2f80a8a73f",
|
|
9
|
+
"size": 215233824
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "33b0e60e40351210f1bbb36a9478ce125474184ce0b6871f685f587f0be1b29a",
|
|
14
|
+
"size": 217747984
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "57223365cbe16546fb4c0e28912b3f8cb61cac2b5ccca84b71719d9f133286bf",
|
|
19
|
+
"size": 240563848
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "3215501f8cfee9a70601c2fbc2c84e9d020e4e7148a0b8b8264f4d8c026bc64b",
|
|
24
|
+
"size": 240662224
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "bd29907fd87d2fab04e811be246a290c58c3b30a425476b7f962bbb4a02dd7bc",
|
|
29
|
+
"size": 233418584
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "45a686383a117779eb57f2ba73f55947088de7619ccb663625686c4bdf2c1be6",
|
|
34
|
+
"size": 235056176
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "8c2fee29cbe1f59fd2ef071d877f2a47440d91420bb58e6f20a44e476776c8fd",
|
|
39
|
+
"size": 236299936
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "70194f70816cc1d308d49d87dd56f39737bdec2e472abf3c822012edfea97dd2",
|
|
44
|
+
"size": 232264864
|
|
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.157",
|
|
3
|
+
"commit": "11776d26a734d14a209044188d95274efb678fc7",
|
|
4
|
+
"buildDate": "2026-05-29T16:37:02Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "abac67dec9df044dae54a5d43f87b1fcf4223a9558a70c164c81aa26514e77cd",
|
|
9
|
+
"size": 44397458,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "7c4000e8ffecee38bf278f6ef9290d34ce2a8ccf8b4bacb16ae8db66a1d16d72",
|
|
12
|
+
"size": 44405983
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "c1266985187265a7c5add9154379e286e9e46dcd277af6e41c327c5b711f638d",
|
|
18
|
+
"size": 46327215,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "c39a534c236301965b126c24df03b0f94f0e54ee5f88490d929f4479efa7accf",
|
|
21
|
+
"size": 46333114
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "b9f46bd262bc1f983a99572b86d2a0bb8d6e421a8e5fef0ace635ff993fd532d",
|
|
27
|
+
"size": 52105382
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "a5c38277b6be131f056f7528cbe3890aedae506f7d551405f036ce9429042118",
|
|
32
|
+
"size": 52727984
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "c2b9d8ce8a9be5b76a9360f74d8897f196b797c1e2ac9b229f9de1e7b7b64419",
|
|
37
|
+
"size": 50740222
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "9f0854d8f5c4a4aacfd6f3236d17d232515880418528fa483636b9c1efceb8ce",
|
|
42
|
+
"size": 51447887
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "da197191b67de6724a99e3aab1e90fe5497097fa95fb4e199bc38bcee30abc6e",
|
|
47
|
+
"size": 53449109
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "dbc780fa7f4cd682eb20add6e5d20107faac390bcf2ab358cc0fe9b443c06fab",
|
|
52
|
+
"size": 51737313
|
|
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.3.
|
|
3
|
+
"version": "0.3.157",
|
|
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.157",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.157",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.157",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.157",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.157",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.157",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.157",
|
|
71
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.157"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|
|
74
74
|
"sdk.mjs",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"manifest.json",
|
|
87
87
|
"manifest.zst.json"
|
|
88
88
|
],
|
|
89
|
-
"claudeCodeVersion": "2.1.
|
|
89
|
+
"claudeCodeVersion": "2.1.157"
|
|
90
90
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -2958,6 +2958,10 @@ export interface AskUserQuestionOutput {
|
|
|
2958
2958
|
answers: {
|
|
2959
2959
|
[k: string]: string;
|
|
2960
2960
|
};
|
|
2961
|
+
/**
|
|
2962
|
+
* Freeform text the user typed instead of selecting a structured option
|
|
2963
|
+
*/
|
|
2964
|
+
response?: string;
|
|
2961
2965
|
/**
|
|
2962
2966
|
* Optional per-question annotations from the user (e.g., notes on preview selections). Keyed by question text.
|
|
2963
2967
|
*/
|
package/sdk.d.ts
CHANGED
|
@@ -3736,6 +3736,7 @@ export declare type SDKToolUseSummaryMessage = {
|
|
|
3736
3736
|
preceding_tool_use_ids: string[];
|
|
3737
3737
|
uuid: UUID;
|
|
3738
3738
|
session_id: string;
|
|
3739
|
+
|
|
3739
3740
|
};
|
|
3740
3741
|
|
|
3741
3742
|
export declare type SDKUserMessage = {
|
|
@@ -3755,6 +3756,18 @@ export declare type SDKUserMessage = {
|
|
|
3755
3756
|
* ISO timestamp when the message was created on the originating process. Older emitters omit it; consumers should fall back to receive time.
|
|
3756
3757
|
*/
|
|
3757
3758
|
timestamp?: string;
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
|
|
3766
|
+
|
|
3767
|
+
|
|
3768
|
+
|
|
3769
|
+
|
|
3770
|
+
|
|
3758
3771
|
uuid?: UUID;
|
|
3759
3772
|
session_id?: string;
|
|
3760
3773
|
/**
|
|
@@ -3784,6 +3797,18 @@ export declare type SDKUserMessageReplay = {
|
|
|
3784
3797
|
* ISO timestamp when the message was created on the originating process. Older emitters omit it; consumers should fall back to receive time.
|
|
3785
3798
|
*/
|
|
3786
3799
|
timestamp?: string;
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
|
|
3803
|
+
|
|
3804
|
+
|
|
3805
|
+
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
|
|
3809
|
+
|
|
3810
|
+
|
|
3811
|
+
|
|
3787
3812
|
uuid: UUID;
|
|
3788
3813
|
session_id: string;
|
|
3789
3814
|
isReplay: true;
|
|
@@ -4462,6 +4487,10 @@ export declare interface Settings {
|
|
|
4462
4487
|
* Enable or disable the Workflows feature for this user. Unset = default by plan once the feature is available.
|
|
4463
4488
|
*/
|
|
4464
4489
|
enableWorkflows?: boolean;
|
|
4490
|
+
/**
|
|
4491
|
+
* Enable the "workflow"/"workflows" keyword trigger that opts a prompt into the Workflow tool. Set to false to type the word without triggering a workflow. Default: true.
|
|
4492
|
+
*/
|
|
4493
|
+
workflowKeywordTriggerEnabled?: boolean;
|
|
4465
4494
|
/**
|
|
4466
4495
|
* Disable inline shell execution in skills and custom slash commands from user, project, or plugin sources. Commands are replaced with a placeholder instead of being run.
|
|
4467
4496
|
*/
|