@anthropic-ai/claude-agent-sdk 0.3.150 → 0.3.152
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 +90 -90
- package/bridge.mjs +62 -62
- package/browser-sdk.js +2 -2
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk-tools.d.ts +8 -0
- package/sdk.d.ts +69 -5
- package/sdk.mjs +4 -4
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-05-
|
|
2
|
+
"version": "2.1.152",
|
|
3
|
+
"commit": "228d8c605defcb10a183db2dbf364a2d6c490c8b",
|
|
4
|
+
"buildDate": "2026-05-26T19:31:46Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "43cb9361f7bc48c39214d5f125003b8de0ebde5cd6a1173e6b74fcdd10966d46",
|
|
9
|
+
"size": 214210080
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "e9ecf8da70518a4ff852baf36c9eac369762a4568ba3cd5078fa894303e39735",
|
|
14
|
+
"size": 216724240
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "35ef2685c4f679b5c4610ef56b30a680b6d595b958b4fa5ec0bfa2852195f345",
|
|
19
|
+
"size": 239515272
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "5155bdca27f754aba0d2fe2f80336f5fd4793224561c234a723f0ccef654a8e8",
|
|
24
|
+
"size": 239650512
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "b374ef7f8c59d10a04071f6c50ccd83008188b7db26589f4fb359ee435d49929",
|
|
29
|
+
"size": 232370008
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "d4cd1951ceb25ef2bed74cd9e0dc6dec4f1219f086a35a1433eb988443096e48",
|
|
34
|
+
"size": 234044464
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "bbea6d550bdd765c3b9e3b1fa19a49d04dd16c1687e5b21f9e0974a18b867a73",
|
|
39
|
+
"size": 235329184
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "fd4711d17e9576fec0998c85a3726e43c26e7735e1f4552064310897acf1781b",
|
|
44
|
+
"size": 231294112
|
|
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-05-
|
|
2
|
+
"version": "2.1.152",
|
|
3
|
+
"commit": "228d8c605defcb10a183db2dbf364a2d6c490c8b",
|
|
4
|
+
"buildDate": "2026-05-26T19:38:56Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "a5ab75688f90400bcfaedf0b2523f16fcf4b40a669fbf5a77ae17f9a14aa28fd",
|
|
9
|
+
"size": 44188705,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "411f91e7e12813f38d5b4dfbc8cf442cd3264eb89a768fe8069db426e3be029c",
|
|
12
|
+
"size": 44194378
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "8d29ad1c4afc14daf979bbd03f70184d15244b9148feeaf20980a2b1758c4fb0",
|
|
18
|
+
"size": 46093789,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "3375934557535af4a57da32988b56fb68bcc7f6a44ec76b830507825dab99096",
|
|
21
|
+
"size": 46103347
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "82006d5a2c02d5ad3f8738064aaaa0cf0a595fb0721579c5dbdc8203a425e051",
|
|
27
|
+
"size": 51901590
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "affeeae869a8a29aab4ecf0a6af4d84d60d0d5a40104f2c0e6b5b661027d0214",
|
|
32
|
+
"size": 52517356
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "d806349f5c3ae337f346028f2de2abecefde187225b1bbe8b751047992f2d20d",
|
|
37
|
+
"size": 50533642
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "40fb092ac9f7626a6c22c61b8524b4eedaf9bd831d17c9a0b1ce5ebd866787d4",
|
|
42
|
+
"size": 51224312
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "20c5c3eb679ffe26d564af25eae1956f5246af38b88330d576ebf1d097f871a2",
|
|
47
|
+
"size": 53249402
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "26d0fad322fd6085eb8db60b1c1024e7012068576472aa008bceed52133dfe25",
|
|
52
|
+
"size": 51534095
|
|
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.
|
|
3
|
+
"version": "0.3.152",
|
|
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.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
68
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
70
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
71
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.152",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.152",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.152",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.152",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.152",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.152",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.152",
|
|
71
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.152"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|
|
74
74
|
"sdk.mjs",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"manifest.json",
|
|
87
87
|
"manifest.zst.json"
|
|
88
88
|
],
|
|
89
|
-
"claudeCodeVersion": "2.1.
|
|
89
|
+
"claudeCodeVersion": "2.1.152"
|
|
90
90
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -2273,6 +2273,14 @@ export interface WorkflowInput {
|
|
|
2273
2273
|
* Name of a predefined workflow (built-in or from .claude/workflows/). Resolves to a self-contained script.
|
|
2274
2274
|
*/
|
|
2275
2275
|
name?: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* Ignored — set the workflow description in the script's `meta` block.
|
|
2278
|
+
*/
|
|
2279
|
+
description?: string;
|
|
2280
|
+
/**
|
|
2281
|
+
* Ignored — set the workflow title in the script's `meta` block.
|
|
2282
|
+
*/
|
|
2283
|
+
title?: string;
|
|
2276
2284
|
/**
|
|
2277
2285
|
* Optional input value exposed to the script as the global `args`. Use for parameterized named workflows (e.g. a research question).
|
|
2278
2286
|
*/
|
package/sdk.d.ts
CHANGED
|
@@ -350,6 +350,8 @@ declare namespace coreTypes {
|
|
|
350
350
|
McpServerToolPolicy,
|
|
351
351
|
McpSetServersResult,
|
|
352
352
|
McpStdioServerConfig,
|
|
353
|
+
MessageDisplayHookInput,
|
|
354
|
+
MessageDisplayHookSpecificOutput,
|
|
353
355
|
ModelInfo,
|
|
354
356
|
ModelUsage,
|
|
355
357
|
NotificationHookInput,
|
|
@@ -777,7 +779,7 @@ export declare type GetSubagentMessagesOptions = {
|
|
|
777
779
|
sessionStore?: SessionStore;
|
|
778
780
|
};
|
|
779
781
|
|
|
780
|
-
export declare const HOOK_EVENTS: readonly ["PreToolUse", "PostToolUse", "PostToolUseFailure", "PostToolBatch", "Notification", "UserPromptSubmit", "UserPromptExpansion", "SessionStart", "SessionEnd", "Stop", "StopFailure", "SubagentStart", "SubagentStop", "PreCompact", "PostCompact", "PermissionRequest", "PermissionDenied", "Setup", "TeammateIdle", "TaskCreated", "TaskCompleted", "Elicitation", "ElicitationResult", "ConfigChange", "WorktreeCreate", "WorktreeRemove", "InstructionsLoaded", "CwdChanged", "FileChanged"];
|
|
782
|
+
export declare const HOOK_EVENTS: readonly ["PreToolUse", "PostToolUse", "PostToolUseFailure", "PostToolBatch", "Notification", "UserPromptSubmit", "UserPromptExpansion", "SessionStart", "SessionEnd", "Stop", "StopFailure", "SubagentStart", "SubagentStop", "PreCompact", "PostCompact", "PermissionRequest", "PermissionDenied", "Setup", "TeammateIdle", "TaskCreated", "TaskCompleted", "Elicitation", "ElicitationResult", "ConfigChange", "WorktreeCreate", "WorktreeRemove", "InstructionsLoaded", "CwdChanged", "FileChanged", "MessageDisplay"];
|
|
781
783
|
|
|
782
784
|
/**
|
|
783
785
|
* Hook callback function for responding to events during execution.
|
|
@@ -796,9 +798,9 @@ export declare interface HookCallbackMatcher {
|
|
|
796
798
|
timeout?: number;
|
|
797
799
|
}
|
|
798
800
|
|
|
799
|
-
export declare type HookEvent = 'PreToolUse' | 'PostToolUse' | 'PostToolUseFailure' | 'PostToolBatch' | 'Notification' | 'UserPromptSubmit' | 'UserPromptExpansion' | 'SessionStart' | 'SessionEnd' | 'Stop' | 'StopFailure' | 'SubagentStart' | 'SubagentStop' | 'PreCompact' | 'PostCompact' | 'PermissionRequest' | 'PermissionDenied' | 'Setup' | 'TeammateIdle' | 'TaskCreated' | 'TaskCompleted' | 'Elicitation' | 'ElicitationResult' | 'ConfigChange' | 'WorktreeCreate' | 'WorktreeRemove' | 'InstructionsLoaded' | 'CwdChanged' | 'FileChanged';
|
|
801
|
+
export declare type HookEvent = 'PreToolUse' | 'PostToolUse' | 'PostToolUseFailure' | 'PostToolBatch' | 'Notification' | 'UserPromptSubmit' | 'UserPromptExpansion' | 'SessionStart' | 'SessionEnd' | 'Stop' | 'StopFailure' | 'SubagentStart' | 'SubagentStop' | 'PreCompact' | 'PostCompact' | 'PermissionRequest' | 'PermissionDenied' | 'Setup' | 'TeammateIdle' | 'TaskCreated' | 'TaskCompleted' | 'Elicitation' | 'ElicitationResult' | 'ConfigChange' | 'WorktreeCreate' | 'WorktreeRemove' | 'InstructionsLoaded' | 'CwdChanged' | 'FileChanged' | 'MessageDisplay';
|
|
800
802
|
|
|
801
|
-
export declare type HookInput = PreToolUseHookInput | PostToolUseHookInput | PostToolUseFailureHookInput | PostToolBatchHookInput | PermissionDeniedHookInput | NotificationHookInput | UserPromptSubmitHookInput | UserPromptExpansionHookInput | SessionStartHookInput | SessionEndHookInput | StopHookInput | StopFailureHookInput | SubagentStartHookInput | SubagentStopHookInput | PreCompactHookInput | PostCompactHookInput | PermissionRequestHookInput | SetupHookInput | TeammateIdleHookInput | TaskCreatedHookInput | TaskCompletedHookInput | ElicitationHookInput | ElicitationResultHookInput | ConfigChangeHookInput | InstructionsLoadedHookInput | WorktreeCreateHookInput | WorktreeRemoveHookInput | CwdChangedHookInput | FileChangedHookInput;
|
|
803
|
+
export declare type HookInput = PreToolUseHookInput | PostToolUseHookInput | PostToolUseFailureHookInput | PostToolBatchHookInput | PermissionDeniedHookInput | NotificationHookInput | UserPromptSubmitHookInput | UserPromptExpansionHookInput | SessionStartHookInput | SessionEndHookInput | StopHookInput | StopFailureHookInput | SubagentStartHookInput | SubagentStopHookInput | PreCompactHookInput | PostCompactHookInput | PermissionRequestHookInput | SetupHookInput | TeammateIdleHookInput | TaskCreatedHookInput | TaskCompletedHookInput | ElicitationHookInput | ElicitationResultHookInput | ConfigChangeHookInput | InstructionsLoadedHookInput | WorktreeCreateHookInput | WorktreeRemoveHookInput | CwdChangedHookInput | FileChangedHookInput | MessageDisplayHookInput;
|
|
802
804
|
|
|
803
805
|
export declare type HookJSONOutput = AsyncHookJSONOutput | SyncHookJSONOutput;
|
|
804
806
|
|
|
@@ -1136,6 +1138,44 @@ export declare type McpStdioServerConfig = {
|
|
|
1136
1138
|
|
|
1137
1139
|
};
|
|
1138
1140
|
|
|
1141
|
+
/**
|
|
1142
|
+
* Hook input for the MessageDisplay event. Fired with each batch of newly completed lines while an assistant message streams. Display-only: the stored message and what the model sees are untouched.
|
|
1143
|
+
*/
|
|
1144
|
+
export declare type MessageDisplayHookInput = BaseHookInput & {
|
|
1145
|
+
hook_event_name: 'MessageDisplay';
|
|
1146
|
+
/**
|
|
1147
|
+
* UUID of the current turn.
|
|
1148
|
+
*/
|
|
1149
|
+
turn_id: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* UUID of the assistant message being displayed. Stable across every flush of the same message. Not the API msg_… id.
|
|
1152
|
+
*/
|
|
1153
|
+
message_id: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* Zero-based index of this delta within the message. Increments by one per flush.
|
|
1156
|
+
*/
|
|
1157
|
+
index: number;
|
|
1158
|
+
/**
|
|
1159
|
+
* True on the message's last flush. Exactly one flush per message has it.
|
|
1160
|
+
*/
|
|
1161
|
+
final: boolean;
|
|
1162
|
+
/**
|
|
1163
|
+
* The newly completed lines since the prior flush. Always whole lines, except on the final flush which may end mid-line. The delta of the final flush is empty when the message ends on a newline; treat final as the end-of-message signal regardless.
|
|
1164
|
+
*/
|
|
1165
|
+
delta: string;
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Hook-specific output for the MessageDisplay event. Display-only: replaces the delta on screen without changing the stored message.
|
|
1170
|
+
*/
|
|
1171
|
+
export declare type MessageDisplayHookSpecificOutput = {
|
|
1172
|
+
hookEventName: 'MessageDisplay';
|
|
1173
|
+
/**
|
|
1174
|
+
* Text displayed in place of the delta. Omit (or return the delta unchanged) to display the original.
|
|
1175
|
+
*/
|
|
1176
|
+
displayContent?: string;
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1139
1179
|
/**
|
|
1140
1180
|
* Information about an available model.
|
|
1141
1181
|
*/
|
|
@@ -2569,6 +2609,19 @@ export declare type SDKAssistantMessage = {
|
|
|
2569
2609
|
* Description of the subagent task that produced this message.
|
|
2570
2610
|
*/
|
|
2571
2611
|
task_description?: string;
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
|
|
2572
2625
|
};
|
|
2573
2626
|
|
|
2574
2627
|
export declare type SDKAssistantMessageError = 'authentication_failed' | 'oauth_org_not_allowed' | 'billing_error' | 'rate_limit' | 'invalid_request' | 'model_not_found' | 'server_error' | 'unknown' | 'max_output_tokens';
|
|
@@ -3796,13 +3849,19 @@ export declare type SessionStartHookInput = BaseHookInput & {
|
|
|
3796
3849
|
source: 'startup' | 'resume' | 'clear' | 'compact';
|
|
3797
3850
|
agent_type?: string;
|
|
3798
3851
|
model?: string;
|
|
3852
|
+
session_title?: string;
|
|
3799
3853
|
};
|
|
3800
3854
|
|
|
3801
3855
|
export declare type SessionStartHookSpecificOutput = {
|
|
3802
3856
|
hookEventName: 'SessionStart';
|
|
3803
3857
|
additionalContext?: string;
|
|
3804
3858
|
initialUserMessage?: string;
|
|
3859
|
+
sessionTitle?: string;
|
|
3805
3860
|
watchPaths?: string[];
|
|
3861
|
+
/**
|
|
3862
|
+
* Re-scan skill and command directories after SessionStart hooks complete, so skills installed by the hook are available in the same session
|
|
3863
|
+
*/
|
|
3864
|
+
reloadSkills?: boolean;
|
|
3806
3865
|
};
|
|
3807
3866
|
|
|
3808
3867
|
/**
|
|
@@ -4379,6 +4438,7 @@ export declare interface Settings {
|
|
|
4379
4438
|
* Disable Remote Control (claude.ai/code, `claude remote-control`, `--remote-control`/`--rc`, auto-start, and the in-session toggle). Typically set in managed settings.
|
|
4380
4439
|
*/
|
|
4381
4440
|
disableRemoteControl?: boolean;
|
|
4441
|
+
|
|
4382
4442
|
/**
|
|
4383
4443
|
* 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.
|
|
4384
4444
|
*/
|
|
@@ -5011,6 +5071,10 @@ export declare interface Settings {
|
|
|
5011
5071
|
url?: string;
|
|
5012
5072
|
};
|
|
5013
5073
|
})[];
|
|
5074
|
+
/**
|
|
5075
|
+
* Marketplace names whose plugins may surface as contextual install suggestions (relevance-based tips), in addition to the official marketplace. Only honored when set in managed settings (policy scope); the key is ignored in user, project, and local settings. A name only takes effect when the marketplace is registered on the machine AND its registered source is also declared in managed settings, either as the extraKnownMarketplaces entry for that name or as an entry of strictKnownMarketplaces. A marketplace registered from a different source under an allowlisted name is ignored.
|
|
5076
|
+
*/
|
|
5077
|
+
pluginSuggestionMarketplaces?: string[];
|
|
5014
5078
|
/**
|
|
5015
5079
|
* Force a specific login method: "claudeai" for Claude Pro/Max, "console" for Console billing
|
|
5016
5080
|
*/
|
|
@@ -5299,7 +5363,7 @@ export declare interface Settings {
|
|
|
5299
5363
|
*/
|
|
5300
5364
|
autoDreamEnabled?: boolean;
|
|
5301
5365
|
/**
|
|
5302
|
-
*
|
|
5366
|
+
* Request API-side thinking summaries and show them in the conversation and in the transcript view (ctrl+o). Set explicitly to override the default for your install.
|
|
5303
5367
|
*/
|
|
5304
5368
|
showThinkingSummaries?: boolean;
|
|
5305
5369
|
/**
|
|
@@ -5636,7 +5700,7 @@ export declare type SyncHookJSONOutput = {
|
|
|
5636
5700
|
reason?: string;
|
|
5637
5701
|
|
|
5638
5702
|
|
|
5639
|
-
hookSpecificOutput?: PreToolUseHookSpecificOutput | UserPromptSubmitHookSpecificOutput | UserPromptExpansionHookSpecificOutput | SessionStartHookSpecificOutput | SetupHookSpecificOutput | SubagentStartHookSpecificOutput | PostToolUseHookSpecificOutput | PostToolUseFailureHookSpecificOutput | PostToolBatchHookSpecificOutput | PermissionDeniedHookSpecificOutput | NotificationHookSpecificOutput | PermissionRequestHookSpecificOutput | ElicitationHookSpecificOutput | ElicitationResultHookSpecificOutput | CwdChangedHookSpecificOutput | FileChangedHookSpecificOutput | WorktreeCreateHookSpecificOutput;
|
|
5703
|
+
hookSpecificOutput?: PreToolUseHookSpecificOutput | UserPromptSubmitHookSpecificOutput | UserPromptExpansionHookSpecificOutput | SessionStartHookSpecificOutput | SetupHookSpecificOutput | SubagentStartHookSpecificOutput | PostToolUseHookSpecificOutput | PostToolUseFailureHookSpecificOutput | PostToolBatchHookSpecificOutput | PermissionDeniedHookSpecificOutput | NotificationHookSpecificOutput | PermissionRequestHookSpecificOutput | ElicitationHookSpecificOutput | ElicitationResultHookSpecificOutput | CwdChangedHookSpecificOutput | FileChangedHookSpecificOutput | WorktreeCreateHookSpecificOutput | MessageDisplayHookSpecificOutput;
|
|
5640
5704
|
};
|
|
5641
5705
|
|
|
5642
5706
|
/**
|