@anthropic-ai/claude-agent-sdk 0.3.289 → 0.3.290

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,54 +1,53 @@
1
1
  {
2
- "version": "2.1.289",
2
+ "version": "2.1.290",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "736d26eef42d1e3017e07e6d5bd0970b8c3a068f",
5
- "modsCommit": "52c76441cae91f6891e4712306bffb057ff6fec5",
6
- "buildDate": "2026-10-03T19:38:35Z",
4
+ "commit": "3897a65075994f4efddcf34b4a32ea7c7c5ebc13",
5
+ "modsCommit": "2bfb629dfaff0c8318047a4beb93cf1dc5b58b18",
6
+ "buildDate": "2026-10-05T16:35:05Z",
7
7
  "platforms": {
8
8
  "darwin-arm64": {
9
9
  "binary": "claude",
10
- "checksum": "03d66745e3bb69ec727d66023696f3820bc0a00a8a5ba725eb6706d0c67cbe69",
11
- "size": 229616464
10
+ "checksum": "b8412a3826b2dc8ecb1c0605970c28dea28355de5faa740407dd881acdd40237",
11
+ "size": 233260816
12
12
  },
13
13
  "darwin-x64": {
14
14
  "binary": "claude",
15
- "checksum": "358aa0e31666c48b2340ad9fa4003436105086ca12e1ecd4c5266d18598c2f7f",
16
- "size": 238082176
15
+ "checksum": "c3b1cb200701ce02fd5000cad06cdfab9858773a03ffc9c6483a2f35eae0c358",
16
+ "size": 241731328
17
17
  },
18
18
  "linux-arm64": {
19
19
  "binary": "claude",
20
- "checksum": "d100d5e41dcbee220c80d3a3099292e4b5a508b57cafd181856efedf29f84f28",
21
- "size": 245489656
20
+ "checksum": "24c31a685e363190c165353f10b4e8434fd22647c1dd76eb6d2a05634eb60b95",
21
+ "size": 249094136
22
22
  },
23
23
  "linux-x64": {
24
24
  "binary": "claude",
25
- "checksum": "a186b99e4a9c88366cd49df2f7dad56c61fc306ef0140b19ee64b7c42a8d1348",
26
- "size": 246107320
25
+ "checksum": "ea38ee1a1f946eea9bc6e97fb912dbe71fc379b25cc605d91b308afa1ca08be7",
26
+ "size": 249687224
27
27
  },
28
28
  "linux-arm64-musl": {
29
29
  "binary": "claude",
30
- "checksum": "e9dfa4a0df412a1204c6a5efe3964c0e9f36f05fd86ebec1d9c84abf333e7d65",
31
- "size": 237844288
30
+ "checksum": "38493501b8d1d8d75a921734487c192557bc189f12becc31133c56f7f48f908b",
31
+ "size": 241383232
32
32
  },
33
33
  "linux-x64-musl": {
34
34
  "binary": "claude",
35
- "checksum": "a35123e65344b82ab10870f5842cac7e593e4a56b1f6bddaed96bd9b9d42953d",
36
- "size": 239853656
35
+ "checksum": "b969a855d7da25b483c0962eac5c758b0044a153045ab834dda79ba2f040f397",
36
+ "size": 243437656
37
37
  },
38
38
  "win32-x64": {
39
39
  "binary": "claude.exe",
40
- "checksum": "bcc6d9117aec30ad9414490302a25414359c871f5647e32e49b055c92bf84e0b",
41
- "size": 249522848
40
+ "checksum": "467d3dff9d6bbb26ab765284490a200dd713ee5778c55662007240e7e86386b2",
41
+ "size": 253090464
42
42
  },
43
43
  "win32-arm64": {
44
44
  "binary": "claude.exe",
45
- "checksum": "fc96c5a93fb84972332fd6fb55895829e55005106e3e5ad6d8153f1eb6762f91",
46
- "size": 237045408
45
+ "checksum": "96d0243e096a910f4d30cfca26cd9599ce7c301b097a818e93a869d07288d599",
46
+ "size": 240615072
47
47
  }
48
48
  },
49
49
  "sdkCompat": {
50
50
  "testedWrapperVersions": [
51
- "0.3.250",
52
51
  "0.3.251",
53
52
  "0.3.252",
54
53
  "0.3.257",
package/manifest.zst.json CHANGED
@@ -1,62 +1,61 @@
1
1
  {
2
- "version": "2.1.289",
2
+ "version": "2.1.290",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "736d26eef42d1e3017e07e6d5bd0970b8c3a068f",
5
- "modsCommit": "52c76441cae91f6891e4712306bffb057ff6fec5",
6
- "buildDate": "2026-10-03T19:39:42Z",
4
+ "commit": "3897a65075994f4efddcf34b4a32ea7c7c5ebc13",
5
+ "modsCommit": "2bfb629dfaff0c8318047a4beb93cf1dc5b58b18",
6
+ "buildDate": "2026-10-05T16:36:16Z",
7
7
  "platforms": {
8
8
  "darwin-arm64": {
9
9
  "binary": "claude.zst",
10
- "checksum": "44404b386c30be106533bbd260b689d22cedb6956a6ae70118ba96a32711a82b",
11
- "size": 76604429,
10
+ "checksum": "45d9bf95d7acfd50c2baceca874110da4b5031a6483248daa95769d98a4b90e4",
11
+ "size": 77725283,
12
12
  "bundle": {
13
- "checksum": "ee67e3f1ea60471c9e78f7c4b1cf30be832862afeec0b80805207d3eee140046",
14
- "size": 76620437
13
+ "checksum": "5601f512d99646f5f494f7ba61140646b6ac378db5394f6d2faf233f7c1afcc3",
14
+ "size": 77737596
15
15
  }
16
16
  },
17
17
  "darwin-x64": {
18
18
  "binary": "claude.zst",
19
- "checksum": "104d246d33eecb9750b26eecae258ec81bb02cf8cda8ccd6cbc2d00f6664d176",
20
- "size": 80786935,
19
+ "checksum": "3285554867ceaffbb56e5b2b8e8935a7e38e2a6c72af83ec3b27a22481cb069d",
20
+ "size": 81940184,
21
21
  "bundle": {
22
- "checksum": "1a416eb22c68a7a35ad50a28a6eaa56227ddb50ea661786ffb67677b134894ac",
23
- "size": 80788940
22
+ "checksum": "a8c014583bac41261d5da40c162b4209529a5df4f8c58683c4cb4506c46e8369",
23
+ "size": 81942828
24
24
  }
25
25
  },
26
26
  "linux-arm64": {
27
27
  "binary": "claude.zst",
28
- "checksum": "9bae454cf4f886a2c7833746a9253d877b65c24c4c4403689a573bc47bf4b35a",
29
- "size": 85691403
28
+ "checksum": "a380389213f15f62e57f5e216b1c63cc10f6f039d75cc60d1952d1595dc5a968",
29
+ "size": 86820953
30
30
  },
31
31
  "linux-x64": {
32
32
  "binary": "claude.zst",
33
- "checksum": "66f72a868a42ca10e5462ab78a88fd9f5576486f59b32a0afc5910ab4b73b765",
34
- "size": 86429541
33
+ "checksum": "a88616f640519c16f523cf1e9083a9ddf3b59da44edf8217e784426accf6e0e1",
34
+ "size": 87545356
35
35
  },
36
36
  "linux-arm64-musl": {
37
37
  "binary": "claude.zst",
38
- "checksum": "84f9baadb049624c58165510498427269ce0c07b31d597ac21c370808c359549",
39
- "size": 84096543
38
+ "checksum": "b765c7ec97c52ed875c6b30696833134d38681f56241173435c8322ca48d5e15",
39
+ "size": 85216928
40
40
  },
41
41
  "linux-x64-musl": {
42
42
  "binary": "claude.zst",
43
- "checksum": "4ef0cfc150a4c8cf82bd4a726828980aae965e6db8084d00191befab9234f123",
44
- "size": 84854125
43
+ "checksum": "5d77e2ad5af983e292bb51b8feb4b06c72677517c3c7b44aebe7a9ec8935df4b",
44
+ "size": 85978900
45
45
  },
46
46
  "win32-x64": {
47
47
  "binary": "claude.exe.zst",
48
- "checksum": "e1f0154146bb2618ea9943fa25778362182f8f1bf6c65f8dfd1a68a9a1d2b897",
49
- "size": 88725729
48
+ "checksum": "97bbb88194cd5efb63b1628619027ea9a7ecdf44c9112a2bb8f8ee924789741b",
49
+ "size": 89837495
50
50
  },
51
51
  "win32-arm64": {
52
52
  "binary": "claude.exe.zst",
53
- "checksum": "2ddfd5eeaff95051dc32e0b03e441f97fc10af43747402194fa7793e21827348",
54
- "size": 85047493
53
+ "checksum": "b11834fd3b719e1a57fceea602fb6f70ad18d5fbb92c62f5c278918b0ccdb557",
54
+ "size": 86199542
55
55
  }
56
56
  },
57
57
  "sdkCompat": {
58
58
  "testedWrapperVersions": [
59
- "0.3.250",
60
59
  "0.3.251",
61
60
  "0.3.252",
62
61
  "0.3.257",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.289",
3
+ "version": "0.3.290",
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.289",
65
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.289",
66
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.289",
67
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.289",
68
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.289",
69
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.289",
70
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.289",
71
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.289"
64
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.290",
65
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.290",
66
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.290",
67
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.290",
68
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.290",
69
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.290",
70
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.290",
71
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.290"
72
72
  },
73
73
  "files": [
74
74
  "sdk.mjs",
@@ -85,8 +85,8 @@
85
85
  "extractFromBunfs.d.ts",
86
86
  "manifest.json",
87
87
  "manifest.zst.json",
88
- "core-8p15jxca.mjs",
89
- "core-repw6452.mjs"
88
+ "core-29pt3grd.mjs",
89
+ "core-ygywjedj.mjs"
90
90
  ],
91
- "claudeCodeVersion": "2.1.289"
91
+ "claudeCodeVersion": "2.1.290"
92
92
  }
package/sdk-tools.d.ts CHANGED
@@ -44,6 +44,7 @@ export type ToolInputSchemas =
44
44
  | ScheduleWakeupInput
45
45
  | RemoteTriggerInput
46
46
  | ShowOnboardingRolePickerInput
47
+ | OfferChromeSetupInput
47
48
  | ReadNotificationsInput
48
49
  | MonitorInput
49
50
  | ProposeSkillsInput
@@ -84,6 +85,7 @@ export type ToolOutputSchemas =
84
85
  | ArtifactOutput
85
86
  | RemoteTriggerOutput
86
87
  | ShowOnboardingRolePickerOutput
88
+ | OfferChromeSetupOutput
87
89
  | ReadNotificationsOutput
88
90
  | ScheduleWakeupOutput
89
91
  | MonitorOutput
@@ -1097,6 +1099,10 @@ export interface WebFetchInput {
1097
1099
  * The prompt to run on the fetched content
1098
1100
  */
1099
1101
  prompt: string;
1102
+ /**
1103
+ * Character position in the page text to start reading from. Use it to read on through a page too long for one call, with the value the previous result gave.
1104
+ */
1105
+ offset?: number;
1100
1106
  }
1101
1107
  export interface WebSearchInput {
1102
1108
  /**
@@ -2946,6 +2952,12 @@ export interface RemoteTriggerInput {
2946
2952
  };
2947
2953
  }
2948
2954
  export interface ShowOnboardingRolePickerInput {}
2955
+ export interface OfferChromeSetupInput {
2956
+ /**
2957
+ * A short phrase naming what the task needs the user's own browser for.
2958
+ */
2959
+ reason?: string;
2960
+ }
2949
2961
  export interface ReadNotificationsInput {}
2950
2962
  export interface MonitorInput {
2951
2963
  /**
@@ -4015,6 +4027,9 @@ export interface ShowOnboardingRolePickerOutput {
4015
4027
  role?: string;
4016
4028
  dismissed?: boolean;
4017
4029
  }
4030
+ export interface OfferChromeSetupOutput {
4031
+ outcome: "connected" | "not_now" | "no_attempt_yet";
4032
+ }
4018
4033
  export interface ReadNotificationsOutput {
4019
4034
  notifications: {
4020
4035
  /**
package/sdk.d.ts CHANGED
@@ -3621,7 +3621,7 @@ export declare type SDKAssistantMessage = {
3621
3621
  session_id: string;
3622
3622
  request_id?: string;
3623
3623
  /**
3624
- * Client uuid of the user message this turn is answering (submitMessage options.uuid), stamped on an assistant message each time that send changes — the turn's FIRST top-level assistant message (which may carry only a thinking block, or be a synthetic API-error message), and then, for a turn started by a synthetic (meta) prompt, the first assistant message after each queued user message folded in mid-turn (the fold takes the echo over); with --include-partial-messages the turn's first non-ping stream event is stamped too, independently (see SDKPartialAssistantMessage), so the same uuid may appear on both — either binds the reply to the send it answers without waiting for the result; the server keeps the first stamp it sees per uuid. A turn started by a typed prompt keeps that uuid for its whole turn, so it stamps once per frame kind. A meta turn's own uuid is stamped only when the host vouches it is the client event's own (on a hosted session, the uuid the session server persisted: delivered content such as a Slack owner ping, a Slack-bot observation or a client-injected synthetic turn), never for a prompt the CLI minted itself — except that the boot-time rescue turn re-running a turn a worker restart interrupted mid-way stamps the interrupted turn's own last user prompt (with resume_reason), the send that re-run answers; either way a user message folded into a meta turn takes the echo over from it (the rescue turn absorbing messages sent while the session was down; a bot-observation turn absorbing a human's post), and the first reply frame of each kind after that fold carries the folded message's uuid — the first reply that message got. Wrapper-level sibling — never inside `message.content` — so it is not replayed to the model. Absent on every other frame of the turn, on subagent frames (parent_tool_use_id set), on turns that neither had a client uuid nor folded a user message in, and from older producers.
3624
+ * Client uuid of the user message this turn is answering (submitMessage options.uuid), stamped on an assistant message each time that send changes — the turn's FIRST top-level assistant message (which may carry only a thinking block, or be a synthetic API-error message), and then, for a turn started by a synthetic (meta) prompt, the first assistant message after each queued user message folded in mid-turn (the fold takes the echo over); with --include-partial-messages the turn's first non-ping stream event is stamped too, independently (see SDKPartialAssistantMessage), so the same uuid may appear on both — either binds the reply to the send it answers without waiting for the result; the server keeps the first stamp it sees per uuid. A turn started by a typed prompt keeps that uuid for its whole turn, so it stamps once per frame kind. A meta turn's own uuid is stamped only when the host vouches it is the client event's own (on a hosted session, the uuid the session server persisted: delivered content such as a Slack owner ping, a Slack-bot observation or a client-injected synthetic turn), never for a prompt the CLI minted itself — except that a turn carrying resume_reason, such as the boot-time rescue turn re-running a turn a worker restart interrupted mid-way, stamps the interrupted turn's own last user prompt, the send it answers, where that can be vouched for (a turn that goes on from a permission answer or from in-flight tool calls may first re-send, unstamped, the assistant message that made those calls); either way a user message folded into a meta turn takes the echo over from it (the rescue turn absorbing messages sent while the session was down; a bot-observation turn absorbing a human's post), and the first reply frame of each kind after that fold carries the folded message's uuid — the first reply that message got. Wrapper-level sibling — never inside `message.content` — so it is not replayed to the model. Absent on every other frame of the turn, on subagent frames (parent_tool_use_id set), on turns that neither had a client uuid nor folded a user message in, and from older producers.
3625
3625
  */
3626
3626
  user_message_uuid?: string;
3627
3627
  /**
@@ -3629,7 +3629,7 @@ export declare type SDKAssistantMessage = {
3629
3629
  */
3630
3630
  user_message_uuids?: string[];
3631
3631
  /**
3632
- * Why this frame's turn is the automatic re-run of a turn a worker restart interrupted (CLAUDE_CODE_RESUME_INTERRUPTED_TURN): the host's CLAUDE_CODE_RESUME_REASON when it set one (host_draining, checkpoint_restore, container_recreated, …), else 'interrupted_turn'. Stamped on the same reply frames as user_message_uuid (which on such a re-run names the interrupted turn's own last user prompt), so a consumer can tell the re-run's first reply from the interrupted attempt's. Absent on every other turn, on thinking_tokens frames, and from older producers.
3632
+ * Why this frame's turn continues one that a worker restart interrupted. Such a turn is the automatic re-run of the interrupted turn (CLAUDE_CODE_RESUME_INTERRUPTED_TURN), or one that goes on from the answer to the permission prompt the new worker took over, or from that turn's tool calls still in flight. The value is the host's CLAUDE_CODE_RESUME_REASON when it set one (host_draining, checkpoint_restore, container_recreated, …), else 'interrupted_turn'. Stamped on the same reply frames as user_message_uuid (which on such a turn names the interrupted turn's own last user prompt), so a consumer can tell its first reply from the interrupted attempt's. Absent on every other turn (also one that goes on from the answer to any other permission prompt), on thinking_tokens frames, and from older producers.
3633
3633
  */
3634
3634
  resume_reason?: string;
3635
3635
  /**
@@ -4528,11 +4528,13 @@ declare type SDKControlInitializeRequest = {
4528
4528
  * Dialog kinds (request_user_dialog `dialog_kind` values) this consumer's onUserDialog can actually render. The CLI treats ABSENCE as 'cannot display' and fails closed: without the kind declared here, a dialog-gated flow degrades to its no-dialog behavior (for 'refusal_fallback_prompt', the classic refusal error) instead of parking a dialog the consumer may mishandle. First-attached-client-wins on multi-client sessions; later initializes do not change it.
4529
4529
  */
4530
4530
  supportedDialogKinds?: string[];
4531
+
4531
4532
  /**
4532
4533
  * Declares that this consumer renders a per-task stop control wired to the `stop_task` control request, so the user can stop an individual background task. When declared, an interrupt on an open-input (interactive stream-json) session spares running background agents/workflows (Stop only aborts the turn). Closed-input exception: a one-shot run (string prompt / -p closes stdin) still kills hold-back tasks at the held-result release regardless of the declaration — with stdin closed, a stop_task control could never be delivered, so the fail-closed kill stands. ABSENCE also fails closed: the interrupt kills background tasks, since the user would otherwise have no way to stop a runaway one. First-attached-client-wins on multi-client sessions; later initializes do not change it.
4533
4534
  */
4534
4535
  perTaskStopAffordance?: boolean;
4535
4536
 
4537
+
4536
4538
  /**
4537
4539
  * Plugins to load for the session, in the same shape as the SDK `plugins` option: the stdin form of one --plugin-dir flag per entry (--plugin-dir-no-mcp when skipMcpDiscovery is set), so the launch command line does not grow with the plugin count. Loaded only by a CLI launched with --await-initialize, which reads this request during startup before any plugin work. Without that flag, on a repeated initialize, or over a remote session transport the field loads nothing; plugins_applied in the response reports whether the listed plugins are in fact loaded.
4538
4540
  */
@@ -4605,6 +4607,7 @@ declare type SDKControlInterruptRequest = {
4605
4607
  cancel_queued?: boolean;
4606
4608
 
4607
4609
 
4610
+
4608
4611
  };
4609
4612
 
4610
4613
  /**
@@ -4616,6 +4619,7 @@ export declare type SDKControlInterruptResponse = {
4616
4619
  */
4617
4620
  still_queued: string[];
4618
4621
 
4622
+
4619
4623
  /**
4620
4624
  * Present only when the request set cancel_queued:true — uuids of main-thread commands cancelled by this interrupt: every survivor that would otherwise have appeared under `still_queued`, including any uuid that was mid-fold at the interrupt instant (this request also aborts, so the fold never delivers it). Each listed uuid has been removed (queue-resident) or marked cancel-pending (the first-command prewait window, closed by the drain loop's backstop) and emits a terminal 'cancelled' lifecycle synchronously at the first such interrupt (a repeat interrupt over the same parked batch re-lists the uuid idempotently without re-emitting); none will run. Same coverage caveats as `still_queued` (uuid-stamped main-thread only; internally-enqueued uuids may appear). Advertised by the `interrupt_cancel_queued_v1` capability.
4621
4625
  */
@@ -5499,7 +5503,7 @@ export declare type SDKPartialAssistantMessage = {
5499
5503
  */
5500
5504
  user_message_uuids?: string[];
5501
5505
  /**
5502
- * Why this frame's turn is the automatic re-run of a turn a worker restart interrupted (CLAUDE_CODE_RESUME_INTERRUPTED_TURN): the host's CLAUDE_CODE_RESUME_REASON when it set one (host_draining, checkpoint_restore, container_recreated, …), else 'interrupted_turn'. Stamped on the same reply frames as user_message_uuid (which on such a re-run names the interrupted turn's own last user prompt), so a consumer can tell the re-run's first reply from the interrupted attempt's. Absent on every other turn, on thinking_tokens frames, and from older producers.
5506
+ * Why this frame's turn continues one that a worker restart interrupted. Such a turn is the automatic re-run of the interrupted turn (CLAUDE_CODE_RESUME_INTERRUPTED_TURN), or one that goes on from the answer to the permission prompt the new worker took over, or from that turn's tool calls still in flight. The value is the host's CLAUDE_CODE_RESUME_REASON when it set one (host_draining, checkpoint_restore, container_recreated, …), else 'interrupted_turn'. Stamped on the same reply frames as user_message_uuid (which on such a turn names the interrupted turn's own last user prompt), so a consumer can tell its first reply from the interrupted attempt's. Absent on every other turn (also one that goes on from the answer to any other permission prompt), on thinking_tokens frames, and from older producers.
5503
5507
  */
5504
5508
  resume_reason?: string;
5505
5509
  };
@@ -5708,7 +5712,7 @@ export declare type SDKResultError = {
5708
5712
  */
5709
5713
  user_message_uuids?: string[];
5710
5714
  /**
5711
- * Why this turn was the automatic re-run of a turn a worker restart interrupted (CLAUDE_CODE_RESUME_INTERRUPTED_TURN): the host's CLAUDE_CODE_RESUME_REASON when it set one (host_draining, checkpoint_restore, container_recreated, …), else 'interrupted_turn'. Present on a headless re-run's result, success or error, with or without an echo (a re-run whose opener could not be vouched still carries the reason); absent on every other turn, on the Remote Control bridge's per-turn synthetic results, and from older producers.
5715
+ * Why this turn continued one that a worker restart interrupted. Such a turn is the automatic re-run of the interrupted turn (CLAUDE_CODE_RESUME_INTERRUPTED_TURN), or one that goes on from the answer to the permission prompt the new worker took over, or from that turn's tool calls still in flight. The value is the host's CLAUDE_CODE_RESUME_REASON when it set one (host_draining, checkpoint_restore, container_recreated, …), else 'interrupted_turn'. Present on such a headless turn's result, success or error, with or without an echo (a turn whose opening user prompt could not be vouched for still carries the reason); absent on every other turn (also one that goes on from the answer to any other permission prompt), on the Remote Control bridge's per-turn synthetic results, and from older producers.
5712
5716
  */
5713
5717
  resume_reason?: string;
5714
5718
  terminal_reason?: TerminalReason;
@@ -5743,6 +5747,8 @@ export declare type SDKResultSuccess = {
5743
5747
 
5744
5748
 
5745
5749
 
5750
+
5751
+
5746
5752
  user_message_uuid?: string;
5747
5753
  user_message_uuids?: string[];
5748
5754
  resume_reason?: string;
@@ -6289,6 +6295,7 @@ export declare type SDKUserMessage = {
6289
6295
 
6290
6296
 
6291
6297
 
6298
+
6292
6299
  uuid?: UUID;
6293
6300
  /**
6294
6301
  * Content the user pasted into the prompt rather than typed: each entry a string or an array of content blocks. The CLI appends the text of each entry after the typed text, in order, and may wrap it in `<pasted_content>` tags. Blocks other than text are ignored; send images and documents in `message.content`.
@@ -6378,6 +6385,7 @@ export declare type SDKUserMessageReplay = {
6378
6385
 
6379
6386
 
6380
6387
 
6388
+
6381
6389
  uuid: UUID;
6382
6390
  session_id: string;
6383
6391
  isReplay: true;
@@ -6906,7 +6914,7 @@ export declare interface Settings {
6906
6914
  */
6907
6915
  disabledMcpjsonServers?: string[];
6908
6916
  /**
6909
- * When true in any settings source, claude.ai MCP cloud connectors are not auto-fetched or connected. Only gates auto-fetched connectors — a claudeai-proxy server passed explicitly (e.g. via --mcp-config or the SDK mcpServers option) still follows the normal MCP config trust flow. Any-source-true wins: a project can opt out, but a project-level false cannot override a user-level true.
6917
+ * When true in any settings source, claude.ai MCP cloud connectors are not auto-fetched or connected, and a claudeai-proxy server passed explicitly (e.g. via --mcp-config or the SDK mcpServers option) does not connect either. Any-source-true wins: a project can opt out, but a project-level false cannot override a user-level true.
6910
6918
  */
6911
6919
  disableClaudeAiConnectors?: boolean;
6912
6920
  /**
@@ -9221,6 +9229,10 @@ export declare interface Settings {
9221
9229
  * Precompute the compaction summary in the background before it is needed. Only applies when auto-compact is on.
9222
9230
  */
9223
9231
  precomputeCompactionEnabled?: boolean;
9232
+ /**
9233
+ * Set to false to stop Claude Code from compacting a long conversation while the session is idle. Setting it to true does not turn idle compaction on.
9234
+ */
9235
+ idleCompaction?: boolean;
9224
9236
  /**
9225
9237
  * When safeguards flag a message, automatically switch to a different model to keep chatting. When off, your session will pause instead.
9226
9238
  */