@anthropic-ai/claude-agent-sdk 0.2.118 → 0.2.119
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 +85 -85
- package/bridge.mjs +61 -61
- package/browser-sdk.js +22 -22
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk.d.ts +109 -8
- package/sdk.mjs +40 -40
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-04-
|
|
2
|
+
"version": "2.1.119",
|
|
3
|
+
"commit": "6f68554839756189e277b8285a18fe47acd9a5a1",
|
|
4
|
+
"buildDate": "2026-04-23T20:45:14Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "31db3444309d5d0f8b85e8782e2dcd86f31f7e48c1a1e83d69b09268c7b4f9a2",
|
|
9
|
+
"size": 213404000
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "52b3b75cfe80c626982b2ffb3a6ce1c797824f257dc275cf0a3c32c202b6a3df",
|
|
14
|
+
"size": 214951760
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "382aa73ea4b07fd8d698e3159b5ef9e1b8739fae7505ba8ddd28b8a6a62819ce",
|
|
19
|
+
"size": 245500480
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "cca43053f062949495596b11b6fd1b59cf79102adb13bacbe66997e6fae41e4a",
|
|
24
|
+
"size": 245230208
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "e09bfaedd8bfdeaebe5f1cf9bb81ebeb718312c68fffce379fb51786263143d0",
|
|
29
|
+
"size": 238225856
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "ef41a11653b39c14db2d343f1f5e2a3af7eb9871c63e64deb6e65919670a4e0b",
|
|
34
|
+
"size": 239495616
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "e18c7dcfad4a3f5d33d202ec2dde630b648cf5b41622154d6210e793c7cceadc",
|
|
39
|
+
"size": 254478496
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "9e0deb10c45108612484ce558fad378206d5ac23feb203067450e6c38d001241",
|
|
44
|
+
"size": 251203232
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-04-
|
|
2
|
+
"version": "2.1.119",
|
|
3
|
+
"commit": "6f68554839756189e277b8285a18fe47acd9a5a1",
|
|
4
|
+
"buildDate": "2026-04-23T20:53:09Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "d36dfe6670e3fa7e4e6e7a3fd6f707b3946947a825f4070ed2b7e706e2651df0",
|
|
9
|
+
"size": 44111332,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "4feab18b2073311b24e487ada0a582020304147121a1195deef57a0a7b7833a0",
|
|
12
|
+
"size": 44117376
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "72d7cbe250a5601aadc308b3355f71c529c903a99c1394cebd8e55c1adedbc37",
|
|
18
|
+
"size": 45861493,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "96d2cfd075d23b18578b145d02fb78a72d552557d8d6e4228ba7bfafe8a69139",
|
|
21
|
+
"size": 45864968
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "afa715684e2a6bdf906d6019f47991a56fc9f2810493856a56e0da61d434b6b5",
|
|
27
|
+
"size": 53778693
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "cd5df914e202388aebffcd09d46a994108c9c7ed485497124a501db2868b8bf6",
|
|
32
|
+
"size": 54299477
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "f6b994b3d3926c4993c646b86fd2139e1047a44151edff659c28b56635941771",
|
|
37
|
+
"size": 52351846
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "40b166987615e99b3d7222d99a0463e7e6da9e4e5ab22d2a6c256e5dc38ab4a9",
|
|
42
|
+
"size": 52970715
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "f28aeaa9ce80c77fff046d9298092f32f5db24eae6db41aa51b7a329f178e824",
|
|
47
|
+
"size": 55932587
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "4c481b40ae9e9ce3ceff4d371ad5974f7cd3c206387204a1b8dbbb9b221e9798",
|
|
52
|
+
"size": 54060686
|
|
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.
|
|
3
|
+
"version": "0.2.119",
|
|
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.
|
|
59
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.
|
|
60
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.
|
|
61
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.
|
|
62
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.
|
|
63
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.
|
|
58
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.2.119",
|
|
59
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.2.119",
|
|
60
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.2.119",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.2.119",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.2.119",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.2.119",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.119",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.2.119"
|
|
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.
|
|
81
|
+
"claudeCodeVersion": "2.1.119"
|
|
82
82
|
}
|
package/sdk.d.ts
CHANGED
|
@@ -1343,6 +1343,7 @@ export declare type Options = {
|
|
|
1343
1343
|
* When true, `SDKPartialAssistantMessage` events will be emitted during streaming.
|
|
1344
1344
|
*/
|
|
1345
1345
|
includePartialMessages?: boolean;
|
|
1346
|
+
|
|
1346
1347
|
/**
|
|
1347
1348
|
* Controls Claude's thinking/reasoning behavior.
|
|
1348
1349
|
*
|
|
@@ -1606,7 +1607,8 @@ export declare type Options = {
|
|
|
1606
1607
|
* - `'project'` - Project settings (`.claude/settings.json`)
|
|
1607
1608
|
* - `'local'` - Local settings (`.claude/settings.local.json`)
|
|
1608
1609
|
*
|
|
1609
|
-
* When omitted
|
|
1610
|
+
* When omitted, all sources are loaded (matches CLI defaults).
|
|
1611
|
+
* Pass `[]` to disable filesystem settings (SDK isolation mode).
|
|
1610
1612
|
* Must include `'project'` to load CLAUDE.md files.
|
|
1611
1613
|
*/
|
|
1612
1614
|
settingSources?: SettingSource[];
|
|
@@ -1860,6 +1862,10 @@ export declare type PostToolUseFailureHookInput = BaseHookInput & {
|
|
|
1860
1862
|
tool_use_id: string;
|
|
1861
1863
|
error: string;
|
|
1862
1864
|
is_interrupt?: boolean;
|
|
1865
|
+
/**
|
|
1866
|
+
* Tool execution time in milliseconds. Excludes permission-prompt and hook time.
|
|
1867
|
+
*/
|
|
1868
|
+
duration_ms?: number;
|
|
1863
1869
|
};
|
|
1864
1870
|
|
|
1865
1871
|
export declare type PostToolUseFailureHookSpecificOutput = {
|
|
@@ -1873,6 +1879,10 @@ export declare type PostToolUseHookInput = BaseHookInput & {
|
|
|
1873
1879
|
tool_input: unknown;
|
|
1874
1880
|
tool_response: unknown;
|
|
1875
1881
|
tool_use_id: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* Tool execution time in milliseconds. Excludes permission-prompt and hook time.
|
|
1884
|
+
*/
|
|
1885
|
+
duration_ms?: number;
|
|
1876
1886
|
};
|
|
1877
1887
|
|
|
1878
1888
|
export declare type PostToolUseHookSpecificOutput = {
|
|
@@ -2361,6 +2371,13 @@ declare type SDKControlFileSuggestionsRequest = {
|
|
|
2361
2371
|
query: string;
|
|
2362
2372
|
};
|
|
2363
2373
|
|
|
2374
|
+
/**
|
|
2375
|
+
* Requests the responder's CLI binary version. Used by /version in --remote mode so the thin client can show both its own and the remote container's version.
|
|
2376
|
+
*/
|
|
2377
|
+
declare type SDKControlGetBinaryVersionRequest = {
|
|
2378
|
+
subtype: 'get_binary_version';
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2364
2381
|
/**
|
|
2365
2382
|
* Requests a breakdown of current context window usage by category.
|
|
2366
2383
|
*/
|
|
@@ -2507,6 +2524,7 @@ declare type SDKControlInitializeRequest = {
|
|
|
2507
2524
|
skills?: string[];
|
|
2508
2525
|
promptSuggestions?: boolean;
|
|
2509
2526
|
agentProgressSummaries?: boolean;
|
|
2527
|
+
forwardSubagentText?: boolean;
|
|
2510
2528
|
};
|
|
2511
2529
|
|
|
2512
2530
|
/**
|
|
@@ -2665,7 +2683,7 @@ export declare type SDKControlRequest = {
|
|
|
2665
2683
|
request: SDKControlRequestInner;
|
|
2666
2684
|
};
|
|
2667
2685
|
|
|
2668
|
-
declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlRenameSessionRequest | SDKControlSetColorRequest | SDKControlMcpStatusRequest | SDKControlGetContextUsageRequest | SDKControlGetSessionCostRequest | SDKControlMcpCallRequest | SDKControlFileSuggestionsRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlCancelAsyncMessageRequest | SDKControlReadFileRequest | SDKControlSeedReadStateRequest | SDKControlMcpSetServersRequest | SDKControlReloadPluginsRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlChannelEnableRequest | SDKControlEndSessionRequest | SDKControlMcpAuthenticateRequest | SDKControlMcpClearAuthRequest | SDKControlMcpOAuthCallbackUrlRequest | SDKControlClaudeAuthenticateRequest | SDKControlClaudeOAuthCallbackRequest | SDKControlClaudeOAuthWaitForCompletionRequest | SDKControlRemoteControlRequest | SDKControlGenerateSessionTitleRequest | SDKControlSideQuestionRequest | SDKControlUltrareviewLaunchRequest | SDKControlMessageRatedRequest | SDKControlOAuthTokenRefreshRequest | SDKControlStopTaskRequest | SDKControlApplyFlagSettingsRequest | SDKControlGetSettingsRequest | SDKControlElicitationRequest | SDKControlRequestUserDialogRequest;
|
|
2686
|
+
declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlRenameSessionRequest | SDKControlSetColorRequest | SDKControlMcpStatusRequest | SDKControlGetContextUsageRequest | SDKControlGetSessionCostRequest | SDKControlGetBinaryVersionRequest | SDKControlMcpCallRequest | SDKControlFileSuggestionsRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlCancelAsyncMessageRequest | SDKControlReadFileRequest | SDKControlSeedReadStateRequest | SDKControlMcpSetServersRequest | SDKControlReloadPluginsRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlChannelEnableRequest | SDKControlEndSessionRequest | SDKControlMcpAuthenticateRequest | SDKControlMcpClearAuthRequest | SDKControlMcpOAuthCallbackUrlRequest | SDKControlClaudeAuthenticateRequest | SDKControlClaudeOAuthCallbackRequest | SDKControlClaudeOAuthWaitForCompletionRequest | SDKControlRemoteControlRequest | SDKControlGenerateSessionTitleRequest | SDKControlSideQuestionRequest | SDKControlUltrareviewLaunchRequest | SDKControlMessageRatedRequest | SDKControlOAuthTokenRefreshRequest | SDKControlStopTaskRequest | SDKControlApplyFlagSettingsRequest | SDKControlGetSettingsRequest | SDKControlElicitationRequest | SDKControlRequestUserDialogRequest;
|
|
2669
2687
|
|
|
2670
2688
|
/**
|
|
2671
2689
|
* 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.
|
|
@@ -2919,7 +2937,7 @@ export declare type SDKMessageOrigin = {
|
|
|
2919
2937
|
};
|
|
2920
2938
|
|
|
2921
2939
|
/**
|
|
2922
|
-
* Emitted when SessionStore.append() rejects or times out for a transcript-mirror batch. The batch is dropped
|
|
2940
|
+
* Emitted when SessionStore.append() rejects or times out for a transcript-mirror batch after bounded retry (3 attempts with short backoff; timeouts are not retried). The batch is then dropped; this surfaces the failure so consumers are not silent on data loss.
|
|
2923
2941
|
*/
|
|
2924
2942
|
export declare type SDKMirrorErrorMessage = {
|
|
2925
2943
|
type: 'system';
|
|
@@ -3024,7 +3042,7 @@ export declare type SDKRateLimitInfo = {
|
|
|
3024
3042
|
utilization?: number;
|
|
3025
3043
|
overageStatus?: 'allowed' | 'allowed_warning' | 'rejected';
|
|
3026
3044
|
overageResetsAt?: number;
|
|
3027
|
-
overageDisabledReason?: 'overage_not_provisioned' | 'org_level_disabled' | 'org_level_disabled_until' | 'out_of_credits' | 'seat_tier_level_disabled' | 'member_level_disabled' | 'seat_tier_zero_credit_limit' | 'group_zero_credit_limit' | 'member_zero_credit_limit' | 'org_service_level_disabled' | '
|
|
3045
|
+
overageDisabledReason?: 'overage_not_provisioned' | 'org_level_disabled' | 'org_level_disabled_until' | 'out_of_credits' | 'seat_tier_level_disabled' | 'member_level_disabled' | 'seat_tier_zero_credit_limit' | 'group_zero_credit_limit' | 'member_zero_credit_limit' | 'org_service_level_disabled' | 'no_limits_configured' | 'fetch_error' | 'unknown';
|
|
3028
3046
|
isUsingOverage?: boolean;
|
|
3029
3047
|
surpassedThreshold?: number;
|
|
3030
3048
|
};
|
|
@@ -3172,7 +3190,9 @@ export declare type SDKSessionOptions = {
|
|
|
3172
3190
|
cwd?: string;
|
|
3173
3191
|
/**
|
|
3174
3192
|
* Which settings sources to load (CLAUDE.md, `.claude/settings.json`).
|
|
3175
|
-
* Defaults to `[]
|
|
3193
|
+
* Defaults to `[]`: no project/user settings are loaded unless specified.
|
|
3194
|
+
* Note that `query()` has the opposite default and loads all sources when
|
|
3195
|
+
* this is omitted.
|
|
3176
3196
|
*/
|
|
3177
3197
|
settingSources?: SettingSource[];
|
|
3178
3198
|
/**
|
|
@@ -3288,6 +3308,7 @@ export declare type SDKSystemMessage = {
|
|
|
3288
3308
|
|
|
3289
3309
|
fast_mode_state?: FastModeState;
|
|
3290
3310
|
|
|
3311
|
+
|
|
3291
3312
|
uuid: UUID;
|
|
3292
3313
|
session_id: string;
|
|
3293
3314
|
};
|
|
@@ -3522,8 +3543,16 @@ export declare type SessionStore = {
|
|
|
3522
3543
|
* Within a single process, persist entries in append-call order; across
|
|
3523
3544
|
* concurrent processes, order is by storage commit time, not call time.
|
|
3524
3545
|
*
|
|
3525
|
-
*
|
|
3526
|
-
*
|
|
3546
|
+
* Most entries carry a stable `uuid`. Adapters SHOULD treat `uuid` as an
|
|
3547
|
+
* idempotency key (upsert / ignore-duplicate) so that retries and
|
|
3548
|
+
* `importSessionToStore()` replays do not create duplicate rows. Entries
|
|
3549
|
+
* without a `uuid` (e.g. titles, tags, mode markers) should be appended
|
|
3550
|
+
* without dedup.
|
|
3551
|
+
*
|
|
3552
|
+
* Rejection is retried (3 attempts total) with short backoff; timeouts
|
|
3553
|
+
* (60s) are not retried since the in-flight call may still land. After
|
|
3554
|
+
* the final failure the batch is dropped and a `mirror_error` system
|
|
3555
|
+
* message is emitted. The subprocess continues unaffected.
|
|
3527
3556
|
*/
|
|
3528
3557
|
append(key: SessionKey, entries: SessionStoreEntry[]): Promise<void>;
|
|
3529
3558
|
/**
|
|
@@ -4057,6 +4086,10 @@ export declare interface Settings {
|
|
|
4057
4086
|
*/
|
|
4058
4087
|
refreshInterval?: number;
|
|
4059
4088
|
};
|
|
4089
|
+
/**
|
|
4090
|
+
* URL template for PR links in the footer badge and inline messages. Placeholders: {host} {owner} {repo} {number} {url}. Example: "https://reviews.example.com/{owner}/{repo}/pull/{number}"
|
|
4091
|
+
*/
|
|
4092
|
+
prUrlTemplate?: string;
|
|
4060
4093
|
/**
|
|
4061
4094
|
* Custom per-subagent status line shown in the agent panel; receives row context as JSON on stdin
|
|
4062
4095
|
*/
|
|
@@ -4937,6 +4970,70 @@ export declare interface Settings {
|
|
|
4937
4970
|
* Custom message to append to the plugin trust warning shown before installation. Only read from policy settings (managed-settings.json / MDM). Useful for enterprise administrators to add organization-specific context (e.g., "All plugins from our internal marketplace are vetted and approved.").
|
|
4938
4971
|
*/
|
|
4939
4972
|
pluginTrustMessage?: string;
|
|
4973
|
+
/**
|
|
4974
|
+
* Color theme for the UI
|
|
4975
|
+
*/
|
|
4976
|
+
theme?: ('auto' | 'dark' | 'light' | 'light-daltonized' | 'dark-daltonized' | 'light-ansi' | 'dark-ansi') | string;
|
|
4977
|
+
/**
|
|
4978
|
+
* Key binding mode for the prompt input
|
|
4979
|
+
*/
|
|
4980
|
+
editorMode?: 'normal' | 'vim';
|
|
4981
|
+
/**
|
|
4982
|
+
* Show full tool output instead of truncated summaries
|
|
4983
|
+
*/
|
|
4984
|
+
verbose?: boolean;
|
|
4985
|
+
/**
|
|
4986
|
+
* Preferred OS notification channel
|
|
4987
|
+
*/
|
|
4988
|
+
preferredNotifChannel?: 'auto' | 'iterm2' | 'iterm2_with_bell' | 'terminal_bell' | 'kitty' | 'ghostty' | 'notifications_disabled';
|
|
4989
|
+
/**
|
|
4990
|
+
* Automatically compact conversation when context fills
|
|
4991
|
+
*/
|
|
4992
|
+
autoCompactEnabled?: boolean;
|
|
4993
|
+
/**
|
|
4994
|
+
* Auto-scroll the conversation view to bottom (fullscreen mode only)
|
|
4995
|
+
*/
|
|
4996
|
+
autoScrollEnabled?: boolean;
|
|
4997
|
+
/**
|
|
4998
|
+
* Snapshot files before edits so /rewind can restore them
|
|
4999
|
+
*/
|
|
5000
|
+
fileCheckpointingEnabled?: boolean;
|
|
5001
|
+
/**
|
|
5002
|
+
* Show "Cooked for Nm Ns" after each assistant turn
|
|
5003
|
+
*/
|
|
5004
|
+
showTurnDuration?: boolean;
|
|
5005
|
+
/**
|
|
5006
|
+
* Stamp each assistant message with its arrival time
|
|
5007
|
+
*/
|
|
5008
|
+
showMessageTimestamps?: boolean;
|
|
5009
|
+
/**
|
|
5010
|
+
* Emit OSC 9;4 progress sequences during long operations
|
|
5011
|
+
*/
|
|
5012
|
+
terminalProgressBarEnabled?: boolean;
|
|
5013
|
+
/**
|
|
5014
|
+
* Enable the todo / task tracking panel
|
|
5015
|
+
*/
|
|
5016
|
+
todoFeatureEnabled?: boolean;
|
|
5017
|
+
/**
|
|
5018
|
+
* How spawned teammates execute (tmux, in-process, auto)
|
|
5019
|
+
*/
|
|
5020
|
+
teammateMode?: 'auto' | 'tmux' | 'in-process';
|
|
5021
|
+
/**
|
|
5022
|
+
* Start Remote Control bridge automatically each session
|
|
5023
|
+
*/
|
|
5024
|
+
remoteControlAtStartup?: boolean;
|
|
5025
|
+
/**
|
|
5026
|
+
* Mirror local sessions to claude.ai as view-only (no remote control)
|
|
5027
|
+
*/
|
|
5028
|
+
autoUploadSessions?: boolean;
|
|
5029
|
+
/**
|
|
5030
|
+
* Push to mobile when a permission prompt or question is waiting
|
|
5031
|
+
*/
|
|
5032
|
+
inputNeededNotifEnabled?: boolean;
|
|
5033
|
+
/**
|
|
5034
|
+
* Allow Claude to push proactive mobile notifications
|
|
5035
|
+
*/
|
|
5036
|
+
agentPushNotifEnabled?: boolean;
|
|
4940
5037
|
[k: string]: unknown;
|
|
4941
5038
|
}
|
|
4942
5039
|
|
|
@@ -4971,6 +5068,10 @@ export declare type SlashCommand = {
|
|
|
4971
5068
|
* Hint for skill arguments (e.g., "<file>")
|
|
4972
5069
|
*/
|
|
4973
5070
|
argumentHint: string;
|
|
5071
|
+
/**
|
|
5072
|
+
* Alternate names that resolve to this command (e.g., /cost and /stats both resolve to /usage)
|
|
5073
|
+
*/
|
|
5074
|
+
aliases?: string[];
|
|
4974
5075
|
};
|
|
4975
5076
|
|
|
4976
5077
|
/**
|
|
@@ -5043,7 +5144,7 @@ export declare function startup(_params?: {
|
|
|
5043
5144
|
initializeTimeoutMs?: number;
|
|
5044
5145
|
}): Promise<WarmQuery>;
|
|
5045
5146
|
|
|
5046
|
-
declare type StdoutMessage = coreTypes.SDKMessage | coreTypes.SDKPostTurnSummaryMessage | coreTypes.SDKTranscriptMirrorMessage | SDKControlResponse | SDKControlRequest | SDKControlCancelRequest | SDKKeepAliveMessage;
|
|
5147
|
+
declare type StdoutMessage = coreTypes.SDKMessage | coreTypes.SDKPostTurnSummaryMessage | coreTypes.SDKTaskSummaryMessage | coreTypes.SDKTranscriptMirrorMessage | SDKControlResponse | SDKControlRequest | SDKControlCancelRequest | SDKKeepAliveMessage;
|
|
5047
5148
|
|
|
5048
5149
|
export declare type StopFailureHookInput = BaseHookInput & {
|
|
5049
5150
|
hook_event_name: 'StopFailure';
|