@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/manifest.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
- "version": "2.1.129",
3
- "commit": "978d0e32648a27249789304d49d2807c7515b9ea",
4
- "buildDate": "2026-05-05T01:51:03Z",
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": "fad2ac75c38ced2c57d046e64927c9ee4846f5ac75ea3bf8f0525ec66438c109",
9
- "size": 217564544
8
+ "checksum": "2ce6b9007f38f5caf0d116ae35d59f1a6d40e902ae7f9f19aca6ec483697b764",
9
+ "size": 217993856
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "6776c81f4d0629e9ad2166a8bd24967b72ab157b4aa71393d73aa7ca32ed05da",
14
- "size": 219128784
13
+ "checksum": "1953f50853eda4c374dfd558f1cf62a13a99c814aae73b42a07d3d9a49fe727b",
14
+ "size": 219558096
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "be1e037e762e49b28f96f201bbd0fb82153725e16122f6e33623c85fc8f1abc8",
19
- "size": 249563712
18
+ "checksum": "27266669eda5ae6115837e06230973f565f99b0f25c09ad86aeed404c3f7f947",
19
+ "size": 250022464
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "4af400fa74c8891d69b0cd9e3704ef49133df7a19d5c66456fa0f5e84276e160",
24
- "size": 249391744
23
+ "checksum": "623086f65cfd9c3aff0c8a5125087f8aea3100aa92bf3f0533b2bea5e5d69e8d",
24
+ "size": 249817728
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "da9e2ad294b60c4e8a7c8037289a78d3997220b7f9196016e148ca65096c678b",
29
- "size": 242289024
28
+ "checksum": "66e4db284e68e8d3c522959dc86a09a73ec305322aeae725f49ecc94d777e410",
29
+ "size": 242747776
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "776a78aaa50f8af21a16c8ce74ec9e016b7449f9f103dcc22260e4c52f2225c4",
34
- "size": 243657088
33
+ "checksum": "18c00ed381d3714c6abcc25f52b81f0dfb33ac62b06bb32f91a88147ccbd7036",
34
+ "size": 244083072
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "67cb57ae275c8ec41b263c410c044d160732375358d667f97ae60dc3fd2ccb12",
39
- "size": 255288992
38
+ "checksum": "9e24fc289828968ce3411fafaee42d4484d3e34b63e873358ede4395aceb1b33",
39
+ "size": 255705248
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "c72e8266f661c890db1ac46c6141924b0f0c482803a813c2a439c86dd684fc0f",
44
- "size": 251352224
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.129",
3
- "commit": "978d0e32648a27249789304d49d2807c7515b9ea",
4
- "buildDate": "2026-05-05T01:57:56Z",
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": "83ef4b1fb28831c2ffb0fc259c8b7374ff2f8b96f3886e778c3382243dddb7e8",
9
- "size": 44952237,
8
+ "checksum": "5422eaefb4d76be8018343a09c5078b7c8e1686fab8563150b87f631cbbcfd18",
9
+ "size": 45060457,
10
10
  "bundle": {
11
- "checksum": "b21a21daa9d757562647dbad6f0105ba8803a75921ccf98e31fd6fe2082c837e",
12
- "size": 44955369
11
+ "checksum": "663b92a0eb3212b31bac05f9cbd8a9eabd8d15bfdc6c2986cb1a75f58e40f0ee",
12
+ "size": 45059097
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "f7160448717e59380975bbdd9613a1d2fb8971b038a569d6e527d5d451ff1e24",
18
- "size": 46647214,
17
+ "checksum": "27c4874ed7e268b548f07ceb8579a68e16ab8bccd18211a29d03193d8e43ef18",
18
+ "size": 46743220,
19
19
  "bundle": {
20
- "checksum": "61390135fe3812d2b126c5597e33e59d160f61e8959c950375ac669636e3e275",
21
- "size": 46651573
20
+ "checksum": "f608b0fefb8e110227c390f2c834d419dc90c69ef7043673cba486c2e962c06d",
21
+ "size": 46751975
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "e407715c38bec3053f94b1a13989fb6b356b452ceacf2bf641a947e749f5b6dc",
27
- "size": 54489767
26
+ "checksum": "f4be8ca67b1904fdc8c2c4966f793fbfe21664cc9a573697acc913472e2320b8",
27
+ "size": 54588370
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "8d561653e47a935a818294b16bed51c9aec68a6255f0c796b520012d2489edb6",
32
- "size": 55043555
31
+ "checksum": "356c9f384ac5709e9746b4e41f1ec61fdbe23c7db3537ba344865daa3f015ad0",
32
+ "size": 55149283
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "a93c7c84f1df7980bd400b6ea52262b2dd07804f4354c5e306714a557aeb608e",
37
- "size": 53080441
36
+ "checksum": "9328f6dd18941a540e3dfabe4af9718083e6a6a0638e5829e54302c8c2f965f6",
37
+ "size": 53198818
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "e293fa6c282f6bde173fba1e3a7cba827d91fac9ac53a656f26b11f16e0a54d2",
42
- "size": 53772442
41
+ "checksum": "ed78a44d686688c3c30c5202062e55c5646af71b231c43c674dbc4038ed6aa25",
42
+ "size": 53843396
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "b9caf67f30fb0929cea135491aba2e4b96d87e0372c38fc196c706c7e470624d",
47
- "size": 56124843
46
+ "checksum": "05c3dd4c6d4161857c9035586f4a2bb494fef161b4bf1a22bdd1f4b62f3dd8e7",
47
+ "size": 56222893
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "0ce3f536076b7636857356e28dfd3a79c27843d41f509c4b325670237f62a274",
52
- "size": 54249550
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.129",
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.129",
59
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.129",
60
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.129",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.129",
62
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.129",
63
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.129",
64
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.129",
65
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.129"
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.129"
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. Use Read to read the output later.
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. Top-level keys are shallow-merged
2070
- * across successive calls a second call with `{permissions: {...}}`
2071
- * replaces the entire `permissions` object from a prior call. The resulting
2072
- * flag settings are then deep-merged with file-based settings at read time.
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
- * Equivalent to passing an object to the `settings` option of `query()`,
2075
- * but applies mid-session. Only available in streaming input mode.
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
- * @param settings - A partial settings object to merge into the flag settings
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: Settings): Promise<void>;
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.