@compozy/client 0.3.0-beta.37 → 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 +2626 -614
- 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 +1209 -63
- 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 +120 -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;
|
|
@@ -2706,11 +2722,32 @@ export type LoopBudget = {
|
|
|
2706
2722
|
tokens: number;
|
|
2707
2723
|
wall_clock_sec: number;
|
|
2708
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
|
+
};
|
|
2709
2741
|
export type LoopCatalogAggregatePayload = {
|
|
2710
2742
|
failed: number;
|
|
2711
2743
|
runs: number;
|
|
2712
2744
|
succeeded: number;
|
|
2713
2745
|
};
|
|
2746
|
+
export type LoopCatalogBatchResponse = {
|
|
2747
|
+
entries: Array<LoopCatalogAggregateEntryPayload>;
|
|
2748
|
+
errors: Array<LoopCatalogWorkspaceError>;
|
|
2749
|
+
truncated: boolean;
|
|
2750
|
+
};
|
|
2714
2751
|
export type LoopCatalogEntryPayload = {
|
|
2715
2752
|
aggregate_30d: LoopCatalogAggregatePayload;
|
|
2716
2753
|
catalog: LoopCatalogResourceSpec;
|
|
@@ -2725,6 +2762,7 @@ export type LoopCatalogEntryPayload = {
|
|
|
2725
2762
|
start?: Array<LoopStartBinding>;
|
|
2726
2763
|
success_rate_30d: number;
|
|
2727
2764
|
version: number;
|
|
2765
|
+
workspace_id?: string;
|
|
2728
2766
|
};
|
|
2729
2767
|
export type LoopCatalogFacetsPayload = {
|
|
2730
2768
|
categories: {
|
|
@@ -2749,6 +2787,15 @@ export type LoopCatalogResourceSpec = {
|
|
|
2749
2787
|
keywords?: Array<string>;
|
|
2750
2788
|
use_when?: string;
|
|
2751
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
|
+
};
|
|
2752
2799
|
export type LoopConfig = {
|
|
2753
2800
|
budget_on_exceeded?: "halt" | "escalate";
|
|
2754
2801
|
budget_tokens?: number | null;
|
|
@@ -3079,6 +3126,7 @@ export type LoopNodeInventoryItem = {
|
|
|
3079
3126
|
state: "waiting" | "quarantined" | "attention" | "retrying";
|
|
3080
3127
|
state_at: string;
|
|
3081
3128
|
wait?: LoopNodeWaitPayload | null;
|
|
3129
|
+
workspace_id?: string;
|
|
3082
3130
|
};
|
|
3083
3131
|
export type LoopNodeInventoryResponse = {
|
|
3084
3132
|
items: Array<LoopNodeInventoryItem>;
|
|
@@ -3166,11 +3214,13 @@ export type LoopRequestPayload = {
|
|
|
3166
3214
|
loop_run_id: string;
|
|
3167
3215
|
node_id: string;
|
|
3168
3216
|
opened_at: string;
|
|
3217
|
+
profile_id: string;
|
|
3169
3218
|
prompt: string;
|
|
3170
3219
|
proposed_preview?: unknown;
|
|
3171
3220
|
resolved_at?: string | null;
|
|
3172
3221
|
respond_schema?: unknown;
|
|
3173
3222
|
state: string;
|
|
3223
|
+
workspace_id?: string;
|
|
3174
3224
|
};
|
|
3175
3225
|
export type LoopRequestProvenance = {
|
|
3176
3226
|
actor_id: string;
|
|
@@ -3783,6 +3833,7 @@ export type OverviewAttentionItemPayload = {
|
|
|
3783
3833
|
session_id?: string;
|
|
3784
3834
|
task_id?: string;
|
|
3785
3835
|
title: string;
|
|
3836
|
+
workspace_id: string;
|
|
3786
3837
|
};
|
|
3787
3838
|
export type OverviewAttentionPayload = {
|
|
3788
3839
|
by_kind: {
|
|
@@ -4154,6 +4205,91 @@ export type ProviderSummaryPayload = {
|
|
|
4154
4205
|
runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
|
|
4155
4206
|
session_env_status?: Array<SettingsProviderCredentialStatusPayload>;
|
|
4156
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
|
+
};
|
|
4157
4293
|
export type PutLoopAnnotationsRequest = {
|
|
4158
4294
|
annotations: Array<LoopAnnotationPayload>;
|
|
4159
4295
|
};
|
|
@@ -4230,7 +4366,7 @@ export type RecoverTaskRunRequest = {
|
|
|
4230
4366
|
export type Redaction = {
|
|
4231
4367
|
bytes?: number;
|
|
4232
4368
|
path: string;
|
|
4233
|
-
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";
|
|
4234
4370
|
};
|
|
4235
4371
|
export type Reference = {
|
|
4236
4372
|
effective_paused?: boolean;
|
|
@@ -4250,6 +4386,11 @@ export type ReloadExtensionRequest = {
|
|
|
4250
4386
|
confirm_gateway_digest?: string;
|
|
4251
4387
|
generation_hash: string;
|
|
4252
4388
|
};
|
|
4389
|
+
export type RemoveDiscoveredWorktreeRequest = {
|
|
4390
|
+
expect_stale?: boolean;
|
|
4391
|
+
force?: boolean;
|
|
4392
|
+
path: string;
|
|
4393
|
+
};
|
|
4253
4394
|
export type RenameProfilePlan = {
|
|
4254
4395
|
dormant_placements: Array<ProfilePlacement>;
|
|
4255
4396
|
machine_folders: Array<string>;
|
|
@@ -4552,6 +4693,7 @@ export type RunOutcome = {
|
|
|
4552
4693
|
};
|
|
4553
4694
|
export type RunPayload = {
|
|
4554
4695
|
attempt: number;
|
|
4696
|
+
attribution: string;
|
|
4555
4697
|
delivery_error?: string;
|
|
4556
4698
|
delivery_error_at?: string | null;
|
|
4557
4699
|
ended_at?: string | null;
|
|
@@ -4574,6 +4716,7 @@ export type RunPayload = {
|
|
|
4574
4716
|
task_id?: string;
|
|
4575
4717
|
task_run_id?: string;
|
|
4576
4718
|
trigger_id?: string;
|
|
4719
|
+
workspace_id?: string | null;
|
|
4577
4720
|
};
|
|
4578
4721
|
export type RunResponse = {
|
|
4579
4722
|
run: RunPayload;
|
|
@@ -4655,6 +4798,7 @@ export type RunWorktreeExitActionRequest = {
|
|
|
4655
4798
|
title?: string;
|
|
4656
4799
|
};
|
|
4657
4800
|
export type RunsResponse = {
|
|
4801
|
+
page?: CursorPagePayload | null;
|
|
4658
4802
|
runs: Array<RunPayload>;
|
|
4659
4803
|
};
|
|
4660
4804
|
export type RuntimeActivityPayload = {
|
|
@@ -4906,6 +5050,7 @@ export type SessionCatalogFacetsPayload = {
|
|
|
4906
5050
|
working: number;
|
|
4907
5051
|
};
|
|
4908
5052
|
export type SessionCatalogFacetsResponse = {
|
|
5053
|
+
by_profile: Array<SessionProfileFacetsPayload>;
|
|
4909
5054
|
by_workspace: Array<SessionWorkspaceFacetsPayload>;
|
|
4910
5055
|
facets: SessionCatalogFacetsPayload;
|
|
4911
5056
|
};
|
|
@@ -5306,6 +5451,30 @@ export type SessionLineagePayload = {
|
|
|
5306
5451
|
spawn_role?: string;
|
|
5307
5452
|
ttl_expires_at?: string | null;
|
|
5308
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
|
+
};
|
|
5309
5478
|
export type SessionOwner = {
|
|
5310
5479
|
session_id: string;
|
|
5311
5480
|
workspace_id: string;
|
|
@@ -5325,12 +5494,14 @@ export type SessionPayload = {
|
|
|
5325
5494
|
busy_input?: BusyInputState | null;
|
|
5326
5495
|
created_at: string;
|
|
5327
5496
|
derivation?: SessionDerivationPayload | null;
|
|
5497
|
+
effective_workspace_access: string;
|
|
5328
5498
|
escalated?: boolean | null;
|
|
5329
5499
|
failure?: SessionFailurePayload | null;
|
|
5330
5500
|
folder_id?: string;
|
|
5331
5501
|
health?: SessionHealthPayload | null;
|
|
5332
5502
|
id: string;
|
|
5333
5503
|
lineage?: SessionLineagePayload | null;
|
|
5504
|
+
monitor_summary?: SessionMonitorSummaryPayload | null;
|
|
5334
5505
|
name?: string;
|
|
5335
5506
|
pending_interactions: Array<PendingInteractionPayload>;
|
|
5336
5507
|
profile_archived?: boolean;
|
|
@@ -5342,6 +5513,7 @@ export type SessionPayload = {
|
|
|
5342
5513
|
queue?: SessionQueueSummaryPayload | null;
|
|
5343
5514
|
reply_watches?: Array<ReplyWatchPayload>;
|
|
5344
5515
|
runtime: SessionRuntimePayload;
|
|
5516
|
+
scope: string;
|
|
5345
5517
|
state: "starting" | "active" | "stopping" | "stopped";
|
|
5346
5518
|
stop_cause?: string;
|
|
5347
5519
|
stop_detail?: string;
|
|
@@ -5363,6 +5535,10 @@ export type SessionPresenceRequest = {
|
|
|
5363
5535
|
export type SessionPresenceResponse = {
|
|
5364
5536
|
lease_id: string;
|
|
5365
5537
|
};
|
|
5538
|
+
export type SessionProfileFacetsPayload = {
|
|
5539
|
+
facets: SessionCatalogFacetsPayload;
|
|
5540
|
+
profile_id: string;
|
|
5541
|
+
};
|
|
5366
5542
|
export type SessionPromptCancelResponse = {
|
|
5367
5543
|
outcome: string;
|
|
5368
5544
|
session_id: string;
|
|
@@ -5579,7 +5755,7 @@ export type SettingsApplyResponse = {
|
|
|
5579
5755
|
restart_required?: boolean;
|
|
5580
5756
|
restart_scope?: string;
|
|
5581
5757
|
scope?: "user" | "profile" | "workspace" | "agent";
|
|
5582
|
-
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";
|
|
5583
5759
|
skipped?: boolean;
|
|
5584
5760
|
skipped_reason?: string;
|
|
5585
5761
|
warnings?: Array<string>;
|
|
@@ -5597,7 +5773,7 @@ export type SettingsAttentionResponse = {
|
|
|
5597
5773
|
config: SettingsAttentionPayload;
|
|
5598
5774
|
profile?: string;
|
|
5599
5775
|
scope: "user" | "profile" | "workspace";
|
|
5600
|
-
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";
|
|
5601
5777
|
workspace_id?: string;
|
|
5602
5778
|
};
|
|
5603
5779
|
export type SettingsAutomationConfigPayload = {
|
|
@@ -5612,10 +5788,11 @@ export type SettingsAutomationResponse = {
|
|
|
5612
5788
|
links?: Array<SettingsOperationalLinkPayload>;
|
|
5613
5789
|
runtime: SettingsAutomationRuntimePayload;
|
|
5614
5790
|
scope: "user";
|
|
5615
|
-
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";
|
|
5616
5792
|
};
|
|
5617
5793
|
export type SettingsAutomationRuntimePayload = {
|
|
5618
5794
|
available: boolean;
|
|
5795
|
+
host_timezone?: string;
|
|
5619
5796
|
job_enabled: number;
|
|
5620
5797
|
job_total: number;
|
|
5621
5798
|
last_synced_at?: string | null;
|
|
@@ -5637,7 +5814,7 @@ export type SettingsCmdPaletteResponse = {
|
|
|
5637
5814
|
personalization: boolean;
|
|
5638
5815
|
profile?: string;
|
|
5639
5816
|
scope: "user" | "profile" | "workspace";
|
|
5640
|
-
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";
|
|
5641
5818
|
workspace_id?: string;
|
|
5642
5819
|
};
|
|
5643
5820
|
export type SettingsConfigPathsPayload = {
|
|
@@ -5752,7 +5929,7 @@ export type SettingsGeneralResponse = {
|
|
|
5752
5929
|
config_paths: SettingsConfigPathsPayload;
|
|
5753
5930
|
runtime: SettingsDaemonRuntimePayload;
|
|
5754
5931
|
scope: "user";
|
|
5755
|
-
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";
|
|
5756
5933
|
};
|
|
5757
5934
|
export type SettingsGlobalShortcutPayload = {
|
|
5758
5935
|
active_chord?: string;
|
|
@@ -5799,7 +5976,7 @@ export type SettingsHooksExtensionsResponse = {
|
|
|
5799
5976
|
hooks?: Array<SettingsHookItemPayload>;
|
|
5800
5977
|
installed?: Array<SettingsInstalledExtensionPayload>;
|
|
5801
5978
|
scope: "user";
|
|
5802
|
-
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";
|
|
5803
5980
|
transport_parity: SettingsTransportParityPayload;
|
|
5804
5981
|
};
|
|
5805
5982
|
export type SettingsHooksResponse = {
|
|
@@ -5984,7 +6161,7 @@ export type SettingsMarketplaceResponse = {
|
|
|
5984
6161
|
available_scopes: Array<"user">;
|
|
5985
6162
|
config: SettingsMarketplaceCatalogPayload;
|
|
5986
6163
|
scope: "user";
|
|
5987
|
-
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";
|
|
5988
6165
|
};
|
|
5989
6166
|
export type SettingsObservabilityConfigPayload = {
|
|
5990
6167
|
enabled: boolean;
|
|
@@ -5998,7 +6175,7 @@ export type SettingsObservabilityResponse = {
|
|
|
5998
6175
|
log_tail: SettingsLogTailCapabilityPayload;
|
|
5999
6176
|
runtime: SettingsObservabilityRuntimePayload;
|
|
6000
6177
|
scope: "user";
|
|
6001
|
-
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";
|
|
6002
6179
|
};
|
|
6003
6180
|
export type SettingsObservabilityRuntimePayload = {
|
|
6004
6181
|
active_agents: number;
|
|
@@ -6026,7 +6203,7 @@ export type SettingsPersonaResponse = {
|
|
|
6026
6203
|
config: SettingsDefaultsPayload;
|
|
6027
6204
|
profile?: string;
|
|
6028
6205
|
scope: "user" | "profile" | "workspace";
|
|
6029
|
-
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";
|
|
6030
6207
|
workspace_id?: string;
|
|
6031
6208
|
};
|
|
6032
6209
|
export type SettingsProviderAuthStatusPayload = {
|
|
@@ -6136,6 +6313,27 @@ export type SettingsProviderSettingsPayload = {
|
|
|
6136
6313
|
steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
|
|
6137
6314
|
transport?: string;
|
|
6138
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
|
+
};
|
|
6139
6337
|
export type SettingsProviderWritePayload = {
|
|
6140
6338
|
auth_acp_method?: string | null;
|
|
6141
6339
|
auth_login_command?: string | null;
|
|
@@ -6194,8 +6392,35 @@ export type SettingsRolesResponse = {
|
|
|
6194
6392
|
available_scopes: Array<"user" | "workspace">;
|
|
6195
6393
|
config: SettingsRolesConfigPayload;
|
|
6196
6394
|
scope: "user" | "workspace";
|
|
6197
|
-
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>;
|
|
6198
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";
|
|
6199
6424
|
};
|
|
6200
6425
|
export type SettingsShellPayload = {
|
|
6201
6426
|
sessions: SettingsShellSessionsPayload;
|
|
@@ -6203,12 +6428,15 @@ export type SettingsShellPayload = {
|
|
|
6203
6428
|
export type SettingsShellResponse = {
|
|
6204
6429
|
available_scopes: Array<"user">;
|
|
6205
6430
|
config: SettingsShellPayload;
|
|
6431
|
+
legacy_scope: SettingsShellLegacyScopePayload;
|
|
6206
6432
|
scope: "user";
|
|
6207
|
-
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>;
|
|
6208
6435
|
};
|
|
6209
6436
|
export type SettingsShellSessionsPayload = {
|
|
6210
|
-
|
|
6211
|
-
|
|
6437
|
+
group_by?: "none" | "project" | "profile";
|
|
6438
|
+
scope?: "workspace" | "all-workspaces";
|
|
6439
|
+
sort?: "created" | "name" | "last_activity" | "attention" | "manual";
|
|
6212
6440
|
};
|
|
6213
6441
|
export type SettingsSkillSourceCollisionPayload = {
|
|
6214
6442
|
name: string;
|
|
@@ -6281,7 +6509,7 @@ export type SettingsSkillsMutationResponse = {
|
|
|
6281
6509
|
restart_scope?: string;
|
|
6282
6510
|
runtime_available: boolean;
|
|
6283
6511
|
scope: "user" | "profile" | "workspace" | "agent";
|
|
6284
|
-
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";
|
|
6285
6513
|
skipped?: boolean;
|
|
6286
6514
|
skipped_reason?: string;
|
|
6287
6515
|
sources: Array<SettingsSkillSourcePayload>;
|
|
@@ -6305,7 +6533,7 @@ export type SettingsSkillsResponse = {
|
|
|
6305
6533
|
profile?: string;
|
|
6306
6534
|
runtime_available: boolean;
|
|
6307
6535
|
scope: "user" | "profile" | "workspace" | "agent";
|
|
6308
|
-
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";
|
|
6309
6537
|
sources: Array<SettingsSkillSourcePayload>;
|
|
6310
6538
|
workspace_id?: string;
|
|
6311
6539
|
};
|
|
@@ -6481,7 +6709,7 @@ export type SettingsWindowManagerMutationResponse = {
|
|
|
6481
6709
|
extension_defaults: Array<SettingsWindowManagerDefaultPayload>;
|
|
6482
6710
|
global_shortcuts: Array<SettingsGlobalShortcutPayload>;
|
|
6483
6711
|
scope: "user" | "workspace";
|
|
6484
|
-
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";
|
|
6485
6713
|
workspace_id?: string;
|
|
6486
6714
|
};
|
|
6487
6715
|
export type SettingsWindowManagerResponse = {
|
|
@@ -6501,7 +6729,7 @@ export type SettingsWindowManagerResponse = {
|
|
|
6501
6729
|
extension_defaults: Array<SettingsWindowManagerDefaultPayload>;
|
|
6502
6730
|
global_shortcuts: Array<SettingsGlobalShortcutPayload>;
|
|
6503
6731
|
scope: "user" | "workspace";
|
|
6504
|
-
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";
|
|
6505
6733
|
workspace_id?: string;
|
|
6506
6734
|
};
|
|
6507
6735
|
export type SettingsWindowManagerSnapPayload = {
|
|
@@ -6669,12 +6897,38 @@ export type SpawnBudgetPayload = {
|
|
|
6669
6897
|
max_depth: number;
|
|
6670
6898
|
ttl_seconds: number;
|
|
6671
6899
|
};
|
|
6900
|
+
export type SpawnNewWorktreeRequest = {
|
|
6901
|
+
base_ref?: string;
|
|
6902
|
+
branch?: string;
|
|
6903
|
+
name?: string;
|
|
6904
|
+
};
|
|
6672
6905
|
export type SpawnPermissionPolicyPayload = {
|
|
6673
6906
|
mcp_servers: Array<string>;
|
|
6674
6907
|
skills: Array<string>;
|
|
6675
6908
|
tools: Array<string>;
|
|
6676
6909
|
workspace_paths: Array<string>;
|
|
6677
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
|
+
};
|
|
6678
6932
|
export type StartBinding = {
|
|
6679
6933
|
input_mapping?: {
|
|
6680
6934
|
[key: string]: string;
|
|
@@ -7965,7 +8219,7 @@ export type ToolAvailabilityPayload = {
|
|
|
7965
8219
|
conflicted: boolean;
|
|
7966
8220
|
enabled: boolean;
|
|
7967
8221
|
executable: boolean;
|
|
7968
|
-
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">;
|
|
7969
8223
|
registered: boolean;
|
|
7970
8224
|
};
|
|
7971
8225
|
export type ToolBackendRefPayload = {
|
|
@@ -7990,7 +8244,7 @@ export type ToolCallEventPayload = {
|
|
|
7990
8244
|
kind: "tool.call_started" | "tool.call_completed" | "tool.call_failed" | "tool.call_denied" | "tool.result_truncated";
|
|
7991
8245
|
open_world: boolean;
|
|
7992
8246
|
read_only: boolean;
|
|
7993
|
-
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">;
|
|
7994
8248
|
redacted_input_fields?: Array<string>;
|
|
7995
8249
|
result_bytes?: number;
|
|
7996
8250
|
result_digest?: string;
|
|
@@ -8044,7 +8298,7 @@ export type ToolErrorPayload = {
|
|
|
8044
8298
|
layer?: string;
|
|
8045
8299
|
message: string;
|
|
8046
8300
|
partial_result?: ToolResult | null;
|
|
8047
|
-
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">;
|
|
8048
8302
|
tool_id?: string;
|
|
8049
8303
|
};
|
|
8050
8304
|
export type ToolErrorResponse = {
|
|
@@ -8080,7 +8334,7 @@ export type ToolPolicyDecisionPayload = {
|
|
|
8080
8334
|
availability_result?: string;
|
|
8081
8335
|
callable: boolean;
|
|
8082
8336
|
hook_result?: string;
|
|
8083
|
-
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">;
|
|
8084
8338
|
registry_policy_result?: string;
|
|
8085
8339
|
session_policy_result?: string;
|
|
8086
8340
|
source_policy_result?: string;
|
|
@@ -8128,7 +8382,7 @@ export type ToolsResponse = {
|
|
|
8128
8382
|
export type ToolsetPayload = {
|
|
8129
8383
|
expanded_tools?: Array<string>;
|
|
8130
8384
|
id: string;
|
|
8131
|
-
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">;
|
|
8132
8386
|
status: string;
|
|
8133
8387
|
tools?: Array<string>;
|
|
8134
8388
|
toolsets?: Array<string>;
|
|
@@ -9668,6 +9922,79 @@ export type CreateAgentResponses = {
|
|
|
9668
9922
|
201: AgentResponse;
|
|
9669
9923
|
};
|
|
9670
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];
|
|
9671
9998
|
export type ListAgentCatalogData = {
|
|
9672
9999
|
body?: never;
|
|
9673
10000
|
path?: never;
|
|
@@ -10838,11 +11165,19 @@ export type ListAutomationJobsData = {
|
|
|
10838
11165
|
/**
|
|
10839
11166
|
* Filter by automation scope
|
|
10840
11167
|
*/
|
|
10841
|
-
scope?: "global" | "workspace";
|
|
11168
|
+
scope?: "global" | "workspace" | "user" | "@user";
|
|
10842
11169
|
/**
|
|
10843
11170
|
* Filter by workspace id
|
|
10844
11171
|
*/
|
|
10845
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>;
|
|
10846
11181
|
/**
|
|
10847
11182
|
* Filter by job source
|
|
10848
11183
|
*/
|
|
@@ -11193,6 +11528,22 @@ export type ListAutomationRunsData = {
|
|
|
11193
11528
|
body?: never;
|
|
11194
11529
|
path?: never;
|
|
11195
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;
|
|
11196
11547
|
/**
|
|
11197
11548
|
* Filter by automation job id
|
|
11198
11549
|
*/
|
|
@@ -11292,42 +11643,95 @@ export type GetAutomationRunResponses = {
|
|
|
11292
11643
|
200: RunResponse;
|
|
11293
11644
|
};
|
|
11294
11645
|
export type GetAutomationRunResponse = GetAutomationRunResponses[keyof GetAutomationRunResponses];
|
|
11295
|
-
export type
|
|
11646
|
+
export type ListAutomationSuggestionsAggregateData = {
|
|
11296
11647
|
body?: never;
|
|
11297
11648
|
path?: never;
|
|
11298
11649
|
query?: {
|
|
11299
11650
|
/**
|
|
11300
|
-
*
|
|
11301
|
-
*/
|
|
11302
|
-
scope?: "global" | "workspace";
|
|
11303
|
-
/**
|
|
11304
|
-
* Filter by workspace id
|
|
11305
|
-
*/
|
|
11306
|
-
workspace_id?: string;
|
|
11307
|
-
/**
|
|
11308
|
-
* Filter by trigger source
|
|
11309
|
-
*/
|
|
11310
|
-
source?: "config" | "package" | "dynamic";
|
|
11311
|
-
/**
|
|
11312
|
-
* Filter by target kind; task matches no trigger
|
|
11313
|
-
*/
|
|
11314
|
-
target?: "agent" | "loop" | "task";
|
|
11315
|
-
/**
|
|
11316
|
-
* Filter by enabled state
|
|
11317
|
-
*/
|
|
11318
|
-
enabled?: boolean;
|
|
11319
|
-
/**
|
|
11320
|
-
* Filter by trigger event
|
|
11651
|
+
* Read all projects and User rows
|
|
11321
11652
|
*/
|
|
11322
|
-
|
|
11653
|
+
all_workspaces?: boolean;
|
|
11323
11654
|
/**
|
|
11324
|
-
*
|
|
11655
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
11325
11656
|
*/
|
|
11326
|
-
|
|
11657
|
+
workspace_ids?: Array<string>;
|
|
11327
11658
|
/**
|
|
11328
|
-
*
|
|
11659
|
+
* Filter by suggestion status
|
|
11329
11660
|
*/
|
|
11330
|
-
|
|
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;
|
|
11331
11735
|
/**
|
|
11332
11736
|
* Maximum number of records to return
|
|
11333
11737
|
*/
|
|
@@ -13720,6 +14124,221 @@ export type ListLogsResponses = {
|
|
|
13720
14124
|
200: LogsListResponse;
|
|
13721
14125
|
};
|
|
13722
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];
|
|
13723
14342
|
export type ListMarketplaceData = {
|
|
13724
14343
|
body?: never;
|
|
13725
14344
|
path?: never;
|
|
@@ -14465,6 +15084,10 @@ export type ListAttentionNotificationsData = {
|
|
|
14465
15084
|
* Home workspace scope; empty selects global tasks
|
|
14466
15085
|
*/
|
|
14467
15086
|
workspace?: string;
|
|
15087
|
+
/**
|
|
15088
|
+
* Every project's tasks, matching an All projects Home overview
|
|
15089
|
+
*/
|
|
15090
|
+
all_workspaces?: boolean;
|
|
14468
15091
|
/**
|
|
14469
15092
|
* Read one profile's rows by name
|
|
14470
15093
|
*/
|
|
@@ -14517,6 +15140,10 @@ export type AcknowledgeAttentionNotificationsData = {
|
|
|
14517
15140
|
* Home workspace scope; empty selects global tasks
|
|
14518
15141
|
*/
|
|
14519
15142
|
workspace?: string;
|
|
15143
|
+
/**
|
|
15144
|
+
* Every project's tasks, matching an All projects Home overview
|
|
15145
|
+
*/
|
|
15146
|
+
all_workspaces?: boolean;
|
|
14520
15147
|
/**
|
|
14521
15148
|
* Read one profile's rows by name
|
|
14522
15149
|
*/
|
|
@@ -14566,6 +15193,10 @@ export type GetObserveOverviewData = {
|
|
|
14566
15193
|
body?: never;
|
|
14567
15194
|
path?: never;
|
|
14568
15195
|
query?: {
|
|
15196
|
+
/**
|
|
15197
|
+
* Read every project and User within the profile lens; conflicts with workspace
|
|
15198
|
+
*/
|
|
15199
|
+
all_workspaces?: boolean;
|
|
14569
15200
|
/**
|
|
14570
15201
|
* Profile owning acknowledgement receipts, including aggregate reads
|
|
14571
15202
|
*/
|
|
@@ -14590,6 +15221,14 @@ export type GetObserveOverviewData = {
|
|
|
14590
15221
|
url: "/api/observe/overview";
|
|
14591
15222
|
};
|
|
14592
15223
|
export type GetObserveOverviewErrors = {
|
|
15224
|
+
/**
|
|
15225
|
+
* Invalid workspace breadth
|
|
15226
|
+
*/
|
|
15227
|
+
400: ErrorPayload;
|
|
15228
|
+
/**
|
|
15229
|
+
* Agent aggregate access denied
|
|
15230
|
+
*/
|
|
15231
|
+
403: ErrorPayload;
|
|
14593
15232
|
/**
|
|
14594
15233
|
* Workspace not found
|
|
14595
15234
|
*/
|
|
@@ -14619,10 +15258,18 @@ export type GetTaskDashboardData = {
|
|
|
14619
15258
|
body?: never;
|
|
14620
15259
|
path?: never;
|
|
14621
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>;
|
|
14622
15269
|
/**
|
|
14623
15270
|
* Filter by task scope
|
|
14624
15271
|
*/
|
|
14625
|
-
scope?: "global" | "workspace";
|
|
15272
|
+
scope?: "global" | "workspace" | "user" | "@user";
|
|
14626
15273
|
/**
|
|
14627
15274
|
* Filter by workspace path, name, or ID
|
|
14628
15275
|
*/
|
|
@@ -14655,6 +15302,14 @@ export type GetTaskDashboardData = {
|
|
|
14655
15302
|
url: "/api/observe/tasks/dashboard";
|
|
14656
15303
|
};
|
|
14657
15304
|
export type GetTaskDashboardErrors = {
|
|
15305
|
+
/**
|
|
15306
|
+
* Invalid workspace breadth
|
|
15307
|
+
*/
|
|
15308
|
+
400: ErrorPayload;
|
|
15309
|
+
/**
|
|
15310
|
+
* Agent aggregate access denied
|
|
15311
|
+
*/
|
|
15312
|
+
403: ErrorPayload;
|
|
14658
15313
|
/**
|
|
14659
15314
|
* Workspace not found
|
|
14660
15315
|
*/
|
|
@@ -14687,11 +15342,19 @@ export type GetTaskInboxData = {
|
|
|
14687
15342
|
/**
|
|
14688
15343
|
* Filter by task scope
|
|
14689
15344
|
*/
|
|
14690
|
-
scope?: "global" | "workspace";
|
|
15345
|
+
scope?: "global" | "workspace" | "user" | "@user";
|
|
14691
15346
|
/**
|
|
14692
15347
|
* Filter by workspace path, name, or ID
|
|
14693
15348
|
*/
|
|
14694
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>;
|
|
14695
15358
|
/**
|
|
14696
15359
|
* Filter by active run worktree ID
|
|
14697
15360
|
*/
|
|
@@ -15510,6 +16173,144 @@ export type UnarchiveProfileResponses = {
|
|
|
15510
16173
|
200: UnarchiveProfileResponse;
|
|
15511
16174
|
};
|
|
15512
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];
|
|
15513
16314
|
export type ListProvidersData = {
|
|
15514
16315
|
body?: never;
|
|
15515
16316
|
path?: never;
|
|
@@ -16344,7 +17145,7 @@ export type GetSchedulerBacklogData = {
|
|
|
16344
17145
|
/**
|
|
16345
17146
|
* Filter by catalog visibility
|
|
16346
17147
|
*/
|
|
16347
|
-
scope?: "all" | "global" | "workspace";
|
|
17148
|
+
scope?: "all" | "global" | "workspace" | "user" | "@user";
|
|
16348
17149
|
/**
|
|
16349
17150
|
* Filter by workspace path, name, or ID
|
|
16350
17151
|
*/
|
|
@@ -16502,7 +17303,11 @@ export type ListSessionsData = {
|
|
|
16502
17303
|
/**
|
|
16503
17304
|
* Use the explicit all-workspaces aggregate
|
|
16504
17305
|
*/
|
|
16505
|
-
all_workspaces?: boolean;
|
|
17306
|
+
all_workspaces?: boolean;
|
|
17307
|
+
/**
|
|
17308
|
+
* Project IDs or @user; repeatable, requires all_workspaces
|
|
17309
|
+
*/
|
|
17310
|
+
workspace_ids?: Array<string>;
|
|
16506
17311
|
/**
|
|
16507
17312
|
* Include metadata-only health for returned sessions
|
|
16508
17313
|
*/
|
|
@@ -16700,6 +17505,10 @@ export type ListSessionFacetsData = {
|
|
|
16700
17505
|
* Use the explicit all-workspaces aggregate
|
|
16701
17506
|
*/
|
|
16702
17507
|
all_workspaces?: boolean;
|
|
17508
|
+
/**
|
|
17509
|
+
* Project IDs or @user; repeatable, requires all_workspaces
|
|
17510
|
+
*/
|
|
17511
|
+
workspace_ids?: Array<string>;
|
|
16703
17512
|
/**
|
|
16704
17513
|
* Filter by bound worktree id
|
|
16705
17514
|
*/
|
|
@@ -18416,6 +19225,70 @@ export type UpdateSettingsPersonaResponses = {
|
|
|
18416
19225
|
200: SettingsApplyResponse;
|
|
18417
19226
|
};
|
|
18418
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 = {
|
|
19235
|
+
/**
|
|
19236
|
+
* Internal server error
|
|
19237
|
+
*/
|
|
19238
|
+
500: ErrorPayload;
|
|
19239
|
+
};
|
|
19240
|
+
export type GetSettingsProviderUsageError = GetSettingsProviderUsageErrors[keyof GetSettingsProviderUsageErrors];
|
|
19241
|
+
export type GetSettingsProviderUsageResponses = {
|
|
19242
|
+
/**
|
|
19243
|
+
* OK
|
|
19244
|
+
*/
|
|
19245
|
+
200: SettingsProviderUsageResponse;
|
|
19246
|
+
};
|
|
19247
|
+
export type GetSettingsProviderUsageResponse = GetSettingsProviderUsageResponses[keyof GetSettingsProviderUsageResponses];
|
|
19248
|
+
export type UpdateSettingsProviderUsageData = {
|
|
19249
|
+
/**
|
|
19250
|
+
* JSON request body
|
|
19251
|
+
*/
|
|
19252
|
+
body: SettingsProviderUsageUpdateRequest;
|
|
19253
|
+
path?: never;
|
|
19254
|
+
query?: {
|
|
19255
|
+
/**
|
|
19256
|
+
* Collection profile name or ID for local Keychain consent; independent of user config scope; defaults to default
|
|
19257
|
+
*/
|
|
19258
|
+
collection_profile?: string;
|
|
19259
|
+
};
|
|
19260
|
+
url: "/api/settings/provider-usage";
|
|
19261
|
+
};
|
|
19262
|
+
export type UpdateSettingsProviderUsageErrors = {
|
|
19263
|
+
/**
|
|
19264
|
+
* Invalid settings payload
|
|
19265
|
+
*/
|
|
19266
|
+
400: ErrorPayload | ProfileErrorPayload;
|
|
19267
|
+
/**
|
|
19268
|
+
* Forbidden
|
|
19269
|
+
*/
|
|
19270
|
+
403: ErrorPayload;
|
|
19271
|
+
/**
|
|
19272
|
+
* Collection profile not found
|
|
19273
|
+
*/
|
|
19274
|
+
404: ProfileErrorPayload;
|
|
19275
|
+
/**
|
|
19276
|
+
* Conflicting settings change
|
|
19277
|
+
*/
|
|
19278
|
+
409: ErrorPayload | ProfileErrorPayload;
|
|
19279
|
+
/**
|
|
19280
|
+
* Internal server error
|
|
19281
|
+
*/
|
|
19282
|
+
500: ErrorPayload;
|
|
19283
|
+
};
|
|
19284
|
+
export type UpdateSettingsProviderUsageError = UpdateSettingsProviderUsageErrors[keyof UpdateSettingsProviderUsageErrors];
|
|
19285
|
+
export type UpdateSettingsProviderUsageResponses = {
|
|
19286
|
+
/**
|
|
19287
|
+
* OK
|
|
19288
|
+
*/
|
|
19289
|
+
200: SettingsApplyResponse;
|
|
19290
|
+
};
|
|
19291
|
+
export type UpdateSettingsProviderUsageResponse = UpdateSettingsProviderUsageResponses[keyof UpdateSettingsProviderUsageResponses];
|
|
18419
19292
|
export type ListSettingsProvidersData = {
|
|
18420
19293
|
body?: never;
|
|
18421
19294
|
path?: never;
|
|
@@ -18673,7 +19546,7 @@ export type UpdateSettingsShellResponses = {
|
|
|
18673
19546
|
/**
|
|
18674
19547
|
* OK
|
|
18675
19548
|
*/
|
|
18676
|
-
200:
|
|
19549
|
+
200: SettingsShellMutationResponse;
|
|
18677
19550
|
};
|
|
18678
19551
|
export type UpdateSettingsShellResponse = UpdateSettingsShellResponses[keyof UpdateSettingsShellResponses];
|
|
18679
19552
|
export type GetSettingsSkillsData = {
|
|
@@ -20071,10 +20944,18 @@ export type ListTasksData = {
|
|
|
20071
20944
|
body?: never;
|
|
20072
20945
|
path?: never;
|
|
20073
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>;
|
|
20074
20955
|
/**
|
|
20075
20956
|
* Filter by catalog visibility
|
|
20076
20957
|
*/
|
|
20077
|
-
scope?: "all" | "global" | "workspace";
|
|
20958
|
+
scope?: "all" | "global" | "workspace" | "user" | "@user";
|
|
20078
20959
|
/**
|
|
20079
20960
|
* Filter by workspace path, name, or ID
|
|
20080
20961
|
*/
|
|
@@ -20151,6 +21032,10 @@ export type ListTasksErrors = {
|
|
|
20151
21032
|
* Invalid task filter or cursor
|
|
20152
21033
|
*/
|
|
20153
21034
|
400: TaskQueryErrorPayload;
|
|
21035
|
+
/**
|
|
21036
|
+
* Agent aggregate access denied
|
|
21037
|
+
*/
|
|
21038
|
+
403: ErrorPayload;
|
|
20154
21039
|
/**
|
|
20155
21040
|
* Workspace not found
|
|
20156
21041
|
*/
|
|
@@ -21742,6 +22627,67 @@ export type MarkTaskReadResponses = {
|
|
|
21742
22627
|
200: TaskTriageStateResponse;
|
|
21743
22628
|
};
|
|
21744
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];
|
|
21745
22691
|
export type ListToolApprovalGrantsData = {
|
|
21746
22692
|
body?: never;
|
|
21747
22693
|
path?: never;
|
|
@@ -25623,6 +26569,10 @@ export type ListWorkspaceSessionsData = {
|
|
|
25623
26569
|
workspace_id: string;
|
|
25624
26570
|
};
|
|
25625
26571
|
query?: {
|
|
26572
|
+
/**
|
|
26573
|
+
* Project IDs or @user; repeatable, requires all_workspaces
|
|
26574
|
+
*/
|
|
26575
|
+
workspace_ids?: Array<string>;
|
|
25626
26576
|
/**
|
|
25627
26577
|
* Include metadata-only health for returned sessions
|
|
25628
26578
|
*/
|
|
@@ -26928,6 +27878,84 @@ export type ListSessionInteractionsResponses = {
|
|
|
26928
27878
|
200: SessionInteractionsResponse;
|
|
26929
27879
|
};
|
|
26930
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];
|
|
26931
27959
|
export type MoveSessionData = {
|
|
26932
27960
|
/**
|
|
26933
27961
|
* JSON request body
|
|
@@ -29478,6 +30506,10 @@ export type RegisterWindowManagerClientData = {
|
|
|
29478
30506
|
url: "/api/workspaces/{workspace_id}/window-manager/clients";
|
|
29479
30507
|
};
|
|
29480
30508
|
export type RegisterWindowManagerClientErrors = {
|
|
30509
|
+
/**
|
|
30510
|
+
* Invalid window workspace binding
|
|
30511
|
+
*/
|
|
30512
|
+
400: ContractWindowManagerErrorPayload;
|
|
29481
30513
|
/**
|
|
29482
30514
|
* Workspace or referenced entity not found
|
|
29483
30515
|
*/
|
|
@@ -29524,6 +30556,10 @@ export type UnregisterWindowManagerClientData = {
|
|
|
29524
30556
|
url: "/api/workspaces/{workspace_id}/window-manager/clients/{client_id}";
|
|
29525
30557
|
};
|
|
29526
30558
|
export type UnregisterWindowManagerClientErrors = {
|
|
30559
|
+
/**
|
|
30560
|
+
* Invalid window workspace binding
|
|
30561
|
+
*/
|
|
30562
|
+
400: ContractWindowManagerErrorPayload;
|
|
29527
30563
|
/**
|
|
29528
30564
|
* Workspace or referenced entity not found
|
|
29529
30565
|
*/
|
|
@@ -29569,6 +30605,10 @@ export type ExecuteWindowManagerCommandData = {
|
|
|
29569
30605
|
url: "/api/workspaces/{workspace_id}/window-manager/commands";
|
|
29570
30606
|
};
|
|
29571
30607
|
export type ExecuteWindowManagerCommandErrors = {
|
|
30608
|
+
/**
|
|
30609
|
+
* Invalid window workspace binding
|
|
30610
|
+
*/
|
|
30611
|
+
400: ContractWindowManagerErrorPayload;
|
|
29572
30612
|
/**
|
|
29573
30613
|
* Workspace or referenced entity not found
|
|
29574
30614
|
*/
|
|
@@ -29648,6 +30688,10 @@ export type ReplaceWindowManagerLayoutData = {
|
|
|
29648
30688
|
url: "/api/workspaces/{workspace_id}/window-manager/layout";
|
|
29649
30689
|
};
|
|
29650
30690
|
export type ReplaceWindowManagerLayoutErrors = {
|
|
30691
|
+
/**
|
|
30692
|
+
* Invalid window workspace binding
|
|
30693
|
+
*/
|
|
30694
|
+
400: ContractWindowManagerErrorPayload;
|
|
29651
30695
|
/**
|
|
29652
30696
|
* Workspace or referenced entity not found
|
|
29653
30697
|
*/
|
|
@@ -29869,6 +30913,10 @@ export type ValidateWindowManagerLayoutData = {
|
|
|
29869
30913
|
url: "/api/workspaces/{workspace_id}/window-manager/layout/validate";
|
|
29870
30914
|
};
|
|
29871
30915
|
export type ValidateWindowManagerLayoutErrors = {
|
|
30916
|
+
/**
|
|
30917
|
+
* Invalid window workspace binding
|
|
30918
|
+
*/
|
|
30919
|
+
400: ContractWindowManagerErrorPayload;
|
|
29872
30920
|
/**
|
|
29873
30921
|
* Workspace or referenced entity not found
|
|
29874
30922
|
*/
|
|
@@ -29914,6 +30962,10 @@ export type PreviewWindowManagerCommandData = {
|
|
|
29914
30962
|
url: "/api/workspaces/{workspace_id}/window-manager/preview";
|
|
29915
30963
|
};
|
|
29916
30964
|
export type PreviewWindowManagerCommandErrors = {
|
|
30965
|
+
/**
|
|
30966
|
+
* Invalid window workspace binding
|
|
30967
|
+
*/
|
|
30968
|
+
400: ContractWindowManagerErrorPayload;
|
|
29917
30969
|
/**
|
|
29918
30970
|
* Workspace or referenced entity not found
|
|
29919
30971
|
*/
|
|
@@ -30095,6 +31147,59 @@ export type AdoptWorktreeResponses = {
|
|
|
30095
31147
|
200: WorktreeResponse;
|
|
30096
31148
|
};
|
|
30097
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];
|
|
30098
31203
|
export type RemoveWorktreeData = {
|
|
30099
31204
|
body?: never;
|
|
30100
31205
|
path: {
|
|
@@ -30529,4 +31634,45 @@ export type GetWorktreeStatusResponses = {
|
|
|
30529
31634
|
200: WorktreeStatusResponse;
|
|
30530
31635
|
};
|
|
30531
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];
|
|
30532
31678
|
//# sourceMappingURL=types.gen.d.ts.map
|