@anthropic-ai/claude-agent-sdk 0.2.83 → 0.2.84

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,46 +1,46 @@
1
1
  {
2
- "version": "2.1.83",
3
- "buildDate": "2026-03-25T05:20:36Z",
2
+ "version": "2.1.84",
3
+ "buildDate": "2026-03-25T23:54:35Z",
4
4
  "platforms": {
5
5
  "darwin-arm64": {
6
6
  "binary": "claude",
7
- "checksum": "43246a9ff21de27c517f48af52c9d510c9e6e70bd90b115d80b9c690c515ae0d",
8
- "size": 199115504
7
+ "checksum": "c02d911ff13f8ceccb1f6662bf211f3cd9f29d5a46f031c3cc40654eb759aa29",
8
+ "size": 203606768
9
9
  },
10
10
  "darwin-x64": {
11
11
  "binary": "claude",
12
- "checksum": "bd16eefc5f7ba3d1b791e311f4d5b24ac3174588110a38db1c88c1b51dc88214",
13
- "size": 200708688
12
+ "checksum": "da5ed2ee1b0bcf65c2088e79bc65388ec85edc41041fc6ca7c27330f2e201085",
13
+ "size": 205199952
14
14
  },
15
15
  "linux-arm64": {
16
16
  "binary": "claude",
17
- "checksum": "660bddb82c06a69bef8e468ffb8dd2354212bb76de122fe5d67393564b932de9",
18
- "size": 233704000
17
+ "checksum": "5c868174b44439e51c74ff084c306856c41779615250d5bbdaa5d10056362814",
18
+ "size": 235473472
19
19
  },
20
20
  "linux-x64": {
21
21
  "binary": "claude",
22
- "checksum": "ff79cd5d152017326f661309bbffbefc954f02a195fb232ada152d812e476e66",
23
- "size": 233863808
22
+ "checksum": "c6872aa8db94f303bc6a4482664e40d3288dfc989c89ba268473ed32e3055878",
23
+ "size": 235657856
24
24
  },
25
25
  "linux-arm64-musl": {
26
26
  "binary": "claude",
27
- "checksum": "23396cad38d89cbce1fc739e2443e25a1b9bf9036964f5d2c82ae0d266f0b727",
28
- "size": 226822592
27
+ "checksum": "6e42aee87a00ab8e6fb3db3fc409ab969f12758bacc2a0c9f622d8e97445a0a8",
28
+ "size": 228592064
29
29
  },
30
30
  "linux-x64-musl": {
31
31
  "binary": "claude",
32
- "checksum": "d0c301132fa0a3447c8442fc4a92076e042c2acd849e48d93ccf1192fa03d75e",
33
- "size": 228489664
32
+ "checksum": "0109e76af6261f6fd37ae1deefc7ee3bc58b0ad786086d198a981275979c549a",
33
+ "size": 230283712
34
34
  },
35
35
  "win32-x64": {
36
36
  "binary": "claude.exe",
37
- "checksum": "24cd40c12e7d62faef9d1aead2d27bb8e9f45fb3445eaded05010bbf72e637d5",
38
- "size": 243462304
37
+ "checksum": "64b28630ec4f4aaa6cc0e225379cf59cdb95828cbb4ce700a0ae4401b1999ecd",
38
+ "size": 245196960
39
39
  },
40
40
  "win32-arm64": {
41
41
  "binary": "claude.exe",
42
- "checksum": "8c6692a1e83b9baafbe405b11c62003dec03aa606623e59483bac772ab0f4730",
43
- "size": 239616160
42
+ "checksum": "e7f5d18d470f0345ee18bb368f8ea7d43e791e17f0de7b69cdc40e42a9a9398e",
43
+ "size": 241350304
44
44
  }
45
45
  }
46
46
  }
package/manifest.zst.json CHANGED
@@ -1,54 +1,54 @@
1
1
  {
2
- "version": "2.1.83",
3
- "buildDate": "2026-03-25T05:20:37Z",
2
+ "version": "2.1.84",
3
+ "buildDate": "2026-03-25T23:54:36Z",
4
4
  "platforms": {
5
5
  "darwin-arm64": {
6
6
  "binary": "claude.zst",
7
- "checksum": "362502b9fa5e3112abb1153a7336e11dc1975a578d69e5ad6864208cc89e1581",
8
- "size": 42292402,
7
+ "checksum": "a0e577c1ca84302c5de1e6498d047149ba44a710ea51ff303986fd47f1c0eb83",
8
+ "size": 43366416,
9
9
  "bundle": {
10
- "checksum": "5fcb3b66c14fd68785c04849d6026f456fc49bb1255823259ce1673721a24172",
11
- "size": 42293077
10
+ "checksum": "4111e9be5214eb3e2e97d7fc133dbb13b51fc8978fff23d26578021fa84b7c30",
11
+ "size": 43377661
12
12
  }
13
13
  },
14
14
  "darwin-x64": {
15
15
  "binary": "claude.zst",
16
- "checksum": "8ff37f12cfd36996f9745195976731f8ad77da0bc6c390fcdb5756e516071833",
17
- "size": 43968936,
16
+ "checksum": "d852a6245edfb235dd73bdffef79012ab18ee075ef3ded5abf602b17812bc82a",
17
+ "size": 45050362,
18
18
  "bundle": {
19
- "checksum": "1fa3ce7d59a635549acc321b5c37853eddf1b05b0c0d6e2ee2122c0235daa224",
20
- "size": 43965196
19
+ "checksum": "10bcd37cb20f82861ed710292821927d7f8e1549ca1dbc9e248769409c62f22b",
20
+ "size": 45050626
21
21
  }
22
22
  },
23
23
  "linux-arm64": {
24
24
  "binary": "claude.zst",
25
- "checksum": "8d3ae0a2ec5f803f9cc8a061a4d33e7c94c5bb1ba1bf6e079c929402912f61e0",
26
- "size": 52613068
25
+ "checksum": "fb0a0db9e8ceb414563fe776b9035b0827548d8e94bfab23f5c58a63d9c5f7b4",
26
+ "size": 53002601
27
27
  },
28
28
  "linux-x64": {
29
29
  "binary": "claude.zst",
30
- "checksum": "343948a2b0f8f9907becc18a77f9af08a3e692e9973be62808a8af4021d619bd",
31
- "size": 53223291
30
+ "checksum": "8476f46fb0422be1fc2cafe82c1b4b51226c07b5b73b40dd40b203cc5c8ad90a",
31
+ "size": 53582657
32
32
  },
33
33
  "linux-arm64-musl": {
34
34
  "binary": "claude.zst",
35
- "checksum": "d22d5344cf5355962f8848348765152ee1005cdc7542220a42fc6a4009d1c93a",
36
- "size": 51247376
35
+ "checksum": "7523be8411a2fef9bb4d93c59707d5497f5bf8229fb528fbc9ba5fc146480dee",
36
+ "size": 51604167
37
37
  },
38
38
  "linux-x64-musl": {
39
39
  "binary": "claude.zst",
40
- "checksum": "76cf501ebeb40bc1a114d723ae45eb01821713ef86e1fae0a207990c64b32067",
41
- "size": 51952381
40
+ "checksum": "e670e1468f01946a822d1526276f2f9de566987d89bbd52186a505f88763714f",
41
+ "size": 52327014
42
42
  },
43
43
  "win32-x64": {
44
44
  "binary": "claude.exe.zst",
45
- "checksum": "3726da94850f592954861bed1db4f63b03548ea4db2185aa2bb26e4ea2260926",
46
- "size": 54828032
45
+ "checksum": "e83814324697073fe6462eafcca9c354af1dc22e9689e5f3c0788dd1021ef414",
46
+ "size": 55192345
47
47
  },
48
48
  "win32-arm64": {
49
49
  "binary": "claude.exe.zst",
50
- "checksum": "3c7e729f47d7a520a9b31d98236a7a0f7c0c5c93b2979a298055fec6757fcb0e",
51
- "size": 52874158
50
+ "checksum": "dc7c0d74e5ae0704c4745d350f0afc5c2044b4b3fe553fb808252b9f2957af87",
51
+ "size": 53246192
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.83",
3
+ "version": "0.2.84",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "exports": {
@@ -62,5 +62,5 @@
62
62
  "@img/sharp-win32-arm64": "^0.34.2",
63
63
  "@img/sharp-win32-x64": "^0.34.2"
64
64
  },
65
- "claudeCodeVersion": "2.1.83"
65
+ "claudeCodeVersion": "2.1.84"
66
66
  }
package/sdk-tools.d.ts CHANGED
@@ -63,6 +63,7 @@ export type ToolOutputSchemas =
63
63
  export type AgentOutput =
64
64
  | {
65
65
  agentId: string;
66
+ agentType?: string;
66
67
  content: {
67
68
  type: "text";
68
69
  text: string;
@@ -455,7 +456,7 @@ export interface GrepInput {
455
456
  */
456
457
  type?: string;
457
458
  /**
458
- * Limit output to first N lines/entries, equivalent to "| head -N". Works across all output modes: content (limits output lines), files_with_matches (limits file paths), count (limits count entries). Defaults to 0 (unlimited).
459
+ * Limit output to first N lines/entries, equivalent to "| head -N". Works across all output modes: content (limits output lines), files_with_matches (limits file paths), count (limits count entries). Defaults to 250 when unspecified. Pass 0 for unlimited (use sparingly — large result sets waste context).
459
460
  */
460
461
  head_limit?: number;
461
462
  /**
@@ -2301,6 +2302,10 @@ export interface ExitPlanModeOutput {
2301
2302
  * Whether the Agent tool is available in the current context
2302
2303
  */
2303
2304
  hasTaskTool?: boolean;
2305
+ /**
2306
+ * True when the user edited the plan (CCR web UI or Ctrl+G); determines whether the plan is echoed back in tool_result
2307
+ */
2308
+ planWasEdited?: boolean;
2304
2309
  /**
2305
2310
  * When true, the teammate has sent a plan approval request to the team leader
2306
2311
  */
package/sdk.d.ts CHANGED
@@ -313,6 +313,7 @@ declare namespace coreTypes {
313
313
  SubagentStopHookInput,
314
314
  SyncHookJSONOutput,
315
315
  TaskCompletedHookInput,
316
+ TaskCreatedHookInput,
316
317
  TeammateIdleHookInput,
317
318
  ThinkingAdaptive,
318
319
  ThinkingConfig,
@@ -321,6 +322,7 @@ declare namespace coreTypes {
321
322
  UserPromptSubmitHookInput,
322
323
  UserPromptSubmitHookSpecificOutput,
323
324
  WorktreeCreateHookInput,
325
+ WorktreeCreateHookSpecificOutput,
324
326
  WorktreeRemoveHookInput
325
327
  }
326
328
  }
@@ -350,6 +352,16 @@ export declare type CwdChangedHookSpecificOutput = {
350
352
  watchPaths?: string[];
351
353
  };
352
354
 
355
+ /**
356
+ * Effort level for controlling how much thinking/reasoning Claude applies.
357
+ *
358
+ * - `'low'` — Minimal thinking, fastest responses
359
+ * - `'medium'` — Moderate thinking
360
+ * - `'high'` — Deep reasoning (default)
361
+ * - `'max'` — Maximum effort (select models only)
362
+ */
363
+ export declare type EffortLevel = 'low' | 'medium' | 'high' | 'max';
364
+
353
365
  /**
354
366
  * Hook input for the Elicitation event. Fired when an MCP server requests user input. Hooks can auto-respond (accept/decline) instead of showing the dialog.
355
367
  */
@@ -517,7 +529,7 @@ export declare type GetSessionMessagesOptions = {
517
529
  offset?: number;
518
530
  };
519
531
 
520
- export declare const HOOK_EVENTS: readonly ["PreToolUse", "PostToolUse", "PostToolUseFailure", "Notification", "UserPromptSubmit", "SessionStart", "SessionEnd", "Stop", "StopFailure", "SubagentStart", "SubagentStop", "PreCompact", "PostCompact", "PermissionRequest", "Setup", "TeammateIdle", "TaskCompleted", "Elicitation", "ElicitationResult", "ConfigChange", "WorktreeCreate", "WorktreeRemove", "InstructionsLoaded", "CwdChanged", "FileChanged"];
532
+ export declare const HOOK_EVENTS: readonly ["PreToolUse", "PostToolUse", "PostToolUseFailure", "Notification", "UserPromptSubmit", "SessionStart", "SessionEnd", "Stop", "StopFailure", "SubagentStart", "SubagentStop", "PreCompact", "PostCompact", "PermissionRequest", "Setup", "TeammateIdle", "TaskCreated", "TaskCompleted", "Elicitation", "ElicitationResult", "ConfigChange", "WorktreeCreate", "WorktreeRemove", "InstructionsLoaded", "CwdChanged", "FileChanged"];
521
533
 
522
534
  /**
523
535
  * Hook callback function for responding to events during execution.
@@ -536,9 +548,9 @@ export declare interface HookCallbackMatcher {
536
548
  timeout?: number;
537
549
  }
538
550
 
539
- export declare type HookEvent = 'PreToolUse' | 'PostToolUse' | 'PostToolUseFailure' | 'Notification' | 'UserPromptSubmit' | 'SessionStart' | 'SessionEnd' | 'Stop' | 'StopFailure' | 'SubagentStart' | 'SubagentStop' | 'PreCompact' | 'PostCompact' | 'PermissionRequest' | 'Setup' | 'TeammateIdle' | 'TaskCompleted' | 'Elicitation' | 'ElicitationResult' | 'ConfigChange' | 'WorktreeCreate' | 'WorktreeRemove' | 'InstructionsLoaded' | 'CwdChanged' | 'FileChanged';
551
+ export declare type HookEvent = 'PreToolUse' | 'PostToolUse' | 'PostToolUseFailure' | 'Notification' | 'UserPromptSubmit' | 'SessionStart' | 'SessionEnd' | 'Stop' | 'StopFailure' | 'SubagentStart' | 'SubagentStop' | 'PreCompact' | 'PostCompact' | 'PermissionRequest' | 'Setup' | 'TeammateIdle' | 'TaskCreated' | 'TaskCompleted' | 'Elicitation' | 'ElicitationResult' | 'ConfigChange' | 'WorktreeCreate' | 'WorktreeRemove' | 'InstructionsLoaded' | 'CwdChanged' | 'FileChanged';
540
552
 
541
- export declare type HookInput = PreToolUseHookInput | PostToolUseHookInput | PostToolUseFailureHookInput | NotificationHookInput | UserPromptSubmitHookInput | SessionStartHookInput | SessionEndHookInput | StopHookInput | StopFailureHookInput | SubagentStartHookInput | SubagentStopHookInput | PreCompactHookInput | PostCompactHookInput | PermissionRequestHookInput | SetupHookInput | TeammateIdleHookInput | TaskCompletedHookInput | ElicitationHookInput | ElicitationResultHookInput | ConfigChangeHookInput | InstructionsLoadedHookInput | WorktreeCreateHookInput | WorktreeRemoveHookInput | CwdChangedHookInput | FileChangedHookInput;
553
+ export declare type HookInput = PreToolUseHookInput | PostToolUseHookInput | PostToolUseFailureHookInput | NotificationHookInput | UserPromptSubmitHookInput | SessionStartHookInput | SessionEndHookInput | StopHookInput | StopFailureHookInput | SubagentStartHookInput | SubagentStopHookInput | PreCompactHookInput | PostCompactHookInput | PermissionRequestHookInput | SetupHookInput | TeammateIdleHookInput | TaskCreatedHookInput | TaskCompletedHookInput | ElicitationHookInput | ElicitationResultHookInput | ConfigChangeHookInput | InstructionsLoadedHookInput | WorktreeCreateHookInput | WorktreeRemoveHookInput | CwdChangedHookInput | FileChangedHookInput;
542
554
 
543
555
  export declare type HookJSONOutput = AsyncHookJSONOutput | SyncHookJSONOutput;
544
556
 
@@ -683,6 +695,7 @@ export declare type McpServerStatus = {
683
695
  openWorld?: boolean;
684
696
  };
685
697
  }[];
698
+
686
699
  };
687
700
 
688
701
  export declare type McpServerStatusConfig = McpServerConfigForProcessTransport | McpClaudeAIProxyServerConfig;
@@ -1015,7 +1028,7 @@ export declare type Options = {
1015
1028
  *
1016
1029
  * @see https://docs.anthropic.com/en/docs/build-with-claude/effort
1017
1030
  */
1018
- effort?: 'low' | 'medium' | 'high' | 'max';
1031
+ effort?: EffortLevel;
1019
1032
  /**
1020
1033
  * Maximum number of tokens the model can use for its thinking/reasoning process.
1021
1034
  * Helps control cost and latency for complex tasks.
@@ -1035,6 +1048,16 @@ export declare type Options = {
1035
1048
  * budget is exceeded, returning an `error_max_budget_usd` result.
1036
1049
  */
1037
1050
  maxBudgetUsd?: number;
1051
+ /**
1052
+ * API-side task budget in tokens. When set, the model is made aware of
1053
+ * its remaining token budget so it can pace tool use and wrap up before
1054
+ * the limit. Sent as `output_config.task_budget` with the
1055
+ * `task-budgets-2026-03-13` beta header.
1056
+ * @alpha
1057
+ */
1058
+ taskBudget?: {
1059
+ total: number;
1060
+ };
1038
1061
  /**
1039
1062
  * MCP (Model Context Protocol) server configurations.
1040
1063
  * Keys are server names, values are server configurations.
@@ -1109,6 +1132,7 @@ export declare type Options = {
1109
1132
 
1110
1133
 
1111
1134
 
1135
+
1112
1136
  /**
1113
1137
  * Enable prompt suggestions. When true, the agent emits a `prompt_suggestion`
1114
1138
  * message after each turn with a predicted next user prompt.
@@ -1416,7 +1440,7 @@ export declare type PreToolUseHookInput = BaseHookInput & {
1416
1440
 
1417
1441
  export declare type PreToolUseHookSpecificOutput = {
1418
1442
  hookEventName: 'PreToolUse';
1419
- permissionDecision?: 'allow' | 'deny' | 'ask';
1443
+ permissionDecision?: PermissionBehavior;
1420
1444
  permissionDecisionReason?: string;
1421
1445
  updatedInput?: Record<string, unknown>;
1422
1446
  additionalContext?: string;
@@ -1937,7 +1961,7 @@ export declare type SDKControlRequest = {
1937
1961
  request: SDKControlRequestInner;
1938
1962
  };
1939
1963
 
1940
- declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlMcpStatusRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlCancelAsyncMessageRequest | SDKControlSeedReadStateRequest | SDKControlMcpSetServersRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlEndSessionRequest | SDKControlMcpAuthenticateRequest | SDKControlMcpClearAuthRequest | SDKControlMcpOAuthCallbackUrlRequest | SDKControlClaudeAuthenticateRequest | SDKControlClaudeOAuthCallbackRequest | SDKControlClaudeOAuthWaitForCompletionRequest | SDKControlRemoteControlRequest | SDKControlSetProactiveRequest | SDKControlGenerateSessionTitleRequest | SDKControlSideQuestionRequest | SDKControlStopTaskRequest | SDKControlApplyFlagSettingsRequest | SDKControlGetSettingsRequest | SDKControlElicitationRequest;
1964
+ declare type SDKControlRequestInner = SDKControlInterruptRequest | SDKControlPermissionRequest | SDKControlInitializeRequest | SDKControlSetPermissionModeRequest | SDKControlSetModelRequest | SDKControlSetMaxThinkingTokensRequest | SDKControlMcpStatusRequest | SDKHookCallbackRequest | SDKControlMcpMessageRequest | SDKControlRewindFilesRequest | SDKControlCancelAsyncMessageRequest | SDKControlSeedReadStateRequest | SDKControlMcpSetServersRequest | SDKControlMcpReconnectRequest | SDKControlMcpToggleRequest | SDKControlChannelEnableRequest | SDKControlEndSessionRequest | SDKControlMcpAuthenticateRequest | SDKControlMcpClearAuthRequest | SDKControlMcpOAuthCallbackUrlRequest | SDKControlClaudeAuthenticateRequest | SDKControlClaudeOAuthCallbackRequest | SDKControlClaudeOAuthWaitForCompletionRequest | SDKControlRemoteControlRequest | SDKControlSetProactiveRequest | SDKControlGenerateSessionTitleRequest | SDKControlSideQuestionRequest | SDKControlStopTaskRequest | SDKControlApplyFlagSettingsRequest | SDKControlGetSettingsRequest | SDKControlElicitationRequest;
1941
1965
 
1942
1966
  export declare type SDKControlResponse = {
1943
1967
  type: 'control_response';
@@ -1987,6 +2011,7 @@ declare type SDKControlSetPermissionModeRequest = {
1987
2011
  * Permission mode for controlling how tool executions are handled. 'default' - Standard behavior, prompts for dangerous operations. 'acceptEdits' - Auto-accept file edit operations. 'bypassPermissions' - Bypass all permission checks (requires allowDangerouslySkipPermissions). 'plan' - Planning mode, no actual tool execution. 'dontAsk' - Don't prompt for permissions, deny if not pre-approved.
1988
2012
  */
1989
2013
  mode: coreTypes.PermissionMode;
2014
+
1990
2015
  };
1991
2016
 
1992
2017
  /**
@@ -2389,6 +2414,7 @@ export declare type SDKSystemMessage = {
2389
2414
  plugins: {
2390
2415
  name: string;
2391
2416
  path: string;
2417
+
2392
2418
  }[];
2393
2419
  fast_mode_state?: FastModeState;
2394
2420
  uuid: UUID;
@@ -3686,6 +3712,17 @@ export declare interface Settings {
3686
3712
  * Custom directory for plan files, relative to project root. If not set, defaults to ~/.claude/plans/
3687
3713
  */
3688
3714
  plansDirectory?: string;
3715
+ /**
3716
+ * 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.
3717
+ */
3718
+ channelsEnabled?: boolean;
3719
+ /**
3720
+ * Teams/Enterprise allowlist of channel plugins. When set, replaces the default Anthropic allowlist — admins decide which plugins may push inbound messages. Undefined falls back to the default. Requires channelsEnabled: true.
3721
+ */
3722
+ allowedChannelPlugins?: {
3723
+ marketplace: string;
3724
+ plugin: string;
3725
+ }[];
3689
3726
  /**
3690
3727
  * Reduce or disable animations for accessibility (spinner shimmer, flash effects, etc.)
3691
3728
  */
@@ -3897,7 +3934,7 @@ export declare type SyncHookJSONOutput = {
3897
3934
  systemMessage?: string;
3898
3935
  reason?: string;
3899
3936
 
3900
- hookSpecificOutput?: PreToolUseHookSpecificOutput | UserPromptSubmitHookSpecificOutput | SessionStartHookSpecificOutput | SetupHookSpecificOutput | SubagentStartHookSpecificOutput | PostToolUseHookSpecificOutput | PostToolUseFailureHookSpecificOutput | NotificationHookSpecificOutput | PermissionRequestHookSpecificOutput | ElicitationHookSpecificOutput | ElicitationResultHookSpecificOutput | CwdChangedHookSpecificOutput | FileChangedHookSpecificOutput;
3937
+ hookSpecificOutput?: PreToolUseHookSpecificOutput | UserPromptSubmitHookSpecificOutput | SessionStartHookSpecificOutput | SetupHookSpecificOutput | SubagentStartHookSpecificOutput | PostToolUseHookSpecificOutput | PostToolUseFailureHookSpecificOutput | NotificationHookSpecificOutput | PermissionRequestHookSpecificOutput | ElicitationHookSpecificOutput | ElicitationResultHookSpecificOutput | CwdChangedHookSpecificOutput | FileChangedHookSpecificOutput | WorktreeCreateHookSpecificOutput;
3901
3938
  };
3902
3939
 
3903
3940
  /**
@@ -3917,6 +3954,15 @@ export declare type TaskCompletedHookInput = BaseHookInput & {
3917
3954
  team_name?: string;
3918
3955
  };
3919
3956
 
3957
+ export declare type TaskCreatedHookInput = BaseHookInput & {
3958
+ hook_event_name: 'TaskCreated';
3959
+ task_id: string;
3960
+ task_subject: string;
3961
+ task_description?: string;
3962
+ teammate_name?: string;
3963
+ team_name?: string;
3964
+ };
3965
+
3920
3966
  export declare type TeammateIdleHookInput = BaseHookInput & {
3921
3967
  hook_event_name: 'TeammateIdle';
3922
3968
  teammate_name: string;
@@ -4048,6 +4094,14 @@ export declare type WorktreeCreateHookInput = BaseHookInput & {
4048
4094
  name: string;
4049
4095
  };
4050
4096
 
4097
+ /**
4098
+ * Hook-specific output for the WorktreeCreate event. Provides the absolute path to the created worktree directory. Command hooks print the path on stdout instead.
4099
+ */
4100
+ export declare type WorktreeCreateHookSpecificOutput = {
4101
+ hookEventName: 'WorktreeCreate';
4102
+ worktreePath: string;
4103
+ };
4104
+
4051
4105
  export declare type WorktreeRemoveHookInput = BaseHookInput & {
4052
4106
  hook_event_name: 'WorktreeRemove';
4053
4107
  worktree_path: string;