@anthropic-ai/claude-agent-sdk 0.3.177 → 0.3.179
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.d.ts +24 -0
- package/assistant.mjs +93 -93
- package/bridge.d.ts +1 -1
- package/bridge.mjs +81 -80
- package/browser-sdk.js +3 -3
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk-tools.d.ts +26 -3
- package/sdk.d.ts +65 -4
- package/sdk.mjs +6 -6
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-06-
|
|
2
|
+
"version": "2.1.179",
|
|
3
|
+
"commit": "8c865e06ae1320b1c9b005bdeb6f6589ada9d0b3",
|
|
4
|
+
"buildDate": "2026-06-16T02:06:40Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "af2a2d0cb99b0e8b094bc5dbe114ed2d5b2d27ba440987ef6f2f209da9954253",
|
|
9
|
+
"size": 226082208
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "a0ad60761294bd208eda6cb0fd8e896c64397c8d317546a696c5e627782ec8cb",
|
|
14
|
+
"size": 228600496
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "25d2eba2351df153f872a8e19289f5042a26b430cd446564bd92a0dec5d681cd",
|
|
19
|
+
"size": 251311752
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "6d8422de5ac8ac2077b20e2a6307083f85609aaf45f8c783ec2f7d71e8781e70",
|
|
24
|
+
"size": 251418320
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "8273ab58b79a6324fa8d56361cd394a4ffa5d30f28be3abecaafb2596d7ae2ee",
|
|
29
|
+
"size": 244166488
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "891b13f5aa5a798c209b13ce9c556c9a9162b6ad574eea97b223c80e4ee1d9dd",
|
|
34
|
+
"size": 245828656
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "1025f57fb260a3adac9517eb643c78c67e756c1ef5514d9ad8c57d5d784f8be3",
|
|
39
|
+
"size": 246756512
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "0320d4b49e3d434fcf94cf1a73e4d7e95df831a22c2c94d2a0cd471a59a27eac",
|
|
44
|
+
"size": 242721440
|
|
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-06-
|
|
2
|
+
"version": "2.1.179",
|
|
3
|
+
"commit": "8c865e06ae1320b1c9b005bdeb6f6589ada9d0b3",
|
|
4
|
+
"buildDate": "2026-06-16T02:08:27Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "0b972344d45eaaca03ee97ad4e9963980eca91e31310ee428a3931669a823464",
|
|
9
|
+
"size": 46352958,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "9d5b4b66ec066edca81d0c7eac1f65b7dbc654bed330e3f52373972a6b7c4271",
|
|
12
|
+
"size": 46370792
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "474846474046bd6bd664f80346e0d18a290c55ff28f05150c90bc638f3dbbe80",
|
|
18
|
+
"size": 48290154,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "800f84e0c090281eac66235b4e3cd1e81ff458347a09709bc3e1ff9b4471791e",
|
|
21
|
+
"size": 48284086
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "1479bf5cdd7a08922d1e71083dcccb7b0a0e16a98c1202a33cbc8ee6b3959e8f",
|
|
27
|
+
"size": 53997819
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "bdb140e87aa5d14a818eb4a50c67792aff6d0910a176473264754486cd358f2a",
|
|
32
|
+
"size": 54628944
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "4f0b144cb06c7acaf186358568e307f8f7de76f0aaacedf7e957917f7bd1c47b",
|
|
37
|
+
"size": 52621265
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "a733d2a5681f96d5f2c5e491f2deb5056737af1aa5190fff96eb51c2fb67c0ca",
|
|
42
|
+
"size": 53336408
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "59f98538ec990decdb4ed62c40ff96b4a578797ac86eface25a0a28dc39f01f2",
|
|
47
|
+
"size": 55360867
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "d5faa2e6d3904bc0afcd8e5f07cb04be68d2b48f0c74fb3dc0817fc0fe1c7b93",
|
|
52
|
+
"size": 53615666
|
|
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.179",
|
|
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.179",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.179",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.179",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.179",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.179",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.179",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.179",
|
|
71
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.179"
|
|
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.179"
|
|
90
90
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -149,6 +149,29 @@ export type AgentOutput =
|
|
|
149
149
|
* Whether the calling agent has Read/Bash tools to check progress
|
|
150
150
|
*/
|
|
151
151
|
canReadOutputFile?: boolean;
|
|
152
|
+
}
|
|
153
|
+
| {
|
|
154
|
+
status: "remote_launched";
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the remote agent task
|
|
157
|
+
*/
|
|
158
|
+
taskId: string;
|
|
159
|
+
/**
|
|
160
|
+
* The URL of the cloud session
|
|
161
|
+
*/
|
|
162
|
+
sessionUrl: string;
|
|
163
|
+
/**
|
|
164
|
+
* The description of the task
|
|
165
|
+
*/
|
|
166
|
+
description: string;
|
|
167
|
+
/**
|
|
168
|
+
* The prompt for the agent
|
|
169
|
+
*/
|
|
170
|
+
prompt: string;
|
|
171
|
+
/**
|
|
172
|
+
* Path to the output file for checking agent progress
|
|
173
|
+
*/
|
|
174
|
+
outputFile: string;
|
|
152
175
|
};
|
|
153
176
|
export type FileReadOutput =
|
|
154
177
|
| {
|
|
@@ -409,7 +432,7 @@ export interface AgentInput {
|
|
|
409
432
|
*/
|
|
410
433
|
name?: string;
|
|
411
434
|
/**
|
|
412
|
-
*
|
|
435
|
+
* Deprecated; ignored. The session has a single implicit team.
|
|
413
436
|
*/
|
|
414
437
|
team_name?: string;
|
|
415
438
|
/**
|
|
@@ -417,9 +440,9 @@ export interface AgentInput {
|
|
|
417
440
|
*/
|
|
418
441
|
mode?: "acceptEdits" | "auto" | "bypassPermissions" | "default" | "dontAsk" | "plan" | "bubble";
|
|
419
442
|
/**
|
|
420
|
-
* Isolation mode. "worktree" creates a temporary git worktree so the agent works on an isolated copy of the repo.
|
|
443
|
+
* Isolation mode. "worktree" creates a temporary git worktree so the agent works on an isolated copy of the repo. "remote" launches the agent in a remote cloud environment (always runs in background; availability is gated).
|
|
421
444
|
*/
|
|
422
|
-
isolation?: "worktree";
|
|
445
|
+
isolation?: "worktree" | "remote";
|
|
423
446
|
}
|
|
424
447
|
export interface BashInput {
|
|
425
448
|
/**
|
package/sdk.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare type AgentDefinition = {
|
|
|
45
45
|
*/
|
|
46
46
|
tools?: string[];
|
|
47
47
|
/**
|
|
48
|
-
* Array of tool names to explicitly disallow for this agent
|
|
48
|
+
* Array of tool names to explicitly disallow for this agent. MCP server-level specs (mcp__server, mcp__server__*, mcp__*) remove every tool from the named server (or all MCP tools).
|
|
49
49
|
*/
|
|
50
50
|
disallowedTools?: string[];
|
|
51
51
|
/**
|
|
@@ -408,6 +408,7 @@ declare namespace coreTypes {
|
|
|
408
408
|
SDKHookProgressMessage,
|
|
409
409
|
SDKHookResponseMessage,
|
|
410
410
|
SDKHookStartedMessage,
|
|
411
|
+
SDKInformationalMessage,
|
|
411
412
|
SDKLocalCommandOutputMessage,
|
|
412
413
|
SDKMemoryRecallMessage,
|
|
413
414
|
SDKMessageOrigin,
|
|
@@ -440,6 +441,7 @@ declare namespace coreTypes {
|
|
|
440
441
|
SDKToolUseSummaryMessage,
|
|
441
442
|
SDKUserMessageReplay,
|
|
442
443
|
SDKUserMessage,
|
|
444
|
+
SDKWorkerShuttingDownMessage,
|
|
443
445
|
SdkBeta,
|
|
444
446
|
SdkPluginConfig,
|
|
445
447
|
SessionCronSummary,
|
|
@@ -2277,8 +2279,14 @@ export declare interface Query extends AsyncGenerator<SDKMessage, void> {
|
|
|
2277
2279
|
* `thinking: { type: 'enabled', budgetTokens: N }`.
|
|
2278
2280
|
*
|
|
2279
2281
|
* @param maxThinkingTokens - Maximum tokens for thinking, or null to clear the limit
|
|
2282
|
+
* @param thinkingDisplay - Optional thinking display mode for the rest of
|
|
2283
|
+
* the session: a value replaces the session display mode, `null` clears it
|
|
2284
|
+
* back to the API default, and when omitted the display mode from session
|
|
2285
|
+
* start (`thinking.display` / `--thinking-display`) is kept — note a
|
|
2286
|
+
* session started with thinking disabled has none, so re-enabling thinking
|
|
2287
|
+
* without this param yields the API's default display.
|
|
2280
2288
|
*/
|
|
2281
|
-
setMaxThinkingTokens(maxThinkingTokens: number | null): Promise<void>;
|
|
2289
|
+
setMaxThinkingTokens(maxThinkingTokens: number | null, thinkingDisplay?: 'summarized' | 'omitted' | null): Promise<void>;
|
|
2282
2290
|
/**
|
|
2283
2291
|
* Merge the provided settings into the flag settings layer, dynamically
|
|
2284
2292
|
* updating the active configuration. Equivalent to the inline `settings`
|
|
@@ -2728,6 +2736,7 @@ export declare type SDKAssistantMessage = {
|
|
|
2728
2736
|
|
|
2729
2737
|
|
|
2730
2738
|
|
|
2739
|
+
|
|
2731
2740
|
};
|
|
2732
2741
|
|
|
2733
2742
|
export declare type SDKAssistantMessageError = 'authentication_failed' | 'oauth_org_not_allowed' | 'billing_error' | 'rate_limit' | 'overloaded' | 'invalid_request' | 'model_not_found' | 'server_error' | 'unknown' | 'max_output_tokens';
|
|
@@ -3474,11 +3483,12 @@ declare type SDKControlSetColorRequest = {
|
|
|
3474
3483
|
};
|
|
3475
3484
|
|
|
3476
3485
|
/**
|
|
3477
|
-
* Sets the maximum number of thinking tokens for extended thinking.
|
|
3486
|
+
* Sets the maximum number of thinking tokens for extended thinking. thinking_display optionally sets the thinking display mode for the rest of the session: a value replaces the session display mode, null clears it back to the API default, and when omitted the display mode from session start (--thinking-display) is kept.
|
|
3478
3487
|
*/
|
|
3479
3488
|
declare type SDKControlSetMaxThinkingTokensRequest = {
|
|
3480
3489
|
subtype: 'set_max_thinking_tokens';
|
|
3481
3490
|
max_thinking_tokens: number | null;
|
|
3491
|
+
thinking_display?: ('summarized' | 'omitted') | null;
|
|
3482
3492
|
};
|
|
3483
3493
|
|
|
3484
3494
|
/**
|
|
@@ -3600,6 +3610,29 @@ export declare type SDKHookStartedMessage = {
|
|
|
3600
3610
|
session_id: string;
|
|
3601
3611
|
};
|
|
3602
3612
|
|
|
3613
|
+
/**
|
|
3614
|
+
* Generic text banner emitted by the loop — non-error status lines, hook feedback (e.g. a UserPromptSubmit hook's block reason), slash-command output. Hosts render `content` as plaintext at the given level.
|
|
3615
|
+
*/
|
|
3616
|
+
export declare type SDKInformationalMessage = {
|
|
3617
|
+
type: 'system';
|
|
3618
|
+
subtype: 'informational';
|
|
3619
|
+
content: string;
|
|
3620
|
+
/**
|
|
3621
|
+
* Render level. 'info' shows only in transcript mode; 'notice' renders in inactive gray; 'suggestion' and 'warning' are more prominent.
|
|
3622
|
+
*/
|
|
3623
|
+
level: 'info' | 'notice' | 'suggestion' | 'warning';
|
|
3624
|
+
/**
|
|
3625
|
+
* Dedupes progress messages for the same tool use.
|
|
3626
|
+
*/
|
|
3627
|
+
tool_use_id?: string;
|
|
3628
|
+
/**
|
|
3629
|
+
* When true, execution stops after this message (e.g. a Stop hook denied continuation).
|
|
3630
|
+
*/
|
|
3631
|
+
prevent_continuation?: boolean;
|
|
3632
|
+
uuid: UUID;
|
|
3633
|
+
session_id: string;
|
|
3634
|
+
};
|
|
3635
|
+
|
|
3603
3636
|
/**
|
|
3604
3637
|
* Keep-alive message to maintain WebSocket connection.
|
|
3605
3638
|
*/
|
|
@@ -3657,7 +3690,7 @@ export declare type SDKMemoryRecallMessage = {
|
|
|
3657
3690
|
session_id: string;
|
|
3658
3691
|
};
|
|
3659
3692
|
|
|
3660
|
-
export declare type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage | SDKPartialAssistantMessage | SDKCompactBoundaryMessage | SDKStatusMessage | SDKAPIRetryMessage | SDKModelRefusalFallbackMessage | SDKLocalCommandOutputMessage | SDKHookStartedMessage | SDKHookProgressMessage | SDKHookResponseMessage | SDKPluginInstallMessage | SDKToolProgressMessage | SDKAuthStatusMessage | SDKTaskNotificationMessage | SDKTaskStartedMessage | SDKTaskUpdatedMessage | SDKTaskProgressMessage | SDKThinkingTokensMessage | SDKSessionStateChangedMessage | SDKCommandsChangedMessage | SDKNotificationMessage | SDKFilesPersistedEvent | SDKToolUseSummaryMessage | SDKMemoryRecallMessage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPermissionDeniedMessage | SDKPromptSuggestionMessage | SDKMirrorErrorMessage;
|
|
3693
|
+
export declare type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage | SDKPartialAssistantMessage | SDKCompactBoundaryMessage | SDKStatusMessage | SDKAPIRetryMessage | SDKModelRefusalFallbackMessage | SDKLocalCommandOutputMessage | SDKHookStartedMessage | SDKHookProgressMessage | SDKHookResponseMessage | SDKPluginInstallMessage | SDKToolProgressMessage | SDKAuthStatusMessage | SDKTaskNotificationMessage | SDKTaskStartedMessage | SDKTaskUpdatedMessage | SDKTaskProgressMessage | SDKThinkingTokensMessage | SDKSessionStateChangedMessage | SDKWorkerShuttingDownMessage | SDKCommandsChangedMessage | SDKNotificationMessage | SDKFilesPersistedEvent | SDKToolUseSummaryMessage | SDKMemoryRecallMessage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPermissionDeniedMessage | SDKPromptSuggestionMessage | SDKMirrorErrorMessage | SDKInformationalMessage;
|
|
3661
3694
|
|
|
3662
3695
|
/**
|
|
3663
3696
|
* Provenance of a user-role message (peer session, team lead, channel). Absent or `human` means keyboard input from the user.
|
|
@@ -3672,6 +3705,10 @@ export declare type SDKMessageOrigin = {
|
|
|
3672
3705
|
from: string;
|
|
3673
3706
|
name?: string;
|
|
3674
3707
|
|
|
3708
|
+
/**
|
|
3709
|
+
* Task id of the in-process background subagent that sent this message, stamped by the harness from the sending loop (never from tool input). Absent for cross-session peers.
|
|
3710
|
+
*/
|
|
3711
|
+
senderTaskId?: string;
|
|
3675
3712
|
} | {
|
|
3676
3713
|
kind: 'task-notification';
|
|
3677
3714
|
} | {
|
|
@@ -4219,6 +4256,20 @@ export declare type SDKUserMessageReplay = {
|
|
|
4219
4256
|
file_attachments?: unknown[];
|
|
4220
4257
|
};
|
|
4221
4258
|
|
|
4259
|
+
/**
|
|
4260
|
+
* Emitted by the bridge on opt-in graceful worker teardown (only when the teardown caller supplied a reason), before the heartbeat stops, so remote clients can show why the worker went away instead of waiting for heartbeat timeout. Absence is NOT a dead-host signal: handoffs (/update, /teleport, respawn), auto-disable, mode transitions, and internal fatal-error paths emit nothing by design. A dead host (battery, OOM, kill -9) never reaches teardown and never sends this either. NOTE: this event lands in the durable per-session event stream — a session that is later resumed may carry historical instances mid-stream. Clients MUST treat it as a live-tail signal only (honored when no further activity follows), not a one-shot session-lifetime fact. CC-2656.
|
|
4261
|
+
*/
|
|
4262
|
+
export declare type SDKWorkerShuttingDownMessage = {
|
|
4263
|
+
type: 'system';
|
|
4264
|
+
subtype: 'worker_shutting_down';
|
|
4265
|
+
/**
|
|
4266
|
+
* Short snake_case reason set by the host CLI (not user input), e.g. 'host_exit', 'remote_control_disabled'.
|
|
4267
|
+
*/
|
|
4268
|
+
reason: string;
|
|
4269
|
+
uuid: UUID;
|
|
4270
|
+
session_id: string;
|
|
4271
|
+
};
|
|
4272
|
+
|
|
4222
4273
|
export declare type SessionCronSummary = {
|
|
4223
4274
|
id: string;
|
|
4224
4275
|
/**
|
|
@@ -5974,6 +6025,7 @@ export declare interface Settings {
|
|
|
5974
6025
|
* Automatically compact conversation when context fills
|
|
5975
6026
|
*/
|
|
5976
6027
|
autoCompactEnabled?: boolean;
|
|
6028
|
+
|
|
5977
6029
|
/**
|
|
5978
6030
|
* When safety measures flag a message, automatically switch to a different model to keep chatting. When off, your session will pause instead.
|
|
5979
6031
|
*/
|
|
@@ -6290,6 +6342,9 @@ export declare type TaskCompletedHookInput = BaseHookInput & {
|
|
|
6290
6342
|
task_subject: string;
|
|
6291
6343
|
task_description?: string;
|
|
6292
6344
|
teammate_name?: string;
|
|
6345
|
+
/**
|
|
6346
|
+
* @deprecated Sessions have a single implicit team; this carries the session-derived team name and will be removed in a future release.
|
|
6347
|
+
*/
|
|
6293
6348
|
team_name?: string;
|
|
6294
6349
|
};
|
|
6295
6350
|
|
|
@@ -6299,12 +6354,18 @@ export declare type TaskCreatedHookInput = BaseHookInput & {
|
|
|
6299
6354
|
task_subject: string;
|
|
6300
6355
|
task_description?: string;
|
|
6301
6356
|
teammate_name?: string;
|
|
6357
|
+
/**
|
|
6358
|
+
* @deprecated Sessions have a single implicit team; this carries the session-derived team name and will be removed in a future release.
|
|
6359
|
+
*/
|
|
6302
6360
|
team_name?: string;
|
|
6303
6361
|
};
|
|
6304
6362
|
|
|
6305
6363
|
export declare type TeammateIdleHookInput = BaseHookInput & {
|
|
6306
6364
|
hook_event_name: 'TeammateIdle';
|
|
6307
6365
|
teammate_name: string;
|
|
6366
|
+
/**
|
|
6367
|
+
* @deprecated Sessions have a single implicit team; this carries the session-derived team name and will be removed in a future release.
|
|
6368
|
+
*/
|
|
6308
6369
|
team_name: string;
|
|
6309
6370
|
};
|
|
6310
6371
|
|