@compozy/client 0.5.4 → 0.6.0
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/dist/cjs/generated/sdk/sdk.gen.js +73 -1
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +73 -1
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +960 -190
- package/dist/types/generated/sdk/index.d.ts +1 -1
- package/dist/types/generated/sdk/index.d.ts.map +1 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts +26 -2
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +544 -14
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +2 -0
- package/dist/types/generated/sse/types.gen.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -39,6 +39,12 @@ export type Action = {
|
|
|
39
39
|
url?: string;
|
|
40
40
|
view?: string;
|
|
41
41
|
};
|
|
42
|
+
export type ActionDecl = {
|
|
43
|
+
auto_accept: boolean;
|
|
44
|
+
id: string;
|
|
45
|
+
instructions: string;
|
|
46
|
+
title: string;
|
|
47
|
+
};
|
|
42
48
|
export type ActivityCost = {
|
|
43
49
|
scope: string;
|
|
44
50
|
tokens: number;
|
|
@@ -162,8 +168,11 @@ export type AgentDraftRuntime = {
|
|
|
162
168
|
};
|
|
163
169
|
export type AgentEffectiveRuntimePayload = {
|
|
164
170
|
acp_options?: Array<AgentACPOptionSelection>;
|
|
171
|
+
auto_compact_window?: number | null;
|
|
172
|
+
lean_environment?: boolean | null;
|
|
165
173
|
model?: string;
|
|
166
174
|
permissions?: string;
|
|
175
|
+
policy_excluded_acp_options?: Array<AgentACPOptionSelection>;
|
|
167
176
|
provider: string;
|
|
168
177
|
reasoning_effort?: string;
|
|
169
178
|
session_env?: {
|
|
@@ -215,8 +224,12 @@ export type AgentInstanceCheckInPayload = {
|
|
|
215
224
|
created_at: string;
|
|
216
225
|
detail?: string;
|
|
217
226
|
id: string;
|
|
227
|
+
occurrence_id: string;
|
|
228
|
+
proposals: CheckInProposalSummary;
|
|
218
229
|
reason: string;
|
|
219
230
|
result: string;
|
|
231
|
+
tool_calls: Array<CheckInToolCall>;
|
|
232
|
+
tools_status: string;
|
|
220
233
|
};
|
|
221
234
|
export type AgentInstanceCheckInsResponse = {
|
|
222
235
|
check_ins: Array<AgentInstanceCheckInPayload>;
|
|
@@ -256,6 +269,8 @@ export type AgentInstanceOccurrenceResponse = {
|
|
|
256
269
|
export type AgentInstancePayload = {
|
|
257
270
|
activity: string;
|
|
258
271
|
agent_name: string;
|
|
272
|
+
attention_dismissible: boolean;
|
|
273
|
+
authority_status: string;
|
|
259
274
|
checks_enabled: boolean;
|
|
260
275
|
created: boolean;
|
|
261
276
|
created_at: string;
|
|
@@ -292,12 +307,25 @@ export type AgentInstancePeer = {
|
|
|
292
307
|
scope: string;
|
|
293
308
|
state: string;
|
|
294
309
|
};
|
|
310
|
+
export type AgentInstancePickRequest = {
|
|
311
|
+
proposal: number | null;
|
|
312
|
+
};
|
|
313
|
+
export type AgentInstancePickResponse = {
|
|
314
|
+
pick: Pick;
|
|
315
|
+
};
|
|
295
316
|
export type AgentInstanceProposal = {
|
|
317
|
+
action?: AgentInstanceProposalAction | null;
|
|
318
|
+
auto_accept_status: "picked" | "limit" | "queue_full" | "unapproved" | "no_main" | "inactive" | "none";
|
|
296
319
|
body: string;
|
|
297
320
|
item_keys: Array<string>;
|
|
298
321
|
sources?: Array<AgentInstanceProposalSource>;
|
|
299
322
|
title: string;
|
|
300
323
|
};
|
|
324
|
+
export type AgentInstanceProposalAction = {
|
|
325
|
+
auto_accept: boolean;
|
|
326
|
+
id: string;
|
|
327
|
+
title: string;
|
|
328
|
+
};
|
|
301
329
|
export type AgentInstanceProposalSource = {
|
|
302
330
|
event_id: string;
|
|
303
331
|
item_key?: string;
|
|
@@ -314,9 +342,13 @@ export type AgentInstanceReportPayload = {
|
|
|
314
342
|
cause?: string;
|
|
315
343
|
created_at: string;
|
|
316
344
|
detail?: string;
|
|
345
|
+
diagnostics?: Array<string>;
|
|
317
346
|
expired_by?: string;
|
|
318
347
|
id: string;
|
|
319
348
|
kind: string;
|
|
349
|
+
occurrence_id?: string;
|
|
350
|
+
picks: Array<Pick>;
|
|
351
|
+
picks_tracked: boolean;
|
|
320
352
|
proposals?: Array<AgentInstanceProposal>;
|
|
321
353
|
reason?: string;
|
|
322
354
|
resource?: string;
|
|
@@ -326,6 +358,7 @@ export type AgentInstanceReportPayload = {
|
|
|
326
358
|
source?: AgentInstanceReportSource | null;
|
|
327
359
|
state: string;
|
|
328
360
|
tool?: string;
|
|
361
|
+
tool_calls: CheckInToolSummary;
|
|
329
362
|
};
|
|
330
363
|
export type AgentInstanceReportSource = {
|
|
331
364
|
event: string;
|
|
@@ -368,6 +401,7 @@ export type AgentMCPServerInput = {
|
|
|
368
401
|
[key: string]: string;
|
|
369
402
|
};
|
|
370
403
|
name: string;
|
|
404
|
+
read_only_tools?: Array<string>;
|
|
371
405
|
reference?: boolean;
|
|
372
406
|
secret_env?: {
|
|
373
407
|
[key: string]: string;
|
|
@@ -387,6 +421,7 @@ export type AgentMCPServerJSON = {
|
|
|
387
421
|
[key: string]: string;
|
|
388
422
|
};
|
|
389
423
|
name: string;
|
|
424
|
+
read_only_tools?: Array<string>;
|
|
390
425
|
reference?: boolean;
|
|
391
426
|
secret_env?: {
|
|
392
427
|
[key: string]: string;
|
|
@@ -484,6 +519,7 @@ export type AgentPayload = {
|
|
|
484
519
|
appearance?: {
|
|
485
520
|
[key: string]: unknown;
|
|
486
521
|
};
|
|
522
|
+
auto_compact_window?: number | null;
|
|
487
523
|
category_path?: Array<string>;
|
|
488
524
|
command?: string;
|
|
489
525
|
definition_digest: string;
|
|
@@ -496,6 +532,7 @@ export type AgentPayload = {
|
|
|
496
532
|
kind?: string;
|
|
497
533
|
label: string;
|
|
498
534
|
layer?: string;
|
|
535
|
+
lean_environment?: boolean | null;
|
|
499
536
|
mcp_servers?: Array<AgentMCPServerJSON>;
|
|
500
537
|
model?: string;
|
|
501
538
|
name: string;
|
|
@@ -840,6 +877,7 @@ export type AttentionNotificationPayload = {
|
|
|
840
877
|
finished: boolean;
|
|
841
878
|
generation: number;
|
|
842
879
|
id: string;
|
|
880
|
+
instance_id?: string;
|
|
843
881
|
item_index: number;
|
|
844
882
|
kind: string;
|
|
845
883
|
loop_name?: string;
|
|
@@ -848,6 +886,7 @@ export type AttentionNotificationPayload = {
|
|
|
848
886
|
redacted: boolean;
|
|
849
887
|
request_kind?: string;
|
|
850
888
|
run_id?: string;
|
|
889
|
+
session_type?: string;
|
|
851
890
|
source_id: string;
|
|
852
891
|
terminal_id?: string;
|
|
853
892
|
title: string;
|
|
@@ -1067,6 +1106,35 @@ export type ChangeTotalsPayload = {
|
|
|
1067
1106
|
files: number;
|
|
1068
1107
|
partial?: boolean;
|
|
1069
1108
|
};
|
|
1109
|
+
export type CheckInProposalSummary = {
|
|
1110
|
+
auto_accepted: number;
|
|
1111
|
+
waiting: number;
|
|
1112
|
+
};
|
|
1113
|
+
export type CheckInToolCall = {
|
|
1114
|
+
access: string;
|
|
1115
|
+
args_preview?: string;
|
|
1116
|
+
backend: string;
|
|
1117
|
+
decision: string;
|
|
1118
|
+
deny_reason?: string;
|
|
1119
|
+
duration_ms: number;
|
|
1120
|
+
effect: string;
|
|
1121
|
+
error_code?: string;
|
|
1122
|
+
mcp_server?: string;
|
|
1123
|
+
outcome: string;
|
|
1124
|
+
seq: number;
|
|
1125
|
+
tool_id: string;
|
|
1126
|
+
};
|
|
1127
|
+
export type CheckInToolSummary = {
|
|
1128
|
+
denied: number;
|
|
1129
|
+
total: number;
|
|
1130
|
+
writes_done: number;
|
|
1131
|
+
writes_maybe: number;
|
|
1132
|
+
};
|
|
1133
|
+
export type CheckInsPolicy = {
|
|
1134
|
+
allow_writes?: Array<string>;
|
|
1135
|
+
max_tool_calls?: number | null;
|
|
1136
|
+
max_write_calls?: number | null;
|
|
1137
|
+
};
|
|
1070
1138
|
export type Chip = {
|
|
1071
1139
|
count?: number | null;
|
|
1072
1140
|
fallback?: string;
|
|
@@ -1469,6 +1537,7 @@ export type CreateAgentPayload = {
|
|
|
1469
1537
|
appearance?: {
|
|
1470
1538
|
[key: string]: unknown;
|
|
1471
1539
|
};
|
|
1540
|
+
auto_compact_window?: number | null;
|
|
1472
1541
|
category_path?: Array<string>;
|
|
1473
1542
|
command?: string;
|
|
1474
1543
|
deny_tools?: Array<string>;
|
|
@@ -1480,6 +1549,7 @@ export type CreateAgentPayload = {
|
|
|
1480
1549
|
*/
|
|
1481
1550
|
kind?: "on_demand" | "always_on";
|
|
1482
1551
|
label?: string;
|
|
1552
|
+
lean_environment?: boolean | null;
|
|
1483
1553
|
mcp_servers?: Array<AgentMCPServerInput>;
|
|
1484
1554
|
model?: string;
|
|
1485
1555
|
name: string;
|
|
@@ -1759,6 +1829,7 @@ export type DuplicateAgentOverrides = {
|
|
|
1759
1829
|
appearance?: {
|
|
1760
1830
|
[key: string]: unknown;
|
|
1761
1831
|
};
|
|
1832
|
+
auto_compact_window?: number | null;
|
|
1762
1833
|
category_path?: Array<string>;
|
|
1763
1834
|
clear_acp_options?: boolean;
|
|
1764
1835
|
clear_speed?: boolean;
|
|
@@ -1770,6 +1841,7 @@ export type DuplicateAgentOverrides = {
|
|
|
1770
1841
|
* Agent kind: on_demand (default) or always_on; fixed at creation.
|
|
1771
1842
|
*/
|
|
1772
1843
|
kind?: "on_demand" | "always_on";
|
|
1844
|
+
lean_environment?: boolean | null;
|
|
1773
1845
|
model?: string;
|
|
1774
1846
|
permission_rules?: Array<AgentPermissionRulePayload>;
|
|
1775
1847
|
permissions?: "deny-all" | "approve-reads" | "approve-edits" | "auto" | "approve-all";
|
|
@@ -1899,6 +1971,10 @@ export type ExtensionDeclaredProfilePayload = {
|
|
|
1899
1971
|
name: string;
|
|
1900
1972
|
needs_setup: boolean;
|
|
1901
1973
|
};
|
|
1974
|
+
export type ExtensionEnableError = {
|
|
1975
|
+
code: string;
|
|
1976
|
+
error: string;
|
|
1977
|
+
};
|
|
1902
1978
|
export type ExtensionEnablePreviewPayload = {
|
|
1903
1979
|
agent_conflicts: Array<string>;
|
|
1904
1980
|
automation_starting: Array<string>;
|
|
@@ -2864,6 +2940,15 @@ export type HeartbeatActorPayload = {
|
|
|
2864
2940
|
kind: "user" | "agent" | "extension" | "system";
|
|
2865
2941
|
ref?: string;
|
|
2866
2942
|
};
|
|
2943
|
+
export type HeartbeatAuthorityPayload = {
|
|
2944
|
+
actions: Array<ActionDecl>;
|
|
2945
|
+
check_ins: CheckInsPolicy;
|
|
2946
|
+
digest: string;
|
|
2947
|
+
read_only_tools?: {
|
|
2948
|
+
[key: string]: Array<string>;
|
|
2949
|
+
};
|
|
2950
|
+
status: string;
|
|
2951
|
+
};
|
|
2867
2952
|
export type HeartbeatConfigProvenancePayload = {
|
|
2868
2953
|
digest: string;
|
|
2869
2954
|
subset: HeartbeatConfigSubsetPayload;
|
|
@@ -2891,6 +2976,8 @@ export type HeartbeatDeleteByPathRequest = {
|
|
|
2891
2976
|
workspace_id?: string;
|
|
2892
2977
|
};
|
|
2893
2978
|
export type HeartbeatFrontmatterPayload = {
|
|
2979
|
+
actions: Array<ActionDecl>;
|
|
2980
|
+
check_ins: CheckInsPolicy;
|
|
2894
2981
|
context: HeartbeatContextProjectionPayload;
|
|
2895
2982
|
enabled: boolean;
|
|
2896
2983
|
preferences: HeartbeatFrontmatterPreferencesPayload;
|
|
@@ -2911,8 +2998,10 @@ export type HeartbeatMutationResponse = {
|
|
|
2911
2998
|
revision: HeartbeatRevisionPayload;
|
|
2912
2999
|
};
|
|
2913
3000
|
export type HeartbeatPolicyPayload = {
|
|
3001
|
+
actions: Array<ActionDecl>;
|
|
2914
3002
|
active: boolean;
|
|
2915
3003
|
agent_name?: string;
|
|
3004
|
+
authority: HeartbeatAuthorityPayload;
|
|
2916
3005
|
config_digest?: string;
|
|
2917
3006
|
config_provenance: HeartbeatConfigProvenancePayload;
|
|
2918
3007
|
created_at?: string | null;
|
|
@@ -2953,6 +3042,7 @@ export type HeartbeatPromptContributionPayload = {
|
|
|
2953
3042
|
truncated: boolean;
|
|
2954
3043
|
};
|
|
2955
3044
|
export type HeartbeatPutByPathRequest = {
|
|
3045
|
+
approve_authority_sha256?: string;
|
|
2956
3046
|
body: string;
|
|
2957
3047
|
expected_digest: string;
|
|
2958
3048
|
idempotency_key?: string;
|
|
@@ -3178,6 +3268,10 @@ export type InstallExtensionRequest = {
|
|
|
3178
3268
|
allow_unverified?: boolean;
|
|
3179
3269
|
asset?: string;
|
|
3180
3270
|
confirm_gateway_digest?: string;
|
|
3271
|
+
/**
|
|
3272
|
+
* Enable after installation under the same operation lock. Activation failure returns 201 with enable_error and retains the installed package and inputs.
|
|
3273
|
+
*/
|
|
3274
|
+
enable?: boolean;
|
|
3181
3275
|
expected_digest?: string;
|
|
3182
3276
|
inputs?: {
|
|
3183
3277
|
[key: string]: Value;
|
|
@@ -3201,6 +3295,10 @@ export type InstallExtensionRequest = {
|
|
|
3201
3295
|
*/
|
|
3202
3296
|
workspace_id?: string;
|
|
3203
3297
|
};
|
|
3298
|
+
export type InstallExtensionResponse = {
|
|
3299
|
+
enable_error?: ExtensionEnableError | null;
|
|
3300
|
+
extension: ExtensionPayload;
|
|
3301
|
+
};
|
|
3204
3302
|
export type JobPayload = {
|
|
3205
3303
|
agent_name: string;
|
|
3206
3304
|
created_at: string;
|
|
@@ -4060,6 +4158,11 @@ export type ManagedExtensionUpdatePayload = {
|
|
|
4060
4158
|
status: string;
|
|
4061
4159
|
warnings?: Array<DiagnosticItem>;
|
|
4062
4160
|
};
|
|
4161
|
+
export type MarketplaceCategoryCount = {
|
|
4162
|
+
count: number;
|
|
4163
|
+
id: string;
|
|
4164
|
+
label: string;
|
|
4165
|
+
};
|
|
4063
4166
|
export type MarketplaceCursorStalePayload = {
|
|
4064
4167
|
code: string;
|
|
4065
4168
|
error: string;
|
|
@@ -4094,6 +4197,7 @@ export type MarketplaceInputPayload = {
|
|
|
4094
4197
|
type: string;
|
|
4095
4198
|
};
|
|
4096
4199
|
export type MarketplaceListResponse = {
|
|
4200
|
+
categories: Array<MarketplaceCategoryCount>;
|
|
4097
4201
|
error?: string;
|
|
4098
4202
|
error_class?: string;
|
|
4099
4203
|
items: Array<MarketplaceListingPayload>;
|
|
@@ -4106,9 +4210,12 @@ export type MarketplaceListResponse = {
|
|
|
4106
4210
|
};
|
|
4107
4211
|
export type MarketplaceListingPayload = {
|
|
4108
4212
|
author?: string;
|
|
4213
|
+
category: string;
|
|
4214
|
+
category_label: string;
|
|
4109
4215
|
description: string;
|
|
4110
4216
|
digest_sha256: string;
|
|
4111
4217
|
entry_id: string;
|
|
4218
|
+
featured: boolean;
|
|
4112
4219
|
format?: string;
|
|
4113
4220
|
icon?: string;
|
|
4114
4221
|
install_blocker?: string;
|
|
@@ -4145,6 +4252,21 @@ export type MarketplaceRefreshSourcePayload = {
|
|
|
4145
4252
|
source: string;
|
|
4146
4253
|
stale: boolean;
|
|
4147
4254
|
};
|
|
4255
|
+
export type MarketplaceSection = {
|
|
4256
|
+
id: string;
|
|
4257
|
+
items: Array<MarketplaceListingPayload>;
|
|
4258
|
+
label: string;
|
|
4259
|
+
total: number;
|
|
4260
|
+
};
|
|
4261
|
+
export type MarketplaceSectionsResponse = {
|
|
4262
|
+
error?: string;
|
|
4263
|
+
error_class?: string;
|
|
4264
|
+
refreshing?: boolean;
|
|
4265
|
+
revision: string;
|
|
4266
|
+
sections: Array<MarketplaceSection>;
|
|
4267
|
+
sources: Array<MarketplaceSourceSummary>;
|
|
4268
|
+
stale: boolean;
|
|
4269
|
+
};
|
|
4148
4270
|
export type MarketplaceServerPayload = {
|
|
4149
4271
|
auth?: MCPAuthSummary | null;
|
|
4150
4272
|
launch: string;
|
|
@@ -4578,6 +4700,16 @@ export type PermissionRollupResponse = {
|
|
|
4578
4700
|
since: string;
|
|
4579
4701
|
until: string;
|
|
4580
4702
|
};
|
|
4703
|
+
export type Pick = {
|
|
4704
|
+
action_id?: string;
|
|
4705
|
+
actor: string;
|
|
4706
|
+
picked_at: string;
|
|
4707
|
+
proposal_index: number;
|
|
4708
|
+
queue_entry_id: string;
|
|
4709
|
+
report_id: string;
|
|
4710
|
+
state: string;
|
|
4711
|
+
target_session_id: string;
|
|
4712
|
+
};
|
|
4581
4713
|
export type PickFilesEffect = {
|
|
4582
4714
|
directories?: boolean;
|
|
4583
4715
|
};
|
|
@@ -4835,6 +4967,7 @@ export type ProviderSummaryPayload = {
|
|
|
4835
4967
|
auth_status: ProviderAuthStatusPayload;
|
|
4836
4968
|
default: boolean;
|
|
4837
4969
|
display_name?: string;
|
|
4970
|
+
enabled: boolean;
|
|
4838
4971
|
name: string;
|
|
4839
4972
|
reviewer_mode: string;
|
|
4840
4973
|
runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
|
|
@@ -5186,6 +5319,14 @@ export type RestartProgress = {
|
|
|
5186
5319
|
total: number;
|
|
5187
5320
|
updated_at: string;
|
|
5188
5321
|
};
|
|
5322
|
+
export type ResultViewContract = {
|
|
5323
|
+
digest?: string;
|
|
5324
|
+
schema: unknown;
|
|
5325
|
+
};
|
|
5326
|
+
export type ResultViews = {
|
|
5327
|
+
compact: ResultViewContract;
|
|
5328
|
+
full: ResultViewContract;
|
|
5329
|
+
};
|
|
5189
5330
|
export type ResumeSessionFromLaterRequest = {
|
|
5190
5331
|
with_children?: boolean;
|
|
5191
5332
|
};
|
|
@@ -6639,6 +6780,9 @@ export type SetSessionRuntimeRequest = {
|
|
|
6639
6780
|
expected_revision: number | null;
|
|
6640
6781
|
runtime: PromptRuntimeSelectionPayload;
|
|
6641
6782
|
};
|
|
6783
|
+
export type SetSettingsProviderEnabledRequest = {
|
|
6784
|
+
enabled: boolean;
|
|
6785
|
+
};
|
|
6642
6786
|
export type SettingsActionMetadataPayload = {
|
|
6643
6787
|
available: boolean;
|
|
6644
6788
|
behavior: "applied_now" | "restart_required" | "action_trigger";
|
|
@@ -6860,7 +7004,7 @@ export type SettingsHookDeclarationPayload = {
|
|
|
6860
7004
|
env?: {
|
|
6861
7005
|
[key: string]: string;
|
|
6862
7006
|
};
|
|
6863
|
-
event: "agent.instance.created" | "agent.instance.paused" | "agent.instance.resumed" | "agent.instance.archived" | "agent.instance.adopted" | "subagent.settled" | "session.pre_create" | "session.post_create" | "session.pre_resume" | "session.post_resume" | "session.pre_stop" | "session.post_stop" | "session.message_persisted" | "session.runtime_recovery.started" | "session.runtime_recovery.succeeded" | "session.runtime_recovery.exhausted" | "input.pre_submit" | "prompt.post_assemble" | "event.pre_record" | "event.post_record" | "automation.job.pre_fire" | "automation.job.post_fire" | "automation.trigger.pre_fire" | "automation.trigger.post_fire" | "automation.run.completed" | "automation.run.failed" | "agent.pre_start" | "agent.spawned" | "agent.crashed" | "agent.stopped" | "agent.soul.snapshot.resolved" | "agent.soul.mutation.after" | "agent.heartbeat.policy.resolved" | "agent.heartbeat.wake.before" | "agent.heartbeat.wake.after" | "session.health.update.after" | "turn.start" | "turn.end" | "message.start" | "message.delta" | "message.end" | "tool.pre_call" | "tool.post_call" | "tool.post_error" | "permission.request" | "permission.resolved" | "permission.denied" | "context.pre_compact" | "context.post_compact" | "coordinator.pre_spawn" | "coordinator.spawned" | "coordinator.decision" | "coordinator.stopped" | "coordinator.failed" | "task.blocked" | "task.unblocked" | "task.needs_attention" | "task.recovered" | "task.status_changed" | "task.run.enqueued" | "task.run.pre_claim" | "task.run.post_claim" | "task.run.lease_extended" | "task.run.lease_expired" | "task.run.lease_recovered" | "task.run.released" | "task.run.completed" | "task.run.failed" | "loop.started" | "loop.generation.pre" | "loop.generation.post" | "loop.gate.pre" | "loop.gate.post" | "loop.node.terminal" | "loop.terminal" | "spawn.pre_create" | "spawn.created" | "spawn.parent_stopped" | "spawn.ttl_expired" | "spawn.reaped" | "session.attention.changed" | "window_manager.layout.applied" | "window_manager.desktop.created" | "window_manager.desktop.deleted" | "window_manager.window.moved" | "window_manager.window.opened" | "window_manager.window.closed" | "window_manager.stack.grouped" | "window_manager.stack.ungrouped" | "window_manager.stack.activated" | "worktree.pre_create" | "worktree.pre_remove" | "worktree.created" | "worktree.adopted" | "worktree.removed" | "terminal.opened" | "terminal.closed" | "terminal.command_started" | "terminal.command_finished" | "terminal.input_requested" | "terminal.input_provided" | "terminal.recording_started" | "terminal.recording_stopped" | "terminal.subscriber_evicted" | "terminal.limit_rejected";
|
|
7007
|
+
event: "agent.instance.created" | "agent.instance.paused" | "agent.instance.resumed" | "agent.instance.archived" | "agent.instance.adopted" | "subagent.settled" | "session.pre_create" | "session.post_create" | "session.pre_resume" | "session.post_resume" | "session.pre_stop" | "session.post_stop" | "session.message_persisted" | "session.runtime_recovery.started" | "session.runtime_recovery.succeeded" | "session.runtime_recovery.exhausted" | "input.pre_submit" | "prompt.post_assemble" | "event.pre_record" | "event.post_record" | "automation.job.pre_fire" | "automation.job.post_fire" | "automation.trigger.pre_fire" | "automation.trigger.post_fire" | "automation.run.completed" | "automation.run.failed" | "agent.pre_start" | "agent.spawned" | "agent.crashed" | "agent.stopped" | "agent.soul.snapshot.resolved" | "agent.soul.mutation.after" | "agent.heartbeat.policy.resolved" | "agent.heartbeat.wake.before" | "agent.heartbeat.wake.after" | "session.health.update.after" | "turn.start" | "turn.end" | "message.start" | "message.delta" | "message.end" | "tool.pre_call" | "tool.post_call" | "tool.post_error" | "permission.request" | "permission.resolved" | "permission.denied" | "context.pre_compact" | "context.post_compact" | "coordinator.pre_spawn" | "coordinator.spawned" | "coordinator.decision" | "coordinator.stopped" | "coordinator.failed" | "task.blocked" | "task.unblocked" | "task.needs_attention" | "task.recovered" | "task.status_changed" | "task.run.enqueued" | "task.run.pre_claim" | "task.run.post_claim" | "task.run.lease_extended" | "task.run.lease_expired" | "task.run.lease_recovered" | "task.run.released" | "task.run.completed" | "task.run.failed" | "loop.started" | "loop.generation.pre" | "loop.generation.post" | "loop.gate.pre" | "loop.gate.post" | "loop.node.terminal" | "loop.terminal" | "spawn.pre_create" | "spawn.created" | "spawn.parent_stopped" | "spawn.ttl_expired" | "spawn.reaped" | "session.attention.changed" | "window_manager.layout.applied" | "window_manager.desktop.created" | "window_manager.desktop.deleted" | "window_manager.window.moved" | "window_manager.window.opened" | "window_manager.window.closed" | "window_manager.stack.grouped" | "window_manager.stack.ungrouped" | "window_manager.stack.activated" | "worktree.pre_create" | "worktree.pre_remove" | "worktree.created" | "worktree.adopted" | "worktree.removed" | "terminal.opened" | "terminal.closed" | "terminal.command_started" | "terminal.command_finished" | "terminal.input_requested" | "terminal.input_provided" | "terminal.recording_started" | "terminal.recording_stopped" | "terminal.subscriber_evicted" | "terminal.limit_rejected" | "agent.instance.proposal.picked";
|
|
6864
7008
|
executor_kind?: "native" | "subprocess" | "wasm";
|
|
6865
7009
|
matcher: HookMatcher;
|
|
6866
7010
|
metadata?: {
|
|
@@ -7017,6 +7161,7 @@ export type SettingsMCPServerItemPayload = {
|
|
|
7017
7161
|
override?: SettingsMCPExtensionOverridePayload | null;
|
|
7018
7162
|
owner?: string;
|
|
7019
7163
|
profile?: string;
|
|
7164
|
+
read_only_tools?: Array<string>;
|
|
7020
7165
|
runtime_name?: string;
|
|
7021
7166
|
runtime_status?: SettingsMCPServerRuntimeStatusPayload | null;
|
|
7022
7167
|
scope: "user" | "profile" | "workspace" | "agent";
|
|
@@ -7037,6 +7182,7 @@ export type SettingsMCPServerPayload = {
|
|
|
7037
7182
|
[key: string]: string;
|
|
7038
7183
|
};
|
|
7039
7184
|
name: string;
|
|
7185
|
+
read_only_tools?: Array<string>;
|
|
7040
7186
|
secret_env?: {
|
|
7041
7187
|
[key: string]: string;
|
|
7042
7188
|
};
|
|
@@ -7145,6 +7291,10 @@ export type SettingsProviderCredentialStatusPayload = {
|
|
|
7145
7291
|
source?: string;
|
|
7146
7292
|
target_env: string;
|
|
7147
7293
|
};
|
|
7294
|
+
export type SettingsProviderEnabledResponse = {
|
|
7295
|
+
apply: SettingsApplyResponse;
|
|
7296
|
+
provider: SettingsProviderItemPayload;
|
|
7297
|
+
};
|
|
7148
7298
|
export type SettingsProviderFallbackPayload = {
|
|
7149
7299
|
settings: SettingsProviderSettingsPayload;
|
|
7150
7300
|
source: SettingsSourceRefPayload;
|
|
@@ -7210,11 +7360,13 @@ export type SettingsProviderSettingsPayload = {
|
|
|
7210
7360
|
auth_acp_method?: string;
|
|
7211
7361
|
auth_mode?: string;
|
|
7212
7362
|
auth_status_command?: string;
|
|
7363
|
+
auto_compact_window?: number | null;
|
|
7213
7364
|
base_url?: string;
|
|
7214
7365
|
command?: string;
|
|
7215
7366
|
command_inherited?: boolean;
|
|
7216
7367
|
credential_slots?: Array<SettingsProviderCredentialSlotPayload>;
|
|
7217
7368
|
display_name?: string;
|
|
7369
|
+
enabled: boolean;
|
|
7218
7370
|
env_policy?: string;
|
|
7219
7371
|
harness?: string;
|
|
7220
7372
|
home_policy?: string;
|
|
@@ -7252,6 +7404,7 @@ export type SettingsProviderWritePayload = {
|
|
|
7252
7404
|
auth_login_command?: string | null;
|
|
7253
7405
|
auth_mode?: string;
|
|
7254
7406
|
auth_status_command?: string;
|
|
7407
|
+
auto_compact_window?: number | null;
|
|
7255
7408
|
base_url?: string;
|
|
7256
7409
|
command?: string;
|
|
7257
7410
|
credential_slots?: Array<SettingsProviderCredentialSlotPayload>;
|
|
@@ -9192,7 +9345,7 @@ export type ToolCallEventPayload = {
|
|
|
9192
9345
|
destructive: boolean;
|
|
9193
9346
|
display_title?: string;
|
|
9194
9347
|
duration_ms?: number;
|
|
9195
|
-
error_code?: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
9348
|
+
error_code?: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "provider_disabled" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
9196
9349
|
input_digest?: string;
|
|
9197
9350
|
kind: "tool.call_started" | "tool.call_completed" | "tool.call_failed" | "tool.call_denied" | "tool.result_truncated";
|
|
9198
9351
|
open_world: boolean;
|
|
@@ -9220,7 +9373,9 @@ export type ToolContent = {
|
|
|
9220
9373
|
type: string;
|
|
9221
9374
|
};
|
|
9222
9375
|
export type ToolDescriptorPayload = {
|
|
9376
|
+
access: string;
|
|
9223
9377
|
backend: ToolBackendRefPayload;
|
|
9378
|
+
check_in_writable: boolean;
|
|
9224
9379
|
concurrency_safe: boolean;
|
|
9225
9380
|
description: string;
|
|
9226
9381
|
destructive: boolean;
|
|
@@ -9232,6 +9387,7 @@ export type ToolDescriptorPayload = {
|
|
|
9232
9387
|
open_world: boolean;
|
|
9233
9388
|
output_schema?: unknown;
|
|
9234
9389
|
output_schema_digest?: string;
|
|
9390
|
+
output_views?: ResultViews | null;
|
|
9235
9391
|
preview?: string;
|
|
9236
9392
|
read_only: boolean;
|
|
9237
9393
|
requires_interaction: boolean;
|
|
@@ -9244,7 +9400,7 @@ export type ToolDescriptorPayload = {
|
|
|
9244
9400
|
visibility: "internal" | "operator" | "session" | "model";
|
|
9245
9401
|
};
|
|
9246
9402
|
export type ToolErrorPayload = {
|
|
9247
|
-
code: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
9403
|
+
code: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "provider_disabled" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
9248
9404
|
details?: {
|
|
9249
9405
|
[key: string]: unknown;
|
|
9250
9406
|
};
|
|
@@ -9315,6 +9471,7 @@ export type ToolResult = {
|
|
|
9315
9471
|
export type ToolSearchRequest = {
|
|
9316
9472
|
agent_name?: string;
|
|
9317
9473
|
limit?: number;
|
|
9474
|
+
offset?: number;
|
|
9318
9475
|
query: string;
|
|
9319
9476
|
session_id?: string;
|
|
9320
9477
|
workspace_id?: string;
|
|
@@ -9330,7 +9487,12 @@ export type ToolSourceRefPayload = {
|
|
|
9330
9487
|
workspace_id?: string;
|
|
9331
9488
|
};
|
|
9332
9489
|
export type ToolsResponse = {
|
|
9490
|
+
count: number;
|
|
9491
|
+
has_more: boolean;
|
|
9492
|
+
next_offset?: number;
|
|
9493
|
+
offset?: number;
|
|
9333
9494
|
tools: Array<ToolPayload>;
|
|
9495
|
+
total: number;
|
|
9334
9496
|
};
|
|
9335
9497
|
export type ToolsetPayload = {
|
|
9336
9498
|
expanded_tools?: Array<string>;
|
|
@@ -9589,13 +9751,14 @@ export type ValidateLoopRequest = {
|
|
|
9589
9751
|
definition: LoopDefinitionDocument;
|
|
9590
9752
|
};
|
|
9591
9753
|
export type ValidationIssue = {
|
|
9754
|
+
code?: string;
|
|
9592
9755
|
column?: number;
|
|
9593
9756
|
field?: string;
|
|
9594
9757
|
line?: number;
|
|
9595
9758
|
message: string;
|
|
9596
9759
|
path: string;
|
|
9597
9760
|
scope?: string;
|
|
9598
|
-
severity: "error" | "warning" | "warn";
|
|
9761
|
+
severity: "error" | "warning" | "warn" | "info";
|
|
9599
9762
|
};
|
|
9600
9763
|
export type Value = {
|
|
9601
9764
|
[key: string]: never;
|
|
@@ -10077,6 +10240,7 @@ export type AgentMCPServerInputWritable = {
|
|
|
10077
10240
|
[key: string]: string;
|
|
10078
10241
|
};
|
|
10079
10242
|
name: string;
|
|
10243
|
+
read_only_tools?: Array<string>;
|
|
10080
10244
|
reference?: boolean;
|
|
10081
10245
|
secret_env?: {
|
|
10082
10246
|
[key: string]: string;
|
|
@@ -10098,6 +10262,7 @@ export type CreateAgentPayloadWritable = {
|
|
|
10098
10262
|
appearance?: {
|
|
10099
10263
|
[key: string]: unknown;
|
|
10100
10264
|
};
|
|
10265
|
+
auto_compact_window?: number | null;
|
|
10101
10266
|
category_path?: Array<string>;
|
|
10102
10267
|
command?: string;
|
|
10103
10268
|
deny_tools?: Array<string>;
|
|
@@ -10109,6 +10274,7 @@ export type CreateAgentPayloadWritable = {
|
|
|
10109
10274
|
*/
|
|
10110
10275
|
kind?: "on_demand" | "always_on";
|
|
10111
10276
|
label?: string;
|
|
10277
|
+
lean_environment?: boolean | null;
|
|
10112
10278
|
mcp_servers?: Array<AgentMCPServerInputWritable>;
|
|
10113
10279
|
model?: string;
|
|
10114
10280
|
name: string;
|
|
@@ -10139,6 +10305,10 @@ export type InstallExtensionRequestWritable = {
|
|
|
10139
10305
|
allow_unverified?: boolean;
|
|
10140
10306
|
asset?: string;
|
|
10141
10307
|
confirm_gateway_digest?: string;
|
|
10308
|
+
/**
|
|
10309
|
+
* Enable after installation under the same operation lock. Activation failure returns 201 with enable_error and retains the installed package and inputs.
|
|
10310
|
+
*/
|
|
10311
|
+
enable?: boolean;
|
|
10142
10312
|
expected_digest?: string;
|
|
10143
10313
|
inputs?: {
|
|
10144
10314
|
[key: string]: ValueWritable;
|
|
@@ -11105,6 +11275,71 @@ export type ListAgentInstanceReportsResponses = {
|
|
|
11105
11275
|
200: AgentInstanceReportsResponse;
|
|
11106
11276
|
};
|
|
11107
11277
|
export type ListAgentInstanceReportsResponse = ListAgentInstanceReportsResponses[keyof ListAgentInstanceReportsResponses];
|
|
11278
|
+
export type PickAgentInstanceProposalData = {
|
|
11279
|
+
/**
|
|
11280
|
+
* JSON request body
|
|
11281
|
+
*/
|
|
11282
|
+
body: AgentInstancePickRequest;
|
|
11283
|
+
path: {
|
|
11284
|
+
/**
|
|
11285
|
+
* Instance ID
|
|
11286
|
+
*/
|
|
11287
|
+
id: string;
|
|
11288
|
+
/**
|
|
11289
|
+
* Report ID
|
|
11290
|
+
*/
|
|
11291
|
+
report_id: string;
|
|
11292
|
+
};
|
|
11293
|
+
query?: {
|
|
11294
|
+
/**
|
|
11295
|
+
* Act as this profile by name
|
|
11296
|
+
*/
|
|
11297
|
+
profile?: string;
|
|
11298
|
+
};
|
|
11299
|
+
url: "/api/agent-instances/{id}/reports/{report_id}/pick";
|
|
11300
|
+
};
|
|
11301
|
+
export type PickAgentInstanceProposalErrors = {
|
|
11302
|
+
/**
|
|
11303
|
+
* Invalid profile selection
|
|
11304
|
+
*/
|
|
11305
|
+
400: ProfileErrorPayload;
|
|
11306
|
+
/**
|
|
11307
|
+
* Request failed
|
|
11308
|
+
*/
|
|
11309
|
+
403: ErrorPayload;
|
|
11310
|
+
/**
|
|
11311
|
+
* Request failed
|
|
11312
|
+
*/
|
|
11313
|
+
404: ErrorPayload;
|
|
11314
|
+
/**
|
|
11315
|
+
* Request failed
|
|
11316
|
+
*/
|
|
11317
|
+
409: ErrorPayload;
|
|
11318
|
+
/**
|
|
11319
|
+
* Request failed
|
|
11320
|
+
*/
|
|
11321
|
+
422: ErrorPayload;
|
|
11322
|
+
/**
|
|
11323
|
+
* Request failed
|
|
11324
|
+
*/
|
|
11325
|
+
429: ErrorPayload;
|
|
11326
|
+
/**
|
|
11327
|
+
* Request failed
|
|
11328
|
+
*/
|
|
11329
|
+
500: ErrorPayload;
|
|
11330
|
+
/**
|
|
11331
|
+
* Request failed
|
|
11332
|
+
*/
|
|
11333
|
+
503: ErrorPayload;
|
|
11334
|
+
};
|
|
11335
|
+
export type PickAgentInstanceProposalError = PickAgentInstanceProposalErrors[keyof PickAgentInstanceProposalErrors];
|
|
11336
|
+
export type PickAgentInstanceProposalResponses = {
|
|
11337
|
+
/**
|
|
11338
|
+
* Picked
|
|
11339
|
+
*/
|
|
11340
|
+
200: AgentInstancePickResponse;
|
|
11341
|
+
};
|
|
11342
|
+
export type PickAgentInstanceProposalResponse = PickAgentInstanceProposalResponses[keyof PickAgentInstanceProposalResponses];
|
|
11108
11343
|
export type ResumeAgentInstanceData = {
|
|
11109
11344
|
body?: never;
|
|
11110
11345
|
path: {
|
|
@@ -12870,6 +13105,159 @@ export type PutAgentHeartbeatResponses = {
|
|
|
12870
13105
|
200: HeartbeatMutationResponse;
|
|
12871
13106
|
};
|
|
12872
13107
|
export type PutAgentHeartbeatResponse = PutAgentHeartbeatResponses[keyof PutAgentHeartbeatResponses];
|
|
13108
|
+
export type GetAgentHeartbeatAuthorityData = {
|
|
13109
|
+
body?: never;
|
|
13110
|
+
path: {
|
|
13111
|
+
/**
|
|
13112
|
+
* Agent name
|
|
13113
|
+
*/
|
|
13114
|
+
name: string;
|
|
13115
|
+
};
|
|
13116
|
+
query?: {
|
|
13117
|
+
/**
|
|
13118
|
+
* Workspace id
|
|
13119
|
+
*/
|
|
13120
|
+
workspace_id?: string;
|
|
13121
|
+
/**
|
|
13122
|
+
* Act as this profile by name
|
|
13123
|
+
*/
|
|
13124
|
+
profile?: string;
|
|
13125
|
+
};
|
|
13126
|
+
url: "/api/agents/{name}/heartbeat/authority";
|
|
13127
|
+
};
|
|
13128
|
+
export type GetAgentHeartbeatAuthorityErrors = {
|
|
13129
|
+
/**
|
|
13130
|
+
* Operator required
|
|
13131
|
+
*/
|
|
13132
|
+
403: ErrorPayload;
|
|
13133
|
+
/**
|
|
13134
|
+
* Agent not found
|
|
13135
|
+
*/
|
|
13136
|
+
404: ErrorPayload;
|
|
13137
|
+
/**
|
|
13138
|
+
* Authority changed
|
|
13139
|
+
*/
|
|
13140
|
+
409: ErrorPayload;
|
|
13141
|
+
/**
|
|
13142
|
+
* Invalid authority
|
|
13143
|
+
*/
|
|
13144
|
+
422: ErrorPayload;
|
|
13145
|
+
/**
|
|
13146
|
+
* Authority storage unavailable
|
|
13147
|
+
*/
|
|
13148
|
+
503: ErrorPayload;
|
|
13149
|
+
};
|
|
13150
|
+
export type GetAgentHeartbeatAuthorityError = GetAgentHeartbeatAuthorityErrors[keyof GetAgentHeartbeatAuthorityErrors];
|
|
13151
|
+
export type GetAgentHeartbeatAuthorityResponses = {
|
|
13152
|
+
/**
|
|
13153
|
+
* Check-in authority
|
|
13154
|
+
*/
|
|
13155
|
+
200: HeartbeatAuthorityPayload;
|
|
13156
|
+
};
|
|
13157
|
+
export type GetAgentHeartbeatAuthorityResponse = GetAgentHeartbeatAuthorityResponses[keyof GetAgentHeartbeatAuthorityResponses];
|
|
13158
|
+
export type RevokeAgentHeartbeatAuthorityData = {
|
|
13159
|
+
body?: never;
|
|
13160
|
+
path: {
|
|
13161
|
+
/**
|
|
13162
|
+
* Agent name
|
|
13163
|
+
*/
|
|
13164
|
+
name: string;
|
|
13165
|
+
};
|
|
13166
|
+
query?: {
|
|
13167
|
+
/**
|
|
13168
|
+
* Workspace id
|
|
13169
|
+
*/
|
|
13170
|
+
workspace_id?: string;
|
|
13171
|
+
/**
|
|
13172
|
+
* Act as this profile by name
|
|
13173
|
+
*/
|
|
13174
|
+
profile?: string;
|
|
13175
|
+
};
|
|
13176
|
+
url: "/api/agents/{name}/heartbeat/authority/approve";
|
|
13177
|
+
};
|
|
13178
|
+
export type RevokeAgentHeartbeatAuthorityErrors = {
|
|
13179
|
+
/**
|
|
13180
|
+
* Operator required
|
|
13181
|
+
*/
|
|
13182
|
+
403: ErrorPayload;
|
|
13183
|
+
/**
|
|
13184
|
+
* Agent not found
|
|
13185
|
+
*/
|
|
13186
|
+
404: ErrorPayload;
|
|
13187
|
+
/**
|
|
13188
|
+
* Authority changed
|
|
13189
|
+
*/
|
|
13190
|
+
409: ErrorPayload;
|
|
13191
|
+
/**
|
|
13192
|
+
* Invalid authority
|
|
13193
|
+
*/
|
|
13194
|
+
422: ErrorPayload;
|
|
13195
|
+
/**
|
|
13196
|
+
* Authority storage unavailable
|
|
13197
|
+
*/
|
|
13198
|
+
503: ErrorPayload;
|
|
13199
|
+
};
|
|
13200
|
+
export type RevokeAgentHeartbeatAuthorityError = RevokeAgentHeartbeatAuthorityErrors[keyof RevokeAgentHeartbeatAuthorityErrors];
|
|
13201
|
+
export type RevokeAgentHeartbeatAuthorityResponses = {
|
|
13202
|
+
/**
|
|
13203
|
+
* Authority revoked
|
|
13204
|
+
*/
|
|
13205
|
+
204: void;
|
|
13206
|
+
};
|
|
13207
|
+
export type RevokeAgentHeartbeatAuthorityResponse = RevokeAgentHeartbeatAuthorityResponses[keyof RevokeAgentHeartbeatAuthorityResponses];
|
|
13208
|
+
export type ApproveAgentHeartbeatAuthorityData = {
|
|
13209
|
+
/**
|
|
13210
|
+
* JSON request body
|
|
13211
|
+
*/
|
|
13212
|
+
body: HeartbeatScriptApprovalRequest;
|
|
13213
|
+
path: {
|
|
13214
|
+
/**
|
|
13215
|
+
* Agent name
|
|
13216
|
+
*/
|
|
13217
|
+
name: string;
|
|
13218
|
+
};
|
|
13219
|
+
query?: {
|
|
13220
|
+
/**
|
|
13221
|
+
* Workspace id
|
|
13222
|
+
*/
|
|
13223
|
+
workspace_id?: string;
|
|
13224
|
+
/**
|
|
13225
|
+
* Act as this profile by name
|
|
13226
|
+
*/
|
|
13227
|
+
profile?: string;
|
|
13228
|
+
};
|
|
13229
|
+
url: "/api/agents/{name}/heartbeat/authority/approve";
|
|
13230
|
+
};
|
|
13231
|
+
export type ApproveAgentHeartbeatAuthorityErrors = {
|
|
13232
|
+
/**
|
|
13233
|
+
* Operator required
|
|
13234
|
+
*/
|
|
13235
|
+
403: ErrorPayload;
|
|
13236
|
+
/**
|
|
13237
|
+
* Agent not found
|
|
13238
|
+
*/
|
|
13239
|
+
404: ErrorPayload;
|
|
13240
|
+
/**
|
|
13241
|
+
* Authority changed
|
|
13242
|
+
*/
|
|
13243
|
+
409: ErrorPayload;
|
|
13244
|
+
/**
|
|
13245
|
+
* Invalid authority
|
|
13246
|
+
*/
|
|
13247
|
+
422: ErrorPayload;
|
|
13248
|
+
/**
|
|
13249
|
+
* Authority storage unavailable
|
|
13250
|
+
*/
|
|
13251
|
+
503: ErrorPayload;
|
|
13252
|
+
};
|
|
13253
|
+
export type ApproveAgentHeartbeatAuthorityError = ApproveAgentHeartbeatAuthorityErrors[keyof ApproveAgentHeartbeatAuthorityErrors];
|
|
13254
|
+
export type ApproveAgentHeartbeatAuthorityResponses = {
|
|
13255
|
+
/**
|
|
13256
|
+
* Authority approved
|
|
13257
|
+
*/
|
|
13258
|
+
204: void;
|
|
13259
|
+
};
|
|
13260
|
+
export type ApproveAgentHeartbeatAuthorityResponse = ApproveAgentHeartbeatAuthorityResponses[keyof ApproveAgentHeartbeatAuthorityResponses];
|
|
12873
13261
|
export type ListAgentHeartbeatHistoryData = {
|
|
12874
13262
|
body?: never;
|
|
12875
13263
|
path: {
|
|
@@ -14626,7 +15014,11 @@ export type ListAutomationJobRunsData = {
|
|
|
14626
15014
|
*/
|
|
14627
15015
|
until?: string;
|
|
14628
15016
|
/**
|
|
14629
|
-
*
|
|
15017
|
+
* Continue after page.next_cursor with unchanged filters
|
|
15018
|
+
*/
|
|
15019
|
+
cursor?: string;
|
|
15020
|
+
/**
|
|
15021
|
+
* Page size (default 50, maximum 200; zero uses default)
|
|
14630
15022
|
*/
|
|
14631
15023
|
limit?: number;
|
|
14632
15024
|
/**
|
|
@@ -14749,7 +15141,7 @@ export type ListAutomationRunsData = {
|
|
|
14749
15141
|
*/
|
|
14750
15142
|
until?: string;
|
|
14751
15143
|
/**
|
|
14752
|
-
*
|
|
15144
|
+
* Page size (default 50, maximum 200; zero uses default)
|
|
14753
15145
|
*/
|
|
14754
15146
|
limit?: number;
|
|
14755
15147
|
/**
|
|
@@ -15160,7 +15552,11 @@ export type ListAutomationTriggerRunsData = {
|
|
|
15160
15552
|
*/
|
|
15161
15553
|
until?: string;
|
|
15162
15554
|
/**
|
|
15163
|
-
*
|
|
15555
|
+
* Continue after page.next_cursor with unchanged filters
|
|
15556
|
+
*/
|
|
15557
|
+
cursor?: string;
|
|
15558
|
+
/**
|
|
15559
|
+
* Page size (default 50, maximum 200; zero uses default)
|
|
15164
15560
|
*/
|
|
15165
15561
|
limit?: number;
|
|
15166
15562
|
/**
|
|
@@ -15928,9 +16324,9 @@ export type InstallExtensionResponses = {
|
|
|
15928
16324
|
/**
|
|
15929
16325
|
* Created
|
|
15930
16326
|
*/
|
|
15931
|
-
201:
|
|
16327
|
+
201: InstallExtensionResponse;
|
|
15932
16328
|
};
|
|
15933
|
-
export type
|
|
16329
|
+
export type InstallExtensionResponse2 = InstallExtensionResponses[keyof InstallExtensionResponses];
|
|
15934
16330
|
export type ListExtensionCommandsData = {
|
|
15935
16331
|
body?: never;
|
|
15936
16332
|
path?: never;
|
|
@@ -17191,7 +17587,7 @@ export type GetHookCatalogData = {
|
|
|
17191
17587
|
/**
|
|
17192
17588
|
* Hook event name
|
|
17193
17589
|
*/
|
|
17194
|
-
event?: "agent.instance.created" | "agent.instance.paused" | "agent.instance.resumed" | "agent.instance.archived" | "agent.instance.adopted" | "subagent.settled" | "session.pre_create" | "session.post_create" | "session.pre_resume" | "session.post_resume" | "session.pre_stop" | "session.post_stop" | "session.message_persisted" | "session.runtime_recovery.started" | "session.runtime_recovery.succeeded" | "session.runtime_recovery.exhausted" | "input.pre_submit" | "prompt.post_assemble" | "event.pre_record" | "event.post_record" | "automation.job.pre_fire" | "automation.job.post_fire" | "automation.trigger.pre_fire" | "automation.trigger.post_fire" | "automation.run.completed" | "automation.run.failed" | "agent.pre_start" | "agent.spawned" | "agent.crashed" | "agent.stopped" | "agent.soul.snapshot.resolved" | "agent.soul.mutation.after" | "agent.heartbeat.policy.resolved" | "agent.heartbeat.wake.before" | "agent.heartbeat.wake.after" | "session.health.update.after" | "turn.start" | "turn.end" | "message.start" | "message.delta" | "message.end" | "tool.pre_call" | "tool.post_call" | "tool.post_error" | "permission.request" | "permission.resolved" | "permission.denied" | "context.pre_compact" | "context.post_compact" | "coordinator.pre_spawn" | "coordinator.spawned" | "coordinator.decision" | "coordinator.stopped" | "coordinator.failed" | "task.blocked" | "task.unblocked" | "task.needs_attention" | "task.recovered" | "task.status_changed" | "task.run.enqueued" | "task.run.pre_claim" | "task.run.post_claim" | "task.run.lease_extended" | "task.run.lease_expired" | "task.run.lease_recovered" | "task.run.released" | "task.run.completed" | "task.run.failed" | "loop.started" | "loop.generation.pre" | "loop.generation.post" | "loop.gate.pre" | "loop.gate.post" | "loop.node.terminal" | "loop.terminal" | "spawn.pre_create" | "spawn.created" | "spawn.parent_stopped" | "spawn.ttl_expired" | "spawn.reaped" | "session.attention.changed" | "window_manager.layout.applied" | "window_manager.desktop.created" | "window_manager.desktop.deleted" | "window_manager.window.moved" | "window_manager.window.opened" | "window_manager.window.closed" | "window_manager.stack.grouped" | "window_manager.stack.ungrouped" | "window_manager.stack.activated" | "worktree.pre_create" | "worktree.pre_remove" | "worktree.created" | "worktree.adopted" | "worktree.removed" | "terminal.opened" | "terminal.closed" | "terminal.command_started" | "terminal.command_finished" | "terminal.input_requested" | "terminal.input_provided" | "terminal.recording_started" | "terminal.recording_stopped" | "terminal.subscriber_evicted" | "terminal.limit_rejected";
|
|
17590
|
+
event?: "agent.instance.created" | "agent.instance.paused" | "agent.instance.resumed" | "agent.instance.archived" | "agent.instance.adopted" | "subagent.settled" | "session.pre_create" | "session.post_create" | "session.pre_resume" | "session.post_resume" | "session.pre_stop" | "session.post_stop" | "session.message_persisted" | "session.runtime_recovery.started" | "session.runtime_recovery.succeeded" | "session.runtime_recovery.exhausted" | "input.pre_submit" | "prompt.post_assemble" | "event.pre_record" | "event.post_record" | "automation.job.pre_fire" | "automation.job.post_fire" | "automation.trigger.pre_fire" | "automation.trigger.post_fire" | "automation.run.completed" | "automation.run.failed" | "agent.pre_start" | "agent.spawned" | "agent.crashed" | "agent.stopped" | "agent.soul.snapshot.resolved" | "agent.soul.mutation.after" | "agent.heartbeat.policy.resolved" | "agent.heartbeat.wake.before" | "agent.heartbeat.wake.after" | "session.health.update.after" | "turn.start" | "turn.end" | "message.start" | "message.delta" | "message.end" | "tool.pre_call" | "tool.post_call" | "tool.post_error" | "permission.request" | "permission.resolved" | "permission.denied" | "context.pre_compact" | "context.post_compact" | "coordinator.pre_spawn" | "coordinator.spawned" | "coordinator.decision" | "coordinator.stopped" | "coordinator.failed" | "task.blocked" | "task.unblocked" | "task.needs_attention" | "task.recovered" | "task.status_changed" | "task.run.enqueued" | "task.run.pre_claim" | "task.run.post_claim" | "task.run.lease_extended" | "task.run.lease_expired" | "task.run.lease_recovered" | "task.run.released" | "task.run.completed" | "task.run.failed" | "loop.started" | "loop.generation.pre" | "loop.generation.post" | "loop.gate.pre" | "loop.gate.post" | "loop.node.terminal" | "loop.terminal" | "spawn.pre_create" | "spawn.created" | "spawn.parent_stopped" | "spawn.ttl_expired" | "spawn.reaped" | "session.attention.changed" | "window_manager.layout.applied" | "window_manager.desktop.created" | "window_manager.desktop.deleted" | "window_manager.window.moved" | "window_manager.window.opened" | "window_manager.window.closed" | "window_manager.stack.grouped" | "window_manager.stack.ungrouped" | "window_manager.stack.activated" | "worktree.pre_create" | "worktree.pre_remove" | "worktree.created" | "worktree.adopted" | "worktree.removed" | "terminal.opened" | "terminal.closed" | "terminal.command_started" | "terminal.command_finished" | "terminal.input_requested" | "terminal.input_provided" | "terminal.recording_started" | "terminal.recording_stopped" | "terminal.subscriber_evicted" | "terminal.limit_rejected" | "agent.instance.proposal.picked";
|
|
17195
17591
|
/**
|
|
17196
17592
|
* Hook source
|
|
17197
17593
|
*/
|
|
@@ -17574,6 +17970,10 @@ export type ListMarketplaceData = {
|
|
|
17574
17970
|
* Optional catalog search query
|
|
17575
17971
|
*/
|
|
17576
17972
|
q?: string;
|
|
17973
|
+
/**
|
|
17974
|
+
* Optional CompozyOS category id
|
|
17975
|
+
*/
|
|
17976
|
+
category?: string;
|
|
17577
17977
|
/**
|
|
17578
17978
|
* Maximum results from 1 to 100
|
|
17579
17979
|
*/
|
|
@@ -17717,6 +18117,55 @@ export type RefreshMarketplaceCatalogResponses = {
|
|
|
17717
18117
|
200: MarketplaceRefreshResponse;
|
|
17718
18118
|
};
|
|
17719
18119
|
export type RefreshMarketplaceCatalogResponse = RefreshMarketplaceCatalogResponses[keyof RefreshMarketplaceCatalogResponses];
|
|
18120
|
+
export type GetMarketplaceSectionsData = {
|
|
18121
|
+
body?: never;
|
|
18122
|
+
path?: never;
|
|
18123
|
+
query?: {
|
|
18124
|
+
/**
|
|
18125
|
+
* Optional catalog search query
|
|
18126
|
+
*/
|
|
18127
|
+
q?: string;
|
|
18128
|
+
/**
|
|
18129
|
+
* Entries per section from 1 to 12; default 6
|
|
18130
|
+
*/
|
|
18131
|
+
per_section?: number;
|
|
18132
|
+
/**
|
|
18133
|
+
* Installed-state projection scope
|
|
18134
|
+
*/
|
|
18135
|
+
scope?: "global" | "profile" | "workspace";
|
|
18136
|
+
/**
|
|
18137
|
+
* Required for profile scope
|
|
18138
|
+
*/
|
|
18139
|
+
profile?: string;
|
|
18140
|
+
/**
|
|
18141
|
+
* Required for workspace scope
|
|
18142
|
+
*/
|
|
18143
|
+
workspace_id?: string;
|
|
18144
|
+
};
|
|
18145
|
+
url: "/api/marketplace/sections";
|
|
18146
|
+
};
|
|
18147
|
+
export type GetMarketplaceSectionsErrors = {
|
|
18148
|
+
/**
|
|
18149
|
+
* Invalid request
|
|
18150
|
+
*/
|
|
18151
|
+
400: ErrorPayload;
|
|
18152
|
+
/**
|
|
18153
|
+
* Internal server error
|
|
18154
|
+
*/
|
|
18155
|
+
500: ErrorPayload;
|
|
18156
|
+
/**
|
|
18157
|
+
* Catalog dependency is not configured
|
|
18158
|
+
*/
|
|
18159
|
+
503: ErrorPayload;
|
|
18160
|
+
};
|
|
18161
|
+
export type GetMarketplaceSectionsError = GetMarketplaceSectionsErrors[keyof GetMarketplaceSectionsErrors];
|
|
18162
|
+
export type GetMarketplaceSectionsResponses = {
|
|
18163
|
+
/**
|
|
18164
|
+
* OK
|
|
18165
|
+
*/
|
|
18166
|
+
200: MarketplaceSectionsResponse;
|
|
18167
|
+
};
|
|
18168
|
+
export type GetMarketplaceSectionsResponse = GetMarketplaceSectionsResponses[keyof GetMarketplaceSectionsResponses];
|
|
17720
18169
|
export type ListMarketplaceSourcesData = {
|
|
17721
18170
|
body?: never;
|
|
17722
18171
|
path?: never;
|
|
@@ -20758,6 +21207,10 @@ export type ListSessionsData = {
|
|
|
20758
21207
|
* Exclude settled automation-run sessions; search, type, parent, root, archive=only and later=only reads ignore it
|
|
20759
21208
|
*/
|
|
20760
21209
|
exclude_finished_automation?: boolean;
|
|
21210
|
+
/**
|
|
21211
|
+
* Exclude every automation job or trigger run session the operator has not prompted, whatever its state; search, type, parent, root, archive=only and later=only reads ignore it
|
|
21212
|
+
*/
|
|
21213
|
+
exclude_automation?: boolean;
|
|
20761
21214
|
/**
|
|
20762
21215
|
* Filter by exact session state
|
|
20763
21216
|
*/
|
|
@@ -20959,6 +21412,10 @@ export type ListSessionFacetsData = {
|
|
|
20959
21412
|
* Exclude settled automation-run sessions; search, type, parent, root, archive=only and later=only reads ignore it
|
|
20960
21413
|
*/
|
|
20961
21414
|
exclude_finished_automation?: boolean;
|
|
21415
|
+
/**
|
|
21416
|
+
* Exclude every automation job or trigger run session the operator has not prompted from the counts, whatever its state; facets ignore the text query, so the counts keep excluding runs a search can list. type, parent, root, archive=only and later=only reads ignore it
|
|
21417
|
+
*/
|
|
21418
|
+
exclude_automation?: boolean;
|
|
20962
21419
|
/**
|
|
20963
21420
|
* Workspace id or path
|
|
20964
21421
|
*/
|
|
@@ -22928,6 +23385,50 @@ export type PutSettingsProviderResponses = {
|
|
|
22928
23385
|
200: SettingsApplyResponse;
|
|
22929
23386
|
};
|
|
22930
23387
|
export type PutSettingsProviderResponse = PutSettingsProviderResponses[keyof PutSettingsProviderResponses];
|
|
23388
|
+
export type SetSettingsProviderEnabledData = {
|
|
23389
|
+
/**
|
|
23390
|
+
* JSON request body
|
|
23391
|
+
*/
|
|
23392
|
+
body: SetSettingsProviderEnabledRequest;
|
|
23393
|
+
path: {
|
|
23394
|
+
/**
|
|
23395
|
+
* Provider name
|
|
23396
|
+
*/
|
|
23397
|
+
name: string;
|
|
23398
|
+
};
|
|
23399
|
+
query?: never;
|
|
23400
|
+
url: "/api/settings/providers/{name}/enabled";
|
|
23401
|
+
};
|
|
23402
|
+
export type SetSettingsProviderEnabledErrors = {
|
|
23403
|
+
/**
|
|
23404
|
+
* Invalid enabled payload
|
|
23405
|
+
*/
|
|
23406
|
+
400: ErrorPayload;
|
|
23407
|
+
/**
|
|
23408
|
+
* Forbidden
|
|
23409
|
+
*/
|
|
23410
|
+
403: ErrorPayload;
|
|
23411
|
+
/**
|
|
23412
|
+
* Provider not found
|
|
23413
|
+
*/
|
|
23414
|
+
404: ErrorPayload;
|
|
23415
|
+
/**
|
|
23416
|
+
* Disabling the default provider is rejected
|
|
23417
|
+
*/
|
|
23418
|
+
422: ErrorPayload;
|
|
23419
|
+
/**
|
|
23420
|
+
* Internal server error
|
|
23421
|
+
*/
|
|
23422
|
+
500: ErrorPayload;
|
|
23423
|
+
};
|
|
23424
|
+
export type SetSettingsProviderEnabledError = SetSettingsProviderEnabledErrors[keyof SetSettingsProviderEnabledErrors];
|
|
23425
|
+
export type SetSettingsProviderEnabledResponses = {
|
|
23426
|
+
/**
|
|
23427
|
+
* OK
|
|
23428
|
+
*/
|
|
23429
|
+
200: SettingsProviderEnabledResponse;
|
|
23430
|
+
};
|
|
23431
|
+
export type SetSettingsProviderEnabledResponse = SetSettingsProviderEnabledResponses[keyof SetSettingsProviderEnabledResponses];
|
|
22931
23432
|
export type ReloadSettingsData = {
|
|
22932
23433
|
body?: never;
|
|
22933
23434
|
path?: never;
|
|
@@ -27673,14 +28174,31 @@ export type GetWorkspaceData = {
|
|
|
27673
28174
|
*/
|
|
27674
28175
|
id: string;
|
|
27675
28176
|
};
|
|
27676
|
-
query?:
|
|
28177
|
+
query?: {
|
|
28178
|
+
/**
|
|
28179
|
+
* Read one profile's rows by name
|
|
28180
|
+
*/
|
|
28181
|
+
profile?: string;
|
|
28182
|
+
/**
|
|
28183
|
+
* Read the owner-labeled all-profiles aggregate
|
|
28184
|
+
*/
|
|
28185
|
+
all_profiles?: boolean;
|
|
28186
|
+
};
|
|
27677
28187
|
url: "/api/workspaces/{id}";
|
|
27678
28188
|
};
|
|
27679
28189
|
export type GetWorkspaceErrors = {
|
|
27680
28190
|
/**
|
|
27681
|
-
*
|
|
28191
|
+
* Invalid profile selection
|
|
27682
28192
|
*/
|
|
27683
|
-
|
|
28193
|
+
400: ProfileErrorPayload;
|
|
28194
|
+
/**
|
|
28195
|
+
* Workspace or requested profile not found
|
|
28196
|
+
*/
|
|
28197
|
+
404: ErrorPayload | ProfileErrorPayload;
|
|
28198
|
+
/**
|
|
28199
|
+
* Profile archived or unavailable
|
|
28200
|
+
*/
|
|
28201
|
+
409: ProfileErrorPayload;
|
|
27684
28202
|
/**
|
|
27685
28203
|
* Unknown workspace config keys (workspace_config_invalid)
|
|
27686
28204
|
*/
|
|
@@ -28216,7 +28734,7 @@ export type GetHookRunsData = {
|
|
|
28216
28734
|
/**
|
|
28217
28735
|
* Hook event name
|
|
28218
28736
|
*/
|
|
28219
|
-
event?: "agent.instance.created" | "agent.instance.paused" | "agent.instance.resumed" | "agent.instance.archived" | "agent.instance.adopted" | "subagent.settled" | "session.pre_create" | "session.post_create" | "session.pre_resume" | "session.post_resume" | "session.pre_stop" | "session.post_stop" | "session.message_persisted" | "session.runtime_recovery.started" | "session.runtime_recovery.succeeded" | "session.runtime_recovery.exhausted" | "input.pre_submit" | "prompt.post_assemble" | "event.pre_record" | "event.post_record" | "automation.job.pre_fire" | "automation.job.post_fire" | "automation.trigger.pre_fire" | "automation.trigger.post_fire" | "automation.run.completed" | "automation.run.failed" | "agent.pre_start" | "agent.spawned" | "agent.crashed" | "agent.stopped" | "agent.soul.snapshot.resolved" | "agent.soul.mutation.after" | "agent.heartbeat.policy.resolved" | "agent.heartbeat.wake.before" | "agent.heartbeat.wake.after" | "session.health.update.after" | "turn.start" | "turn.end" | "message.start" | "message.delta" | "message.end" | "tool.pre_call" | "tool.post_call" | "tool.post_error" | "permission.request" | "permission.resolved" | "permission.denied" | "context.pre_compact" | "context.post_compact" | "coordinator.pre_spawn" | "coordinator.spawned" | "coordinator.decision" | "coordinator.stopped" | "coordinator.failed" | "task.blocked" | "task.unblocked" | "task.needs_attention" | "task.recovered" | "task.status_changed" | "task.run.enqueued" | "task.run.pre_claim" | "task.run.post_claim" | "task.run.lease_extended" | "task.run.lease_expired" | "task.run.lease_recovered" | "task.run.released" | "task.run.completed" | "task.run.failed" | "loop.started" | "loop.generation.pre" | "loop.generation.post" | "loop.gate.pre" | "loop.gate.post" | "loop.node.terminal" | "loop.terminal" | "spawn.pre_create" | "spawn.created" | "spawn.parent_stopped" | "spawn.ttl_expired" | "spawn.reaped" | "session.attention.changed" | "window_manager.layout.applied" | "window_manager.desktop.created" | "window_manager.desktop.deleted" | "window_manager.window.moved" | "window_manager.window.opened" | "window_manager.window.closed" | "window_manager.stack.grouped" | "window_manager.stack.ungrouped" | "window_manager.stack.activated" | "worktree.pre_create" | "worktree.pre_remove" | "worktree.created" | "worktree.adopted" | "worktree.removed" | "terminal.opened" | "terminal.closed" | "terminal.command_started" | "terminal.command_finished" | "terminal.input_requested" | "terminal.input_provided" | "terminal.recording_started" | "terminal.recording_stopped" | "terminal.subscriber_evicted" | "terminal.limit_rejected";
|
|
28737
|
+
event?: "agent.instance.created" | "agent.instance.paused" | "agent.instance.resumed" | "agent.instance.archived" | "agent.instance.adopted" | "subagent.settled" | "session.pre_create" | "session.post_create" | "session.pre_resume" | "session.post_resume" | "session.pre_stop" | "session.post_stop" | "session.message_persisted" | "session.runtime_recovery.started" | "session.runtime_recovery.succeeded" | "session.runtime_recovery.exhausted" | "input.pre_submit" | "prompt.post_assemble" | "event.pre_record" | "event.post_record" | "automation.job.pre_fire" | "automation.job.post_fire" | "automation.trigger.pre_fire" | "automation.trigger.post_fire" | "automation.run.completed" | "automation.run.failed" | "agent.pre_start" | "agent.spawned" | "agent.crashed" | "agent.stopped" | "agent.soul.snapshot.resolved" | "agent.soul.mutation.after" | "agent.heartbeat.policy.resolved" | "agent.heartbeat.wake.before" | "agent.heartbeat.wake.after" | "session.health.update.after" | "turn.start" | "turn.end" | "message.start" | "message.delta" | "message.end" | "tool.pre_call" | "tool.post_call" | "tool.post_error" | "permission.request" | "permission.resolved" | "permission.denied" | "context.pre_compact" | "context.post_compact" | "coordinator.pre_spawn" | "coordinator.spawned" | "coordinator.decision" | "coordinator.stopped" | "coordinator.failed" | "task.blocked" | "task.unblocked" | "task.needs_attention" | "task.recovered" | "task.status_changed" | "task.run.enqueued" | "task.run.pre_claim" | "task.run.post_claim" | "task.run.lease_extended" | "task.run.lease_expired" | "task.run.lease_recovered" | "task.run.released" | "task.run.completed" | "task.run.failed" | "loop.started" | "loop.generation.pre" | "loop.generation.post" | "loop.gate.pre" | "loop.gate.post" | "loop.node.terminal" | "loop.terminal" | "spawn.pre_create" | "spawn.created" | "spawn.parent_stopped" | "spawn.ttl_expired" | "spawn.reaped" | "session.attention.changed" | "window_manager.layout.applied" | "window_manager.desktop.created" | "window_manager.desktop.deleted" | "window_manager.window.moved" | "window_manager.window.opened" | "window_manager.window.closed" | "window_manager.stack.grouped" | "window_manager.stack.ungrouped" | "window_manager.stack.activated" | "worktree.pre_create" | "worktree.pre_remove" | "worktree.created" | "worktree.adopted" | "worktree.removed" | "terminal.opened" | "terminal.closed" | "terminal.command_started" | "terminal.command_finished" | "terminal.input_requested" | "terminal.input_provided" | "terminal.recording_started" | "terminal.recording_stopped" | "terminal.subscriber_evicted" | "terminal.limit_rejected" | "agent.instance.proposal.picked";
|
|
28220
28738
|
/**
|
|
28221
28739
|
* Hook execution outcome
|
|
28222
28740
|
*/
|
|
@@ -30801,6 +31319,10 @@ export type ListWorkspaceSessionsData = {
|
|
|
30801
31319
|
* Exclude settled automation-run sessions; search, type, parent, root, archive=only and later=only reads ignore it
|
|
30802
31320
|
*/
|
|
30803
31321
|
exclude_finished_automation?: boolean;
|
|
31322
|
+
/**
|
|
31323
|
+
* Exclude every automation job or trigger run session the operator has not prompted, whatever its state; search, type, parent, root, archive=only and later=only reads ignore it
|
|
31324
|
+
*/
|
|
31325
|
+
exclude_automation?: boolean;
|
|
30804
31326
|
/**
|
|
30805
31327
|
* Filter by exact session state
|
|
30806
31328
|
*/
|
|
@@ -37111,6 +37633,10 @@ export type ListWorktreesData = {
|
|
|
37111
37633
|
* Refresh Git discovery and status
|
|
37112
37634
|
*/
|
|
37113
37635
|
refresh?: boolean;
|
|
37636
|
+
/**
|
|
37637
|
+
* Include removed records (excluded by default)
|
|
37638
|
+
*/
|
|
37639
|
+
include_removed?: boolean;
|
|
37114
37640
|
};
|
|
37115
37641
|
url: "/api/workspaces/{workspace_id}/worktrees";
|
|
37116
37642
|
};
|
|
@@ -37794,6 +38320,10 @@ export type ListWorktreesAggregateData = {
|
|
|
37794
38320
|
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
37795
38321
|
*/
|
|
37796
38322
|
workspace_ids?: Array<string>;
|
|
38323
|
+
/**
|
|
38324
|
+
* Include removed records (excluded by default)
|
|
38325
|
+
*/
|
|
38326
|
+
include_removed?: boolean;
|
|
37797
38327
|
};
|
|
37798
38328
|
url: "/api/worktrees";
|
|
37799
38329
|
};
|