@anthropic-ai/claude-agent-sdk 0.3.196 → 0.3.198

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.196",
3
- "commit": "a4ca500badcac68511fb5f04303e32e4360f3dfb",
4
- "buildDate": "2026-06-29T01:55:28Z",
2
+ "version": "2.1.198",
3
+ "commit": "b80c496480ebf28e6dfe755cf0b8e3dd1d7cba1f",
4
+ "buildDate": "2026-07-01T06:17:25Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "6fc6e61ab7582c2bf241225ff90d9f79e91d69380cb9589fc9dedd3a30070f5a",
9
- "size": 225782608
8
+ "checksum": "ab6f7ee109816ede414f7c285446633f805b623aa609f425609a64266451d61e",
9
+ "size": 229328464
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "32c74d66e27b9ca77aea638fc46cb11c90470bd0d294b2a981065da8896d1ee0",
14
- "size": 235139408
13
+ "checksum": "280b6cfc60dacc4caed31af1249e53c259c01759556e60633944c02405c82dd0",
14
+ "size": 238706000
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "05aa9189d335d1e921ca9608acd699193e661559aff56704456ce5bda6fd4dd8",
19
- "size": 242203376
18
+ "checksum": "99b50a6f2b1f3ef07bcaf1e58a2f9883c470c84e428afa321972b1aa20372e9a",
19
+ "size": 245742320
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "eb933c6dd5534db89b83ba09009d5c0932bd1395f7e3bb0f34ba37eec37bbade",
24
- "size": 245373752
23
+ "checksum": "7066af42a5fe93038c13af5072d4c034dc3928092cb121fdd892c76b94b6b84d",
24
+ "size": 248900408
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "0591ff8e1378d3773c85456d0c812bf79b333cac2d06396cd076ecfc75022ba4",
29
- "size": 235451576
28
+ "checksum": "88cb391085e419457569bcc57a672f734f30b424e17df7323f3bbb421238e801",
29
+ "size": 238990520
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "fa7e93303ea5eda7defce9f70f360c1f951b06f9f36b03296baffbade512049f",
34
- "size": 240058752
33
+ "checksum": "42892159a03bee492926b616b1270313544f7a52b68d32cb680e91984a4c6659",
34
+ "size": 243589504
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "180d7b279455e8b89d4353a5146447be2f80b80fb0db14bdc6dd9cb98c0aef09",
39
- "size": 235977376
38
+ "checksum": "6afd07cb03aa981c5e918808f53a1e2b729015b695122a944f6e41aaf5393933",
39
+ "size": 239292064
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "882ed64ae93385067bff7b1e1d1975898f1cbca739dff322e0e370cd2db3e6ed",
44
- "size": 230444704
43
+ "checksum": "10a6d21332f674c87f52b1dc09926945d0169f1bb82aced84ada100639ab70bc",
44
+ "size": 233758880
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.196",
3
- "commit": "a4ca500badcac68511fb5f04303e32e4360f3dfb",
4
- "buildDate": "2026-06-29T01:57:03Z",
2
+ "version": "2.1.198",
3
+ "commit": "b80c496480ebf28e6dfe755cf0b8e3dd1d7cba1f",
4
+ "buildDate": "2026-07-01T06:19:10Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "10fed08630de5ee96d282bd46468c8846fe2efcf912ffb7081b6100b82bb1b41",
9
- "size": 46562853,
8
+ "checksum": "7bc5ee873344f53ca0ea0d7ae48c77c3787aa8f437d5aeb33a6a6d83ab8d813f",
9
+ "size": 47036104,
10
10
  "bundle": {
11
- "checksum": "17bb23e00ade792182c1b1b77007ab76de6eb6aea6f297a44a0b1d4634aa62c7",
12
- "size": 46573556
11
+ "checksum": "e84cec46ebd581937b5128e7be4f3e8788b13947bf4040a699d3404478f4bc57",
12
+ "size": 47034441
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "bff7cdb27a7020d6b21fbe5d4d4d41f59531172c7927f9599e533bf342dd9fb4",
18
- "size": 50891667,
17
+ "checksum": "b70b7a3d9f3fdb675e119bca0c1632d810aacdefadee1da5e82ebb77cbabd124",
18
+ "size": 51377668,
19
19
  "bundle": {
20
- "checksum": "b7738d70a60a7097dfcc35b54bc13030671339790b6b9fa90c5d31ac4d9ed486",
21
- "size": 50896401
20
+ "checksum": "c8eb65cce724f80d4467c9850e0643cbab91e1d66fa88b21ea17f398c7835d50",
21
+ "size": 51390885
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "6be5c69d32441ee7ee5d75c61816c3011422de98d9584b0cde45daa2bb4c675f",
27
- "size": 55673912
26
+ "checksum": "4d9f42ab338ead6a6e9b9738a6d1ec7ba9a0737acbc8cf7f09099172b6ff16d7",
27
+ "size": 56120743
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "8d9b31a9309541e63e201d64f04ced4b4603b4c91bf579645c1f95f56fca737c",
32
- "size": 56938352
31
+ "checksum": "dc7986a7fad5958bfe4bf9eaf14936da2bafb283de7b80ca3e2e1878620873fe",
32
+ "size": 57376892
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "1f2fcfc247efba1c882451de9c51c399c7e1fc3910c575660a543d43c6b8d92e",
37
- "size": 54346444
36
+ "checksum": "55c5691e89c947a04777a7e2711c7bfe1589cf1783ff47ae25ad277bef9f4aeb",
37
+ "size": 54805858
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "d0108bfbd32283b7ecafdd13f6433d525fd4741264bdfb921314dffec3a7ea83",
42
- "size": 55731691
41
+ "checksum": "d0eecbaa59489d9282fbfccabf010feadb3c212e6a40b7e3e112d1c07c6cf300",
42
+ "size": 56180603
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "6a5543df854f30efe169b2e2f5609f4dd6b85db8eaba0e2a65ef335ac0e96998",
47
- "size": 57049291
46
+ "checksum": "f9ce31065214cba9a1838b4eafd00f004002389a1ee87c45ca00d901fbc03129",
47
+ "size": 57521925
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "5adb89a3270336fc9598cf4b5b2ab4cebf48b41f8fdaa45fdaa2a5578c33f45d",
52
- "size": 55081320
51
+ "checksum": "f4c7b7c80da3f07dea7d13530eeea321db4380a9da4bc1a1010c13e7e8ea6736",
52
+ "size": 55546586
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.196",
3
+ "version": "0.3.198",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "exports": {
@@ -57,14 +57,14 @@
57
57
  "zod": "^4.0.0"
58
58
  },
59
59
  "optionalDependencies": {
60
- "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.196",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.196",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.196",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.196",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.196",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.196",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.196",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.196"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.198",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.198",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.198",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.198",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.198",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.198",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.198",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.198"
68
68
  },
69
69
  "files": [
70
70
  "sdk.mjs",
@@ -80,5 +80,5 @@
80
80
  "manifest.json",
81
81
  "manifest.zst.json"
82
82
  ],
83
- "claudeCodeVersion": "2.1.196"
83
+ "claudeCodeVersion": "2.1.198"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -428,7 +428,7 @@ export interface AgentInput {
428
428
  */
429
429
  model?: "sonnet" | "opus" | "haiku" | "fable";
430
430
  /**
431
- * Set to true to run this agent in the background. You will be notified when it completes.
431
+ * Agents run in the background by default; you will be notified when one completes. Set to false to run this agent synchronously when you need its result before continuing.
432
432
  */
433
433
  run_in_background?: boolean;
434
434
  /**
@@ -630,7 +630,7 @@ export interface GrepInput {
630
630
  }
631
631
  export interface TaskStopInput {
632
632
  /**
633
- * The ID of the background task to stop
633
+ * The ID of the background task to stop. Agent-team teammates and named background agents are also accepted by agent ID or name.
634
634
  */
635
635
  task_id?: string;
636
636
  /**
@@ -3271,6 +3271,10 @@ export interface AskUserQuestionOutput {
3271
3271
  notes?: string;
3272
3272
  };
3273
3273
  };
3274
+ /**
3275
+ * Set when the dialog auto-resolved after this many milliseconds of idle (user away from keyboard). Absent on every human-resolved path.
3276
+ */
3277
+ afkTimeoutMs?: number;
3274
3278
  }
3275
3279
  export interface EnterWorktreeOutput {
3276
3280
  worktreePath: string;
@@ -3327,7 +3331,13 @@ export interface ArtifactOutput {
3327
3331
  path: string;
3328
3332
  title?: string;
3329
3333
  version?: string;
3330
- mcpDropped?: string;
3334
+ capabilities?: unknown;
3335
+ stored?: {
3336
+ contract: string;
3337
+ capabilities?: {
3338
+ [k: string]: unknown;
3339
+ };
3340
+ };
3331
3341
  }
3332
3342
  export interface RemoteTriggerOutput {
3333
3343
  status: number;
package/sdk.d.ts CHANGED
@@ -496,7 +496,7 @@ export declare function deleteSession(_sessionId: string, _options?: SessionMuta
496
496
  * - `'low'` — Minimal thinking, fastest responses
497
497
  * - `'medium'` — Moderate thinking
498
498
  * - `'high'` — Deep reasoning (default)
499
- * - `'xhigh'` — Deeper than high (Fable 5, Opus 4.7+; falls back to `'high'` elsewhere)
499
+ * - `'xhigh'` — Deeper than high (Fable 5, Opus 4.7+, Sonnet 5; falls back to `'high'` elsewhere)
500
500
  * - `'max'` — Maximum effort (select models only)
501
501
  */
502
502
  export declare type EffortLevel = 'low' | 'medium' | 'high' | 'xhigh' | 'max';
@@ -985,6 +985,7 @@ export declare type McpHttpServerConfig = {
985
985
  * Per-server tool-call timeout in milliseconds. Overrides the MCP_TOOL_TIMEOUT environment variable for this server. Hard wall-clock limit per call; progress notifications do not extend it. Values below 1000ms are ignored (falls through to MCP_TOOL_TIMEOUT or the default).
986
986
  */
987
987
  timeout?: number;
988
+
988
989
  /**
989
990
  * 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 though MCP startup is otherwise non-blocking by default, since the tools must be present when the turn-1 prompt is built.
990
991
  */
@@ -1099,6 +1100,7 @@ export declare type McpSSEServerConfig = {
1099
1100
  * Per-server tool-call timeout in milliseconds. Overrides the MCP_TOOL_TIMEOUT environment variable for this server. Hard wall-clock limit per call; progress notifications do not extend it. Values below 1000ms are ignored (falls through to MCP_TOOL_TIMEOUT or the default).
1100
1101
  */
1101
1102
  timeout?: number;
1103
+
1102
1104
  /**
1103
1105
  * 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 though MCP startup is otherwise non-blocking by default, since the tools must be present when the turn-1 prompt is built.
1104
1106
  */
@@ -1168,6 +1170,10 @@ export declare type ModelInfo = {
1168
1170
  * Model identifier to use in API calls
1169
1171
  */
1170
1172
  value: string;
1173
+ /**
1174
+ * Canonical wire model id this row's `value` resolves to (e.g. 'sonnet' → 'claude-sonnet-5'). Lets hosts match a persisted explicit id against the alias row that covers it.
1175
+ */
1176
+ resolvedModel?: string;
1171
1177
  /**
1172
1178
  * Human-readable display name
1173
1179
  */
@@ -1197,6 +1203,7 @@ export declare type ModelInfo = {
1197
1203
  */
1198
1204
  supportsAutoMode?: boolean;
1199
1205
 
1206
+
1200
1207
  };
1201
1208
 
1202
1209
  export declare type ModelUsage = {
@@ -1585,8 +1592,8 @@ export declare type Options = {
1585
1592
  * - `'low'` — Minimal thinking, fastest responses
1586
1593
  * - `'medium'` — Moderate thinking
1587
1594
  * - `'high'` — Deep reasoning (default)
1588
- * - `'xhigh'` — Deeper than high (Fable 5, Opus 4.7+)
1589
- * - `'max'` — Maximum effort (Fable 5, Opus 4.6+, Sonnet 4.6)
1595
+ * - `'xhigh'` — Deeper than high (Fable 5, Opus 4.7+, Sonnet 5)
1596
+ * - `'max'` — Maximum effort (Fable 5, Opus 4.6+, Sonnet 4.6+)
1590
1597
  *
1591
1598
  * @see https://docs.anthropic.com/en/docs/build-with-claude/effort
1592
1599
  */
@@ -1637,7 +1644,7 @@ export declare type Options = {
1637
1644
  mcpServers?: Record<string, McpServerConfig>;
1638
1645
  /**
1639
1646
  * Claude model to use. Defaults to the CLI default model.
1640
- * Examples: 'claude-sonnet-4-6', 'claude-opus-4-8', 'claude-fable-5'
1647
+ * Examples: 'claude-sonnet-5', 'claude-opus-4-8', 'claude-fable-5'
1641
1648
  */
1642
1649
  model?: string;
1643
1650
  /**
@@ -1793,7 +1800,7 @@ export declare type Options = {
1793
1800
  *
1794
1801
  * @example Inline settings object
1795
1802
  * ```typescript
1796
- * settings: { model: 'claude-sonnet-4-6', permissions: { allow: ['Bash(*)'] } }
1803
+ * settings: { model: 'claude-sonnet-5', permissions: { allow: ['Bash(*)'] } }
1797
1804
  * ```
1798
1805
  *
1799
1806
  * @example Path to settings file
@@ -3297,6 +3304,13 @@ declare type SDKControlInterruptRequest = {
3297
3304
 
3298
3305
  };
3299
3306
 
3307
+ /**
3308
+ * Requests the worker's selectable model catalog. Fulfills the caps.modelCatalog capability: in a remote thin-client session the worker's provider, settings cascade, and enforcement policy decide which models the session can run, so the thin client must ask rather than read its own getModelOptions().
3309
+ */
3310
+ declare type SDKControlListModelsRequest = {
3311
+ subtype: 'list_models';
3312
+ };
3313
+
3300
3314
  /**
3301
3315
  * Invokes an MCP tool via the subprocess MCP client without a model turn. No permission check (control channel is trusted, same as other subtypes). SDK-type MCP servers (config.type === "sdk") are rejected — they are caller-provided, so the caller can invoke them directly without the subprocess round-trip. Result content passes through the same processing as model-turn MCP calls. Session expiry is not retried automatically; callers can mcp_reconnect and retry. UrlElicitationRequired (-32042) tries Elicitation hooks; if no hook resolves, the call errors with the URL in the message — open it out-of-band, then retry mcp_call.
3302
3316
  */
@@ -3462,7 +3476,7 @@ export declare type SDKControlRequest = {
3462
3476
  request: SDKControlRequestInner;
3463
3477
  };
3464
3478
 
3465
- declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlRenameSessionRequest | SDKControlSetColorRequest | SDKControlMcpStatusRequest | SDKControlGetContextUsageRequest | SDKControlGetSessionCostRequest | SDKControlGetUsageRequest | SDKControlGetBinaryVersionRequest | SDKControlMcpCallRequest | SDKControlFileSuggestionsRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlCancelAsyncMessageRequest | SDKControlReadFileRequest | SDKControlSeedReadStateRequest | SDKControlMcpSetServersRequest | SDKControlRegisterRepoRootRequest | SDKControlReloadPluginsRequest | SDKControlReloadSkillsRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlSetMcpPermissionModeOverrideRequest | SDKControlRewindConversationRequest | SDKControlChannelEnableRequest | SDKControlEndSessionRequest | SDKControlMcpAuthenticateRequest | SDKControlMcpClearAuthRequest | SDKControlMcpOAuthCallbackUrlRequest | SDKControlClaudeAuthenticateRequest | SDKControlClaudeOAuthCallbackRequest | SDKControlClaudeOAuthWaitForCompletionRequest | SDKControlRemoteControlRequest | SDKControlGenerateSessionTitleRequest | SDKControlSideQuestionRequest | SDKControlUltrareviewLaunchRequest | SDKControlStageFileRequest | SDKControlAddDirectoryRequest | SDKControlMessageRatedRequest | SDKControlOAuthTokenRefreshRequest | SDKControlHostAuthTokenRefreshRequest | SDKControlStopTaskRequest | SDKControlBackgroundTasksRequest | SDKControlApplyFlagSettingsRequest | SDKControlGetSettingsRequest | SDKControlElicitationRequest | SDKControlRequestUserDialogRequest | SDKControlSubmitFeedbackRequest;
3479
+ declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlRenameSessionRequest | SDKControlSetColorRequest | SDKControlMcpStatusRequest | SDKControlGetContextUsageRequest | SDKControlGetSessionCostRequest | SDKControlListModelsRequest | SDKControlGetUsageRequest | SDKControlGetBinaryVersionRequest | SDKControlMcpCallRequest | SDKControlFileSuggestionsRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlCancelAsyncMessageRequest | SDKControlReadFileRequest | SDKControlGetWorkspaceDiffRequest | SDKControlGetPlanRequest | SDKControlSeedReadStateRequest | SDKControlMcpSetServersRequest | SDKControlRegisterRepoRootRequest | SDKControlReloadPluginsRequest | SDKControlReloadSkillsRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlSetMcpPermissionModeOverrideRequest | SDKControlRewindConversationRequest | SDKControlChannelEnableRequest | SDKControlEndSessionRequest | SDKControlMcpAuthenticateRequest | SDKControlMcpClearAuthRequest | SDKControlMcpOAuthCallbackUrlRequest | SDKControlClaudeAuthenticateRequest | SDKControlClaudeOAuthCallbackRequest | SDKControlClaudeOAuthWaitForCompletionRequest | SDKControlRemoteControlRequest | SDKControlGenerateSessionTitleRequest | SDKControlSideQuestionRequest | SDKControlUltrareviewLaunchRequest | SDKControlStageFileRequest | SDKControlAddDirectoryRequest | SDKControlMessageRatedRequest | SDKControlOAuthTokenRefreshRequest | SDKControlHostAuthTokenRefreshRequest | SDKControlStopTaskRequest | SDKControlBackgroundTasksRequest | SDKControlApplyFlagSettingsRequest | SDKControlGetSettingsRequest | SDKControlElicitationRequest | SDKControlRequestUserDialogRequest | SDKControlSubmitFeedbackRequest;
3466
3480
 
3467
3481
  /**
3468
3482
  * Requests the SDK consumer to render a tool-driven blocking dialog and return the user choice. Used by tools that previously rendered Ink JSX via setToolJSX with an onDone callback.
@@ -3719,7 +3733,7 @@ export declare type SDKMemoryRecallMessage = {
3719
3733
  session_id: string;
3720
3734
  };
3721
3735
 
3722
- export declare type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage | SDKPartialAssistantMessage | SDKCompactBoundaryMessage | SDKStatusMessage | SDKAPIRetryMessage | SDKModelRefusalFallbackMessage | SDKModelRefusalNoFallbackMessage | SDKLocalCommandOutputMessage | SDKHookStartedMessage | SDKHookProgressMessage | SDKHookResponseMessage | SDKPluginInstallMessage | SDKToolProgressMessage | SDKAuthStatusMessage | SDKTaskNotificationMessage | SDKTaskStartedMessage | SDKTaskUpdatedMessage | SDKTaskProgressMessage | SDKThinkingTokensMessage | SDKSessionStateChangedMessage | SDKWorkerShuttingDownMessage | SDKCommandsChangedMessage | SDKNotificationMessage | SDKFilesPersistedEvent | SDKToolUseSummaryMessage | SDKMemoryRecallMessage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPermissionDeniedMessage | SDKPromptSuggestionMessage | SDKMirrorErrorMessage | SDKInformationalMessage;
3736
+ export declare type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage | SDKPartialAssistantMessage | SDKCompactBoundaryMessage | SDKStatusMessage | SDKAPIRetryMessage | SDKControlRequestProgressMessage | SDKModelRefusalFallbackMessage | SDKModelRefusalNoFallbackMessage | SDKLocalCommandOutputMessage | SDKHookStartedMessage | SDKHookProgressMessage | SDKHookResponseMessage | SDKPluginInstallMessage | SDKToolProgressMessage | SDKAuthStatusMessage | SDKTaskNotificationMessage | SDKTaskStartedMessage | SDKTaskUpdatedMessage | SDKTaskProgressMessage | SDKThinkingTokensMessage | SDKSessionStateChangedMessage | SDKWorkerShuttingDownMessage | SDKCommandsChangedMessage | SDKNotificationMessage | SDKFilesPersistedEvent | SDKToolUseSummaryMessage | SDKMemoryRecallMessage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPermissionDeniedMessage | SDKPromptSuggestionMessage | SDKMirrorErrorMessage | SDKInformationalMessage | SDKConversationResetMessage;
3723
3737
 
3724
3738
  /**
3725
3739
  * Provenance of a user-role message (peer session, team lead, channel). Absent or `human` means keyboard input from the user.
@@ -4859,7 +4873,7 @@ export declare interface Settings {
4859
4873
  */
4860
4874
  timeout?: number;
4861
4875
  /**
4862
- * Model to use for this prompt hook (e.g., "claude-sonnet-4-6"). If not specified, uses the default small fast model.
4876
+ * Model to use for this prompt hook (e.g., "claude-sonnet-5"). If not specified, uses the default small fast model.
4863
4877
  */
4864
4878
  model?: string;
4865
4879
  /**
@@ -4892,7 +4906,7 @@ export declare interface Settings {
4892
4906
  */
4893
4907
  timeout?: number;
4894
4908
  /**
4895
- * Model to use for this agent hook (e.g., "claude-sonnet-4-6"). If not specified, uses Haiku.
4909
+ * Model to use for this agent hook (e.g., "claude-sonnet-5"). If not specified, uses Haiku.
4896
4910
  */
4897
4911
  model?: string;
4898
4912
  /**
@@ -5018,7 +5032,7 @@ export declare interface Settings {
5018
5032
  */
5019
5033
  disableArtifact?: boolean;
5020
5034
  /**
5021
- * Enable or disable the Artifact tool for this user. Unset = default by plan once the feature is available.
5035
+ * Enable or disable the Artifact tool for this user. Unset defaults to enabled once the feature is available.
5022
5036
  */
5023
5037
  enableArtifact?: boolean;
5024
5038
  /**
@@ -6335,7 +6349,7 @@ export declare function startup(_params?: {
6335
6349
  initializeTimeoutMs?: number;
6336
6350
  }): Promise<WarmQuery>;
6337
6351
 
6338
- declare type StdoutMessage = coreTypes.SDKMessage | coreTypes.SDKPostTurnSummaryMessage | coreTypes.SDKTaskSummaryMessage | coreTypes.SDKTranscriptMirrorMessage | SDKControlResponse | SDKControlRequest | SDKControlCancelRequest | SDKKeepAliveMessage;
6352
+ declare type StdoutMessage = coreTypes.SDKMessage | coreTypes.SDKPostTurnSummaryMessage | coreTypes.SDKTaskSummaryMessage | coreTypes.SDKTranscriptMirrorMessage | coreTypes.SDKActiveGoalMessage | SDKControlResponse | SDKControlRequest | SDKControlCancelRequest | SDKKeepAliveMessage;
6339
6353
 
6340
6354
  export declare type StopFailureHookInput = BaseHookInput & {
6341
6355
  hook_event_name: 'StopFailure';