@anthropic-ai/claude-agent-sdk 0.3.156 → 0.3.158

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/manifest.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
- "version": "2.1.156",
3
- "commit": "de3d672b5e8c35ae78d81c9dd83844d334ec63af",
4
- "buildDate": "2026-05-28T18:38:44Z",
2
+ "version": "2.1.158",
3
+ "commit": "96d5f49347b9949c6a3e6287cbb62b8939b7e1c2",
4
+ "buildDate": "2026-05-29T23:34:41Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "9c1e8601031f5cbb3101e49dda22bf8ba31183692c705e267a6923585fa2ba09",
9
- "size": 214986144
8
+ "checksum": "536a0517fa64d48ddcbc8eb511a3d08027d47e06d148872332a8041d72c22768",
9
+ "size": 215233824
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "ccd608c694677324e24dec7d1253b51f887a7be838cdb75b22d5362c97351107",
14
- "size": 217500304
13
+ "checksum": "b7b33293702fb8e0a119b795d5af5178bd346fb46d4d7f161336d521f62d1451",
14
+ "size": 217747984
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "7ed95d0a93aeb40e2b98e234b760d9295b7044ef678c62db8d1f5e14bfd57878",
19
- "size": 240301704
18
+ "checksum": "98807675a3ed5b7b775f7eaa81eda32cba2810b97e9db9f6f98d7bd658cec00e",
19
+ "size": 240563848
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "6d83cd2264450c5e54fc988be1032c288cf418ee604294acfb8fc4ac28f5f7a3",
24
- "size": 240420560
23
+ "checksum": "dd27008acd42700bac5762652ec83ff604bf9ae0786d4dde55d57a6866017fbe",
24
+ "size": 240666320
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "858aa70793d5ba6293ae64b0e351514040a6e1021e9b2bac7129a791216505ce",
29
- "size": 233156440
28
+ "checksum": "742329f43930cbb1122eb1fe7aca339cb3dfb67be83cd256867859fba1e79ce2",
29
+ "size": 233418584
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "a594c2a56f7333816b85f53ed0501399b49bd44c05f25b315869b5b102ff34c3",
34
- "size": 234814512
33
+ "checksum": "56d66c89bf8d3e8efdab965e1dcc840d993212b40a2e89c751567c4bc605beba",
34
+ "size": 235060272
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "188cc105e1caaed88f63ac2060283eb426ea17a69130810c10126b2c14f7dc7e",
39
- "size": 236074144
38
+ "checksum": "10fa305545b20baf6e074a086762bd252b89dfe7035848a5d41385503b1a6c74",
39
+ "size": 236306080
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "1e10b4fa9e8a4829cfdf77a9c55cfe0dd26c54f2afb4d3dd9d19ff9e99ca1887",
44
- "size": 232039072
43
+ "checksum": "9e0e303015eb3c9aba782b366b35194073ab8130ac6c091c2c46870798a20bdc",
44
+ "size": 232271008
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.156",
3
- "commit": "de3d672b5e8c35ae78d81c9dd83844d334ec63af",
4
- "buildDate": "2026-05-28T18:46:28Z",
2
+ "version": "2.1.158",
3
+ "commit": "96d5f49347b9949c6a3e6287cbb62b8939b7e1c2",
4
+ "buildDate": "2026-05-29T23:42:01Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "ef1d06de9dad9ef0b9c408083748f3c76eb8d163f370eff0ab38d4bef9586e2c",
9
- "size": 44355013,
8
+ "checksum": "047a1fa2ec2813153b08098112fbfbc97b68ddd0fa0052ccb06d7532e40881ca",
9
+ "size": 44401197,
10
10
  "bundle": {
11
- "checksum": "878e9eb859dfb877eed42d8a83ab1940b638506d37abd6979ddca1ab0670b28e",
12
- "size": 44356884
11
+ "checksum": "c2b2957d3fa34ddee9ed2aeba257d939ae82cbb0a75b7dc90712aaf30a56bc6c",
12
+ "size": 44401476
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "73750963a2bac3f5290afc2581b0ebbcfd6445f4d5b687b734a05742414ed7a3",
18
- "size": 46259340,
17
+ "checksum": "8354f9451afe9eb07fc13078d3bce4f11db675bba27de32363648369299bd319",
18
+ "size": 46315633,
19
19
  "bundle": {
20
- "checksum": "90fabef0afe7352402712b784b9e790c3485a2c1d24c3c29544ea86d9a69abcf",
21
- "size": 46267708
20
+ "checksum": "d48b536d984b4798363c139dbbfc12ddde14fb067075ec24991b66fc4166f3d0",
21
+ "size": 46325139
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "83f58f60ed9d50aa682262360c1770bc54a695114355d8e3a9b9864dfe1b32fe",
27
- "size": 52075602
26
+ "checksum": "61cd4ac686f11758fc47e7702ec84f86a986a0d84c88edc1af690b0728436043",
27
+ "size": 52112280
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "fba8bf8eaa943a387ae226d1941e02097913a9a6d3cc22ecac9dab8ea4c4e9cd",
32
- "size": 52707007
31
+ "checksum": "783ed9c86be182d14b24e673fc3afa50563739d36bc6b51ae559d8658a0cbbfb",
32
+ "size": 52716177
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "79f767de07af8f2da054a0e68ae265770910f12d604d1b8bffb304867462c56f",
37
- "size": 50698548
36
+ "checksum": "dc56bb4f491cb278048add59db36d58d8e3f7ad595654657f6b584fe8ce4df4a",
37
+ "size": 50743772
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "c8d1796fc7f5ca96380e6a8c0e74df781c4641c934a5d50900171e7e883838d8",
42
- "size": 51405617
41
+ "checksum": "9ec488ad0568caa6eca93c21209d5e0e54f6a2334511bfe23f86c13d559057bb",
42
+ "size": 51443713
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "e0c59484eb7ac6bf4773f5a5ebe91c792f7f5db07a7789775d13c149e3c5505e",
47
- "size": 53436360
46
+ "checksum": "5de5662469c015722b81bf9262dd8f036df9ebcd39d4cff84ac5d4966a0d339b",
47
+ "size": 53464894
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "c220d8a0e815603644c99e1f6f67ea997109c7fe4cfdc978b5ca95046335bbf5",
52
- "size": 51723669
51
+ "checksum": "daa7f4dd8282a144be73c719ea7b9897937c02cf4f02a5c6c59616ad6619dafb",
52
+ "size": 51729307
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.156",
3
+ "version": "0.3.158",
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.156",
65
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.156",
66
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.156",
67
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.156",
68
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.156",
69
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.156",
70
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.156",
71
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.156"
64
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.158",
65
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.158",
66
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.158",
67
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.158",
68
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.158",
69
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.158",
70
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.158",
71
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.158"
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.156"
89
+ "claudeCodeVersion": "2.1.158"
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
  */