@anthropic-ai/claude-agent-sdk 0.2.48 → 0.2.50
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/cli.js +1750 -1737
- package/manifest.json +18 -18
- package/manifest.zst.json +18 -18
- package/package.json +2 -2
- package/sdk-tools.d.ts +119 -29
- package/sdk.d.ts +25 -5
- package/sdk.mjs +49 -38
package/manifest.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"buildDate": "2026-02-
|
|
2
|
+
"version": "2.1.50",
|
|
3
|
+
"buildDate": "2026-02-20T23:11:16Z",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"binary": "claude",
|
|
7
|
-
"checksum": "
|
|
8
|
-
"size":
|
|
7
|
+
"checksum": "4b6c1cb5e02428dbf600d08f88c28f9ea06619001c3efebf8890365e5b79d1b7",
|
|
8
|
+
"size": 185138720
|
|
9
9
|
},
|
|
10
10
|
"darwin-x64": {
|
|
11
11
|
"binary": "claude",
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "2215818c6e2a4fa0497ee88a19f8d84b91f0bb29cc4150a30aa775f75ba2133c",
|
|
13
|
+
"size": 190259936
|
|
14
14
|
},
|
|
15
15
|
"linux-arm64": {
|
|
16
16
|
"binary": "claude",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "4e2b23dbf2f97918d5edc95ae1de03d230a66b94d5fa31a57cc673742ec6ae22",
|
|
18
|
+
"size": 222243607
|
|
19
19
|
},
|
|
20
20
|
"linux-x64": {
|
|
21
21
|
"binary": "claude",
|
|
22
|
-
"checksum": "
|
|
23
|
-
"size":
|
|
22
|
+
"checksum": "74042739197c58a4791c1f67414c0d8956639ec2f2e935280872b83d4317be78",
|
|
23
|
+
"size": 225124924
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64-musl": {
|
|
26
26
|
"binary": "claude",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "68bff711ac0a2a044448e50ca1561cdbc38c3dcd237b071e303282ac69c50e93",
|
|
28
|
+
"size": 215410615
|
|
29
29
|
},
|
|
30
30
|
"linux-x64-musl": {
|
|
31
31
|
"binary": "claude",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "517c66ddd9d1d18526d6876f2dd6ebcebbd11770cc4a3a8df554b3814f4989cf",
|
|
33
|
+
"size": 217624980
|
|
34
34
|
},
|
|
35
35
|
"win32-x64": {
|
|
36
36
|
"binary": "claude.exe",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "d42d0254c652b7cd6031635ed56d9cba87df205e159051af28e75f9e20ff389a",
|
|
38
|
+
"size": 234163872
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"binary": "claude.exe",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "e5cbd15fc11f63e8835dc24ef071ad7a2d62b54674a977eb38c4770922db1ab6",
|
|
43
|
+
"size": 226216096
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"buildDate": "2026-02-
|
|
2
|
+
"version": "2.1.50",
|
|
3
|
+
"buildDate": "2026-02-20T23:11:17Z",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"binary": "claude.zst",
|
|
7
|
-
"checksum": "
|
|
8
|
-
"size":
|
|
7
|
+
"checksum": "a64c19c53311aeaaf1df3594e7414811e9173dc787f68b4fa4020c344778c4d4",
|
|
8
|
+
"size": 39179511
|
|
9
9
|
},
|
|
10
10
|
"darwin-x64": {
|
|
11
11
|
"binary": "claude.zst",
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "da95a16fb90241415ca62f638f5ab5408bb890462aeebe81f6b169e33e100712",
|
|
13
|
+
"size": 41378827
|
|
14
14
|
},
|
|
15
15
|
"linux-arm64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "2a1b040b35698b8d00eb55c7b737b584cf3c5fad588f0e46731d072a6b684143",
|
|
18
|
+
"size": 49707843
|
|
19
19
|
},
|
|
20
20
|
"linux-x64": {
|
|
21
21
|
"binary": "claude.zst",
|
|
22
|
-
"checksum": "
|
|
23
|
-
"size":
|
|
22
|
+
"checksum": "e1982895b10c622c3af97e414f297b8b6449072007fd2617dc4c05e9af60d6f4",
|
|
23
|
+
"size": 50408959
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64-musl": {
|
|
26
26
|
"binary": "claude.zst",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "e21556a82797e0ec8c855b7a4ade07bab2dc4c523f4b76f8e17778dc817f4ebe",
|
|
28
|
+
"size": 48213585
|
|
29
29
|
},
|
|
30
30
|
"linux-x64-musl": {
|
|
31
31
|
"binary": "claude.zst",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "06e2d66aecb2f3564f2dba82937b6da5989ffb94f191ceaaf393cda81b79fde3",
|
|
33
|
+
"size": 48844892
|
|
34
34
|
},
|
|
35
35
|
"win32-x64": {
|
|
36
36
|
"binary": "claude.exe.zst",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "399b2fabe6861896ec9d406bb1baaad8b6db0b4ac09466b0bfd9d3238d09aff0",
|
|
38
|
+
"size": 52497590
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"binary": "claude.exe.zst",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "3ec7b59a8aabf505a9f7ab2054b3e25859b0265a49f18d4dd7ab7ed76583be7e",
|
|
43
|
+
"size": 49748794
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
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.50",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"engines": {
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"@img/sharp-win32-arm64": "^0.34.2",
|
|
39
39
|
"@img/sharp-win32-x64": "^0.34.2"
|
|
40
40
|
},
|
|
41
|
-
"claudeCodeVersion": "2.1.
|
|
41
|
+
"claudeCodeVersion": "2.1.50"
|
|
42
42
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ export type ToolInputSchemas =
|
|
|
23
23
|
| McpInput
|
|
24
24
|
| NotebookEditInput
|
|
25
25
|
| ReadMcpResourceInput
|
|
26
|
+
| SubscribeMcpResourceInput
|
|
27
|
+
| UnsubscribeMcpResourceInput
|
|
28
|
+
| SubscribePollingInput
|
|
29
|
+
| UnsubscribePollingInput
|
|
26
30
|
| TodoWriteInput
|
|
27
31
|
| WebFetchInput
|
|
28
32
|
| WebSearchInput
|
|
@@ -44,6 +48,10 @@ export type ToolOutputSchemas =
|
|
|
44
48
|
| McpOutput
|
|
45
49
|
| NotebookEditOutput
|
|
46
50
|
| ReadMcpResourceOutput
|
|
51
|
+
| SubscribeMcpResourceOutput
|
|
52
|
+
| UnsubscribeMcpResourceOutput
|
|
53
|
+
| SubscribePollingOutput
|
|
54
|
+
| UnsubscribePollingOutput
|
|
47
55
|
| TodoWriteOutput
|
|
48
56
|
| WebFetchOutput
|
|
49
57
|
| WebSearchOutput
|
|
@@ -289,6 +297,10 @@ export interface AgentInput {
|
|
|
289
297
|
* Permission mode for spawned teammate (e.g., "plan" to require plan approval).
|
|
290
298
|
*/
|
|
291
299
|
mode?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "plan";
|
|
300
|
+
/**
|
|
301
|
+
* Isolation mode. "worktree" creates a temporary git worktree so the agent works on an isolated copy of the repo.
|
|
302
|
+
*/
|
|
303
|
+
isolation?: "worktree";
|
|
292
304
|
}
|
|
293
305
|
export interface BashInput {
|
|
294
306
|
/**
|
|
@@ -350,22 +362,6 @@ export interface ExitPlanModeInput {
|
|
|
350
362
|
*/
|
|
351
363
|
prompt: string;
|
|
352
364
|
}[];
|
|
353
|
-
/**
|
|
354
|
-
* Whether to push the plan to a remote Claude.ai session
|
|
355
|
-
*/
|
|
356
|
-
pushToRemote?: boolean;
|
|
357
|
-
/**
|
|
358
|
-
* The remote session ID if pushed to remote
|
|
359
|
-
*/
|
|
360
|
-
remoteSessionId?: string;
|
|
361
|
-
/**
|
|
362
|
-
* The remote session URL if pushed to remote
|
|
363
|
-
*/
|
|
364
|
-
remoteSessionUrl?: string;
|
|
365
|
-
/**
|
|
366
|
-
* The remote session title if pushed to remote
|
|
367
|
-
*/
|
|
368
|
-
remoteSessionTitle?: string;
|
|
369
365
|
[k: string]: unknown;
|
|
370
366
|
}
|
|
371
367
|
export interface FileEditInput {
|
|
@@ -533,6 +529,80 @@ export interface ReadMcpResourceInput {
|
|
|
533
529
|
*/
|
|
534
530
|
uri: string;
|
|
535
531
|
}
|
|
532
|
+
export interface SubscribeMcpResourceInput {
|
|
533
|
+
/**
|
|
534
|
+
* The MCP server name
|
|
535
|
+
*/
|
|
536
|
+
server: string;
|
|
537
|
+
/**
|
|
538
|
+
* The resource URI to subscribe to
|
|
539
|
+
*/
|
|
540
|
+
uri: string;
|
|
541
|
+
/**
|
|
542
|
+
* Optional reason for subscribing (included in update notifications)
|
|
543
|
+
*/
|
|
544
|
+
reason?: string;
|
|
545
|
+
}
|
|
546
|
+
export interface UnsubscribeMcpResourceInput {
|
|
547
|
+
/**
|
|
548
|
+
* The MCP server name
|
|
549
|
+
*/
|
|
550
|
+
server?: string;
|
|
551
|
+
/**
|
|
552
|
+
* The resource URI to unsubscribe from
|
|
553
|
+
*/
|
|
554
|
+
uri?: string;
|
|
555
|
+
/**
|
|
556
|
+
* The subscription ID to unsubscribe
|
|
557
|
+
*/
|
|
558
|
+
subscriptionId?: string;
|
|
559
|
+
}
|
|
560
|
+
export interface SubscribePollingInput {
|
|
561
|
+
/**
|
|
562
|
+
* The type of subscription: "tool" to poll a tool, "resource" to poll a resource URI
|
|
563
|
+
*/
|
|
564
|
+
type: "tool" | "resource";
|
|
565
|
+
/**
|
|
566
|
+
* The MCP server name
|
|
567
|
+
*/
|
|
568
|
+
server: string;
|
|
569
|
+
/**
|
|
570
|
+
* The tool to call periodically (required when type is "tool")
|
|
571
|
+
*/
|
|
572
|
+
toolName?: string;
|
|
573
|
+
/**
|
|
574
|
+
* Arguments to pass to the tool on each call
|
|
575
|
+
*/
|
|
576
|
+
arguments?: {
|
|
577
|
+
[k: string]: unknown;
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* The resource URI to poll (required when type is "resource")
|
|
581
|
+
*/
|
|
582
|
+
uri?: string;
|
|
583
|
+
/**
|
|
584
|
+
* Polling interval in milliseconds (minimum 1000ms, default 5000ms)
|
|
585
|
+
*/
|
|
586
|
+
intervalMs: number;
|
|
587
|
+
/**
|
|
588
|
+
* Optional reason for subscribing (included in change notifications)
|
|
589
|
+
*/
|
|
590
|
+
reason?: string;
|
|
591
|
+
}
|
|
592
|
+
export interface UnsubscribePollingInput {
|
|
593
|
+
/**
|
|
594
|
+
* The subscription ID to unsubscribe
|
|
595
|
+
*/
|
|
596
|
+
subscriptionId?: string;
|
|
597
|
+
/**
|
|
598
|
+
* The MCP server name
|
|
599
|
+
*/
|
|
600
|
+
server?: string;
|
|
601
|
+
/**
|
|
602
|
+
* The target to unsubscribe (tool name for tool subscriptions, URI for resource subscriptions)
|
|
603
|
+
*/
|
|
604
|
+
target?: string;
|
|
605
|
+
}
|
|
536
606
|
export interface TodoWriteInput {
|
|
537
607
|
/**
|
|
538
608
|
* The updated todo list
|
|
@@ -1849,18 +1919,6 @@ export interface ExitPlanModeOutput {
|
|
|
1849
1919
|
* The file path where the plan was saved
|
|
1850
1920
|
*/
|
|
1851
1921
|
filePath?: string;
|
|
1852
|
-
/**
|
|
1853
|
-
* Whether the plan was pushed to a remote session
|
|
1854
|
-
*/
|
|
1855
|
-
pushToRemote?: boolean;
|
|
1856
|
-
/**
|
|
1857
|
-
* The remote session ID
|
|
1858
|
-
*/
|
|
1859
|
-
remoteSessionId?: string;
|
|
1860
|
-
/**
|
|
1861
|
-
* The remote session URL
|
|
1862
|
-
*/
|
|
1863
|
-
remoteSessionUrl?: string;
|
|
1864
1922
|
/**
|
|
1865
1923
|
* Whether the Task tool is available in the current context
|
|
1866
1924
|
*/
|
|
@@ -2054,6 +2112,38 @@ export interface ReadMcpResourceOutput {
|
|
|
2054
2112
|
text?: string;
|
|
2055
2113
|
}[];
|
|
2056
2114
|
}
|
|
2115
|
+
export interface SubscribeMcpResourceOutput {
|
|
2116
|
+
/**
|
|
2117
|
+
* Whether the subscription was successful
|
|
2118
|
+
*/
|
|
2119
|
+
subscribed: boolean;
|
|
2120
|
+
/**
|
|
2121
|
+
* Unique identifier for this subscription
|
|
2122
|
+
*/
|
|
2123
|
+
subscriptionId: string;
|
|
2124
|
+
}
|
|
2125
|
+
export interface UnsubscribeMcpResourceOutput {
|
|
2126
|
+
/**
|
|
2127
|
+
* Whether the unsubscription was successful
|
|
2128
|
+
*/
|
|
2129
|
+
unsubscribed: boolean;
|
|
2130
|
+
}
|
|
2131
|
+
export interface SubscribePollingOutput {
|
|
2132
|
+
/**
|
|
2133
|
+
* Whether the subscription was successful
|
|
2134
|
+
*/
|
|
2135
|
+
subscribed: boolean;
|
|
2136
|
+
/**
|
|
2137
|
+
* Unique identifier for this subscription
|
|
2138
|
+
*/
|
|
2139
|
+
subscriptionId: string;
|
|
2140
|
+
}
|
|
2141
|
+
export interface UnsubscribePollingOutput {
|
|
2142
|
+
/**
|
|
2143
|
+
* Whether the unsubscription was successful
|
|
2144
|
+
*/
|
|
2145
|
+
unsubscribed: boolean;
|
|
2146
|
+
}
|
|
2057
2147
|
export interface TodoWriteOutput {
|
|
2058
2148
|
/**
|
|
2059
2149
|
* The todo list before the update
|
|
@@ -2272,6 +2362,6 @@ export interface ConfigOutput {
|
|
|
2272
2362
|
}
|
|
2273
2363
|
export interface EnterWorktreeOutput {
|
|
2274
2364
|
worktreePath: string;
|
|
2275
|
-
worktreeBranch
|
|
2365
|
+
worktreeBranch?: string;
|
|
2276
2366
|
message: string;
|
|
2277
2367
|
}
|
package/sdk.d.ts
CHANGED
|
@@ -242,7 +242,9 @@ declare namespace coreTypes {
|
|
|
242
242
|
ThinkingDisabled,
|
|
243
243
|
ThinkingEnabled,
|
|
244
244
|
UserPromptSubmitHookInput,
|
|
245
|
-
UserPromptSubmitHookSpecificOutput
|
|
245
|
+
UserPromptSubmitHookSpecificOutput,
|
|
246
|
+
WorktreeCreateHookInput,
|
|
247
|
+
WorktreeRemoveHookInput
|
|
246
248
|
}
|
|
247
249
|
}
|
|
248
250
|
|
|
@@ -264,7 +266,7 @@ export declare const EXIT_REASONS: readonly ["clear", "logout", "prompt_input_ex
|
|
|
264
266
|
|
|
265
267
|
export declare type ExitReason = 'clear' | 'logout' | 'prompt_input_exit' | 'other' | 'bypass_permissions_disabled';
|
|
266
268
|
|
|
267
|
-
export declare const HOOK_EVENTS: readonly ["PreToolUse", "PostToolUse", "PostToolUseFailure", "Notification", "UserPromptSubmit", "SessionStart", "SessionEnd", "Stop", "SubagentStart", "SubagentStop", "PreCompact", "PermissionRequest", "Setup", "TeammateIdle", "TaskCompleted", "ConfigChange"];
|
|
269
|
+
export declare const HOOK_EVENTS: readonly ["PreToolUse", "PostToolUse", "PostToolUseFailure", "Notification", "UserPromptSubmit", "SessionStart", "SessionEnd", "Stop", "SubagentStart", "SubagentStop", "PreCompact", "PermissionRequest", "Setup", "TeammateIdle", "TaskCompleted", "ConfigChange", "WorktreeCreate", "WorktreeRemove"];
|
|
268
270
|
|
|
269
271
|
/**
|
|
270
272
|
* Hook callback function for responding to events during execution.
|
|
@@ -283,9 +285,9 @@ export declare interface HookCallbackMatcher {
|
|
|
283
285
|
timeout?: number;
|
|
284
286
|
}
|
|
285
287
|
|
|
286
|
-
export declare type HookEvent = 'PreToolUse' | 'PostToolUse' | 'PostToolUseFailure' | 'Notification' | 'UserPromptSubmit' | 'SessionStart' | 'SessionEnd' | 'Stop' | 'SubagentStart' | 'SubagentStop' | 'PreCompact' | 'PermissionRequest' | 'Setup' | 'TeammateIdle' | 'TaskCompleted' | 'ConfigChange';
|
|
288
|
+
export declare type HookEvent = 'PreToolUse' | 'PostToolUse' | 'PostToolUseFailure' | 'Notification' | 'UserPromptSubmit' | 'SessionStart' | 'SessionEnd' | 'Stop' | 'SubagentStart' | 'SubagentStop' | 'PreCompact' | 'PermissionRequest' | 'Setup' | 'TeammateIdle' | 'TaskCompleted' | 'ConfigChange' | 'WorktreeCreate' | 'WorktreeRemove';
|
|
287
289
|
|
|
288
|
-
export declare type HookInput = PreToolUseHookInput | PostToolUseHookInput | PostToolUseFailureHookInput | NotificationHookInput | UserPromptSubmitHookInput | SessionStartHookInput | SessionEndHookInput | StopHookInput | SubagentStartHookInput | SubagentStopHookInput | PreCompactHookInput | PermissionRequestHookInput | SetupHookInput | TeammateIdleHookInput | TaskCompletedHookInput | ConfigChangeHookInput;
|
|
290
|
+
export declare type HookInput = PreToolUseHookInput | PostToolUseHookInput | PostToolUseFailureHookInput | NotificationHookInput | UserPromptSubmitHookInput | SessionStartHookInput | SessionEndHookInput | StopHookInput | SubagentStartHookInput | SubagentStopHookInput | PreCompactHookInput | PermissionRequestHookInput | SetupHookInput | TeammateIdleHookInput | TaskCompletedHookInput | ConfigChangeHookInput | WorktreeCreateHookInput | WorktreeRemoveHookInput;
|
|
289
291
|
|
|
290
292
|
export declare type HookJSONOutput = AsyncHookJSONOutput | SyncHookJSONOutput;
|
|
291
293
|
|
|
@@ -1270,6 +1272,14 @@ export declare type SDKCompactBoundaryMessage = {
|
|
|
1270
1272
|
session_id: string;
|
|
1271
1273
|
};
|
|
1272
1274
|
|
|
1275
|
+
/**
|
|
1276
|
+
* Merges the provided settings into the flag settings layer, updating the active configuration.
|
|
1277
|
+
*/
|
|
1278
|
+
declare type SDKControlApplyFlagSettingsRequest = {
|
|
1279
|
+
subtype: 'apply_flag_settings';
|
|
1280
|
+
settings: Record<string, unknown>;
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1273
1283
|
/**
|
|
1274
1284
|
* Cancels a currently open control request.
|
|
1275
1285
|
*/
|
|
@@ -1376,7 +1386,7 @@ declare type SDKControlRequest = {
|
|
|
1376
1386
|
request: SDKControlRequestInner;
|
|
1377
1387
|
};
|
|
1378
1388
|
|
|
1379
|
-
declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlMcpStatusRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlMcpSetServersRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlStopTaskRequest;
|
|
1389
|
+
declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlMcpStatusRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlMcpSetServersRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlStopTaskRequest | SDKControlApplyFlagSettingsRequest;
|
|
1380
1390
|
|
|
1381
1391
|
declare type SDKControlResponse = {
|
|
1382
1392
|
type: 'control_response';
|
|
@@ -2040,4 +2050,14 @@ export declare type UserPromptSubmitHookSpecificOutput = {
|
|
|
2040
2050
|
additionalContext?: string;
|
|
2041
2051
|
};
|
|
2042
2052
|
|
|
2053
|
+
export declare type WorktreeCreateHookInput = BaseHookInput & {
|
|
2054
|
+
hook_event_name: 'WorktreeCreate';
|
|
2055
|
+
name: string;
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
export declare type WorktreeRemoveHookInput = BaseHookInput & {
|
|
2059
|
+
hook_event_name: 'WorktreeRemove';
|
|
2060
|
+
worktree_path: string;
|
|
2061
|
+
};
|
|
2062
|
+
|
|
2043
2063
|
export { }
|