@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/manifest.json CHANGED
@@ -1,46 +1,46 @@
1
1
  {
2
- "version": "2.1.69",
3
- "buildDate": "2026-03-04T23:34:44Z",
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": "a86e14f44b167c1e8dbf764f76755b92ecf52c097d732a3461fe65b5fb60be05",
8
- "size": 197100144
7
+ "checksum": "f3d8129ec7ddaf158c10e193df546421499d69b7f44ec2f0b67c3fe54f601cb9",
8
+ "size": 192377712
9
9
  },
10
10
  "darwin-x64": {
11
11
  "binary": "claude",
12
- "checksum": "e5987b4dd502a6542bf86c3c0bcd1d533b774616fc7d49566ce0b2040e6c1374",
13
- "size": 203176272
12
+ "checksum": "a8ff210022860b1567d35fba5822d9be4a74c422962e2e32c39f4116796d57c8",
13
+ "size": 198519888
14
14
  },
15
15
  "linux-arm64": {
16
16
  "binary": "claude",
17
- "checksum": "ecc7bbf10513ff122327866eb97212945b73afd7f81e30700375cdf10f50b2a3",
18
- "size": 237611685
17
+ "checksum": "ae26e4a5654238f0a684d5fd9a6bf592321b06eb88ea834343b275f310e39bea",
18
+ "size": 234383757
19
19
  },
20
20
  "linux-x64": {
21
21
  "binary": "claude",
22
- "checksum": "b3bdbd5a3cbf8caafe353022170df77fefa80b00003074d4d27e7da8c59e629a",
23
- "size": 240662792
22
+ "checksum": "61002e5f5c4190e9a775bd9cf90e57fff3f0379fb2c8edc653ac0942a347babd",
23
+ "size": 237119954
24
24
  },
25
25
  "linux-arm64-musl": {
26
26
  "binary": "claude",
27
- "checksum": "0d2c7173a68c5a9b451f090938de6ece5f16923d28bcd971db16264a437b7fae",
28
- "size": 228147157
27
+ "checksum": "e2223aa7ad06c216fa681996fa51388c1a8ba90cf0d5ce43f8ebaaa618d2b3b1",
28
+ "size": 224919229
29
29
  },
30
30
  "linux-x64-musl": {
31
31
  "binary": "claude",
32
- "checksum": "7e4d51b619bed03f5850e44dcd39b65aee4e7425411ffac72237bc1c14722181",
33
- "size": 231260280
32
+ "checksum": "46e941a6f6f354b47644cb132f33a2f55a9fc51fd84ec42fcf0355054aa79974",
33
+ "size": 227717442
34
34
  },
35
35
  "win32-x64": {
36
36
  "binary": "claude.exe",
37
- "checksum": "68d1426abfa810b75a99d5a5f268cc9d84c6fc667dd15f145ff72024a49ec0ca",
38
- "size": 246461088
37
+ "checksum": "743c3a8bfefe20f7d466517c8e5de2ad46bced461e970e48ea0ce980f209a9c3",
38
+ "size": 240928416
39
39
  },
40
40
  "win32-arm64": {
41
41
  "binary": "claude.exe",
42
- "checksum": "6298e893feb23e681de168da1ec2e73f4ae630b6be68ddf1116cdd4da85987b4",
43
- "size": 238147232
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.69",
3
- "buildDate": "2026-03-04T23:34:45Z",
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": "70bc8a07e3116452a1bcffbe6c84a9364d71a6282f1fb675907dd72bcd8c0d6a",
8
- "size": 42101536
7
+ "checksum": "8136b9d5166ba659aa7c139b2777f42e10466760721937887868c63e638aa20b",
8
+ "size": 40664092
9
9
  },
10
10
  "darwin-x64": {
11
11
  "binary": "claude.zst",
12
- "checksum": "d5fe5c26da76ff13f65b93ca38d8abc89d11328f88d626ccfc9eb1c344118461",
13
- "size": 44577052
12
+ "checksum": "703cea977e558b12baa2f5a3f0f6f4dad94fc77a69bb3032719ffe6858152cfa",
13
+ "size": 43095882
14
14
  },
15
15
  "linux-arm64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "37ee3deb5d5541a2b18f19a2b870e369e5776ced3f2623d9c440dbf9bd5a8e36",
18
- "size": 53468479
17
+ "checksum": "864d742f1cc757ee7ede99e57ec44ba2918c9b191dc58d7fb9b447440a8f19ac",
18
+ "size": 52562010
19
19
  },
20
20
  "linux-x64": {
21
21
  "binary": "claude.zst",
22
- "checksum": "d8543dbc4ee284c96d6933e57e8a3cf82f6d2a3dfd99f9e2b50add0c32f7cac7",
23
- "size": 54310870
22
+ "checksum": "6797fe1b61bff80a996849deb2fd18159c8dd812e630ab3f447b32baeab0fe08",
23
+ "size": 53298616
24
24
  },
25
25
  "linux-arm64-musl": {
26
26
  "binary": "claude.zst",
27
- "checksum": "254739d84fb63a99c5537e4ce1980a02533c823f830e6753ee72306862c342cb",
28
- "size": 51419297
27
+ "checksum": "be54f1f66cc5c78571f9e947160b02b36d8e8af5652936c107c7aa2da5671531",
28
+ "size": 50480463
29
29
  },
30
30
  "linux-x64-musl": {
31
31
  "binary": "claude.zst",
32
- "checksum": "f58d1a74e26bce89fea821c9c9152ec3174f1970ba7b43260335502ee399ee6f",
33
- "size": 52286129
32
+ "checksum": "8b8d95e0383ca31c0d7ad00ca1105f309350cf9e6c8fe5181ce497825a1371b2",
33
+ "size": 51286831
34
34
  },
35
35
  "win32-x64": {
36
36
  "binary": "claude.exe.zst",
37
- "checksum": "bb0453365c0f640d37f179ea3eb7c0a5e4576ba790a825e194aa423fce33e60c",
38
- "size": 55356698
37
+ "checksum": "db2c70e5097a31127a9f6f649a59c22d1b2c82254687ad502f37b9adf9e9c1cd",
38
+ "size": 53784053
39
39
  },
40
40
  "win32-arm64": {
41
41
  "binary": "claude.exe.zst",
42
- "checksum": "fbd4a17200015f87e2af112bf7fbe118cfbc6de28f470583f797cd57106ad28e",
43
- "size": 52708169
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.69",
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.69"
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: string;
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. The tool result will include an output_file path - use Read tool or Bash tail to check on output.
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
  };