@anthropic-ai/claude-agent-sdk 0.2.104 → 0.2.105
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/assistant.mjs +98 -95
- package/bridge.mjs +58 -58
- package/browser-sdk.js +4 -4
- package/cli.js +4498 -4073
- package/manifest.json +18 -18
- package/manifest.zst.json +22 -22
- package/package.json +2 -2
- package/sdk-tools.d.ts +5 -1
- package/sdk.d.ts +77 -13
- package/sdk.mjs +43 -43
package/manifest.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"buildDate": "2026-04-
|
|
2
|
+
"version": "2.1.105",
|
|
3
|
+
"buildDate": "2026-04-13T19:12:32Z",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"binary": "claude",
|
|
7
|
-
"checksum": "
|
|
8
|
-
"size":
|
|
7
|
+
"checksum": "474623fdb2d372bc78b2c3dd13aa43b111564f750cbaa79cd584739e72e43153",
|
|
8
|
+
"size": 202518512
|
|
9
9
|
},
|
|
10
10
|
"darwin-x64": {
|
|
11
11
|
"binary": "claude",
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "0a2cce5c09c31fb08259756cee14a1e2d2c2dbe4b8c314294a4af40a2196221f",
|
|
13
|
+
"size": 204000128
|
|
14
14
|
},
|
|
15
15
|
"linux-arm64": {
|
|
16
16
|
"binary": "claude",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "f51f97ec3d7b75af16837a92b0a489b8b0a7209f91dc6522958fb25b093be6ea",
|
|
18
|
+
"size": 234883648
|
|
19
19
|
},
|
|
20
20
|
"linux-x64": {
|
|
21
21
|
"binary": "claude",
|
|
22
|
-
"checksum": "
|
|
23
|
-
"size":
|
|
22
|
+
"checksum": "747140e2776ed3af1324f2501eec217b66f20f66af5042e4cf04f5e10d2500ca",
|
|
23
|
+
"size": 234564224
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64-musl": {
|
|
26
26
|
"binary": "claude",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "1d656d04892f04852e0fa97f1d306220f9af871586099f8ad7224b8544ed3132",
|
|
28
|
+
"size": 227936704
|
|
29
29
|
},
|
|
30
30
|
"linux-x64-musl": {
|
|
31
31
|
"binary": "claude",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "9b7d543ffd7bf77f95b238b7b959ff58b1e625cc5bf2cfffd7e9d28467d5d422",
|
|
33
|
+
"size": 228878784
|
|
34
34
|
},
|
|
35
35
|
"win32-x64": {
|
|
36
36
|
"binary": "claude.exe",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "dea34b5ddfac4c6aaf94b666d173c6418d4d2ee668114ad03715da3705ba8ee1",
|
|
38
|
+
"size": 244144288
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"binary": "claude.exe",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "ff6eefb6bd1e059c34d98fab558d71a220eb7e32b3d021f181b3289284f411be",
|
|
43
|
+
"size": 240844960
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"buildDate": "2026-04-
|
|
2
|
+
"version": "2.1.105",
|
|
3
|
+
"buildDate": "2026-04-13T19:18:50Z",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"binary": "claude.zst",
|
|
7
|
-
"checksum": "
|
|
8
|
-
"size":
|
|
7
|
+
"checksum": "9def11431ec4fb59f4ceb3f76390c89ca1cadb05b9214470ec1f18ce1979321f",
|
|
8
|
+
"size": 41826656,
|
|
9
9
|
"bundle": {
|
|
10
|
-
"checksum": "
|
|
11
|
-
"size":
|
|
10
|
+
"checksum": "833b2988447a3bf0c9caa11ff323d97fb7d768ec7a81baf6adf8a284d056e4e1",
|
|
11
|
+
"size": 41830032
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"darwin-x64": {
|
|
15
15
|
"binary": "claude.zst",
|
|
16
|
-
"checksum": "
|
|
17
|
-
"size":
|
|
16
|
+
"checksum": "27631381b5522d5faaa03a6c9f97f0c4fc345e3b1309dc34c799fd7ef18e24e4",
|
|
17
|
+
"size": 43475045,
|
|
18
18
|
"bundle": {
|
|
19
|
-
"checksum": "
|
|
20
|
-
"size":
|
|
19
|
+
"checksum": "4449993045a897349dc34c98d01b97db9e652f2bcd9ce38fe8afacaff00f7d36",
|
|
20
|
+
"size": 43471558
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"linux-arm64": {
|
|
24
24
|
"binary": "claude.zst",
|
|
25
|
-
"checksum": "
|
|
26
|
-
"size":
|
|
25
|
+
"checksum": "c330084d0c4f2f1d4048a8b90d1d1f83451480675e07e28a08100a99cd649096",
|
|
26
|
+
"size": 51476228
|
|
27
27
|
},
|
|
28
28
|
"linux-x64": {
|
|
29
29
|
"binary": "claude.zst",
|
|
30
|
-
"checksum": "
|
|
31
|
-
"size":
|
|
30
|
+
"checksum": "f92c938e182d06d803a008d83656e8eeb62cb5832d7247136912fb19306b1ea8",
|
|
31
|
+
"size": 52020637
|
|
32
32
|
},
|
|
33
33
|
"linux-arm64-musl": {
|
|
34
34
|
"binary": "claude.zst",
|
|
35
|
-
"checksum": "
|
|
36
|
-
"size":
|
|
35
|
+
"checksum": "7c47f4c752d8e5405f5d248dc245687858110c688103ef6e8e01a45dc97ad751",
|
|
36
|
+
"size": 50155303
|
|
37
37
|
},
|
|
38
38
|
"linux-x64-musl": {
|
|
39
39
|
"binary": "claude.zst",
|
|
40
|
-
"checksum": "
|
|
41
|
-
"size":
|
|
40
|
+
"checksum": "eb5bfe3ebc76323f506898a4f362b7a3fa481ba772b0b4098d455ae7770534db",
|
|
41
|
+
"size": 50740124
|
|
42
42
|
},
|
|
43
43
|
"win32-x64": {
|
|
44
44
|
"binary": "claude.exe.zst",
|
|
45
|
-
"checksum": "
|
|
46
|
-
"size":
|
|
45
|
+
"checksum": "79dd9ab5bbdd82647c882cc4208937174471a1fefaf72e60c8de936a40b99e6a",
|
|
46
|
+
"size": 53678907
|
|
47
47
|
},
|
|
48
48
|
"win32-arm64": {
|
|
49
49
|
"binary": "claude.exe.zst",
|
|
50
|
-
"checksum": "
|
|
51
|
-
"size":
|
|
50
|
+
"checksum": "9ceca3041ed54248e9e45e24a4b10256f6a78aec29c08a764b05f96d522de829",
|
|
51
|
+
"size": 51838116
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-agent-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.105",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"vendor/ripgrep/",
|
|
91
91
|
"vendor/audio-capture/"
|
|
92
92
|
],
|
|
93
|
-
"claudeCodeVersion": "2.1.
|
|
93
|
+
"claudeCodeVersion": "2.1.105"
|
|
94
94
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -2152,9 +2152,13 @@ export interface ConfigInput {
|
|
|
2152
2152
|
}
|
|
2153
2153
|
export interface EnterWorktreeInput {
|
|
2154
2154
|
/**
|
|
2155
|
-
* Optional name for
|
|
2155
|
+
* Optional name for a new worktree. Each "/"-separated segment may contain only letters, digits, dots, underscores, and dashes; max 64 chars total. A random name is generated if not provided. Mutually exclusive with `path`.
|
|
2156
2156
|
*/
|
|
2157
2157
|
name?: string;
|
|
2158
|
+
/**
|
|
2159
|
+
* Path to an existing worktree of the current repository to switch into instead of creating a new one. Must appear in `git worktree list` for the current repo. Mutually exclusive with `name`.
|
|
2160
|
+
*/
|
|
2161
|
+
path?: string;
|
|
2158
2162
|
}
|
|
2159
2163
|
export interface ExitWorktreeInput {
|
|
2160
2164
|
/**
|
package/sdk.d.ts
CHANGED
|
@@ -346,7 +346,9 @@ declare namespace coreTypes {
|
|
|
346
346
|
SDKHookResponseMessage,
|
|
347
347
|
SDKHookStartedMessage,
|
|
348
348
|
SDKLocalCommandOutputMessage,
|
|
349
|
+
SDKMemoryRecallMessage,
|
|
349
350
|
SDKMessage,
|
|
351
|
+
SDKNotificationMessage,
|
|
350
352
|
SDKPartialAssistantMessage,
|
|
351
353
|
SDKPermissionDenial,
|
|
352
354
|
SDKPromptSuggestionMessage,
|
|
@@ -1151,6 +1153,7 @@ export declare type Options = {
|
|
|
1151
1153
|
*/
|
|
1152
1154
|
persistSession?: boolean;
|
|
1153
1155
|
|
|
1156
|
+
|
|
1154
1157
|
/**
|
|
1155
1158
|
* Include hook lifecycle events in the output stream.
|
|
1156
1159
|
* When true, `hook_started`, `hook_progress`, and `hook_response` system
|
|
@@ -1295,7 +1298,6 @@ export declare type Options = {
|
|
|
1295
1298
|
|
|
1296
1299
|
|
|
1297
1300
|
|
|
1298
|
-
|
|
1299
1301
|
/**
|
|
1300
1302
|
* Enable prompt suggestions. When true, the agent emits a `prompt_suggestion`
|
|
1301
1303
|
* message after each turn with a predicted next user prompt.
|
|
@@ -1827,7 +1829,6 @@ export declare interface Query extends AsyncGenerator<SDKMessage, void> {
|
|
|
1827
1829
|
|
|
1828
1830
|
|
|
1829
1831
|
|
|
1830
|
-
|
|
1831
1832
|
/**
|
|
1832
1833
|
* Reconnect an MCP server by name.
|
|
1833
1834
|
* Throws on failure.
|
|
@@ -2023,6 +2024,8 @@ export declare type SDKCompactBoundaryMessage = {
|
|
|
2023
2024
|
compact_metadata: {
|
|
2024
2025
|
trigger: 'manual' | 'auto';
|
|
2025
2026
|
pre_tokens: number;
|
|
2027
|
+
post_tokens?: number;
|
|
2028
|
+
duration_ms?: number;
|
|
2026
2029
|
/**
|
|
2027
2030
|
* Relink info for messagesToKeep. Loaders splice the preserved segment at anchor_uuid (summary for suffix-preserving, boundary for prefix-preserving partial compact) so resume includes preserved content. Unset when compaction summarizes everything (no messagesToKeep).
|
|
2028
2031
|
*/
|
|
@@ -2323,7 +2326,7 @@ export declare type SDKControlRequest = {
|
|
|
2323
2326
|
request: SDKControlRequestInner;
|
|
2324
2327
|
};
|
|
2325
2328
|
|
|
2326
|
-
declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlMcpStatusRequest | SDKControlGetContextUsageRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlCancelAsyncMessageRequest | SDKControlSeedReadStateRequest | SDKControlMcpSetServersRequest | SDKControlReloadPluginsRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlChannelEnableRequest | SDKControlEndSessionRequest | SDKControlMcpAuthenticateRequest | SDKControlMcpClearAuthRequest | SDKControlMcpOAuthCallbackUrlRequest | SDKControlClaudeAuthenticateRequest | SDKControlClaudeOAuthCallbackRequest | SDKControlClaudeOAuthWaitForCompletionRequest | SDKControlRemoteControlRequest |
|
|
2329
|
+
declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlMcpStatusRequest | SDKControlGetContextUsageRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlCancelAsyncMessageRequest | SDKControlSeedReadStateRequest | SDKControlMcpSetServersRequest | SDKControlReloadPluginsRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlChannelEnableRequest | SDKControlEndSessionRequest | SDKControlMcpAuthenticateRequest | SDKControlMcpClearAuthRequest | SDKControlMcpOAuthCallbackUrlRequest | SDKControlClaudeAuthenticateRequest | SDKControlClaudeOAuthCallbackRequest | SDKControlClaudeOAuthWaitForCompletionRequest | SDKControlRemoteControlRequest | SDKControlGenerateSessionTitleRequest | SDKControlSideQuestionRequest | SDKControlOAuthTokenRefreshRequest | SDKControlStopTaskRequest | SDKControlApplyFlagSettingsRequest | SDKControlGetSettingsRequest | SDKControlElicitationRequest | SDKControlRequestUserDialogRequest;
|
|
2327
2330
|
|
|
2328
2331
|
/**
|
|
2329
2332
|
* 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.
|
|
@@ -2523,7 +2526,47 @@ export declare type SdkMcpToolDefinition<Schema extends AnyZodRawShape = AnyZodR
|
|
|
2523
2526
|
handler: (args: InferShape<Schema>, extra: unknown) => Promise<CallToolResult>;
|
|
2524
2527
|
};
|
|
2525
2528
|
|
|
2526
|
-
|
|
2529
|
+
/**
|
|
2530
|
+
* Emitted when the memory recall supervisor surfaces relevant memories into the turn. Mirrors the CLI relevant_memories attachment so SDK renderers can show "Recalled from memory" inline.
|
|
2531
|
+
*/
|
|
2532
|
+
export declare type SDKMemoryRecallMessage = {
|
|
2533
|
+
type: 'system';
|
|
2534
|
+
subtype: 'memory_recall';
|
|
2535
|
+
/**
|
|
2536
|
+
* How memories were surfaced: 'select' returns full file bodies chosen by the parallel selector; 'synthesize' returns a Sonnet-authored paragraph distilled from many tiny memories.
|
|
2537
|
+
*/
|
|
2538
|
+
mode: 'select' | 'synthesize';
|
|
2539
|
+
memories: {
|
|
2540
|
+
/**
|
|
2541
|
+
* Absolute path to the memory file, or a synthesis sentinel of the form `<synthesis:DIR>` when mode is 'synthesize'.
|
|
2542
|
+
*/
|
|
2543
|
+
path: string;
|
|
2544
|
+
scope: 'personal' | 'team';
|
|
2545
|
+
/**
|
|
2546
|
+
* Synthesis paragraph. Only present when mode is 'synthesize'; always absent for 'select' (renderers lazy-load from path).
|
|
2547
|
+
*/
|
|
2548
|
+
content?: string;
|
|
2549
|
+
}[];
|
|
2550
|
+
uuid: UUID;
|
|
2551
|
+
session_id: string;
|
|
2552
|
+
};
|
|
2553
|
+
|
|
2554
|
+
export declare type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage | SDKPartialAssistantMessage | SDKCompactBoundaryMessage | SDKStatusMessage | SDKAPIRetryMessage | SDKLocalCommandOutputMessage | SDKHookStartedMessage | SDKHookProgressMessage | SDKHookResponseMessage | SDKToolProgressMessage | SDKAuthStatusMessage | SDKTaskNotificationMessage | SDKTaskStartedMessage | SDKTaskUpdatedMessage | SDKTaskProgressMessage | SDKSessionStateChangedMessage | SDKNotificationMessage | SDKFilesPersistedEvent | SDKToolUseSummaryMessage | SDKMemoryRecallMessage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPromptSuggestionMessage;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Loop-side text notification. Mirrors the interactive REPL notification queue (key/priority/timeout). JSX notifications are not emitted on this channel.
|
|
2558
|
+
*/
|
|
2559
|
+
export declare type SDKNotificationMessage = {
|
|
2560
|
+
type: 'system';
|
|
2561
|
+
subtype: 'notification';
|
|
2562
|
+
key: string;
|
|
2563
|
+
text: string;
|
|
2564
|
+
priority: 'low' | 'medium' | 'high' | 'immediate';
|
|
2565
|
+
color?: string;
|
|
2566
|
+
timeout_ms?: number;
|
|
2567
|
+
uuid: UUID;
|
|
2568
|
+
session_id: string;
|
|
2569
|
+
};
|
|
2527
2570
|
|
|
2528
2571
|
export declare type SDKPartialAssistantMessage = {
|
|
2529
2572
|
type: 'stream_event';
|
|
@@ -2791,6 +2834,8 @@ export declare type SDKStatusMessage = {
|
|
|
2791
2834
|
subtype: 'status';
|
|
2792
2835
|
status: SDKStatus;
|
|
2793
2836
|
permissionMode?: PermissionMode;
|
|
2837
|
+
compact_result?: 'success' | 'failed';
|
|
2838
|
+
compact_error?: string;
|
|
2794
2839
|
uuid: UUID;
|
|
2795
2840
|
session_id: string;
|
|
2796
2841
|
};
|
|
@@ -2822,6 +2867,7 @@ export declare type SDKSystemMessage = {
|
|
|
2822
2867
|
|
|
2823
2868
|
}[];
|
|
2824
2869
|
fast_mode_state?: FastModeState;
|
|
2870
|
+
|
|
2825
2871
|
uuid: UUID;
|
|
2826
2872
|
session_id: string;
|
|
2827
2873
|
};
|
|
@@ -2839,6 +2885,7 @@ export declare type SDKTaskNotificationMessage = {
|
|
|
2839
2885
|
tool_uses: number;
|
|
2840
2886
|
duration_ms: number;
|
|
2841
2887
|
};
|
|
2888
|
+
skip_transcript?: boolean;
|
|
2842
2889
|
uuid: UUID;
|
|
2843
2890
|
session_id: string;
|
|
2844
2891
|
};
|
|
@@ -2873,6 +2920,10 @@ export declare type SDKTaskStartedMessage = {
|
|
|
2873
2920
|
*/
|
|
2874
2921
|
workflow_name?: string;
|
|
2875
2922
|
prompt?: string;
|
|
2923
|
+
/**
|
|
2924
|
+
* Ambient/housekeeping task. Consumers should hide this from the inline transcript; it may still appear in a tasks panel.
|
|
2925
|
+
*/
|
|
2926
|
+
skip_transcript?: boolean;
|
|
2876
2927
|
uuid: UUID;
|
|
2877
2928
|
session_id: string;
|
|
2878
2929
|
};
|
|
@@ -3035,6 +3086,14 @@ export declare interface Settings {
|
|
|
3035
3086
|
* Number of days to retain chat transcripts before automatic cleanup (default: 30). Minimum 1. Use a large value for long retention; use --no-session-persistence to disable transcript writes entirely.
|
|
3036
3087
|
*/
|
|
3037
3088
|
cleanupPeriodDays?: number;
|
|
3089
|
+
/**
|
|
3090
|
+
* Per-skill description character cap in the skill listing sent to Claude (default: 1536). Descriptions longer than this are truncated. Raise to opt in to higher per-turn context cost.
|
|
3091
|
+
*/
|
|
3092
|
+
skillListingMaxDescChars?: number;
|
|
3093
|
+
/**
|
|
3094
|
+
* Fraction of the context window (in characters) reserved for the skill listing sent to Claude (default: 0.01 = 1%). When the listing exceeds this, descriptions are shortened to fit. Raise to opt in to higher per-turn context cost.
|
|
3095
|
+
*/
|
|
3096
|
+
skillListingBudgetFraction?: number;
|
|
3038
3097
|
/**
|
|
3039
3098
|
* Environment variables to set for Claude Code sessions
|
|
3040
3099
|
*/
|
|
@@ -3118,6 +3177,12 @@ export declare interface Settings {
|
|
|
3118
3177
|
* List of rejected MCP servers from .mcp.json
|
|
3119
3178
|
*/
|
|
3120
3179
|
disabledMcpjsonServers?: string[];
|
|
3180
|
+
/**
|
|
3181
|
+
* Per-skill listing overrides keyed by skill name. "name-only" lists the skill without its description; "user-invocable-only" hides it from the model but keeps /name; "off" hides it from both. Absent = on.
|
|
3182
|
+
*/
|
|
3183
|
+
skillOverrides?: {
|
|
3184
|
+
[k: string]: 'on' | 'name-only' | 'user-invocable-only' | 'off';
|
|
3185
|
+
};
|
|
3121
3186
|
/**
|
|
3122
3187
|
* Enterprise allowlist of MCP servers that can be used. Applies to all scopes including enterprise servers from managed-mcp.json. If undefined, all servers are allowed. If empty array, no servers are allowed. Denylist takes precedence - if a server is on both lists, it is denied.
|
|
3123
3188
|
*/
|
|
@@ -3366,6 +3431,13 @@ export declare interface Settings {
|
|
|
3366
3431
|
*/
|
|
3367
3432
|
refreshInterval?: number;
|
|
3368
3433
|
};
|
|
3434
|
+
/**
|
|
3435
|
+
* Custom per-subagent status line shown in the agent panel; receives row context as JSON on stdin
|
|
3436
|
+
*/
|
|
3437
|
+
subagentStatusLine?: {
|
|
3438
|
+
type: 'command';
|
|
3439
|
+
command: string;
|
|
3440
|
+
};
|
|
3369
3441
|
/**
|
|
3370
3442
|
* Enabled plugins using plugin-id\@marketplace-id format. Example: { "formatter\@anthropic-tools": true }. Also supports extended format with version constraints.
|
|
3371
3443
|
*/
|
|
@@ -4128,6 +4200,7 @@ export declare interface Settings {
|
|
|
4128
4200
|
* When false, prompt suggestions are disabled. When absent or true, prompt suggestions are enabled.
|
|
4129
4201
|
*/
|
|
4130
4202
|
promptSuggestionEnabled?: boolean;
|
|
4203
|
+
|
|
4131
4204
|
/**
|
|
4132
4205
|
* When true, the plan-approval dialog offers a "clear context" option. Defaults to false.
|
|
4133
4206
|
*/
|
|
@@ -4182,15 +4255,6 @@ export declare interface Settings {
|
|
|
4182
4255
|
* Custom directory for plan files, relative to project root. If not set, defaults to ~/.claude/plans/
|
|
4183
4256
|
*/
|
|
4184
4257
|
plansDirectory?: string;
|
|
4185
|
-
/**
|
|
4186
|
-
* Autonomous background operation configuration
|
|
4187
|
-
*/
|
|
4188
|
-
proactive?: {
|
|
4189
|
-
/**
|
|
4190
|
-
* When true, autonomous background operation is activated automatically at launch (if entitled). When false or null, the user must opt in via the /proactive command or --proactive flag. Existing entitlement gates (GrowthBook flag, ZDR, managed-settings) still apply.
|
|
4191
|
-
*/
|
|
4192
|
-
autoEnable?: boolean | null;
|
|
4193
|
-
};
|
|
4194
4258
|
|
|
4195
4259
|
/**
|
|
4196
4260
|
* 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.
|