@compozy/client 0.3.0-beta.36 → 0.3.0-beta.38
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 +884 -716
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/sse/index.js +3 -1
- package/dist/cjs/generated/sse/index.js.map +1 -1
- package/dist/cjs/generated/sse/sdk.gen.js +21 -1
- package/dist/cjs/generated/sse/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +883 -715
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/generated/sse/index.js +1 -1
- package/dist/esm/generated/sse/index.js.map +1 -1
- package/dist/esm/generated/sse/sdk.gen.js +18 -0
- package/dist/esm/generated/sse/sdk.gen.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +2640 -595
- 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 +273 -207
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +1253 -89
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/index.d.ts +2 -2
- package/dist/types/generated/sse/index.d.ts.map +1 -1
- package/dist/types/generated/sse/sdk.gen.d.ts +11 -1
- package/dist/types/generated/sse/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +122 -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
|
@@ -219,6 +219,7 @@ export type AgentPayload = {
|
|
|
219
219
|
speed?: "normal" | "fast";
|
|
220
220
|
tools?: Array<string>;
|
|
221
221
|
toolsets?: Array<string>;
|
|
222
|
+
workspace_access?: string;
|
|
222
223
|
workspace_id?: string;
|
|
223
224
|
};
|
|
224
225
|
export type AgentProbeHealthPayload = {
|
|
@@ -350,24 +351,31 @@ export type AgentSoulValidateRequest = {
|
|
|
350
351
|
export type AgentSpawnPayload = {
|
|
351
352
|
lineage: SessionLineagePayload;
|
|
352
353
|
permissions: SpawnPermissionPolicyPayload;
|
|
354
|
+
prompt?: SpawnPromptPayload | null;
|
|
353
355
|
session: SessionPayload;
|
|
356
|
+
worktree?: SpawnWorktreePayload | null;
|
|
354
357
|
};
|
|
355
358
|
export type AgentSpawnRequest = {
|
|
356
359
|
acp_options?: Array<AgentACPOptionSelection>;
|
|
357
360
|
agent_name: string;
|
|
358
361
|
auto_stop_on_parent: boolean;
|
|
359
362
|
idempotency_key?: string;
|
|
363
|
+
inherit_permissions?: boolean;
|
|
360
364
|
model?: string;
|
|
361
365
|
name?: string;
|
|
366
|
+
new_worktree?: SpawnNewWorktreeRequest | null;
|
|
362
367
|
notify_creator?: boolean | null;
|
|
363
|
-
permissions:
|
|
368
|
+
permissions: SpawnPermissionRequestPayload;
|
|
369
|
+
prompt?: string;
|
|
364
370
|
prompt_overlay?: string;
|
|
365
371
|
provider?: string;
|
|
366
372
|
reasoning_effort?: string;
|
|
367
373
|
spawn_role: string;
|
|
368
374
|
speed?: "normal" | "fast";
|
|
375
|
+
toolsets?: Array<string>;
|
|
369
376
|
ttl_seconds: number;
|
|
370
377
|
workspace?: string;
|
|
378
|
+
worktree?: string;
|
|
371
379
|
};
|
|
372
380
|
export type AgentSpawnResponse = {
|
|
373
381
|
spawn: AgentSpawnPayload;
|
|
@@ -989,7 +997,7 @@ export type ContractWindowManagerDesktop = {
|
|
|
989
997
|
order: number;
|
|
990
998
|
};
|
|
991
999
|
export type ContractWindowManagerErrorPayload = {
|
|
992
|
-
code: "window_manager_workspace_not_found" | "window_manager_revision_conflict" | "window_manager_invalid_command" | "window_manager_invalid_topology" | "window_manager_desktop_not_found" | "window_manager_window_not_found" | "window_manager_not_stacked" | "window_manager_window_pinned" | "window_manager_client_not_found" | "window_manager_destination_required" | "window_manager_final_desktop" | "window_manager_history_boundary" | "window_manager_layout_not_found" | "window_manager_slow_consumer" | "window_manager_unavailable";
|
|
1000
|
+
code: "window_manager_workspace_not_found" | "window_manager_revision_conflict" | "window_binding_invalid" | "window_manager_invalid_command" | "window_manager_invalid_topology" | "window_manager_desktop_not_found" | "window_manager_window_not_found" | "window_manager_not_stacked" | "window_manager_window_pinned" | "window_manager_client_not_found" | "window_manager_destination_required" | "window_manager_final_desktop" | "window_manager_history_boundary" | "window_manager_layout_not_found" | "window_manager_slow_consumer" | "window_manager_unavailable";
|
|
993
1001
|
conflicts?: Array<Conflict>;
|
|
994
1002
|
current_revision?: number;
|
|
995
1003
|
diagnostics?: Array<Diagnostic>;
|
|
@@ -1100,6 +1108,7 @@ export type CreateAgentPayload = {
|
|
|
1100
1108
|
speed?: "normal" | "fast";
|
|
1101
1109
|
tools?: Array<string>;
|
|
1102
1110
|
toolsets?: Array<string>;
|
|
1111
|
+
workspace_access?: string;
|
|
1103
1112
|
};
|
|
1104
1113
|
export type CreateAgentRequest = {
|
|
1105
1114
|
agent: CreateAgentPayload;
|
|
@@ -1122,7 +1131,7 @@ export type CreateJobRequest = {
|
|
|
1122
1131
|
prompt: string;
|
|
1123
1132
|
retry?: RetryConfig | null;
|
|
1124
1133
|
schedule: ScheduleSpec;
|
|
1125
|
-
scope: "global" | "workspace";
|
|
1134
|
+
scope: "global" | "workspace" | "user" | "@user";
|
|
1126
1135
|
target_kind?: string;
|
|
1127
1136
|
task?: JobTaskConfig | null;
|
|
1128
1137
|
workspace_id?: string;
|
|
@@ -1148,6 +1157,7 @@ export type CreateSessionRequest = {
|
|
|
1148
1157
|
name?: string;
|
|
1149
1158
|
new_worktree?: NewSessionWorktreeRequest | null;
|
|
1150
1159
|
parent_session_id?: string;
|
|
1160
|
+
scope?: string;
|
|
1151
1161
|
workspace?: string;
|
|
1152
1162
|
workspace_path?: string;
|
|
1153
1163
|
worktree?: string;
|
|
@@ -1174,7 +1184,7 @@ export type CreateTaskChildRequest = {
|
|
|
1174
1184
|
metadata?: unknown;
|
|
1175
1185
|
owner?: Ownership | null;
|
|
1176
1186
|
priority?: "low" | "medium" | "high" | "urgent";
|
|
1177
|
-
scope: "global" | "workspace";
|
|
1187
|
+
scope: "global" | "workspace" | "user" | "@user";
|
|
1178
1188
|
title: string;
|
|
1179
1189
|
wake_creator?: boolean | null;
|
|
1180
1190
|
workspace?: string;
|
|
@@ -1190,7 +1200,7 @@ export type CreateTaskRequest = {
|
|
|
1190
1200
|
metadata?: unknown;
|
|
1191
1201
|
owner?: Ownership | null;
|
|
1192
1202
|
priority?: "low" | "medium" | "high" | "urgent";
|
|
1193
|
-
scope: "global" | "workspace";
|
|
1203
|
+
scope: "global" | "workspace" | "user" | "@user";
|
|
1194
1204
|
title: string;
|
|
1195
1205
|
wake_creator?: boolean | null;
|
|
1196
1206
|
workspace?: string;
|
|
@@ -1208,7 +1218,7 @@ export type CreateTriggerRequest = {
|
|
|
1208
1218
|
name: string;
|
|
1209
1219
|
prompt: string;
|
|
1210
1220
|
retry?: RetryConfig | null;
|
|
1211
|
-
scope: "global" | "workspace";
|
|
1221
|
+
scope: "global" | "workspace" | "user" | "@user";
|
|
1212
1222
|
target_kind?: string;
|
|
1213
1223
|
webhook_id?: string;
|
|
1214
1224
|
webhook_secret_value?: string;
|
|
@@ -1227,6 +1237,11 @@ export type CreateWorktreeRequest = {
|
|
|
1227
1237
|
name?: string;
|
|
1228
1238
|
path?: string;
|
|
1229
1239
|
};
|
|
1240
|
+
export type CursorPagePayload = {
|
|
1241
|
+
has_more: boolean;
|
|
1242
|
+
limit: number;
|
|
1243
|
+
next_cursor?: string;
|
|
1244
|
+
};
|
|
1230
1245
|
export type DaemonIdentityPayload = {
|
|
1231
1246
|
http_host: string;
|
|
1232
1247
|
http_port: number;
|
|
@@ -1356,6 +1371,7 @@ export type DuplicateAgentOverrides = {
|
|
|
1356
1371
|
speed?: "normal" | "fast";
|
|
1357
1372
|
tools?: Array<string>;
|
|
1358
1373
|
toolsets?: Array<string>;
|
|
1374
|
+
workspace_access?: string;
|
|
1359
1375
|
};
|
|
1360
1376
|
export type DuplicateAgentRequest = {
|
|
1361
1377
|
name: string;
|
|
@@ -1404,12 +1420,14 @@ export type Entry = {
|
|
|
1404
1420
|
};
|
|
1405
1421
|
export type ErrorPayload = {
|
|
1406
1422
|
code?: string;
|
|
1423
|
+
config_path?: string;
|
|
1407
1424
|
current_turn_id?: string;
|
|
1408
1425
|
details?: {
|
|
1409
1426
|
[key: string]: string;
|
|
1410
1427
|
};
|
|
1411
1428
|
diagnostic?: DiagnosticItem | null;
|
|
1412
1429
|
error: string;
|
|
1430
|
+
unknown_keys?: Array<string>;
|
|
1413
1431
|
};
|
|
1414
1432
|
export type ExecutionPolicy = {
|
|
1415
1433
|
retry_safe: boolean;
|
|
@@ -2704,11 +2722,32 @@ export type LoopBudget = {
|
|
|
2704
2722
|
tokens: number;
|
|
2705
2723
|
wall_clock_sec: number;
|
|
2706
2724
|
};
|
|
2725
|
+
export type LoopCatalogAggregateEntryPayload = {
|
|
2726
|
+
aggregate_30d: LoopCatalogAggregatePayload;
|
|
2727
|
+
catalog: LoopCatalogResourceSpec;
|
|
2728
|
+
contract: LoopContract;
|
|
2729
|
+
description?: string;
|
|
2730
|
+
inputs?: {
|
|
2731
|
+
[key: string]: LoopInput;
|
|
2732
|
+
};
|
|
2733
|
+
last_run?: LoopCatalogLastRunPayload | null;
|
|
2734
|
+
name: string;
|
|
2735
|
+
source: LoopCatalogSourcePayload;
|
|
2736
|
+
start?: Array<LoopStartBinding>;
|
|
2737
|
+
success_rate_30d: number;
|
|
2738
|
+
version: number;
|
|
2739
|
+
workspace_id?: string;
|
|
2740
|
+
};
|
|
2707
2741
|
export type LoopCatalogAggregatePayload = {
|
|
2708
2742
|
failed: number;
|
|
2709
2743
|
runs: number;
|
|
2710
2744
|
succeeded: number;
|
|
2711
2745
|
};
|
|
2746
|
+
export type LoopCatalogBatchResponse = {
|
|
2747
|
+
entries: Array<LoopCatalogAggregateEntryPayload>;
|
|
2748
|
+
errors: Array<LoopCatalogWorkspaceError>;
|
|
2749
|
+
truncated: boolean;
|
|
2750
|
+
};
|
|
2712
2751
|
export type LoopCatalogEntryPayload = {
|
|
2713
2752
|
aggregate_30d: LoopCatalogAggregatePayload;
|
|
2714
2753
|
catalog: LoopCatalogResourceSpec;
|
|
@@ -2723,6 +2762,7 @@ export type LoopCatalogEntryPayload = {
|
|
|
2723
2762
|
start?: Array<LoopStartBinding>;
|
|
2724
2763
|
success_rate_30d: number;
|
|
2725
2764
|
version: number;
|
|
2765
|
+
workspace_id?: string;
|
|
2726
2766
|
};
|
|
2727
2767
|
export type LoopCatalogFacetsPayload = {
|
|
2728
2768
|
categories: {
|
|
@@ -2747,6 +2787,15 @@ export type LoopCatalogResourceSpec = {
|
|
|
2747
2787
|
keywords?: Array<string>;
|
|
2748
2788
|
use_when?: string;
|
|
2749
2789
|
};
|
|
2790
|
+
export type LoopCatalogSourcePayload = {
|
|
2791
|
+
kind: "marketplace" | "user" | "additional" | "workspace";
|
|
2792
|
+
layer: string;
|
|
2793
|
+
};
|
|
2794
|
+
export type LoopCatalogWorkspaceError = {
|
|
2795
|
+
code: string;
|
|
2796
|
+
message: string;
|
|
2797
|
+
workspace_id?: string;
|
|
2798
|
+
};
|
|
2750
2799
|
export type LoopConfig = {
|
|
2751
2800
|
budget_on_exceeded?: "halt" | "escalate";
|
|
2752
2801
|
budget_tokens?: number | null;
|
|
@@ -3077,6 +3126,7 @@ export type LoopNodeInventoryItem = {
|
|
|
3077
3126
|
state: "waiting" | "quarantined" | "attention" | "retrying";
|
|
3078
3127
|
state_at: string;
|
|
3079
3128
|
wait?: LoopNodeWaitPayload | null;
|
|
3129
|
+
workspace_id?: string;
|
|
3080
3130
|
};
|
|
3081
3131
|
export type LoopNodeInventoryResponse = {
|
|
3082
3132
|
items: Array<LoopNodeInventoryItem>;
|
|
@@ -3164,11 +3214,13 @@ export type LoopRequestPayload = {
|
|
|
3164
3214
|
loop_run_id: string;
|
|
3165
3215
|
node_id: string;
|
|
3166
3216
|
opened_at: string;
|
|
3217
|
+
profile_id: string;
|
|
3167
3218
|
prompt: string;
|
|
3168
3219
|
proposed_preview?: unknown;
|
|
3169
3220
|
resolved_at?: string | null;
|
|
3170
3221
|
respond_schema?: unknown;
|
|
3171
3222
|
state: string;
|
|
3223
|
+
workspace_id?: string;
|
|
3172
3224
|
};
|
|
3173
3225
|
export type LoopRequestProvenance = {
|
|
3174
3226
|
actor_id: string;
|
|
@@ -3781,6 +3833,7 @@ export type OverviewAttentionItemPayload = {
|
|
|
3781
3833
|
session_id?: string;
|
|
3782
3834
|
task_id?: string;
|
|
3783
3835
|
title: string;
|
|
3836
|
+
workspace_id: string;
|
|
3784
3837
|
};
|
|
3785
3838
|
export type OverviewAttentionPayload = {
|
|
3786
3839
|
by_kind: {
|
|
@@ -4152,6 +4205,91 @@ export type ProviderSummaryPayload = {
|
|
|
4152
4205
|
runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
|
|
4153
4206
|
session_env_status?: Array<SettingsProviderCredentialStatusPayload>;
|
|
4154
4207
|
};
|
|
4208
|
+
export type ProviderUsageAccount = {
|
|
4209
|
+
label: string;
|
|
4210
|
+
plan: string;
|
|
4211
|
+
};
|
|
4212
|
+
export type ProviderUsageAmount = {
|
|
4213
|
+
unit: string;
|
|
4214
|
+
value: string;
|
|
4215
|
+
};
|
|
4216
|
+
export type ProviderUsageBalance = {
|
|
4217
|
+
expires_at: string | null;
|
|
4218
|
+
id: string;
|
|
4219
|
+
label: string;
|
|
4220
|
+
remaining: ProviderUsageAmount;
|
|
4221
|
+
};
|
|
4222
|
+
export type ProviderUsageEnvelope = {
|
|
4223
|
+
enabled: boolean;
|
|
4224
|
+
generated_at: string;
|
|
4225
|
+
keychain_supported: boolean;
|
|
4226
|
+
profile_id: string;
|
|
4227
|
+
revision: number;
|
|
4228
|
+
targets: Array<ProviderUsageTarget>;
|
|
4229
|
+
tray: ProviderUsageTraySignal | null;
|
|
4230
|
+
};
|
|
4231
|
+
export type ProviderUsageError = {
|
|
4232
|
+
action: string;
|
|
4233
|
+
code: string;
|
|
4234
|
+
message: string;
|
|
4235
|
+
retry_after: string | null;
|
|
4236
|
+
};
|
|
4237
|
+
export type ProviderUsageRefreshRequest = {
|
|
4238
|
+
intent?: string;
|
|
4239
|
+
max_age_seconds?: number;
|
|
4240
|
+
profile?: string;
|
|
4241
|
+
provider_ids?: Array<string>;
|
|
4242
|
+
wait_ms?: number | null;
|
|
4243
|
+
};
|
|
4244
|
+
export type ProviderUsageSource = {
|
|
4245
|
+
kind: string;
|
|
4246
|
+
label: string;
|
|
4247
|
+
};
|
|
4248
|
+
export type ProviderUsageSpendCap = {
|
|
4249
|
+
enabled: boolean | null;
|
|
4250
|
+
id: string;
|
|
4251
|
+
label: string;
|
|
4252
|
+
limit: ProviderUsageAmount | null;
|
|
4253
|
+
resets_at: string | null;
|
|
4254
|
+
used: ProviderUsageAmount;
|
|
4255
|
+
used_percent: number | null;
|
|
4256
|
+
};
|
|
4257
|
+
export type ProviderUsageTarget = {
|
|
4258
|
+
account: ProviderUsageAccount | null;
|
|
4259
|
+
balances: Array<ProviderUsageBalance>;
|
|
4260
|
+
checked_at: string | null;
|
|
4261
|
+
confidence: string;
|
|
4262
|
+
error: ProviderUsageError | null;
|
|
4263
|
+
measured_at: string | null;
|
|
4264
|
+
next_refresh_at: string | null;
|
|
4265
|
+
provider_id: string;
|
|
4266
|
+
provider_name: string;
|
|
4267
|
+
refreshing: boolean;
|
|
4268
|
+
source: ProviderUsageSource | null;
|
|
4269
|
+
spend_caps: Array<ProviderUsageSpendCap>;
|
|
4270
|
+
status: string;
|
|
4271
|
+
windows: Array<ProviderUsageWindow>;
|
|
4272
|
+
};
|
|
4273
|
+
export type ProviderUsageTraySignal = {
|
|
4274
|
+
label: string;
|
|
4275
|
+
provider_id: string;
|
|
4276
|
+
resets_at: string | null;
|
|
4277
|
+
severity: string;
|
|
4278
|
+
stale: boolean;
|
|
4279
|
+
used_percent: number;
|
|
4280
|
+
window_id: string;
|
|
4281
|
+
};
|
|
4282
|
+
export type ProviderUsageWindow = {
|
|
4283
|
+
duration_seconds: number | null;
|
|
4284
|
+
id: string;
|
|
4285
|
+
kind: string;
|
|
4286
|
+
label: string;
|
|
4287
|
+
limit: ProviderUsageAmount | null;
|
|
4288
|
+
reset_text: string;
|
|
4289
|
+
resets_at: string | null;
|
|
4290
|
+
used: ProviderUsageAmount | null;
|
|
4291
|
+
used_percent: number | null;
|
|
4292
|
+
};
|
|
4155
4293
|
export type PutLoopAnnotationsRequest = {
|
|
4156
4294
|
annotations: Array<LoopAnnotationPayload>;
|
|
4157
4295
|
};
|
|
@@ -4228,7 +4366,7 @@ export type RecoverTaskRunRequest = {
|
|
|
4228
4366
|
export type Redaction = {
|
|
4229
4367
|
bytes?: number;
|
|
4230
4368
|
path: string;
|
|
4231
|
-
reason: "approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied";
|
|
4369
|
+
reason: "approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "spawn_budget_exhausted" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied";
|
|
4232
4370
|
};
|
|
4233
4371
|
export type Reference = {
|
|
4234
4372
|
effective_paused?: boolean;
|
|
@@ -4248,6 +4386,11 @@ export type ReloadExtensionRequest = {
|
|
|
4248
4386
|
confirm_gateway_digest?: string;
|
|
4249
4387
|
generation_hash: string;
|
|
4250
4388
|
};
|
|
4389
|
+
export type RemoveDiscoveredWorktreeRequest = {
|
|
4390
|
+
expect_stale?: boolean;
|
|
4391
|
+
force?: boolean;
|
|
4392
|
+
path: string;
|
|
4393
|
+
};
|
|
4251
4394
|
export type RenameProfilePlan = {
|
|
4252
4395
|
dormant_placements: Array<ProfilePlacement>;
|
|
4253
4396
|
machine_folders: Array<string>;
|
|
@@ -4550,6 +4693,7 @@ export type RunOutcome = {
|
|
|
4550
4693
|
};
|
|
4551
4694
|
export type RunPayload = {
|
|
4552
4695
|
attempt: number;
|
|
4696
|
+
attribution: string;
|
|
4553
4697
|
delivery_error?: string;
|
|
4554
4698
|
delivery_error_at?: string | null;
|
|
4555
4699
|
ended_at?: string | null;
|
|
@@ -4572,6 +4716,7 @@ export type RunPayload = {
|
|
|
4572
4716
|
task_id?: string;
|
|
4573
4717
|
task_run_id?: string;
|
|
4574
4718
|
trigger_id?: string;
|
|
4719
|
+
workspace_id?: string | null;
|
|
4575
4720
|
};
|
|
4576
4721
|
export type RunResponse = {
|
|
4577
4722
|
run: RunPayload;
|
|
@@ -4653,6 +4798,7 @@ export type RunWorktreeExitActionRequest = {
|
|
|
4653
4798
|
title?: string;
|
|
4654
4799
|
};
|
|
4655
4800
|
export type RunsResponse = {
|
|
4801
|
+
page?: CursorPagePayload | null;
|
|
4656
4802
|
runs: Array<RunPayload>;
|
|
4657
4803
|
};
|
|
4658
4804
|
export type RuntimeActivityPayload = {
|
|
@@ -4904,6 +5050,7 @@ export type SessionCatalogFacetsPayload = {
|
|
|
4904
5050
|
working: number;
|
|
4905
5051
|
};
|
|
4906
5052
|
export type SessionCatalogFacetsResponse = {
|
|
5053
|
+
by_profile: Array<SessionProfileFacetsPayload>;
|
|
4907
5054
|
by_workspace: Array<SessionWorkspaceFacetsPayload>;
|
|
4908
5055
|
facets: SessionCatalogFacetsPayload;
|
|
4909
5056
|
};
|
|
@@ -5075,12 +5222,14 @@ export type SessionDeriveCutPayload = {
|
|
|
5075
5222
|
export type SessionDeriveErrorPayload = {
|
|
5076
5223
|
child_session_id?: string;
|
|
5077
5224
|
code?: string;
|
|
5225
|
+
config_path?: string;
|
|
5078
5226
|
current_turn_id?: string;
|
|
5079
5227
|
details?: {
|
|
5080
5228
|
[key: string]: string;
|
|
5081
5229
|
};
|
|
5082
5230
|
diagnostic?: DiagnosticItem | null;
|
|
5083
5231
|
error: string;
|
|
5232
|
+
unknown_keys?: Array<string>;
|
|
5084
5233
|
};
|
|
5085
5234
|
export type SessionDerivePreviewResponse = {
|
|
5086
5235
|
cut?: SessionDeriveCutPayload | null;
|
|
@@ -5302,6 +5451,30 @@ export type SessionLineagePayload = {
|
|
|
5302
5451
|
spawn_role?: string;
|
|
5303
5452
|
ttl_expires_at?: string | null;
|
|
5304
5453
|
};
|
|
5454
|
+
export type SessionMonitorPayload = {
|
|
5455
|
+
created_at: string;
|
|
5456
|
+
deadline_at: string;
|
|
5457
|
+
description: string;
|
|
5458
|
+
exit_code?: number | null;
|
|
5459
|
+
fired_at?: string | null;
|
|
5460
|
+
kind: string;
|
|
5461
|
+
monitor_id: string;
|
|
5462
|
+
pattern?: string;
|
|
5463
|
+
reason?: string;
|
|
5464
|
+
session_id: string;
|
|
5465
|
+
status: string;
|
|
5466
|
+
terminal_id?: string;
|
|
5467
|
+
until?: string;
|
|
5468
|
+
};
|
|
5469
|
+
export type SessionMonitorResponse = {
|
|
5470
|
+
monitor: SessionMonitorPayload;
|
|
5471
|
+
};
|
|
5472
|
+
export type SessionMonitorSummaryPayload = {
|
|
5473
|
+
active: number;
|
|
5474
|
+
};
|
|
5475
|
+
export type SessionMonitorsResponse = {
|
|
5476
|
+
monitors: Array<SessionMonitorPayload>;
|
|
5477
|
+
};
|
|
5305
5478
|
export type SessionOwner = {
|
|
5306
5479
|
session_id: string;
|
|
5307
5480
|
workspace_id: string;
|
|
@@ -5321,12 +5494,14 @@ export type SessionPayload = {
|
|
|
5321
5494
|
busy_input?: BusyInputState | null;
|
|
5322
5495
|
created_at: string;
|
|
5323
5496
|
derivation?: SessionDerivationPayload | null;
|
|
5497
|
+
effective_workspace_access: string;
|
|
5324
5498
|
escalated?: boolean | null;
|
|
5325
5499
|
failure?: SessionFailurePayload | null;
|
|
5326
5500
|
folder_id?: string;
|
|
5327
5501
|
health?: SessionHealthPayload | null;
|
|
5328
5502
|
id: string;
|
|
5329
5503
|
lineage?: SessionLineagePayload | null;
|
|
5504
|
+
monitor_summary?: SessionMonitorSummaryPayload | null;
|
|
5330
5505
|
name?: string;
|
|
5331
5506
|
pending_interactions: Array<PendingInteractionPayload>;
|
|
5332
5507
|
profile_archived?: boolean;
|
|
@@ -5338,6 +5513,7 @@ export type SessionPayload = {
|
|
|
5338
5513
|
queue?: SessionQueueSummaryPayload | null;
|
|
5339
5514
|
reply_watches?: Array<ReplyWatchPayload>;
|
|
5340
5515
|
runtime: SessionRuntimePayload;
|
|
5516
|
+
scope: string;
|
|
5341
5517
|
state: "starting" | "active" | "stopping" | "stopped";
|
|
5342
5518
|
stop_cause?: string;
|
|
5343
5519
|
stop_detail?: string;
|
|
@@ -5359,6 +5535,10 @@ export type SessionPresenceRequest = {
|
|
|
5359
5535
|
export type SessionPresenceResponse = {
|
|
5360
5536
|
lease_id: string;
|
|
5361
5537
|
};
|
|
5538
|
+
export type SessionProfileFacetsPayload = {
|
|
5539
|
+
facets: SessionCatalogFacetsPayload;
|
|
5540
|
+
profile_id: string;
|
|
5541
|
+
};
|
|
5362
5542
|
export type SessionPromptCancelResponse = {
|
|
5363
5543
|
outcome: string;
|
|
5364
5544
|
session_id: string;
|
|
@@ -5575,7 +5755,7 @@ export type SettingsApplyResponse = {
|
|
|
5575
5755
|
restart_required?: boolean;
|
|
5576
5756
|
restart_scope?: string;
|
|
5577
5757
|
scope?: "user" | "profile" | "workspace" | "agent";
|
|
5578
|
-
section?: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace" | "providers" | "mcp-servers" | "hooks";
|
|
5758
|
+
section?: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace" | "providers" | "mcp-servers" | "hooks";
|
|
5579
5759
|
skipped?: boolean;
|
|
5580
5760
|
skipped_reason?: string;
|
|
5581
5761
|
warnings?: Array<string>;
|
|
@@ -5593,7 +5773,7 @@ export type SettingsAttentionResponse = {
|
|
|
5593
5773
|
config: SettingsAttentionPayload;
|
|
5594
5774
|
profile?: string;
|
|
5595
5775
|
scope: "user" | "profile" | "workspace";
|
|
5596
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
5776
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
5597
5777
|
workspace_id?: string;
|
|
5598
5778
|
};
|
|
5599
5779
|
export type SettingsAutomationConfigPayload = {
|
|
@@ -5608,10 +5788,11 @@ export type SettingsAutomationResponse = {
|
|
|
5608
5788
|
links?: Array<SettingsOperationalLinkPayload>;
|
|
5609
5789
|
runtime: SettingsAutomationRuntimePayload;
|
|
5610
5790
|
scope: "user";
|
|
5611
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
5791
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
5612
5792
|
};
|
|
5613
5793
|
export type SettingsAutomationRuntimePayload = {
|
|
5614
5794
|
available: boolean;
|
|
5795
|
+
host_timezone?: string;
|
|
5615
5796
|
job_enabled: number;
|
|
5616
5797
|
job_total: number;
|
|
5617
5798
|
last_synced_at?: string | null;
|
|
@@ -5633,7 +5814,7 @@ export type SettingsCmdPaletteResponse = {
|
|
|
5633
5814
|
personalization: boolean;
|
|
5634
5815
|
profile?: string;
|
|
5635
5816
|
scope: "user" | "profile" | "workspace";
|
|
5636
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
5817
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
5637
5818
|
workspace_id?: string;
|
|
5638
5819
|
};
|
|
5639
5820
|
export type SettingsConfigPathsPayload = {
|
|
@@ -5748,7 +5929,7 @@ export type SettingsGeneralResponse = {
|
|
|
5748
5929
|
config_paths: SettingsConfigPathsPayload;
|
|
5749
5930
|
runtime: SettingsDaemonRuntimePayload;
|
|
5750
5931
|
scope: "user";
|
|
5751
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
5932
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
5752
5933
|
};
|
|
5753
5934
|
export type SettingsGlobalShortcutPayload = {
|
|
5754
5935
|
active_chord?: string;
|
|
@@ -5795,7 +5976,7 @@ export type SettingsHooksExtensionsResponse = {
|
|
|
5795
5976
|
hooks?: Array<SettingsHookItemPayload>;
|
|
5796
5977
|
installed?: Array<SettingsInstalledExtensionPayload>;
|
|
5797
5978
|
scope: "user";
|
|
5798
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
5979
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
5799
5980
|
transport_parity: SettingsTransportParityPayload;
|
|
5800
5981
|
};
|
|
5801
5982
|
export type SettingsHooksResponse = {
|
|
@@ -5980,7 +6161,7 @@ export type SettingsMarketplaceResponse = {
|
|
|
5980
6161
|
available_scopes: Array<"user">;
|
|
5981
6162
|
config: SettingsMarketplaceCatalogPayload;
|
|
5982
6163
|
scope: "user";
|
|
5983
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6164
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
5984
6165
|
};
|
|
5985
6166
|
export type SettingsObservabilityConfigPayload = {
|
|
5986
6167
|
enabled: boolean;
|
|
@@ -5994,7 +6175,7 @@ export type SettingsObservabilityResponse = {
|
|
|
5994
6175
|
log_tail: SettingsLogTailCapabilityPayload;
|
|
5995
6176
|
runtime: SettingsObservabilityRuntimePayload;
|
|
5996
6177
|
scope: "user";
|
|
5997
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6178
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
5998
6179
|
};
|
|
5999
6180
|
export type SettingsObservabilityRuntimePayload = {
|
|
6000
6181
|
active_agents: number;
|
|
@@ -6022,7 +6203,7 @@ export type SettingsPersonaResponse = {
|
|
|
6022
6203
|
config: SettingsDefaultsPayload;
|
|
6023
6204
|
profile?: string;
|
|
6024
6205
|
scope: "user" | "profile" | "workspace";
|
|
6025
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6206
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
6026
6207
|
workspace_id?: string;
|
|
6027
6208
|
};
|
|
6028
6209
|
export type SettingsProviderAuthStatusPayload = {
|
|
@@ -6132,6 +6313,27 @@ export type SettingsProviderSettingsPayload = {
|
|
|
6132
6313
|
steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
|
|
6133
6314
|
transport?: string;
|
|
6134
6315
|
};
|
|
6316
|
+
export type SettingsProviderUsagePayload = {
|
|
6317
|
+
enabled: boolean;
|
|
6318
|
+
providers: {
|
|
6319
|
+
[key: string]: SettingsProviderUsageProviderPayload;
|
|
6320
|
+
};
|
|
6321
|
+
refresh_interval: string;
|
|
6322
|
+
};
|
|
6323
|
+
export type SettingsProviderUsageProviderPayload = {
|
|
6324
|
+
enabled?: boolean | null;
|
|
6325
|
+
keychain_access?: boolean | null;
|
|
6326
|
+
};
|
|
6327
|
+
export type SettingsProviderUsageResponse = {
|
|
6328
|
+
available_scopes: Array<"user">;
|
|
6329
|
+
config: SettingsProviderUsagePayload;
|
|
6330
|
+
keychain_supported: boolean;
|
|
6331
|
+
scope: "user";
|
|
6332
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
6333
|
+
};
|
|
6334
|
+
export type SettingsProviderUsageUpdateRequest = {
|
|
6335
|
+
config: SettingsProviderUsagePayload;
|
|
6336
|
+
};
|
|
6135
6337
|
export type SettingsProviderWritePayload = {
|
|
6136
6338
|
auth_acp_method?: string | null;
|
|
6137
6339
|
auth_login_command?: string | null;
|
|
@@ -6190,8 +6392,35 @@ export type SettingsRolesResponse = {
|
|
|
6190
6392
|
available_scopes: Array<"user" | "workspace">;
|
|
6191
6393
|
config: SettingsRolesConfigPayload;
|
|
6192
6394
|
scope: "user" | "workspace";
|
|
6193
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6395
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
6396
|
+
workspace_id?: string;
|
|
6397
|
+
};
|
|
6398
|
+
export type SettingsShellLegacyScopePayload = {
|
|
6399
|
+
explicit: boolean;
|
|
6400
|
+
revision: number;
|
|
6401
|
+
value: "workspace" | "all-workspaces";
|
|
6402
|
+
};
|
|
6403
|
+
export type SettingsShellMutationResponse = {
|
|
6404
|
+
active_config_hash: string;
|
|
6405
|
+
active_generation: number;
|
|
6406
|
+
agent_name?: string;
|
|
6407
|
+
applied: boolean;
|
|
6408
|
+
apply_record_id: string;
|
|
6409
|
+
config: SettingsShellPayload;
|
|
6410
|
+
legacy_scope: SettingsShellLegacyScopePayload;
|
|
6411
|
+
lifecycle: "live" | "live-add" | "live-remove-if-unused" | "restart-required" | "session-rebind";
|
|
6412
|
+
next_action: "none" | "restart-daemon" | "new-session" | "retry";
|
|
6413
|
+
partial_failures?: Array<SettingsApplyFailurePayload>;
|
|
6414
|
+
profile?: string;
|
|
6415
|
+
restart_required?: boolean;
|
|
6416
|
+
restart_scope?: string;
|
|
6417
|
+
scope?: "user" | "profile" | "workspace" | "agent";
|
|
6418
|
+
section?: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace" | "providers" | "mcp-servers" | "hooks";
|
|
6419
|
+
skipped?: boolean;
|
|
6420
|
+
skipped_reason?: string;
|
|
6421
|
+
warnings?: Array<string>;
|
|
6194
6422
|
workspace_id?: string;
|
|
6423
|
+
write_target?: "global-config" | "profile-config" | "workspace-config" | "global-mcp-sidecar" | "profile-mcp-sidecar" | "workspace-mcp-sidecar" | "global-agent-file" | "workspace-agent-file";
|
|
6195
6424
|
};
|
|
6196
6425
|
export type SettingsShellPayload = {
|
|
6197
6426
|
sessions: SettingsShellSessionsPayload;
|
|
@@ -6199,12 +6428,15 @@ export type SettingsShellPayload = {
|
|
|
6199
6428
|
export type SettingsShellResponse = {
|
|
6200
6429
|
available_scopes: Array<"user">;
|
|
6201
6430
|
config: SettingsShellPayload;
|
|
6431
|
+
legacy_scope: SettingsShellLegacyScopePayload;
|
|
6202
6432
|
scope: "user";
|
|
6203
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6433
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
6434
|
+
warnings: Array<string>;
|
|
6204
6435
|
};
|
|
6205
6436
|
export type SettingsShellSessionsPayload = {
|
|
6206
|
-
|
|
6207
|
-
|
|
6437
|
+
group_by?: "none" | "project" | "profile";
|
|
6438
|
+
scope?: "workspace" | "all-workspaces";
|
|
6439
|
+
sort?: "created" | "name" | "last_activity" | "attention" | "manual";
|
|
6208
6440
|
};
|
|
6209
6441
|
export type SettingsSkillSourceCollisionPayload = {
|
|
6210
6442
|
name: string;
|
|
@@ -6277,7 +6509,7 @@ export type SettingsSkillsMutationResponse = {
|
|
|
6277
6509
|
restart_scope?: string;
|
|
6278
6510
|
runtime_available: boolean;
|
|
6279
6511
|
scope: "user" | "profile" | "workspace" | "agent";
|
|
6280
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6512
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
6281
6513
|
skipped?: boolean;
|
|
6282
6514
|
skipped_reason?: string;
|
|
6283
6515
|
sources: Array<SettingsSkillSourcePayload>;
|
|
@@ -6301,7 +6533,7 @@ export type SettingsSkillsResponse = {
|
|
|
6301
6533
|
profile?: string;
|
|
6302
6534
|
runtime_available: boolean;
|
|
6303
6535
|
scope: "user" | "profile" | "workspace" | "agent";
|
|
6304
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6536
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
6305
6537
|
sources: Array<SettingsSkillSourcePayload>;
|
|
6306
6538
|
workspace_id?: string;
|
|
6307
6539
|
};
|
|
@@ -6477,7 +6709,7 @@ export type SettingsWindowManagerMutationResponse = {
|
|
|
6477
6709
|
extension_defaults: Array<SettingsWindowManagerDefaultPayload>;
|
|
6478
6710
|
global_shortcuts: Array<SettingsGlobalShortcutPayload>;
|
|
6479
6711
|
scope: "user" | "workspace";
|
|
6480
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6712
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
6481
6713
|
workspace_id?: string;
|
|
6482
6714
|
};
|
|
6483
6715
|
export type SettingsWindowManagerResponse = {
|
|
@@ -6497,7 +6729,7 @@ export type SettingsWindowManagerResponse = {
|
|
|
6497
6729
|
extension_defaults: Array<SettingsWindowManagerDefaultPayload>;
|
|
6498
6730
|
global_shortcuts: Array<SettingsGlobalShortcutPayload>;
|
|
6499
6731
|
scope: "user" | "workspace";
|
|
6500
|
-
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "observability" | "hooks-extensions" | "marketplace";
|
|
6732
|
+
section: "general" | "persona" | "roles" | "skills" | "automation" | "window-manager" | "cmd-palette" | "attention" | "shell" | "provider-usage" | "observability" | "hooks-extensions" | "marketplace";
|
|
6501
6733
|
workspace_id?: string;
|
|
6502
6734
|
};
|
|
6503
6735
|
export type SettingsWindowManagerSnapPayload = {
|
|
@@ -6665,12 +6897,38 @@ export type SpawnBudgetPayload = {
|
|
|
6665
6897
|
max_depth: number;
|
|
6666
6898
|
ttl_seconds: number;
|
|
6667
6899
|
};
|
|
6900
|
+
export type SpawnNewWorktreeRequest = {
|
|
6901
|
+
base_ref?: string;
|
|
6902
|
+
branch?: string;
|
|
6903
|
+
name?: string;
|
|
6904
|
+
};
|
|
6668
6905
|
export type SpawnPermissionPolicyPayload = {
|
|
6669
6906
|
mcp_servers: Array<string>;
|
|
6670
6907
|
skills: Array<string>;
|
|
6671
6908
|
tools: Array<string>;
|
|
6672
6909
|
workspace_paths: Array<string>;
|
|
6673
6910
|
};
|
|
6911
|
+
export type SpawnPermissionRequestPayload = {
|
|
6912
|
+
mcp_servers?: Array<string>;
|
|
6913
|
+
skills?: Array<string>;
|
|
6914
|
+
tools?: Array<string>;
|
|
6915
|
+
workspace_paths?: Array<string>;
|
|
6916
|
+
};
|
|
6917
|
+
export type SpawnPromptPayload = {
|
|
6918
|
+
error?: string;
|
|
6919
|
+
message_id: string;
|
|
6920
|
+
reply_watch_id?: string;
|
|
6921
|
+
reply_watch_state?: string;
|
|
6922
|
+
status: string;
|
|
6923
|
+
};
|
|
6924
|
+
export type SpawnWorktreePayload = {
|
|
6925
|
+
base_sha?: string;
|
|
6926
|
+
branch: string;
|
|
6927
|
+
created: boolean;
|
|
6928
|
+
id: string;
|
|
6929
|
+
name: string;
|
|
6930
|
+
path: string;
|
|
6931
|
+
};
|
|
6674
6932
|
export type StartBinding = {
|
|
6675
6933
|
input_mapping?: {
|
|
6676
6934
|
[key: string]: string;
|
|
@@ -7315,6 +7573,7 @@ export type TaskPayload = {
|
|
|
7315
7573
|
};
|
|
7316
7574
|
export type TaskQueryErrorPayload = {
|
|
7317
7575
|
code?: string;
|
|
7576
|
+
config_path?: string;
|
|
7318
7577
|
current_turn_id?: string;
|
|
7319
7578
|
details?: {
|
|
7320
7579
|
[key: string]: string;
|
|
@@ -7322,6 +7581,7 @@ export type TaskQueryErrorPayload = {
|
|
|
7322
7581
|
diagnostic?: DiagnosticItem | null;
|
|
7323
7582
|
error: string;
|
|
7324
7583
|
field: string;
|
|
7584
|
+
unknown_keys?: Array<string>;
|
|
7325
7585
|
};
|
|
7326
7586
|
export type TaskQueueDepthPayload = {
|
|
7327
7587
|
count: number;
|
|
@@ -7959,7 +8219,7 @@ export type ToolAvailabilityPayload = {
|
|
|
7959
8219
|
conflicted: boolean;
|
|
7960
8220
|
enabled: boolean;
|
|
7961
8221
|
executable: boolean;
|
|
7962
|
-
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
8222
|
+
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "spawn_budget_exhausted" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
7963
8223
|
registered: boolean;
|
|
7964
8224
|
};
|
|
7965
8225
|
export type ToolBackendRefPayload = {
|
|
@@ -7984,7 +8244,7 @@ export type ToolCallEventPayload = {
|
|
|
7984
8244
|
kind: "tool.call_started" | "tool.call_completed" | "tool.call_failed" | "tool.call_denied" | "tool.result_truncated";
|
|
7985
8245
|
open_world: boolean;
|
|
7986
8246
|
read_only: boolean;
|
|
7987
|
-
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
8247
|
+
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "spawn_budget_exhausted" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
7988
8248
|
redacted_input_fields?: Array<string>;
|
|
7989
8249
|
result_bytes?: number;
|
|
7990
8250
|
result_digest?: string;
|
|
@@ -8038,7 +8298,7 @@ export type ToolErrorPayload = {
|
|
|
8038
8298
|
layer?: string;
|
|
8039
8299
|
message: string;
|
|
8040
8300
|
partial_result?: ToolResult | null;
|
|
8041
|
-
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
8301
|
+
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "spawn_budget_exhausted" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
8042
8302
|
tool_id?: string;
|
|
8043
8303
|
};
|
|
8044
8304
|
export type ToolErrorResponse = {
|
|
@@ -8074,7 +8334,7 @@ export type ToolPolicyDecisionPayload = {
|
|
|
8074
8334
|
availability_result?: string;
|
|
8075
8335
|
callable: boolean;
|
|
8076
8336
|
hook_result?: string;
|
|
8077
|
-
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
8337
|
+
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "spawn_budget_exhausted" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
8078
8338
|
registry_policy_result?: string;
|
|
8079
8339
|
session_policy_result?: string;
|
|
8080
8340
|
source_policy_result?: string;
|
|
@@ -8122,7 +8382,7 @@ export type ToolsResponse = {
|
|
|
8122
8382
|
export type ToolsetPayload = {
|
|
8123
8383
|
expanded_tools?: Array<string>;
|
|
8124
8384
|
id: string;
|
|
8125
|
-
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
8385
|
+
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "spawn_budget_exhausted" | "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_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied">;
|
|
8126
8386
|
status: string;
|
|
8127
8387
|
tools?: Array<string>;
|
|
8128
8388
|
toolsets?: Array<string>;
|
|
@@ -9662,6 +9922,79 @@ export type CreateAgentResponses = {
|
|
|
9662
9922
|
201: AgentResponse;
|
|
9663
9923
|
};
|
|
9664
9924
|
export type CreateAgentResponse = CreateAgentResponses[keyof CreateAgentResponses];
|
|
9925
|
+
export type ListAgentsAggregateData = {
|
|
9926
|
+
body?: never;
|
|
9927
|
+
path?: never;
|
|
9928
|
+
query?: {
|
|
9929
|
+
/**
|
|
9930
|
+
* Read all projects and User rows
|
|
9931
|
+
*/
|
|
9932
|
+
all_workspaces?: boolean;
|
|
9933
|
+
/**
|
|
9934
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
9935
|
+
*/
|
|
9936
|
+
workspace_ids?: Array<string>;
|
|
9937
|
+
/**
|
|
9938
|
+
* Exact agent name
|
|
9939
|
+
*/
|
|
9940
|
+
name?: string;
|
|
9941
|
+
/**
|
|
9942
|
+
* Case-insensitive agent name or category search
|
|
9943
|
+
*/
|
|
9944
|
+
q?: string;
|
|
9945
|
+
/**
|
|
9946
|
+
* Exact category path joined by slash separators
|
|
9947
|
+
*/
|
|
9948
|
+
category?: string;
|
|
9949
|
+
/**
|
|
9950
|
+
* Agent session status
|
|
9951
|
+
*/
|
|
9952
|
+
status?: "active" | "idle";
|
|
9953
|
+
/**
|
|
9954
|
+
* Opaque cursor bound to workspace and filters
|
|
9955
|
+
*/
|
|
9956
|
+
cursor?: string;
|
|
9957
|
+
/**
|
|
9958
|
+
* Agents per page (1-100; default 50)
|
|
9959
|
+
*/
|
|
9960
|
+
limit?: number;
|
|
9961
|
+
/**
|
|
9962
|
+
* Act as this profile by name
|
|
9963
|
+
*/
|
|
9964
|
+
profile?: string;
|
|
9965
|
+
};
|
|
9966
|
+
url: "/api/agents/aggregate";
|
|
9967
|
+
};
|
|
9968
|
+
export type ListAgentsAggregateErrors = {
|
|
9969
|
+
/**
|
|
9970
|
+
* Invalid filter
|
|
9971
|
+
*/
|
|
9972
|
+
400: ErrorPayload;
|
|
9973
|
+
/**
|
|
9974
|
+
* Workspace not found
|
|
9975
|
+
*/
|
|
9976
|
+
404: ErrorPayload;
|
|
9977
|
+
/**
|
|
9978
|
+
* Workspace root missing
|
|
9979
|
+
*/
|
|
9980
|
+
410: ErrorPayload;
|
|
9981
|
+
/**
|
|
9982
|
+
* Internal server error
|
|
9983
|
+
*/
|
|
9984
|
+
500: ErrorPayload;
|
|
9985
|
+
/**
|
|
9986
|
+
* Workspace resolver unavailable
|
|
9987
|
+
*/
|
|
9988
|
+
503: ErrorPayload;
|
|
9989
|
+
};
|
|
9990
|
+
export type ListAgentsAggregateError = ListAgentsAggregateErrors[keyof ListAgentsAggregateErrors];
|
|
9991
|
+
export type ListAgentsAggregateResponses = {
|
|
9992
|
+
/**
|
|
9993
|
+
* OK
|
|
9994
|
+
*/
|
|
9995
|
+
200: AgentCatalogResponse;
|
|
9996
|
+
};
|
|
9997
|
+
export type ListAgentsAggregateResponse = ListAgentsAggregateResponses[keyof ListAgentsAggregateResponses];
|
|
9665
9998
|
export type ListAgentCatalogData = {
|
|
9666
9999
|
body?: never;
|
|
9667
10000
|
path?: never;
|
|
@@ -10832,11 +11165,19 @@ export type ListAutomationJobsData = {
|
|
|
10832
11165
|
/**
|
|
10833
11166
|
* Filter by automation scope
|
|
10834
11167
|
*/
|
|
10835
|
-
scope?: "global" | "workspace";
|
|
11168
|
+
scope?: "global" | "workspace" | "user" | "@user";
|
|
10836
11169
|
/**
|
|
10837
11170
|
* Filter by workspace id
|
|
10838
11171
|
*/
|
|
10839
11172
|
workspace_id?: string;
|
|
11173
|
+
/**
|
|
11174
|
+
* Read every definition
|
|
11175
|
+
*/
|
|
11176
|
+
all_workspaces?: boolean;
|
|
11177
|
+
/**
|
|
11178
|
+
* Project IDs or @user; requires all_workspaces=true
|
|
11179
|
+
*/
|
|
11180
|
+
workspace_ids?: Array<string>;
|
|
10840
11181
|
/**
|
|
10841
11182
|
* Filter by job source
|
|
10842
11183
|
*/
|
|
@@ -11187,6 +11528,22 @@ export type ListAutomationRunsData = {
|
|
|
11187
11528
|
body?: never;
|
|
11188
11529
|
path?: never;
|
|
11189
11530
|
query?: {
|
|
11531
|
+
/**
|
|
11532
|
+
* Filter by source project; @user selects User
|
|
11533
|
+
*/
|
|
11534
|
+
workspace_id?: string;
|
|
11535
|
+
/**
|
|
11536
|
+
* Read every run, including unknown attribution
|
|
11537
|
+
*/
|
|
11538
|
+
all_workspaces?: boolean;
|
|
11539
|
+
/**
|
|
11540
|
+
* Source project IDs or @user; excludes unknown attribution
|
|
11541
|
+
*/
|
|
11542
|
+
workspace_ids?: Array<string>;
|
|
11543
|
+
/**
|
|
11544
|
+
* Opaque source-filter-bound cursor
|
|
11545
|
+
*/
|
|
11546
|
+
cursor?: string;
|
|
11190
11547
|
/**
|
|
11191
11548
|
* Filter by automation job id
|
|
11192
11549
|
*/
|
|
@@ -11286,42 +11643,95 @@ export type GetAutomationRunResponses = {
|
|
|
11286
11643
|
200: RunResponse;
|
|
11287
11644
|
};
|
|
11288
11645
|
export type GetAutomationRunResponse = GetAutomationRunResponses[keyof GetAutomationRunResponses];
|
|
11289
|
-
export type
|
|
11646
|
+
export type ListAutomationSuggestionsAggregateData = {
|
|
11290
11647
|
body?: never;
|
|
11291
11648
|
path?: never;
|
|
11292
11649
|
query?: {
|
|
11293
11650
|
/**
|
|
11294
|
-
*
|
|
11295
|
-
*/
|
|
11296
|
-
scope?: "global" | "workspace";
|
|
11297
|
-
/**
|
|
11298
|
-
* Filter by workspace id
|
|
11299
|
-
*/
|
|
11300
|
-
workspace_id?: string;
|
|
11301
|
-
/**
|
|
11302
|
-
* Filter by trigger source
|
|
11303
|
-
*/
|
|
11304
|
-
source?: "config" | "package" | "dynamic";
|
|
11305
|
-
/**
|
|
11306
|
-
* Filter by target kind; task matches no trigger
|
|
11307
|
-
*/
|
|
11308
|
-
target?: "agent" | "loop" | "task";
|
|
11309
|
-
/**
|
|
11310
|
-
* Filter by enabled state
|
|
11311
|
-
*/
|
|
11312
|
-
enabled?: boolean;
|
|
11313
|
-
/**
|
|
11314
|
-
* Filter by trigger event
|
|
11651
|
+
* Read all projects and User rows
|
|
11315
11652
|
*/
|
|
11316
|
-
|
|
11653
|
+
all_workspaces?: boolean;
|
|
11317
11654
|
/**
|
|
11318
|
-
*
|
|
11655
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
11319
11656
|
*/
|
|
11320
|
-
|
|
11657
|
+
workspace_ids?: Array<string>;
|
|
11321
11658
|
/**
|
|
11322
|
-
*
|
|
11659
|
+
* Filter by suggestion status
|
|
11323
11660
|
*/
|
|
11324
|
-
|
|
11661
|
+
status?: "pending" | "accepted" | "dismissed";
|
|
11662
|
+
};
|
|
11663
|
+
url: "/api/automation/suggestions";
|
|
11664
|
+
};
|
|
11665
|
+
export type ListAutomationSuggestionsAggregateErrors = {
|
|
11666
|
+
/**
|
|
11667
|
+
* Invalid suggestion status
|
|
11668
|
+
*/
|
|
11669
|
+
400: ErrorPayload;
|
|
11670
|
+
/**
|
|
11671
|
+
* Workspace not found
|
|
11672
|
+
*/
|
|
11673
|
+
404: ErrorPayload;
|
|
11674
|
+
/**
|
|
11675
|
+
* Internal server error
|
|
11676
|
+
*/
|
|
11677
|
+
500: ErrorPayload;
|
|
11678
|
+
/**
|
|
11679
|
+
* Automation manager is not configured
|
|
11680
|
+
*/
|
|
11681
|
+
503: ErrorPayload;
|
|
11682
|
+
};
|
|
11683
|
+
export type ListAutomationSuggestionsAggregateError = ListAutomationSuggestionsAggregateErrors[keyof ListAutomationSuggestionsAggregateErrors];
|
|
11684
|
+
export type ListAutomationSuggestionsAggregateResponses = {
|
|
11685
|
+
/**
|
|
11686
|
+
* OK
|
|
11687
|
+
*/
|
|
11688
|
+
200: AutomationSuggestionsResponse;
|
|
11689
|
+
};
|
|
11690
|
+
export type ListAutomationSuggestionsAggregateResponse = ListAutomationSuggestionsAggregateResponses[keyof ListAutomationSuggestionsAggregateResponses];
|
|
11691
|
+
export type ListAutomationTriggersData = {
|
|
11692
|
+
body?: never;
|
|
11693
|
+
path?: never;
|
|
11694
|
+
query?: {
|
|
11695
|
+
/**
|
|
11696
|
+
* Filter by automation scope
|
|
11697
|
+
*/
|
|
11698
|
+
scope?: "global" | "workspace" | "user" | "@user";
|
|
11699
|
+
/**
|
|
11700
|
+
* Filter by workspace id
|
|
11701
|
+
*/
|
|
11702
|
+
workspace_id?: string;
|
|
11703
|
+
/**
|
|
11704
|
+
* Read every definition
|
|
11705
|
+
*/
|
|
11706
|
+
all_workspaces?: boolean;
|
|
11707
|
+
/**
|
|
11708
|
+
* Project IDs or @user; requires all_workspaces=true
|
|
11709
|
+
*/
|
|
11710
|
+
workspace_ids?: Array<string>;
|
|
11711
|
+
/**
|
|
11712
|
+
* Filter by trigger source
|
|
11713
|
+
*/
|
|
11714
|
+
source?: "config" | "package" | "dynamic";
|
|
11715
|
+
/**
|
|
11716
|
+
* Filter by target kind; task matches no trigger
|
|
11717
|
+
*/
|
|
11718
|
+
target?: "agent" | "loop" | "task";
|
|
11719
|
+
/**
|
|
11720
|
+
* Filter by enabled state
|
|
11721
|
+
*/
|
|
11722
|
+
enabled?: boolean;
|
|
11723
|
+
/**
|
|
11724
|
+
* Filter by trigger event
|
|
11725
|
+
*/
|
|
11726
|
+
event?: string;
|
|
11727
|
+
/**
|
|
11728
|
+
* Search triggers by definition or filter fields
|
|
11729
|
+
*/
|
|
11730
|
+
q?: string;
|
|
11731
|
+
/**
|
|
11732
|
+
* Continue after this automation trigger cursor
|
|
11733
|
+
*/
|
|
11734
|
+
cursor?: string;
|
|
11325
11735
|
/**
|
|
11326
11736
|
* Maximum number of records to return
|
|
11327
11737
|
*/
|
|
@@ -13714,6 +14124,221 @@ export type ListLogsResponses = {
|
|
|
13714
14124
|
200: LogsListResponse;
|
|
13715
14125
|
};
|
|
13716
14126
|
export type ListLogsResponse = ListLogsResponses[keyof ListLogsResponses];
|
|
14127
|
+
export type ListLoopRequestsAggregateData = {
|
|
14128
|
+
body?: never;
|
|
14129
|
+
path?: never;
|
|
14130
|
+
query?: {
|
|
14131
|
+
/**
|
|
14132
|
+
* Read all registered projects and User rows
|
|
14133
|
+
*/
|
|
14134
|
+
all_workspaces?: boolean;
|
|
14135
|
+
/**
|
|
14136
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
14137
|
+
*/
|
|
14138
|
+
workspace_ids?: Array<string>;
|
|
14139
|
+
/**
|
|
14140
|
+
* Filter by Loop run id
|
|
14141
|
+
*/
|
|
14142
|
+
run_id?: string;
|
|
14143
|
+
/**
|
|
14144
|
+
* Filter by pending or resolved state
|
|
14145
|
+
*/
|
|
14146
|
+
state?: string;
|
|
14147
|
+
/**
|
|
14148
|
+
* Opaque continuation cursor
|
|
14149
|
+
*/
|
|
14150
|
+
cursor?: string;
|
|
14151
|
+
/**
|
|
14152
|
+
* Maximum number of records to return
|
|
14153
|
+
*/
|
|
14154
|
+
limit?: number;
|
|
14155
|
+
/**
|
|
14156
|
+
* Read one profile's rows by name
|
|
14157
|
+
*/
|
|
14158
|
+
profile?: string;
|
|
14159
|
+
/**
|
|
14160
|
+
* Read the owner-labeled all-profiles aggregate
|
|
14161
|
+
*/
|
|
14162
|
+
all_profiles?: boolean;
|
|
14163
|
+
};
|
|
14164
|
+
url: "/api/loop-requests";
|
|
14165
|
+
};
|
|
14166
|
+
export type ListLoopRequestsAggregateErrors = {
|
|
14167
|
+
/**
|
|
14168
|
+
* Invalid Loop request
|
|
14169
|
+
*/
|
|
14170
|
+
400: ErrorPayload;
|
|
14171
|
+
/**
|
|
14172
|
+
* Internal server error
|
|
14173
|
+
*/
|
|
14174
|
+
500: ErrorPayload;
|
|
14175
|
+
/**
|
|
14176
|
+
* Loop service is not configured
|
|
14177
|
+
*/
|
|
14178
|
+
503: ErrorPayload;
|
|
14179
|
+
};
|
|
14180
|
+
export type ListLoopRequestsAggregateError = ListLoopRequestsAggregateErrors[keyof ListLoopRequestsAggregateErrors];
|
|
14181
|
+
export type ListLoopRequestsAggregateResponses = {
|
|
14182
|
+
/**
|
|
14183
|
+
* OK
|
|
14184
|
+
*/
|
|
14185
|
+
200: LoopRequestsResponse;
|
|
14186
|
+
};
|
|
14187
|
+
export type ListLoopRequestsAggregateResponse = ListLoopRequestsAggregateResponses[keyof ListLoopRequestsAggregateResponses];
|
|
14188
|
+
export type ListLoopRunsAggregateData = {
|
|
14189
|
+
body?: never;
|
|
14190
|
+
path?: never;
|
|
14191
|
+
query?: {
|
|
14192
|
+
/**
|
|
14193
|
+
* Read all registered projects and User rows
|
|
14194
|
+
*/
|
|
14195
|
+
all_workspaces?: boolean;
|
|
14196
|
+
/**
|
|
14197
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
14198
|
+
*/
|
|
14199
|
+
workspace_ids?: Array<string>;
|
|
14200
|
+
/**
|
|
14201
|
+
* Filter by Loop name
|
|
14202
|
+
*/
|
|
14203
|
+
loop?: string;
|
|
14204
|
+
/**
|
|
14205
|
+
* Filter by Loop status
|
|
14206
|
+
*/
|
|
14207
|
+
status?: string;
|
|
14208
|
+
/**
|
|
14209
|
+
* Filter by catalog or session origin
|
|
14210
|
+
*/
|
|
14211
|
+
origin?: string;
|
|
14212
|
+
/**
|
|
14213
|
+
* Filter by origin session id
|
|
14214
|
+
*/
|
|
14215
|
+
origin_session?: string;
|
|
14216
|
+
/**
|
|
14217
|
+
* Filter by live or terminal status
|
|
14218
|
+
*/
|
|
14219
|
+
live?: boolean;
|
|
14220
|
+
/**
|
|
14221
|
+
* Opaque server-order cursor
|
|
14222
|
+
*/
|
|
14223
|
+
cursor?: string;
|
|
14224
|
+
/**
|
|
14225
|
+
* Maximum number of records to return
|
|
14226
|
+
*/
|
|
14227
|
+
limit?: number;
|
|
14228
|
+
/**
|
|
14229
|
+
* Read one profile's rows by name
|
|
14230
|
+
*/
|
|
14231
|
+
profile?: string;
|
|
14232
|
+
/**
|
|
14233
|
+
* Read the owner-labeled all-profiles aggregate
|
|
14234
|
+
*/
|
|
14235
|
+
all_profiles?: boolean;
|
|
14236
|
+
/**
|
|
14237
|
+
* Aggregate runs support recency order only
|
|
14238
|
+
*/
|
|
14239
|
+
order?: "recency";
|
|
14240
|
+
};
|
|
14241
|
+
url: "/api/loop-runs";
|
|
14242
|
+
};
|
|
14243
|
+
export type ListLoopRunsAggregateErrors = {
|
|
14244
|
+
/**
|
|
14245
|
+
* Invalid Loop request
|
|
14246
|
+
*/
|
|
14247
|
+
400: ErrorPayload;
|
|
14248
|
+
/**
|
|
14249
|
+
* Internal server error
|
|
14250
|
+
*/
|
|
14251
|
+
500: ErrorPayload;
|
|
14252
|
+
/**
|
|
14253
|
+
* Loop service is not configured
|
|
14254
|
+
*/
|
|
14255
|
+
503: ErrorPayload;
|
|
14256
|
+
};
|
|
14257
|
+
export type ListLoopRunsAggregateError = ListLoopRunsAggregateErrors[keyof ListLoopRunsAggregateErrors];
|
|
14258
|
+
export type ListLoopRunsAggregateResponses = {
|
|
14259
|
+
/**
|
|
14260
|
+
* OK
|
|
14261
|
+
*/
|
|
14262
|
+
200: LoopRunsResponse;
|
|
14263
|
+
};
|
|
14264
|
+
export type ListLoopRunsAggregateResponse = ListLoopRunsAggregateResponses[keyof ListLoopRunsAggregateResponses];
|
|
14265
|
+
export type ListLoopsAggregateData = {
|
|
14266
|
+
body?: never;
|
|
14267
|
+
path?: never;
|
|
14268
|
+
query?: {
|
|
14269
|
+
/**
|
|
14270
|
+
* Read all registered projects and User rows
|
|
14271
|
+
*/
|
|
14272
|
+
all_workspaces?: boolean;
|
|
14273
|
+
/**
|
|
14274
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
14275
|
+
*/
|
|
14276
|
+
workspace_ids?: Array<string>;
|
|
14277
|
+
/**
|
|
14278
|
+
* Search Loop name or contract goal
|
|
14279
|
+
*/
|
|
14280
|
+
q?: string;
|
|
14281
|
+
/**
|
|
14282
|
+
* Filter by effective Loop kind
|
|
14283
|
+
*/
|
|
14284
|
+
kind?: "read_only" | "workspace";
|
|
14285
|
+
/**
|
|
14286
|
+
* Filter by exact catalog category
|
|
14287
|
+
*/
|
|
14288
|
+
category?: string;
|
|
14289
|
+
/**
|
|
14290
|
+
* Filter by exact latest-run status
|
|
14291
|
+
*/
|
|
14292
|
+
status?: "queued" | "running" | "watching" | "needs-approval" | "paused" | "done" | "no-op" | "blocked" | "failed" | "exhausted" | "stalled" | "canceled";
|
|
14293
|
+
/**
|
|
14294
|
+
* Stable read-only-first name order
|
|
14295
|
+
*/
|
|
14296
|
+
sort?: "name";
|
|
14297
|
+
/**
|
|
14298
|
+
* Continue after this workspace- and query-bound Loop cursor
|
|
14299
|
+
*/
|
|
14300
|
+
cursor?: string;
|
|
14301
|
+
/**
|
|
14302
|
+
* Maximum number of Loops to return; defaults to 50 and is capped at 200
|
|
14303
|
+
*/
|
|
14304
|
+
limit?: number;
|
|
14305
|
+
/**
|
|
14306
|
+
* Read one profile's rows by name
|
|
14307
|
+
*/
|
|
14308
|
+
profile?: string;
|
|
14309
|
+
/**
|
|
14310
|
+
* Read the owner-labeled all-profiles aggregate
|
|
14311
|
+
*/
|
|
14312
|
+
all_profiles?: boolean;
|
|
14313
|
+
};
|
|
14314
|
+
url: "/api/loops";
|
|
14315
|
+
};
|
|
14316
|
+
export type ListLoopsAggregateErrors = {
|
|
14317
|
+
/**
|
|
14318
|
+
* Invalid Loop request
|
|
14319
|
+
*/
|
|
14320
|
+
400: ErrorPayload;
|
|
14321
|
+
/**
|
|
14322
|
+
* Forbidden
|
|
14323
|
+
*/
|
|
14324
|
+
403: ErrorPayload;
|
|
14325
|
+
/**
|
|
14326
|
+
* Internal server error
|
|
14327
|
+
*/
|
|
14328
|
+
500: ErrorPayload;
|
|
14329
|
+
/**
|
|
14330
|
+
* Loop service is not configured
|
|
14331
|
+
*/
|
|
14332
|
+
503: ErrorPayload;
|
|
14333
|
+
};
|
|
14334
|
+
export type ListLoopsAggregateError = ListLoopsAggregateErrors[keyof ListLoopsAggregateErrors];
|
|
14335
|
+
export type ListLoopsAggregateResponses = {
|
|
14336
|
+
/**
|
|
14337
|
+
* OK
|
|
14338
|
+
*/
|
|
14339
|
+
200: LoopCatalogBatchResponse;
|
|
14340
|
+
};
|
|
14341
|
+
export type ListLoopsAggregateResponse = ListLoopsAggregateResponses[keyof ListLoopsAggregateResponses];
|
|
13717
14342
|
export type ListMarketplaceData = {
|
|
13718
14343
|
body?: never;
|
|
13719
14344
|
path?: never;
|
|
@@ -14459,6 +15084,10 @@ export type ListAttentionNotificationsData = {
|
|
|
14459
15084
|
* Home workspace scope; empty selects global tasks
|
|
14460
15085
|
*/
|
|
14461
15086
|
workspace?: string;
|
|
15087
|
+
/**
|
|
15088
|
+
* Every project's tasks, matching an All projects Home overview
|
|
15089
|
+
*/
|
|
15090
|
+
all_workspaces?: boolean;
|
|
14462
15091
|
/**
|
|
14463
15092
|
* Read one profile's rows by name
|
|
14464
15093
|
*/
|
|
@@ -14511,6 +15140,10 @@ export type AcknowledgeAttentionNotificationsData = {
|
|
|
14511
15140
|
* Home workspace scope; empty selects global tasks
|
|
14512
15141
|
*/
|
|
14513
15142
|
workspace?: string;
|
|
15143
|
+
/**
|
|
15144
|
+
* Every project's tasks, matching an All projects Home overview
|
|
15145
|
+
*/
|
|
15146
|
+
all_workspaces?: boolean;
|
|
14514
15147
|
/**
|
|
14515
15148
|
* Read one profile's rows by name
|
|
14516
15149
|
*/
|
|
@@ -14560,6 +15193,10 @@ export type GetObserveOverviewData = {
|
|
|
14560
15193
|
body?: never;
|
|
14561
15194
|
path?: never;
|
|
14562
15195
|
query?: {
|
|
15196
|
+
/**
|
|
15197
|
+
* Read every project and User within the profile lens; conflicts with workspace
|
|
15198
|
+
*/
|
|
15199
|
+
all_workspaces?: boolean;
|
|
14563
15200
|
/**
|
|
14564
15201
|
* Profile owning acknowledgement receipts, including aggregate reads
|
|
14565
15202
|
*/
|
|
@@ -14584,6 +15221,14 @@ export type GetObserveOverviewData = {
|
|
|
14584
15221
|
url: "/api/observe/overview";
|
|
14585
15222
|
};
|
|
14586
15223
|
export type GetObserveOverviewErrors = {
|
|
15224
|
+
/**
|
|
15225
|
+
* Invalid workspace breadth
|
|
15226
|
+
*/
|
|
15227
|
+
400: ErrorPayload;
|
|
15228
|
+
/**
|
|
15229
|
+
* Agent aggregate access denied
|
|
15230
|
+
*/
|
|
15231
|
+
403: ErrorPayload;
|
|
14587
15232
|
/**
|
|
14588
15233
|
* Workspace not found
|
|
14589
15234
|
*/
|
|
@@ -14613,10 +15258,18 @@ export type GetTaskDashboardData = {
|
|
|
14613
15258
|
body?: never;
|
|
14614
15259
|
path?: never;
|
|
14615
15260
|
query?: {
|
|
15261
|
+
/**
|
|
15262
|
+
* Read every project and User within the profile lens; conflicts with workspace
|
|
15263
|
+
*/
|
|
15264
|
+
all_workspaces?: boolean;
|
|
15265
|
+
/**
|
|
15266
|
+
* Repeatable project IDs; @user selects User; requires all_workspaces=true
|
|
15267
|
+
*/
|
|
15268
|
+
workspace_ids?: Array<string>;
|
|
14616
15269
|
/**
|
|
14617
15270
|
* Filter by task scope
|
|
14618
15271
|
*/
|
|
14619
|
-
scope?: "global" | "workspace";
|
|
15272
|
+
scope?: "global" | "workspace" | "user" | "@user";
|
|
14620
15273
|
/**
|
|
14621
15274
|
* Filter by workspace path, name, or ID
|
|
14622
15275
|
*/
|
|
@@ -14649,6 +15302,14 @@ export type GetTaskDashboardData = {
|
|
|
14649
15302
|
url: "/api/observe/tasks/dashboard";
|
|
14650
15303
|
};
|
|
14651
15304
|
export type GetTaskDashboardErrors = {
|
|
15305
|
+
/**
|
|
15306
|
+
* Invalid workspace breadth
|
|
15307
|
+
*/
|
|
15308
|
+
400: ErrorPayload;
|
|
15309
|
+
/**
|
|
15310
|
+
* Agent aggregate access denied
|
|
15311
|
+
*/
|
|
15312
|
+
403: ErrorPayload;
|
|
14652
15313
|
/**
|
|
14653
15314
|
* Workspace not found
|
|
14654
15315
|
*/
|
|
@@ -14681,11 +15342,19 @@ export type GetTaskInboxData = {
|
|
|
14681
15342
|
/**
|
|
14682
15343
|
* Filter by task scope
|
|
14683
15344
|
*/
|
|
14684
|
-
scope?: "global" | "workspace";
|
|
15345
|
+
scope?: "global" | "workspace" | "user" | "@user";
|
|
14685
15346
|
/**
|
|
14686
15347
|
* Filter by workspace path, name, or ID
|
|
14687
15348
|
*/
|
|
14688
15349
|
workspace?: string;
|
|
15350
|
+
/**
|
|
15351
|
+
* Read all projects and User rows
|
|
15352
|
+
*/
|
|
15353
|
+
all_workspaces?: boolean;
|
|
15354
|
+
/**
|
|
15355
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
15356
|
+
*/
|
|
15357
|
+
workspace_ids?: Array<string>;
|
|
14689
15358
|
/**
|
|
14690
15359
|
* Filter by active run worktree ID
|
|
14691
15360
|
*/
|
|
@@ -15504,6 +16173,144 @@ export type UnarchiveProfileResponses = {
|
|
|
15504
16173
|
200: UnarchiveProfileResponse;
|
|
15505
16174
|
};
|
|
15506
16175
|
export type UnarchiveProfileResponse2 = UnarchiveProfileResponses[keyof UnarchiveProfileResponses];
|
|
16176
|
+
export type ListProviderUsageData = {
|
|
16177
|
+
body?: never;
|
|
16178
|
+
path?: never;
|
|
16179
|
+
query?: {
|
|
16180
|
+
/**
|
|
16181
|
+
* Profile name; defaults to the caller session profile or default
|
|
16182
|
+
*/
|
|
16183
|
+
profile?: string;
|
|
16184
|
+
};
|
|
16185
|
+
url: "/api/provider-usage";
|
|
16186
|
+
};
|
|
16187
|
+
export type ListProviderUsageErrors = {
|
|
16188
|
+
/**
|
|
16189
|
+
* Invalid request
|
|
16190
|
+
*/
|
|
16191
|
+
400: ErrorPayload;
|
|
16192
|
+
/**
|
|
16193
|
+
* App token route forbidden
|
|
16194
|
+
*/
|
|
16195
|
+
403: ErrorPayload;
|
|
16196
|
+
/**
|
|
16197
|
+
* Profile or provider not found
|
|
16198
|
+
*/
|
|
16199
|
+
404: ErrorPayload | ProfileErrorPayload;
|
|
16200
|
+
/**
|
|
16201
|
+
* Usage disabled or session profile conflict
|
|
16202
|
+
*/
|
|
16203
|
+
409: ErrorPayload | ProfileErrorPayload;
|
|
16204
|
+
/**
|
|
16205
|
+
* Internal server error
|
|
16206
|
+
*/
|
|
16207
|
+
500: ErrorPayload;
|
|
16208
|
+
/**
|
|
16209
|
+
* Usage service unavailable
|
|
16210
|
+
*/
|
|
16211
|
+
503: ErrorPayload;
|
|
16212
|
+
};
|
|
16213
|
+
export type ListProviderUsageError = ListProviderUsageErrors[keyof ListProviderUsageErrors];
|
|
16214
|
+
export type ListProviderUsageResponses = {
|
|
16215
|
+
/**
|
|
16216
|
+
* Profile-scoped usage envelope
|
|
16217
|
+
*/
|
|
16218
|
+
200: ProviderUsageEnvelope;
|
|
16219
|
+
};
|
|
16220
|
+
export type ListProviderUsageResponse = ListProviderUsageResponses[keyof ListProviderUsageResponses];
|
|
16221
|
+
export type GetProviderUsageData = {
|
|
16222
|
+
body?: never;
|
|
16223
|
+
path: {
|
|
16224
|
+
/**
|
|
16225
|
+
* Canonical provider ID
|
|
16226
|
+
*/
|
|
16227
|
+
provider_id: string;
|
|
16228
|
+
};
|
|
16229
|
+
query?: {
|
|
16230
|
+
/**
|
|
16231
|
+
* Profile name; defaults to the caller session profile or default
|
|
16232
|
+
*/
|
|
16233
|
+
profile?: string;
|
|
16234
|
+
};
|
|
16235
|
+
url: "/api/provider-usage/providers/{provider_id}";
|
|
16236
|
+
};
|
|
16237
|
+
export type GetProviderUsageErrors = {
|
|
16238
|
+
/**
|
|
16239
|
+
* Invalid request
|
|
16240
|
+
*/
|
|
16241
|
+
400: ErrorPayload;
|
|
16242
|
+
/**
|
|
16243
|
+
* App token route forbidden
|
|
16244
|
+
*/
|
|
16245
|
+
403: ErrorPayload;
|
|
16246
|
+
/**
|
|
16247
|
+
* Profile or provider not found
|
|
16248
|
+
*/
|
|
16249
|
+
404: ErrorPayload | ProfileErrorPayload;
|
|
16250
|
+
/**
|
|
16251
|
+
* Usage disabled or session profile conflict
|
|
16252
|
+
*/
|
|
16253
|
+
409: ErrorPayload | ProfileErrorPayload;
|
|
16254
|
+
/**
|
|
16255
|
+
* Internal server error
|
|
16256
|
+
*/
|
|
16257
|
+
500: ErrorPayload;
|
|
16258
|
+
/**
|
|
16259
|
+
* Usage service unavailable
|
|
16260
|
+
*/
|
|
16261
|
+
503: ErrorPayload;
|
|
16262
|
+
};
|
|
16263
|
+
export type GetProviderUsageError = GetProviderUsageErrors[keyof GetProviderUsageErrors];
|
|
16264
|
+
export type GetProviderUsageResponses = {
|
|
16265
|
+
/**
|
|
16266
|
+
* Profile-scoped usage envelope
|
|
16267
|
+
*/
|
|
16268
|
+
200: ProviderUsageEnvelope;
|
|
16269
|
+
};
|
|
16270
|
+
export type GetProviderUsageResponse = GetProviderUsageResponses[keyof GetProviderUsageResponses];
|
|
16271
|
+
export type RefreshProviderUsageData = {
|
|
16272
|
+
/**
|
|
16273
|
+
* JSON request body
|
|
16274
|
+
*/
|
|
16275
|
+
body?: ProviderUsageRefreshRequest;
|
|
16276
|
+
path?: never;
|
|
16277
|
+
query?: never;
|
|
16278
|
+
url: "/api/provider-usage/refresh";
|
|
16279
|
+
};
|
|
16280
|
+
export type RefreshProviderUsageErrors = {
|
|
16281
|
+
/**
|
|
16282
|
+
* Invalid request
|
|
16283
|
+
*/
|
|
16284
|
+
400: ErrorPayload;
|
|
16285
|
+
/**
|
|
16286
|
+
* App token route forbidden
|
|
16287
|
+
*/
|
|
16288
|
+
403: ErrorPayload;
|
|
16289
|
+
/**
|
|
16290
|
+
* Profile or provider not found
|
|
16291
|
+
*/
|
|
16292
|
+
404: ErrorPayload | ProfileErrorPayload;
|
|
16293
|
+
/**
|
|
16294
|
+
* Usage disabled or session profile conflict
|
|
16295
|
+
*/
|
|
16296
|
+
409: ErrorPayload | ProfileErrorPayload;
|
|
16297
|
+
/**
|
|
16298
|
+
* Internal server error
|
|
16299
|
+
*/
|
|
16300
|
+
500: ErrorPayload;
|
|
16301
|
+
/**
|
|
16302
|
+
* Usage service unavailable
|
|
16303
|
+
*/
|
|
16304
|
+
503: ErrorPayload;
|
|
16305
|
+
};
|
|
16306
|
+
export type RefreshProviderUsageError = RefreshProviderUsageErrors[keyof RefreshProviderUsageErrors];
|
|
16307
|
+
export type RefreshProviderUsageResponses = {
|
|
16308
|
+
/**
|
|
16309
|
+
* Profile-scoped usage envelope
|
|
16310
|
+
*/
|
|
16311
|
+
200: ProviderUsageEnvelope;
|
|
16312
|
+
};
|
|
16313
|
+
export type RefreshProviderUsageResponse = RefreshProviderUsageResponses[keyof RefreshProviderUsageResponses];
|
|
15507
16314
|
export type ListProvidersData = {
|
|
15508
16315
|
body?: never;
|
|
15509
16316
|
path?: never;
|
|
@@ -16338,7 +17145,7 @@ export type GetSchedulerBacklogData = {
|
|
|
16338
17145
|
/**
|
|
16339
17146
|
* Filter by catalog visibility
|
|
16340
17147
|
*/
|
|
16341
|
-
scope?: "all" | "global" | "workspace";
|
|
17148
|
+
scope?: "all" | "global" | "workspace" | "user" | "@user";
|
|
16342
17149
|
/**
|
|
16343
17150
|
* Filter by workspace path, name, or ID
|
|
16344
17151
|
*/
|
|
@@ -16497,6 +17304,10 @@ export type ListSessionsData = {
|
|
|
16497
17304
|
* Use the explicit all-workspaces aggregate
|
|
16498
17305
|
*/
|
|
16499
17306
|
all_workspaces?: boolean;
|
|
17307
|
+
/**
|
|
17308
|
+
* Project IDs or @user; repeatable, requires all_workspaces
|
|
17309
|
+
*/
|
|
17310
|
+
workspace_ids?: Array<string>;
|
|
16500
17311
|
/**
|
|
16501
17312
|
* Include metadata-only health for returned sessions
|
|
16502
17313
|
*/
|
|
@@ -16694,6 +17505,10 @@ export type ListSessionFacetsData = {
|
|
|
16694
17505
|
* Use the explicit all-workspaces aggregate
|
|
16695
17506
|
*/
|
|
16696
17507
|
all_workspaces?: boolean;
|
|
17508
|
+
/**
|
|
17509
|
+
* Project IDs or @user; repeatable, requires all_workspaces
|
|
17510
|
+
*/
|
|
17511
|
+
workspace_ids?: Array<string>;
|
|
16697
17512
|
/**
|
|
16698
17513
|
* Filter by bound worktree id
|
|
16699
17514
|
*/
|
|
@@ -18342,74 +19157,138 @@ export type GetSettingsPersonaErrors = {
|
|
|
18342
19157
|
*/
|
|
18343
19158
|
400: ErrorPayload;
|
|
18344
19159
|
/**
|
|
18345
|
-
* Workspace not found
|
|
19160
|
+
* Workspace not found
|
|
19161
|
+
*/
|
|
19162
|
+
404: ErrorPayload;
|
|
19163
|
+
/**
|
|
19164
|
+
* Internal server error
|
|
19165
|
+
*/
|
|
19166
|
+
500: ErrorPayload;
|
|
19167
|
+
};
|
|
19168
|
+
export type GetSettingsPersonaError = GetSettingsPersonaErrors[keyof GetSettingsPersonaErrors];
|
|
19169
|
+
export type GetSettingsPersonaResponses = {
|
|
19170
|
+
/**
|
|
19171
|
+
* OK
|
|
19172
|
+
*/
|
|
19173
|
+
200: SettingsPersonaResponse;
|
|
19174
|
+
};
|
|
19175
|
+
export type GetSettingsPersonaResponse = GetSettingsPersonaResponses[keyof GetSettingsPersonaResponses];
|
|
19176
|
+
export type UpdateSettingsPersonaData = {
|
|
19177
|
+
/**
|
|
19178
|
+
* JSON request body
|
|
19179
|
+
*/
|
|
19180
|
+
body: UpdateSettingsPersonaRequest;
|
|
19181
|
+
path?: never;
|
|
19182
|
+
query?: {
|
|
19183
|
+
/**
|
|
19184
|
+
* Select the settings scope
|
|
19185
|
+
*/
|
|
19186
|
+
scope?: "user" | "profile" | "workspace";
|
|
19187
|
+
/**
|
|
19188
|
+
* Select the workspace context
|
|
19189
|
+
*/
|
|
19190
|
+
workspace_id?: string;
|
|
19191
|
+
/**
|
|
19192
|
+
* Select the profile layer
|
|
19193
|
+
*/
|
|
19194
|
+
profile?: string;
|
|
19195
|
+
};
|
|
19196
|
+
url: "/api/settings/persona";
|
|
19197
|
+
};
|
|
19198
|
+
export type UpdateSettingsPersonaErrors = {
|
|
19199
|
+
/**
|
|
19200
|
+
* Invalid settings payload
|
|
19201
|
+
*/
|
|
19202
|
+
400: ErrorPayload;
|
|
19203
|
+
/**
|
|
19204
|
+
* Forbidden
|
|
19205
|
+
*/
|
|
19206
|
+
403: ErrorPayload;
|
|
19207
|
+
/**
|
|
19208
|
+
* Workspace not found
|
|
19209
|
+
*/
|
|
19210
|
+
404: ErrorPayload;
|
|
19211
|
+
/**
|
|
19212
|
+
* Conflicting settings change
|
|
19213
|
+
*/
|
|
19214
|
+
409: ErrorPayload;
|
|
19215
|
+
/**
|
|
19216
|
+
* Internal server error
|
|
19217
|
+
*/
|
|
19218
|
+
500: ErrorPayload;
|
|
19219
|
+
};
|
|
19220
|
+
export type UpdateSettingsPersonaError = UpdateSettingsPersonaErrors[keyof UpdateSettingsPersonaErrors];
|
|
19221
|
+
export type UpdateSettingsPersonaResponses = {
|
|
19222
|
+
/**
|
|
19223
|
+
* OK
|
|
18346
19224
|
*/
|
|
18347
|
-
|
|
19225
|
+
200: SettingsApplyResponse;
|
|
19226
|
+
};
|
|
19227
|
+
export type UpdateSettingsPersonaResponse = UpdateSettingsPersonaResponses[keyof UpdateSettingsPersonaResponses];
|
|
19228
|
+
export type GetSettingsProviderUsageData = {
|
|
19229
|
+
body?: never;
|
|
19230
|
+
path?: never;
|
|
19231
|
+
query?: never;
|
|
19232
|
+
url: "/api/settings/provider-usage";
|
|
19233
|
+
};
|
|
19234
|
+
export type GetSettingsProviderUsageErrors = {
|
|
18348
19235
|
/**
|
|
18349
19236
|
* Internal server error
|
|
18350
19237
|
*/
|
|
18351
19238
|
500: ErrorPayload;
|
|
18352
19239
|
};
|
|
18353
|
-
export type
|
|
18354
|
-
export type
|
|
19240
|
+
export type GetSettingsProviderUsageError = GetSettingsProviderUsageErrors[keyof GetSettingsProviderUsageErrors];
|
|
19241
|
+
export type GetSettingsProviderUsageResponses = {
|
|
18355
19242
|
/**
|
|
18356
19243
|
* OK
|
|
18357
19244
|
*/
|
|
18358
|
-
200:
|
|
19245
|
+
200: SettingsProviderUsageResponse;
|
|
18359
19246
|
};
|
|
18360
|
-
export type
|
|
18361
|
-
export type
|
|
19247
|
+
export type GetSettingsProviderUsageResponse = GetSettingsProviderUsageResponses[keyof GetSettingsProviderUsageResponses];
|
|
19248
|
+
export type UpdateSettingsProviderUsageData = {
|
|
18362
19249
|
/**
|
|
18363
19250
|
* JSON request body
|
|
18364
19251
|
*/
|
|
18365
|
-
body:
|
|
19252
|
+
body: SettingsProviderUsageUpdateRequest;
|
|
18366
19253
|
path?: never;
|
|
18367
19254
|
query?: {
|
|
18368
19255
|
/**
|
|
18369
|
-
*
|
|
18370
|
-
*/
|
|
18371
|
-
scope?: "user" | "profile" | "workspace";
|
|
18372
|
-
/**
|
|
18373
|
-
* Select the workspace context
|
|
18374
|
-
*/
|
|
18375
|
-
workspace_id?: string;
|
|
18376
|
-
/**
|
|
18377
|
-
* Select the profile layer
|
|
19256
|
+
* Collection profile name or ID for local Keychain consent; independent of user config scope; defaults to default
|
|
18378
19257
|
*/
|
|
18379
|
-
|
|
19258
|
+
collection_profile?: string;
|
|
18380
19259
|
};
|
|
18381
|
-
url: "/api/settings/
|
|
19260
|
+
url: "/api/settings/provider-usage";
|
|
18382
19261
|
};
|
|
18383
|
-
export type
|
|
19262
|
+
export type UpdateSettingsProviderUsageErrors = {
|
|
18384
19263
|
/**
|
|
18385
19264
|
* Invalid settings payload
|
|
18386
19265
|
*/
|
|
18387
|
-
400: ErrorPayload;
|
|
19266
|
+
400: ErrorPayload | ProfileErrorPayload;
|
|
18388
19267
|
/**
|
|
18389
19268
|
* Forbidden
|
|
18390
19269
|
*/
|
|
18391
19270
|
403: ErrorPayload;
|
|
18392
19271
|
/**
|
|
18393
|
-
*
|
|
19272
|
+
* Collection profile not found
|
|
18394
19273
|
*/
|
|
18395
|
-
404:
|
|
19274
|
+
404: ProfileErrorPayload;
|
|
18396
19275
|
/**
|
|
18397
19276
|
* Conflicting settings change
|
|
18398
19277
|
*/
|
|
18399
|
-
409: ErrorPayload;
|
|
19278
|
+
409: ErrorPayload | ProfileErrorPayload;
|
|
18400
19279
|
/**
|
|
18401
19280
|
* Internal server error
|
|
18402
19281
|
*/
|
|
18403
19282
|
500: ErrorPayload;
|
|
18404
19283
|
};
|
|
18405
|
-
export type
|
|
18406
|
-
export type
|
|
19284
|
+
export type UpdateSettingsProviderUsageError = UpdateSettingsProviderUsageErrors[keyof UpdateSettingsProviderUsageErrors];
|
|
19285
|
+
export type UpdateSettingsProviderUsageResponses = {
|
|
18407
19286
|
/**
|
|
18408
19287
|
* OK
|
|
18409
19288
|
*/
|
|
18410
19289
|
200: SettingsApplyResponse;
|
|
18411
19290
|
};
|
|
18412
|
-
export type
|
|
19291
|
+
export type UpdateSettingsProviderUsageResponse = UpdateSettingsProviderUsageResponses[keyof UpdateSettingsProviderUsageResponses];
|
|
18413
19292
|
export type ListSettingsProvidersData = {
|
|
18414
19293
|
body?: never;
|
|
18415
19294
|
path?: never;
|
|
@@ -18667,7 +19546,7 @@ export type UpdateSettingsShellResponses = {
|
|
|
18667
19546
|
/**
|
|
18668
19547
|
* OK
|
|
18669
19548
|
*/
|
|
18670
|
-
200:
|
|
19549
|
+
200: SettingsShellMutationResponse;
|
|
18671
19550
|
};
|
|
18672
19551
|
export type UpdateSettingsShellResponse = UpdateSettingsShellResponses[keyof UpdateSettingsShellResponses];
|
|
18673
19552
|
export type GetSettingsSkillsData = {
|
|
@@ -20065,10 +20944,18 @@ export type ListTasksData = {
|
|
|
20065
20944
|
body?: never;
|
|
20066
20945
|
path?: never;
|
|
20067
20946
|
query?: {
|
|
20947
|
+
/**
|
|
20948
|
+
* Read every project and User within the profile lens; conflicts with workspace
|
|
20949
|
+
*/
|
|
20950
|
+
all_workspaces?: boolean;
|
|
20951
|
+
/**
|
|
20952
|
+
* Repeatable project IDs; @user selects User; requires all_workspaces=true
|
|
20953
|
+
*/
|
|
20954
|
+
workspace_ids?: Array<string>;
|
|
20068
20955
|
/**
|
|
20069
20956
|
* Filter by catalog visibility
|
|
20070
20957
|
*/
|
|
20071
|
-
scope?: "all" | "global" | "workspace";
|
|
20958
|
+
scope?: "all" | "global" | "workspace" | "user" | "@user";
|
|
20072
20959
|
/**
|
|
20073
20960
|
* Filter by workspace path, name, or ID
|
|
20074
20961
|
*/
|
|
@@ -20145,6 +21032,10 @@ export type ListTasksErrors = {
|
|
|
20145
21032
|
* Invalid task filter or cursor
|
|
20146
21033
|
*/
|
|
20147
21034
|
400: TaskQueryErrorPayload;
|
|
21035
|
+
/**
|
|
21036
|
+
* Agent aggregate access denied
|
|
21037
|
+
*/
|
|
21038
|
+
403: ErrorPayload;
|
|
20148
21039
|
/**
|
|
20149
21040
|
* Workspace not found
|
|
20150
21041
|
*/
|
|
@@ -21736,6 +22627,67 @@ export type MarkTaskReadResponses = {
|
|
|
21736
22627
|
200: TaskTriageStateResponse;
|
|
21737
22628
|
};
|
|
21738
22629
|
export type MarkTaskReadResponse = MarkTaskReadResponses[keyof MarkTaskReadResponses];
|
|
22630
|
+
export type ListTerminalsAggregateData = {
|
|
22631
|
+
body?: never;
|
|
22632
|
+
path?: never;
|
|
22633
|
+
query?: {
|
|
22634
|
+
/**
|
|
22635
|
+
* Read all projects and User rows
|
|
22636
|
+
*/
|
|
22637
|
+
all_workspaces?: boolean;
|
|
22638
|
+
/**
|
|
22639
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
22640
|
+
*/
|
|
22641
|
+
workspace_ids?: Array<string>;
|
|
22642
|
+
/**
|
|
22643
|
+
* Read one profile's rows by name
|
|
22644
|
+
*/
|
|
22645
|
+
profile?: string;
|
|
22646
|
+
/**
|
|
22647
|
+
* Read the owner-labeled all-profiles aggregate
|
|
22648
|
+
*/
|
|
22649
|
+
all_profiles?: boolean;
|
|
22650
|
+
};
|
|
22651
|
+
url: "/api/terminals";
|
|
22652
|
+
};
|
|
22653
|
+
export type ListTerminalsAggregateErrors = {
|
|
22654
|
+
/**
|
|
22655
|
+
* Malformed terminal request
|
|
22656
|
+
*/
|
|
22657
|
+
400: TerminalErrorResponse;
|
|
22658
|
+
/**
|
|
22659
|
+
* Terminal authentication required
|
|
22660
|
+
*/
|
|
22661
|
+
401: TerminalErrorResponse;
|
|
22662
|
+
/**
|
|
22663
|
+
* Terminal operation forbidden
|
|
22664
|
+
*/
|
|
22665
|
+
403: TerminalErrorResponse;
|
|
22666
|
+
/**
|
|
22667
|
+
* Terminal state or profile conflict
|
|
22668
|
+
*/
|
|
22669
|
+
409: TerminalErrorResponse;
|
|
22670
|
+
/**
|
|
22671
|
+
* Invalid profile selection
|
|
22672
|
+
*/
|
|
22673
|
+
422: TerminalErrorResponse;
|
|
22674
|
+
/**
|
|
22675
|
+
* Terminal transport failed
|
|
22676
|
+
*/
|
|
22677
|
+
500: TerminalErrorResponse;
|
|
22678
|
+
/**
|
|
22679
|
+
* Terminal service unavailable
|
|
22680
|
+
*/
|
|
22681
|
+
503: TerminalErrorResponse;
|
|
22682
|
+
};
|
|
22683
|
+
export type ListTerminalsAggregateError = ListTerminalsAggregateErrors[keyof ListTerminalsAggregateErrors];
|
|
22684
|
+
export type ListTerminalsAggregateResponses = {
|
|
22685
|
+
/**
|
|
22686
|
+
* OK
|
|
22687
|
+
*/
|
|
22688
|
+
200: TerminalListResponse;
|
|
22689
|
+
};
|
|
22690
|
+
export type ListTerminalsAggregateResponse = ListTerminalsAggregateResponses[keyof ListTerminalsAggregateResponses];
|
|
21739
22691
|
export type ListToolApprovalGrantsData = {
|
|
21740
22692
|
body?: never;
|
|
21741
22693
|
path?: never;
|
|
@@ -22758,6 +23710,10 @@ export type CreateWorkspaceErrors = {
|
|
|
22758
23710
|
* Workspace conflict
|
|
22759
23711
|
*/
|
|
22760
23712
|
409: ErrorPayload;
|
|
23713
|
+
/**
|
|
23714
|
+
* Unknown workspace config keys (workspace_config_invalid)
|
|
23715
|
+
*/
|
|
23716
|
+
422: ErrorPayload;
|
|
22761
23717
|
/**
|
|
22762
23718
|
* Internal server error
|
|
22763
23719
|
*/
|
|
@@ -22789,6 +23745,10 @@ export type ResolveWorkspaceErrors = {
|
|
|
22789
23745
|
* Workspace not found
|
|
22790
23746
|
*/
|
|
22791
23747
|
404: ErrorPayload;
|
|
23748
|
+
/**
|
|
23749
|
+
* Unknown workspace config keys (workspace_config_invalid)
|
|
23750
|
+
*/
|
|
23751
|
+
422: ErrorPayload;
|
|
22792
23752
|
/**
|
|
22793
23753
|
* Internal server error
|
|
22794
23754
|
*/
|
|
@@ -22847,6 +23807,10 @@ export type GetWorkspaceErrors = {
|
|
|
22847
23807
|
* Workspace not found
|
|
22848
23808
|
*/
|
|
22849
23809
|
404: ErrorPayload;
|
|
23810
|
+
/**
|
|
23811
|
+
* Unknown workspace config keys (workspace_config_invalid)
|
|
23812
|
+
*/
|
|
23813
|
+
422: ErrorPayload;
|
|
22850
23814
|
/**
|
|
22851
23815
|
* Internal server error
|
|
22852
23816
|
*/
|
|
@@ -25605,6 +26569,10 @@ export type ListWorkspaceSessionsData = {
|
|
|
25605
26569
|
workspace_id: string;
|
|
25606
26570
|
};
|
|
25607
26571
|
query?: {
|
|
26572
|
+
/**
|
|
26573
|
+
* Project IDs or @user; repeatable, requires all_workspaces
|
|
26574
|
+
*/
|
|
26575
|
+
workspace_ids?: Array<string>;
|
|
25608
26576
|
/**
|
|
25609
26577
|
* Include metadata-only health for returned sessions
|
|
25610
26578
|
*/
|
|
@@ -26910,6 +27878,84 @@ export type ListSessionInteractionsResponses = {
|
|
|
26910
27878
|
200: SessionInteractionsResponse;
|
|
26911
27879
|
};
|
|
26912
27880
|
export type ListSessionInteractionsResponse = ListSessionInteractionsResponses[keyof ListSessionInteractionsResponses];
|
|
27881
|
+
export type ListSessionMonitorsData = {
|
|
27882
|
+
body?: never;
|
|
27883
|
+
path: {
|
|
27884
|
+
/**
|
|
27885
|
+
* Workspace id
|
|
27886
|
+
*/
|
|
27887
|
+
workspace_id: string;
|
|
27888
|
+
/**
|
|
27889
|
+
* Session id
|
|
27890
|
+
*/
|
|
27891
|
+
session_id: string;
|
|
27892
|
+
};
|
|
27893
|
+
query?: never;
|
|
27894
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors";
|
|
27895
|
+
};
|
|
27896
|
+
export type ListSessionMonitorsErrors = {
|
|
27897
|
+
/**
|
|
27898
|
+
* Session or monitor not found
|
|
27899
|
+
*/
|
|
27900
|
+
404: ErrorPayload;
|
|
27901
|
+
/**
|
|
27902
|
+
* Internal server error
|
|
27903
|
+
*/
|
|
27904
|
+
500: ErrorPayload;
|
|
27905
|
+
/**
|
|
27906
|
+
* Session monitors unavailable
|
|
27907
|
+
*/
|
|
27908
|
+
503: ErrorPayload;
|
|
27909
|
+
};
|
|
27910
|
+
export type ListSessionMonitorsError = ListSessionMonitorsErrors[keyof ListSessionMonitorsErrors];
|
|
27911
|
+
export type ListSessionMonitorsResponses = {
|
|
27912
|
+
/**
|
|
27913
|
+
* Success
|
|
27914
|
+
*/
|
|
27915
|
+
200: SessionMonitorsResponse;
|
|
27916
|
+
};
|
|
27917
|
+
export type ListSessionMonitorsResponse = ListSessionMonitorsResponses[keyof ListSessionMonitorsResponses];
|
|
27918
|
+
export type CancelSessionMonitorData = {
|
|
27919
|
+
body?: never;
|
|
27920
|
+
path: {
|
|
27921
|
+
/**
|
|
27922
|
+
* Workspace id
|
|
27923
|
+
*/
|
|
27924
|
+
workspace_id: string;
|
|
27925
|
+
/**
|
|
27926
|
+
* Session id
|
|
27927
|
+
*/
|
|
27928
|
+
session_id: string;
|
|
27929
|
+
/**
|
|
27930
|
+
* Monitor id
|
|
27931
|
+
*/
|
|
27932
|
+
monitor_id: string;
|
|
27933
|
+
};
|
|
27934
|
+
query?: never;
|
|
27935
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors/{monitor_id}/cancel";
|
|
27936
|
+
};
|
|
27937
|
+
export type CancelSessionMonitorErrors = {
|
|
27938
|
+
/**
|
|
27939
|
+
* Session or monitor not found
|
|
27940
|
+
*/
|
|
27941
|
+
404: ErrorPayload;
|
|
27942
|
+
/**
|
|
27943
|
+
* Internal server error
|
|
27944
|
+
*/
|
|
27945
|
+
500: ErrorPayload;
|
|
27946
|
+
/**
|
|
27947
|
+
* Session monitors unavailable
|
|
27948
|
+
*/
|
|
27949
|
+
503: ErrorPayload;
|
|
27950
|
+
};
|
|
27951
|
+
export type CancelSessionMonitorError = CancelSessionMonitorErrors[keyof CancelSessionMonitorErrors];
|
|
27952
|
+
export type CancelSessionMonitorResponses = {
|
|
27953
|
+
/**
|
|
27954
|
+
* Success
|
|
27955
|
+
*/
|
|
27956
|
+
200: SessionMonitorResponse;
|
|
27957
|
+
};
|
|
27958
|
+
export type CancelSessionMonitorResponse = CancelSessionMonitorResponses[keyof CancelSessionMonitorResponses];
|
|
26913
27959
|
export type MoveSessionData = {
|
|
26914
27960
|
/**
|
|
26915
27961
|
* JSON request body
|
|
@@ -29460,6 +30506,10 @@ export type RegisterWindowManagerClientData = {
|
|
|
29460
30506
|
url: "/api/workspaces/{workspace_id}/window-manager/clients";
|
|
29461
30507
|
};
|
|
29462
30508
|
export type RegisterWindowManagerClientErrors = {
|
|
30509
|
+
/**
|
|
30510
|
+
* Invalid window workspace binding
|
|
30511
|
+
*/
|
|
30512
|
+
400: ContractWindowManagerErrorPayload;
|
|
29463
30513
|
/**
|
|
29464
30514
|
* Workspace or referenced entity not found
|
|
29465
30515
|
*/
|
|
@@ -29506,6 +30556,10 @@ export type UnregisterWindowManagerClientData = {
|
|
|
29506
30556
|
url: "/api/workspaces/{workspace_id}/window-manager/clients/{client_id}";
|
|
29507
30557
|
};
|
|
29508
30558
|
export type UnregisterWindowManagerClientErrors = {
|
|
30559
|
+
/**
|
|
30560
|
+
* Invalid window workspace binding
|
|
30561
|
+
*/
|
|
30562
|
+
400: ContractWindowManagerErrorPayload;
|
|
29509
30563
|
/**
|
|
29510
30564
|
* Workspace or referenced entity not found
|
|
29511
30565
|
*/
|
|
@@ -29551,6 +30605,10 @@ export type ExecuteWindowManagerCommandData = {
|
|
|
29551
30605
|
url: "/api/workspaces/{workspace_id}/window-manager/commands";
|
|
29552
30606
|
};
|
|
29553
30607
|
export type ExecuteWindowManagerCommandErrors = {
|
|
30608
|
+
/**
|
|
30609
|
+
* Invalid window workspace binding
|
|
30610
|
+
*/
|
|
30611
|
+
400: ContractWindowManagerErrorPayload;
|
|
29554
30612
|
/**
|
|
29555
30613
|
* Workspace or referenced entity not found
|
|
29556
30614
|
*/
|
|
@@ -29630,6 +30688,10 @@ export type ReplaceWindowManagerLayoutData = {
|
|
|
29630
30688
|
url: "/api/workspaces/{workspace_id}/window-manager/layout";
|
|
29631
30689
|
};
|
|
29632
30690
|
export type ReplaceWindowManagerLayoutErrors = {
|
|
30691
|
+
/**
|
|
30692
|
+
* Invalid window workspace binding
|
|
30693
|
+
*/
|
|
30694
|
+
400: ContractWindowManagerErrorPayload;
|
|
29633
30695
|
/**
|
|
29634
30696
|
* Workspace or referenced entity not found
|
|
29635
30697
|
*/
|
|
@@ -29851,6 +30913,10 @@ export type ValidateWindowManagerLayoutData = {
|
|
|
29851
30913
|
url: "/api/workspaces/{workspace_id}/window-manager/layout/validate";
|
|
29852
30914
|
};
|
|
29853
30915
|
export type ValidateWindowManagerLayoutErrors = {
|
|
30916
|
+
/**
|
|
30917
|
+
* Invalid window workspace binding
|
|
30918
|
+
*/
|
|
30919
|
+
400: ContractWindowManagerErrorPayload;
|
|
29854
30920
|
/**
|
|
29855
30921
|
* Workspace or referenced entity not found
|
|
29856
30922
|
*/
|
|
@@ -29896,6 +30962,10 @@ export type PreviewWindowManagerCommandData = {
|
|
|
29896
30962
|
url: "/api/workspaces/{workspace_id}/window-manager/preview";
|
|
29897
30963
|
};
|
|
29898
30964
|
export type PreviewWindowManagerCommandErrors = {
|
|
30965
|
+
/**
|
|
30966
|
+
* Invalid window workspace binding
|
|
30967
|
+
*/
|
|
30968
|
+
400: ContractWindowManagerErrorPayload;
|
|
29899
30969
|
/**
|
|
29900
30970
|
* Workspace or referenced entity not found
|
|
29901
30971
|
*/
|
|
@@ -30077,6 +31147,59 @@ export type AdoptWorktreeResponses = {
|
|
|
30077
31147
|
200: WorktreeResponse;
|
|
30078
31148
|
};
|
|
30079
31149
|
export type AdoptWorktreeResponse = AdoptWorktreeResponses[keyof AdoptWorktreeResponses];
|
|
31150
|
+
export type RemoveDiscoveredWorktreeData = {
|
|
31151
|
+
/**
|
|
31152
|
+
* JSON request body
|
|
31153
|
+
*/
|
|
31154
|
+
body: RemoveDiscoveredWorktreeRequest;
|
|
31155
|
+
path: {
|
|
31156
|
+
/**
|
|
31157
|
+
* Workspace id or path
|
|
31158
|
+
*/
|
|
31159
|
+
workspace_id: string;
|
|
31160
|
+
};
|
|
31161
|
+
query?: {
|
|
31162
|
+
/**
|
|
31163
|
+
* Act as this profile by name
|
|
31164
|
+
*/
|
|
31165
|
+
profile?: string;
|
|
31166
|
+
};
|
|
31167
|
+
url: "/api/workspaces/{workspace_id}/worktrees/discovered/remove";
|
|
31168
|
+
};
|
|
31169
|
+
export type RemoveDiscoveredWorktreeErrors = {
|
|
31170
|
+
/**
|
|
31171
|
+
* Invalid discovered removal request
|
|
31172
|
+
*/
|
|
31173
|
+
400: ErrorPayload;
|
|
31174
|
+
/**
|
|
31175
|
+
* Hook or profile does not permit removal
|
|
31176
|
+
*/
|
|
31177
|
+
403: ErrorPayload;
|
|
31178
|
+
/**
|
|
31179
|
+
* Discovered worktree or workspace not found
|
|
31180
|
+
*/
|
|
31181
|
+
404: ErrorPayload;
|
|
31182
|
+
/**
|
|
31183
|
+
* Removal requires another decision
|
|
31184
|
+
*/
|
|
31185
|
+
409: WorktreeRemovalRefusalPayload;
|
|
31186
|
+
/**
|
|
31187
|
+
* Internal server error
|
|
31188
|
+
*/
|
|
31189
|
+
500: ErrorPayload;
|
|
31190
|
+
/**
|
|
31191
|
+
* Worktree service is unavailable
|
|
31192
|
+
*/
|
|
31193
|
+
503: ErrorPayload;
|
|
31194
|
+
};
|
|
31195
|
+
export type RemoveDiscoveredWorktreeError = RemoveDiscoveredWorktreeErrors[keyof RemoveDiscoveredWorktreeErrors];
|
|
31196
|
+
export type RemoveDiscoveredWorktreeResponses = {
|
|
31197
|
+
/**
|
|
31198
|
+
* No Content
|
|
31199
|
+
*/
|
|
31200
|
+
204: void;
|
|
31201
|
+
};
|
|
31202
|
+
export type RemoveDiscoveredWorktreeResponse = RemoveDiscoveredWorktreeResponses[keyof RemoveDiscoveredWorktreeResponses];
|
|
30080
31203
|
export type RemoveWorktreeData = {
|
|
30081
31204
|
body?: never;
|
|
30082
31205
|
path: {
|
|
@@ -30511,4 +31634,45 @@ export type GetWorktreeStatusResponses = {
|
|
|
30511
31634
|
200: WorktreeStatusResponse;
|
|
30512
31635
|
};
|
|
30513
31636
|
export type GetWorktreeStatusResponse = GetWorktreeStatusResponses[keyof GetWorktreeStatusResponses];
|
|
31637
|
+
export type ListWorktreesAggregateData = {
|
|
31638
|
+
body?: never;
|
|
31639
|
+
path?: never;
|
|
31640
|
+
query?: {
|
|
31641
|
+
/**
|
|
31642
|
+
* Read all projects and User rows
|
|
31643
|
+
*/
|
|
31644
|
+
all_workspaces?: boolean;
|
|
31645
|
+
/**
|
|
31646
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
31647
|
+
*/
|
|
31648
|
+
workspace_ids?: Array<string>;
|
|
31649
|
+
};
|
|
31650
|
+
url: "/api/worktrees";
|
|
31651
|
+
};
|
|
31652
|
+
export type ListWorktreesAggregateErrors = {
|
|
31653
|
+
/**
|
|
31654
|
+
* Invalid worktree list query
|
|
31655
|
+
*/
|
|
31656
|
+
400: ErrorPayload;
|
|
31657
|
+
/**
|
|
31658
|
+
* Workspace not found
|
|
31659
|
+
*/
|
|
31660
|
+
404: ErrorPayload;
|
|
31661
|
+
/**
|
|
31662
|
+
* Internal server error
|
|
31663
|
+
*/
|
|
31664
|
+
500: ErrorPayload;
|
|
31665
|
+
/**
|
|
31666
|
+
* Worktree service is unavailable
|
|
31667
|
+
*/
|
|
31668
|
+
503: ErrorPayload;
|
|
31669
|
+
};
|
|
31670
|
+
export type ListWorktreesAggregateError = ListWorktreesAggregateErrors[keyof ListWorktreesAggregateErrors];
|
|
31671
|
+
export type ListWorktreesAggregateResponses = {
|
|
31672
|
+
/**
|
|
31673
|
+
* OK
|
|
31674
|
+
*/
|
|
31675
|
+
200: WorktreesResponse;
|
|
31676
|
+
};
|
|
31677
|
+
export type ListWorktreesAggregateResponse = ListWorktreesAggregateResponses[keyof ListWorktreesAggregateResponses];
|
|
30514
31678
|
//# sourceMappingURL=types.gen.d.ts.map
|