@anthropic-ai/claude-agent-sdk 0.2.126 → 0.2.129

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.126",
3
- "commit": "e44c1d97bd39dbf2525164f3fd33be6edbf1661e",
4
- "buildDate": "2026-04-30T16:08:06Z",
2
+ "version": "2.1.129",
3
+ "commit": "978d0e32648a27249789304d49d2807c7515b9ea",
4
+ "buildDate": "2026-05-05T01:51:03Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "87a1d05018ceadfc1fe616bfc10262b0503f51986f4af2dc42d1ed856ed3f7bb",
9
- "size": 216260096
8
+ "checksum": "fad2ac75c38ced2c57d046e64927c9ee4846f5ac75ea3bf8f0525ec66438c109",
9
+ "size": 217564544
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "49a90c474383a9eda11310bd71f7ea6bb91361ec99443b733cb5003f6e703ccb",
14
- "size": 217824336
13
+ "checksum": "6776c81f4d0629e9ad2166a8bd24967b72ab157b4aa71393d73aa7ca32ed05da",
14
+ "size": 219128784
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "88a6dca613a40559f3bac8a946a2ec6e60a870b91938d3df93dcac1dec4848cb",
19
- "size": 248318528
18
+ "checksum": "be1e037e762e49b28f96f201bbd0fb82153725e16122f6e33623c85fc8f1abc8",
19
+ "size": 249563712
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "fce96968d275161ff65a4c19fc6434efc6973d9f6d35dc3992a2ba0553cac18e",
24
- "size": 248105600
23
+ "checksum": "4af400fa74c8891d69b0cd9e3704ef49133df7a19d5c66456fa0f5e84276e160",
24
+ "size": 249391744
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "042bbc0c3610d005d371645e34c4b4055bb2499f7a4509ed667b2a8924ac5853",
29
- "size": 241043840
28
+ "checksum": "da9e2ad294b60c4e8a7c8037289a78d3997220b7f9196016e148ca65096c678b",
29
+ "size": 242289024
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "b3f39b00069558e57c6d36ead6b2efe013afa57b603445c338374d0c873e95c0",
34
- "size": 242370944
33
+ "checksum": "776a78aaa50f8af21a16c8ce74ec9e016b7449f9f103dcc22260e4c52f2225c4",
34
+ "size": 243657088
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "1a6b4be4b45458ab1831bad138572bf2fec12cb1edea0685c5ff10ce6e97afb6",
39
- "size": 254053024
38
+ "checksum": "67cb57ae275c8ec41b263c410c044d160732375358d667f97ae60dc3fd2ccb12",
39
+ "size": 255288992
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "7253defbc945f5461035240bc32d18970fb1acc5df63092c492ee8d7c7caf55f",
44
- "size": 250115744
43
+ "checksum": "c72e8266f661c890db1ac46c6141924b0f0c482803a813c2a439c86dd684fc0f",
44
+ "size": 251352224
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.126",
3
- "commit": "e44c1d97bd39dbf2525164f3fd33be6edbf1661e",
4
- "buildDate": "2026-04-30T16:15:16Z",
2
+ "version": "2.1.129",
3
+ "commit": "978d0e32648a27249789304d49d2807c7515b9ea",
4
+ "buildDate": "2026-05-05T01:57:56Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "05db403cb0bf869cf38fe7abfbf4fea61cb66b097ace786c8b1c840462cee976",
9
- "size": 44701845,
8
+ "checksum": "83ef4b1fb28831c2ffb0fc259c8b7374ff2f8b96f3886e778c3382243dddb7e8",
9
+ "size": 44952237,
10
10
  "bundle": {
11
- "checksum": "725678c869b2afa7f0094c51490cfb46e3b48432afae2a2b537bc0721d57871a",
12
- "size": 44705970
11
+ "checksum": "b21a21daa9d757562647dbad6f0105ba8803a75921ccf98e31fd6fe2082c837e",
12
+ "size": 44955369
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "5442cdc75b68b20e9b7f001bc8ca775aa352eddc697f1626f7823591c195c11b",
18
- "size": 46395699,
17
+ "checksum": "f7160448717e59380975bbdd9613a1d2fb8971b038a569d6e527d5d451ff1e24",
18
+ "size": 46647214,
19
19
  "bundle": {
20
- "checksum": "451f789889649e9707cf42f95b69b9c941d0faa1d3adb29d8fab4e124674843e",
21
- "size": 46398386
20
+ "checksum": "61390135fe3812d2b126c5597e33e59d160f61e8959c950375ac669636e3e275",
21
+ "size": 46651573
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "2a7fca0a7faf3de594ec19be5983ad22eee05fe712273d522197e2b2fdd5c4cf",
27
- "size": 54246920
26
+ "checksum": "e407715c38bec3053f94b1a13989fb6b356b452ceacf2bf641a947e749f5b6dc",
27
+ "size": 54489767
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "8dbda91c9f480a993151a3804ff62ad0b85b033f6953540fe72159dbb7ac24df",
32
- "size": 54793974
31
+ "checksum": "8d561653e47a935a818294b16bed51c9aec68a6255f0c796b520012d2489edb6",
32
+ "size": 55043555
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "f5ff8ba7d43d6720eb86afb7df56b1e577028a255cd220248105ae02f0835ddc",
37
- "size": 52856101
36
+ "checksum": "a93c7c84f1df7980bd400b6ea52262b2dd07804f4354c5e306714a557aeb608e",
37
+ "size": 53080441
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "d34b2ce14e7bbb635c4cd389808d630bddb633c7f19f0dc5b89f93a362fa1dca",
42
- "size": 53519063
41
+ "checksum": "e293fa6c282f6bde173fba1e3a7cba827d91fac9ac53a656f26b11f16e0a54d2",
42
+ "size": 53772442
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "3346250e9962afb01bf85eaa68118dfa2d4a82ee398a566e1c6cd41186e4c522",
47
- "size": 55874824
46
+ "checksum": "b9caf67f30fb0929cea135491aba2e4b96d87e0372c38fc196c706c7e470624d",
47
+ "size": 56124843
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "0f8cbb71d96ceb8d27826ff4e1b5607281a09a5048e26065dccea1c2a7bfbb74",
52
- "size": 54009603
51
+ "checksum": "0ce3f536076b7636857356e28dfd3a79c27843d41f509c4b325670237f62a274",
52
+ "size": 54249550
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.126",
3
+ "version": "0.2.129",
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.126",
59
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.126",
60
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.126",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.126",
62
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.126",
63
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.126",
64
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.126",
65
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.126"
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"
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.126"
81
+ "claudeCodeVersion": "2.1.129"
82
82
  }
package/sdk-tools.d.ts CHANGED
@@ -2464,7 +2464,6 @@ export interface TodoWriteOutput {
2464
2464
  status: "pending" | "in_progress" | "completed";
2465
2465
  activeForm: string;
2466
2466
  }[];
2467
- verificationNudgeNeeded?: boolean;
2468
2467
  }
2469
2468
  export interface WebFetchOutput {
2470
2469
  /**
package/sdk.d.ts CHANGED
@@ -937,7 +937,7 @@ export declare type McpHttpServerConfig = {
937
937
  headers?: Record<string, string>;
938
938
  tools?: McpServerToolPolicy[];
939
939
  /**
940
- * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled.
940
+ * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled. As a side effect this also blocks startup until the server is connected (capped at the standard 5s connect timeout) even when MCP_CONNECTION_NONBLOCKING=1, since the tools must be present when the turn-1 prompt is built.
941
941
  */
942
942
  alwaysLoad?: boolean;
943
943
  };
@@ -1042,7 +1042,7 @@ export declare type McpSSEServerConfig = {
1042
1042
  headers?: Record<string, string>;
1043
1043
  tools?: McpServerToolPolicy[];
1044
1044
  /**
1045
- * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled.
1045
+ * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled. As a side effect this also blocks startup until the server is connected (capped at the standard 5s connect timeout) even when MCP_CONNECTION_NONBLOCKING=1, since the tools must be present when the turn-1 prompt is built.
1046
1046
  */
1047
1047
  alwaysLoad?: boolean;
1048
1048
  };
@@ -1053,7 +1053,7 @@ export declare type McpStdioServerConfig = {
1053
1053
  args?: string[];
1054
1054
  env?: Record<string, string>;
1055
1055
  /**
1056
- * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled.
1056
+ * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled. As a side effect this also blocks startup until the server is connected (capped at the standard 5s connect timeout) even when MCP_CONNECTION_NONBLOCKING=1, since the tools must be present when the turn-1 prompt is built.
1057
1057
  */
1058
1058
  alwaysLoad?: boolean;
1059
1059
  };
@@ -1338,6 +1338,14 @@ export declare type Options = {
1338
1338
  * @alpha
1339
1339
  */
1340
1340
  sessionStore?: SessionStore;
1341
+ /**
1342
+ * Controls how aggressively transcript entries are flushed to
1343
+ * {@link Options.sessionStore}. Defaults to `'batched'`. Ignored when
1344
+ * `sessionStore` is not set.
1345
+ *
1346
+ * @alpha
1347
+ */
1348
+ sessionStoreFlush?: SessionStoreFlush;
1341
1349
  /**
1342
1350
  * Timeout for each `sessionStore.load()` / `sessionStore.listSubkeys()` call
1343
1351
  * during resume materialization. If the adapter doesn't settle within this
@@ -3702,6 +3710,20 @@ export declare type SessionStoreEntry = {
3702
3710
  [k: string]: unknown;
3703
3711
  };
3704
3712
 
3713
+ /**
3714
+ * Flush strategy for {@link Options.sessionStore} transcript mirroring.
3715
+ *
3716
+ * - `'batched'` (default): buffer transcript_mirror frames and flush at
3717
+ * end-of-turn or when pending thresholds are exceeded.
3718
+ * - `'eager'`: schedule a background flush after every frame, giving
3719
+ * near-real-time delivery to {@link SessionStore.append}. Each frame
3720
+ * becomes its own `append()` batch (no coalescing), so adapters should
3721
+ * be cheap per call.
3722
+ *
3723
+ * @alpha
3724
+ */
3725
+ export declare type SessionStoreFlush = 'batched' | 'eager';
3726
+
3705
3727
  /**
3706
3728
  * Incrementally-maintained session summary.
3707
3729
  *
@@ -4117,6 +4139,10 @@ export declare interface Settings {
4117
4139
  * Disable the background-agents fleet (`claude agents`, `--bg`, /background, the on-demand daemon). Typically set in managed settings. Equivalent to CLAUDE_CODE_DISABLE_AGENTS_FLEET=1.
4118
4140
  */
4119
4141
  disableBackgroundAgents?: boolean;
4142
+ /**
4143
+ * Disable Remote Control (claude.ai/code, `claude remote-control`, `--remote-control`/`--rc`, auto-start, and the in-session toggle). Typically set in managed settings.
4144
+ */
4145
+ disableRemoteControl?: boolean;
4120
4146
  /**
4121
4147
  * 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.
4122
4148
  */
@@ -4980,11 +5006,11 @@ export declare interface Settings {
4980
5006
  autoSubmit?: boolean;
4981
5007
  };
4982
5008
  /**
4983
- * Teams/Enterprise opt-in for channel notifications (MCP servers with the claude/channel capability pushing inbound messages). Default off. Set true to allow; users then select servers via --channels.
5009
+ * Managed-org opt-in for channel notifications (MCP servers with the claude/channel capability pushing inbound messages). claude.ai Teams/Enterprise: default off. Console: default on unless managed settings exist. Set true to allow; users then select servers via --channels.
4984
5010
  */
4985
5011
  channelsEnabled?: boolean;
4986
5012
  /**
4987
- * Teams/Enterprise allowlist of channel plugins. When set, replaces the default Anthropic allowlist — admins decide which plugins may push inbound messages. Undefined falls back to the default. Requires channelsEnabled: true.
5013
+ * Managed-org allowlist of channel plugins. When set, replaces the default Anthropic allowlist — admins decide which plugins may push inbound messages. Undefined falls back to the default. Requires channelsEnabled: true.
4988
5014
  */
4989
5015
  allowedChannelPlugins?: {
4990
5016
  marketplace: string;
@@ -5489,6 +5515,10 @@ export declare type UserPromptSubmitHookSpecificOutput = {
5489
5515
  hookEventName: 'UserPromptSubmit';
5490
5516
  additionalContext?: string;
5491
5517
  sessionTitle?: string;
5518
+ /**
5519
+ * When decision is "block", omit the original prompt from the block message
5520
+ */
5521
+ suppressOriginalPrompt?: boolean;
5492
5522
  };
5493
5523
 
5494
5524
  /**