@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.
@@ -243,6 +243,23 @@ export interface paths {
243
243
  patch?: never;
244
244
  trace?: never;
245
245
  };
246
+ "/api/agents/aggregate": {
247
+ parameters: {
248
+ query?: never;
249
+ header?: never;
250
+ path?: never;
251
+ cookie?: never;
252
+ };
253
+ /** List a filtered agent fleet with exact session metrics */
254
+ get: operations["listAgentsAggregate"];
255
+ put?: never;
256
+ post?: never;
257
+ delete?: never;
258
+ options?: never;
259
+ head?: never;
260
+ patch?: never;
261
+ trace?: never;
262
+ };
246
263
  "/api/agents/catalog": {
247
264
  parameters: {
248
265
  query?: never;
@@ -611,6 +628,23 @@ export interface paths {
611
628
  patch?: never;
612
629
  trace?: never;
613
630
  };
631
+ "/api/automation/suggestions": {
632
+ parameters: {
633
+ query?: never;
634
+ header?: never;
635
+ path?: never;
636
+ cookie?: never;
637
+ };
638
+ /** List consent-first automation suggestions for one workspace */
639
+ get: operations["listAutomationSuggestionsAggregate"];
640
+ put?: never;
641
+ post?: never;
642
+ delete?: never;
643
+ options?: never;
644
+ head?: never;
645
+ patch?: never;
646
+ trace?: never;
647
+ };
614
648
  "/api/automation/triggers": {
615
649
  parameters: {
616
650
  query?: never;
@@ -1472,6 +1506,57 @@ export interface paths {
1472
1506
  patch?: never;
1473
1507
  trace?: never;
1474
1508
  };
1509
+ "/api/loop-requests": {
1510
+ parameters: {
1511
+ query?: never;
1512
+ header?: never;
1513
+ path?: never;
1514
+ cookie?: never;
1515
+ };
1516
+ /** List Loop human requests */
1517
+ get: operations["listLoopRequestsAggregate"];
1518
+ put?: never;
1519
+ post?: never;
1520
+ delete?: never;
1521
+ options?: never;
1522
+ head?: never;
1523
+ patch?: never;
1524
+ trace?: never;
1525
+ };
1526
+ "/api/loop-runs": {
1527
+ parameters: {
1528
+ query?: never;
1529
+ header?: never;
1530
+ path?: never;
1531
+ cookie?: never;
1532
+ };
1533
+ /** List Loop runs */
1534
+ get: operations["listLoopRunsAggregate"];
1535
+ put?: never;
1536
+ post?: never;
1537
+ delete?: never;
1538
+ options?: never;
1539
+ head?: never;
1540
+ patch?: never;
1541
+ trace?: never;
1542
+ };
1543
+ "/api/loops": {
1544
+ parameters: {
1545
+ query?: never;
1546
+ header?: never;
1547
+ path?: never;
1548
+ cookie?: never;
1549
+ };
1550
+ /** List Loop catalog entries */
1551
+ get: operations["listLoopsAggregate"];
1552
+ put?: never;
1553
+ post?: never;
1554
+ delete?: never;
1555
+ options?: never;
1556
+ head?: never;
1557
+ patch?: never;
1558
+ trace?: never;
1559
+ };
1475
1560
  "/api/marketplace": {
1476
1561
  parameters: {
1477
1562
  query?: never;
@@ -2057,6 +2142,74 @@ export interface paths {
2057
2142
  patch?: never;
2058
2143
  trace?: never;
2059
2144
  };
2145
+ "/api/provider-usage": {
2146
+ parameters: {
2147
+ query?: never;
2148
+ header?: never;
2149
+ path?: never;
2150
+ cookie?: never;
2151
+ };
2152
+ /** Read cached provider usage (experimental) */
2153
+ get: operations["listProviderUsage"];
2154
+ put?: never;
2155
+ post?: never;
2156
+ delete?: never;
2157
+ options?: never;
2158
+ head?: never;
2159
+ patch?: never;
2160
+ trace?: never;
2161
+ };
2162
+ "/api/provider-usage/providers/{provider_id}": {
2163
+ parameters: {
2164
+ query?: never;
2165
+ header?: never;
2166
+ path?: never;
2167
+ cookie?: never;
2168
+ };
2169
+ /** Read cached provider usage (experimental) */
2170
+ get: operations["getProviderUsage"];
2171
+ put?: never;
2172
+ post?: never;
2173
+ delete?: never;
2174
+ options?: never;
2175
+ head?: never;
2176
+ patch?: never;
2177
+ trace?: never;
2178
+ };
2179
+ "/api/provider-usage/refresh": {
2180
+ parameters: {
2181
+ query?: never;
2182
+ header?: never;
2183
+ path?: never;
2184
+ cookie?: never;
2185
+ };
2186
+ get?: never;
2187
+ put?: never;
2188
+ /** Refresh provider usage (experimental) */
2189
+ post: operations["refreshProviderUsage"];
2190
+ delete?: never;
2191
+ options?: never;
2192
+ head?: never;
2193
+ patch?: never;
2194
+ trace?: never;
2195
+ };
2196
+ "/api/provider-usage/stream": {
2197
+ parameters: {
2198
+ query?: never;
2199
+ header?: never;
2200
+ path?: never;
2201
+ cookie?: never;
2202
+ };
2203
+ /** Stream provider usage invalidations (experimental) */
2204
+ get: operations["streamProviderUsage"];
2205
+ put?: never;
2206
+ post?: never;
2207
+ delete?: never;
2208
+ options?: never;
2209
+ head?: never;
2210
+ patch?: never;
2211
+ trace?: never;
2212
+ };
2060
2213
  "/api/providers": {
2061
2214
  parameters: {
2062
2215
  query?: never;
@@ -2972,6 +3125,24 @@ export interface paths {
2972
3125
  patch: operations["updateSettingsPersona"];
2973
3126
  trace?: never;
2974
3127
  };
3128
+ "/api/settings/provider-usage": {
3129
+ parameters: {
3130
+ query?: never;
3131
+ header?: never;
3132
+ path?: never;
3133
+ cookie?: never;
3134
+ };
3135
+ /** Read the provider usage settings section */
3136
+ get: operations["getSettingsProviderUsage"];
3137
+ put?: never;
3138
+ post?: never;
3139
+ delete?: never;
3140
+ options?: never;
3141
+ head?: never;
3142
+ /** Update the provider usage settings section */
3143
+ patch: operations["updateSettingsProviderUsage"];
3144
+ trace?: never;
3145
+ };
2975
3146
  "/api/settings/providers": {
2976
3147
  parameters: {
2977
3148
  query?: never;
@@ -4023,6 +4194,40 @@ export interface paths {
4023
4194
  patch?: never;
4024
4195
  trace?: never;
4025
4196
  };
4197
+ "/api/terminals": {
4198
+ parameters: {
4199
+ query?: never;
4200
+ header?: never;
4201
+ path?: never;
4202
+ cookie?: never;
4203
+ };
4204
+ /** List workspace terminals */
4205
+ get: operations["listTerminalsAggregate"];
4206
+ put?: never;
4207
+ post?: never;
4208
+ delete?: never;
4209
+ options?: never;
4210
+ head?: never;
4211
+ patch?: never;
4212
+ trace?: never;
4213
+ };
4214
+ "/api/terminals/catalog-stream": {
4215
+ parameters: {
4216
+ query?: never;
4217
+ header?: never;
4218
+ path?: never;
4219
+ cookie?: never;
4220
+ };
4221
+ /** Stream one profile-scoped terminal catalog */
4222
+ get: operations["streamTerminalsAggregate"];
4223
+ put?: never;
4224
+ post?: never;
4225
+ delete?: never;
4226
+ options?: never;
4227
+ head?: never;
4228
+ patch?: never;
4229
+ trace?: never;
4230
+ };
4026
4231
  "/api/tool-approval-grants": {
4027
4232
  parameters: {
4028
4233
  query?: never;
@@ -5436,6 +5641,40 @@ export interface paths {
5436
5641
  patch?: never;
5437
5642
  trace?: never;
5438
5643
  };
5644
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors": {
5645
+ parameters: {
5646
+ query?: never;
5647
+ header?: never;
5648
+ path?: never;
5649
+ cookie?: never;
5650
+ };
5651
+ /** List a session's monitors */
5652
+ get: operations["listSessionMonitors"];
5653
+ put?: never;
5654
+ post?: never;
5655
+ delete?: never;
5656
+ options?: never;
5657
+ head?: never;
5658
+ patch?: never;
5659
+ trace?: never;
5660
+ };
5661
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors/{monitor_id}/cancel": {
5662
+ parameters: {
5663
+ query?: never;
5664
+ header?: never;
5665
+ path?: never;
5666
+ cookie?: never;
5667
+ };
5668
+ get?: never;
5669
+ put?: never;
5670
+ /** Cancel a session monitor without waking the session */
5671
+ post: operations["cancelSessionMonitor"];
5672
+ delete?: never;
5673
+ options?: never;
5674
+ head?: never;
5675
+ patch?: never;
5676
+ trace?: never;
5677
+ };
5439
5678
  "/api/workspaces/{workspace_id}/sessions/{session_id}/move": {
5440
5679
  parameters: {
5441
5680
  query?: never;
@@ -6431,6 +6670,23 @@ export interface paths {
6431
6670
  patch?: never;
6432
6671
  trace?: never;
6433
6672
  };
6673
+ "/api/workspaces/{workspace_id}/worktrees/discovered/remove": {
6674
+ parameters: {
6675
+ query?: never;
6676
+ header?: never;
6677
+ path?: never;
6678
+ cookie?: never;
6679
+ };
6680
+ get?: never;
6681
+ put?: never;
6682
+ /** Remove a discovered worktree */
6683
+ post: operations["removeDiscoveredWorktree"];
6684
+ delete?: never;
6685
+ options?: never;
6686
+ head?: never;
6687
+ patch?: never;
6688
+ trace?: never;
6689
+ };
6434
6690
  "/api/workspaces/{workspace_id}/worktrees/{worktree_id}": {
6435
6691
  parameters: {
6436
6692
  query?: never;
@@ -6568,6 +6824,23 @@ export interface paths {
6568
6824
  patch?: never;
6569
6825
  trace?: never;
6570
6826
  };
6827
+ "/api/worktrees": {
6828
+ parameters: {
6829
+ query?: never;
6830
+ header?: never;
6831
+ path?: never;
6832
+ cookie?: never;
6833
+ };
6834
+ /** List registered and discovered worktrees */
6835
+ get: operations["listWorktreesAggregate"];
6836
+ put?: never;
6837
+ post?: never;
6838
+ delete?: never;
6839
+ options?: never;
6840
+ head?: never;
6841
+ patch?: never;
6842
+ trace?: never;
6843
+ };
6571
6844
  "/api/worktrees/catalog-stream": {
6572
6845
  parameters: {
6573
6846
  query?: never;
@@ -6815,6 +7088,7 @@ export interface components {
6815
7088
  speed?: "normal" | "fast";
6816
7089
  tools?: string[];
6817
7090
  toolsets?: string[];
7091
+ workspace_access?: string;
6818
7092
  workspace_id?: string;
6819
7093
  };
6820
7094
  AgentProbeHealthPayload: {
@@ -6963,26 +7237,33 @@ export interface components {
6963
7237
  AgentSpawnPayload: {
6964
7238
  lineage: components["schemas"]["SessionLineagePayload"];
6965
7239
  permissions: components["schemas"]["SpawnPermissionPolicyPayload"];
7240
+ prompt?: components["schemas"]["SpawnPromptPayload"] | null;
6966
7241
  session: components["schemas"]["SessionPayload"];
7242
+ worktree?: components["schemas"]["SpawnWorktreePayload"] | null;
6967
7243
  };
6968
7244
  AgentSpawnRequest: {
6969
7245
  acp_options?: components["schemas"]["AgentACPOptionSelection"][];
6970
7246
  agent_name: string;
6971
7247
  auto_stop_on_parent: boolean;
6972
7248
  idempotency_key?: string;
7249
+ inherit_permissions?: boolean;
6973
7250
  model?: string;
6974
7251
  name?: string;
7252
+ new_worktree?: components["schemas"]["SpawnNewWorktreeRequest"] | null;
6975
7253
  notify_creator?: boolean | null;
6976
- permissions: components["schemas"]["SpawnPermissionPolicyPayload"];
7254
+ permissions: components["schemas"]["SpawnPermissionRequestPayload"];
7255
+ prompt?: string;
6977
7256
  prompt_overlay?: string;
6978
7257
  provider?: string;
6979
7258
  reasoning_effort?: string;
6980
7259
  spawn_role: string;
6981
7260
  /** @enum {string} */
6982
7261
  speed?: "normal" | "fast";
7262
+ toolsets?: string[];
6983
7263
  /** Format: int64 */
6984
7264
  ttl_seconds: number;
6985
7265
  workspace?: string;
7266
+ worktree?: string;
6986
7267
  };
6987
7268
  AgentSpawnResponse: {
6988
7269
  spawn: components["schemas"]["AgentSpawnPayload"];
@@ -7736,6 +8017,7 @@ export interface components {
7736
8017
  code:
7737
8018
  | "window_manager_workspace_not_found"
7738
8019
  | "window_manager_revision_conflict"
8020
+ | "window_binding_invalid"
7739
8021
  | "window_manager_invalid_command"
7740
8022
  | "window_manager_invalid_topology"
7741
8023
  | "window_manager_desktop_not_found"
@@ -7886,6 +8168,7 @@ export interface components {
7886
8168
  speed?: "normal" | "fast";
7887
8169
  tools?: string[];
7888
8170
  toolsets?: string[];
8171
+ workspace_access?: string;
7889
8172
  };
7890
8173
  CreateAgentRequest: {
7891
8174
  agent: components["schemas"]["CreateAgentPayload"];
@@ -7910,7 +8193,7 @@ export interface components {
7910
8193
  retry?: components["schemas"]["RetryConfig"] | null;
7911
8194
  schedule: components["schemas"]["ScheduleSpec"];
7912
8195
  /** @enum {string} */
7913
- scope: "global" | "workspace";
8196
+ scope: "global" | "workspace" | "user" | "@user";
7914
8197
  target_kind?: string;
7915
8198
  task?: components["schemas"]["JobTaskConfig"] | null;
7916
8199
  workspace_id?: string;
@@ -7936,6 +8219,7 @@ export interface components {
7936
8219
  name?: string;
7937
8220
  new_worktree?: components["schemas"]["NewSessionWorktreeRequest"] | null;
7938
8221
  parent_session_id?: string;
8222
+ scope?: string;
7939
8223
  workspace?: string;
7940
8224
  workspace_path?: string;
7941
8225
  worktree?: string;
@@ -7967,7 +8251,7 @@ export interface components {
7967
8251
  /** @enum {string} */
7968
8252
  priority?: "low" | "medium" | "high" | "urgent";
7969
8253
  /** @enum {string} */
7970
- scope: "global" | "workspace";
8254
+ scope: "global" | "workspace" | "user" | "@user";
7971
8255
  title: string;
7972
8256
  wake_creator?: boolean | null;
7973
8257
  workspace?: string;
@@ -7986,7 +8270,7 @@ export interface components {
7986
8270
  /** @enum {string} */
7987
8271
  priority?: "low" | "medium" | "high" | "urgent";
7988
8272
  /** @enum {string} */
7989
- scope: "global" | "workspace";
8273
+ scope: "global" | "workspace" | "user" | "@user";
7990
8274
  title: string;
7991
8275
  wake_creator?: boolean | null;
7992
8276
  workspace?: string;
@@ -8005,7 +8289,7 @@ export interface components {
8005
8289
  prompt: string;
8006
8290
  retry?: components["schemas"]["RetryConfig"] | null;
8007
8291
  /** @enum {string} */
8008
- scope: "global" | "workspace";
8292
+ scope: "global" | "workspace" | "user" | "@user";
8009
8293
  target_kind?: string;
8010
8294
  webhook_id?: string;
8011
8295
  webhook_secret_value?: string;
@@ -8024,6 +8308,11 @@ export interface components {
8024
8308
  name?: string;
8025
8309
  path?: string;
8026
8310
  };
8311
+ CursorPagePayload: {
8312
+ has_more: boolean;
8313
+ limit: number;
8314
+ next_cursor?: string;
8315
+ };
8027
8316
  DaemonIdentityPayload: {
8028
8317
  http_host: string;
8029
8318
  http_port: number;
@@ -8163,6 +8452,7 @@ export interface components {
8163
8452
  speed?: "normal" | "fast";
8164
8453
  tools?: string[];
8165
8454
  toolsets?: string[];
8455
+ workspace_access?: string;
8166
8456
  };
8167
8457
  DuplicateAgentRequest: {
8168
8458
  name: string;
@@ -9895,11 +10185,33 @@ export interface components {
9895
10185
  tokens: number;
9896
10186
  wall_clock_sec: number;
9897
10187
  };
10188
+ LoopCatalogAggregateEntryPayload: {
10189
+ aggregate_30d: components["schemas"]["LoopCatalogAggregatePayload"];
10190
+ catalog: components["schemas"]["LoopCatalogResourceSpec"];
10191
+ contract: components["schemas"]["LoopContract"];
10192
+ description?: string;
10193
+ inputs?: {
10194
+ [key: string]: components["schemas"]["LoopInput"];
10195
+ };
10196
+ last_run?: components["schemas"]["LoopCatalogLastRunPayload"] | null;
10197
+ name: string;
10198
+ source: components["schemas"]["LoopCatalogSourcePayload"];
10199
+ start?: components["schemas"]["LoopStartBinding"][];
10200
+ /** Format: double */
10201
+ success_rate_30d: number;
10202
+ version: number;
10203
+ workspace_id?: string;
10204
+ };
9898
10205
  LoopCatalogAggregatePayload: {
9899
10206
  failed: number;
9900
10207
  runs: number;
9901
10208
  succeeded: number;
9902
10209
  };
10210
+ LoopCatalogBatchResponse: {
10211
+ entries: components["schemas"]["LoopCatalogAggregateEntryPayload"][];
10212
+ errors: components["schemas"]["LoopCatalogWorkspaceError"][];
10213
+ truncated: boolean;
10214
+ };
9903
10215
  LoopCatalogEntryPayload: {
9904
10216
  aggregate_30d: components["schemas"]["LoopCatalogAggregatePayload"];
9905
10217
  catalog: components["schemas"]["LoopCatalogResourceSpec"];
@@ -9916,6 +10228,7 @@ export interface components {
9916
10228
  /** Format: double */
9917
10229
  success_rate_30d: number;
9918
10230
  version: number;
10231
+ workspace_id?: string;
9919
10232
  };
9920
10233
  LoopCatalogFacetsPayload: {
9921
10234
  categories: {
@@ -9956,6 +10269,16 @@ export interface components {
9956
10269
  keywords?: string[];
9957
10270
  use_when?: string;
9958
10271
  };
10272
+ LoopCatalogSourcePayload: {
10273
+ /** @enum {string} */
10274
+ kind: "marketplace" | "user" | "additional" | "workspace";
10275
+ layer: string;
10276
+ };
10277
+ LoopCatalogWorkspaceError: {
10278
+ code: string;
10279
+ message: string;
10280
+ workspace_id?: string;
10281
+ };
9959
10282
  LoopConfig: {
9960
10283
  /** @enum {string|null} */
9961
10284
  budget_on_exceeded?: "halt" | "escalate" | null;
@@ -10450,6 +10773,7 @@ export interface components {
10450
10773
  /** Format: date-time */
10451
10774
  state_at: string;
10452
10775
  wait?: components["schemas"]["LoopNodeWaitPayload"] | null;
10776
+ workspace_id?: string;
10453
10777
  };
10454
10778
  LoopNodeInventoryResponse: {
10455
10779
  items: components["schemas"]["LoopNodeInventoryItem"][];
@@ -10548,12 +10872,14 @@ export interface components {
10548
10872
  node_id: string;
10549
10873
  /** Format: date-time */
10550
10874
  opened_at: string;
10875
+ profile_id: string;
10551
10876
  prompt: string;
10552
10877
  proposed_preview?: unknown;
10553
10878
  /** Format: date-time */
10554
10879
  resolved_at?: string | null;
10555
10880
  respond_schema?: unknown;
10556
10881
  state: string;
10882
+ workspace_id?: string;
10557
10883
  };
10558
10884
  LoopRequestProvenance: {
10559
10885
  actor_id: string;
@@ -11321,6 +11647,7 @@ export interface components {
11321
11647
  session_id?: string;
11322
11648
  task_id?: string;
11323
11649
  title: string;
11650
+ workspace_id: string;
11324
11651
  };
11325
11652
  OverviewAttentionPayload: {
11326
11653
  by_kind: {
@@ -11743,6 +12070,112 @@ export interface components {
11743
12070
  runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
11744
12071
  session_env_status?: components["schemas"]["SettingsProviderCredentialStatusPayload"][];
11745
12072
  };
12073
+ ProviderUsageAccount: {
12074
+ label: string;
12075
+ plan: string;
12076
+ };
12077
+ ProviderUsageAmount: {
12078
+ unit: string;
12079
+ value: string;
12080
+ };
12081
+ ProviderUsageBalance: {
12082
+ /** Format: date-time */
12083
+ expires_at: string | null;
12084
+ id: string;
12085
+ label: string;
12086
+ remaining: components["schemas"]["ProviderUsageAmount"];
12087
+ };
12088
+ ProviderUsageEnvelope: {
12089
+ enabled: boolean;
12090
+ /** Format: date-time */
12091
+ generated_at: string;
12092
+ keychain_supported: boolean;
12093
+ profile_id: string;
12094
+ /** Format: uint64 */
12095
+ revision: number;
12096
+ targets: components["schemas"]["ProviderUsageTarget"][];
12097
+ tray: components["schemas"]["ProviderUsageTraySignal"] | null;
12098
+ };
12099
+ ProviderUsageError: {
12100
+ action: string;
12101
+ code: string;
12102
+ message: string;
12103
+ /** Format: date-time */
12104
+ retry_after: string | null;
12105
+ };
12106
+ ProviderUsageRefreshRequest: {
12107
+ intent?: string;
12108
+ /** Format: int64 */
12109
+ max_age_seconds?: number;
12110
+ profile?: string;
12111
+ provider_ids?: string[];
12112
+ /** Format: int64 */
12113
+ wait_ms?: number | null;
12114
+ };
12115
+ ProviderUsageSource: {
12116
+ kind: string;
12117
+ label: string;
12118
+ };
12119
+ ProviderUsageSpendCap: {
12120
+ enabled: boolean | null;
12121
+ id: string;
12122
+ label: string;
12123
+ limit: components["schemas"]["ProviderUsageAmount"] | null;
12124
+ /** Format: date-time */
12125
+ resets_at: string | null;
12126
+ used: components["schemas"]["ProviderUsageAmount"];
12127
+ /** Format: double */
12128
+ used_percent: number | null;
12129
+ };
12130
+ ProviderUsageStreamEvent: {
12131
+ boot_id: string;
12132
+ /** Format: uint64 */
12133
+ revision: number;
12134
+ };
12135
+ ProviderUsageTarget: {
12136
+ account: components["schemas"]["ProviderUsageAccount"] | null;
12137
+ balances: components["schemas"]["ProviderUsageBalance"][];
12138
+ /** Format: date-time */
12139
+ checked_at: string | null;
12140
+ confidence: string;
12141
+ error: components["schemas"]["ProviderUsageError"] | null;
12142
+ /** Format: date-time */
12143
+ measured_at: string | null;
12144
+ /** Format: date-time */
12145
+ next_refresh_at: string | null;
12146
+ provider_id: string;
12147
+ provider_name: string;
12148
+ refreshing: boolean;
12149
+ source: components["schemas"]["ProviderUsageSource"] | null;
12150
+ spend_caps: components["schemas"]["ProviderUsageSpendCap"][];
12151
+ status: string;
12152
+ windows: components["schemas"]["ProviderUsageWindow"][];
12153
+ };
12154
+ ProviderUsageTraySignal: {
12155
+ label: string;
12156
+ provider_id: string;
12157
+ /** Format: date-time */
12158
+ resets_at: string | null;
12159
+ severity: string;
12160
+ stale: boolean;
12161
+ /** Format: double */
12162
+ used_percent: number;
12163
+ window_id: string;
12164
+ };
12165
+ ProviderUsageWindow: {
12166
+ /** Format: int64 */
12167
+ duration_seconds: number | null;
12168
+ id: string;
12169
+ kind: string;
12170
+ label: string;
12171
+ limit: components["schemas"]["ProviderUsageAmount"] | null;
12172
+ reset_text: string;
12173
+ /** Format: date-time */
12174
+ resets_at: string | null;
12175
+ used: components["schemas"]["ProviderUsageAmount"] | null;
12176
+ /** Format: double */
12177
+ used_percent: number | null;
12178
+ };
11746
12179
  PutLoopAnnotationsRequest: {
11747
12180
  annotations: components["schemas"]["LoopAnnotationPayload"][];
11748
12181
  };
@@ -11894,6 +12327,7 @@ export interface components {
11894
12327
  | "skill_resource_not_found"
11895
12328
  | "slow_consumer"
11896
12329
  | "source_disabled"
12330
+ | "spawn_budget_exhausted"
11897
12331
  | "subscriber_limit_reached"
11898
12332
  | "terminal_exited"
11899
12333
  | "terminal_expired"
@@ -11943,6 +12377,11 @@ export interface components {
11943
12377
  confirm_gateway_digest?: string;
11944
12378
  generation_hash: string;
11945
12379
  };
12380
+ RemoveDiscoveredWorktreeRequest: {
12381
+ expect_stale?: boolean;
12382
+ force?: boolean;
12383
+ path: string;
12384
+ };
11946
12385
  RenameProfilePlan: {
11947
12386
  dormant_placements: components["schemas"]["ProfilePlacement"][];
11948
12387
  machine_folders: string[];
@@ -12275,6 +12714,7 @@ export interface components {
12275
12714
  };
12276
12715
  RunPayload: {
12277
12716
  attempt: number;
12717
+ attribution: string;
12278
12718
  delivery_error?: string;
12279
12719
  /** Format: date-time */
12280
12720
  delivery_error_at?: string | null;
@@ -12302,6 +12742,7 @@ export interface components {
12302
12742
  task_id?: string;
12303
12743
  task_run_id?: string;
12304
12744
  trigger_id?: string;
12745
+ workspace_id?: string | null;
12305
12746
  };
12306
12747
  RunResponse: {
12307
12748
  run: components["schemas"]["RunPayload"];
@@ -12407,6 +12848,7 @@ export interface components {
12407
12848
  title?: string;
12408
12849
  };
12409
12850
  RunsResponse: {
12851
+ page?: components["schemas"]["CursorPagePayload"] | null;
12410
12852
  runs: components["schemas"]["RunPayload"][];
12411
12853
  };
12412
12854
  RuntimeActivityPayload: {
@@ -12724,6 +13166,7 @@ export interface components {
12724
13166
  working: number;
12725
13167
  };
12726
13168
  SessionCatalogFacetsResponse: {
13169
+ by_profile: components["schemas"]["SessionProfileFacetsPayload"][];
12727
13170
  by_workspace: components["schemas"]["SessionWorkspaceFacetsPayload"][];
12728
13171
  facets: components["schemas"]["SessionCatalogFacetsPayload"];
12729
13172
  };
@@ -13206,6 +13649,33 @@ export interface components {
13206
13649
  /** Format: date-time */
13207
13650
  ttl_expires_at?: string | null;
13208
13651
  };
13652
+ SessionMonitorPayload: {
13653
+ /** Format: date-time */
13654
+ created_at: string;
13655
+ /** Format: date-time */
13656
+ deadline_at: string;
13657
+ description: string;
13658
+ exit_code?: number | null;
13659
+ /** Format: date-time */
13660
+ fired_at?: string | null;
13661
+ kind: string;
13662
+ monitor_id: string;
13663
+ pattern?: string;
13664
+ reason?: string;
13665
+ session_id: string;
13666
+ status: string;
13667
+ terminal_id?: string;
13668
+ until?: string;
13669
+ };
13670
+ SessionMonitorResponse: {
13671
+ monitor: components["schemas"]["SessionMonitorPayload"];
13672
+ };
13673
+ SessionMonitorSummaryPayload: {
13674
+ active: number;
13675
+ };
13676
+ SessionMonitorsResponse: {
13677
+ monitors: components["schemas"]["SessionMonitorPayload"][];
13678
+ };
13209
13679
  SessionOwner: {
13210
13680
  session_id: string;
13211
13681
  workspace_id: string;
@@ -13229,12 +13699,14 @@ export interface components {
13229
13699
  /** Format: date-time */
13230
13700
  created_at: string;
13231
13701
  derivation?: components["schemas"]["SessionDerivationPayload"] | null;
13702
+ effective_workspace_access: string;
13232
13703
  escalated?: boolean | null;
13233
13704
  failure?: components["schemas"]["SessionFailurePayload"] | null;
13234
13705
  folder_id?: string;
13235
13706
  health?: components["schemas"]["SessionHealthPayload"] | null;
13236
13707
  id: string;
13237
13708
  lineage?: components["schemas"]["SessionLineagePayload"] | null;
13709
+ monitor_summary?: components["schemas"]["SessionMonitorSummaryPayload"] | null;
13238
13710
  name?: string;
13239
13711
  pending_interactions: components["schemas"]["PendingInteractionPayload"][];
13240
13712
  profile_archived?: boolean;
@@ -13246,6 +13718,7 @@ export interface components {
13246
13718
  queue?: components["schemas"]["SessionQueueSummaryPayload"] | null;
13247
13719
  reply_watches?: components["schemas"]["ReplyWatchPayload"][];
13248
13720
  runtime: components["schemas"]["SessionRuntimePayload"];
13721
+ scope: string;
13249
13722
  /** @enum {string} */
13250
13723
  state: "starting" | "active" | "stopping" | "stopped";
13251
13724
  stop_cause?: string;
@@ -13283,6 +13756,10 @@ export interface components {
13283
13756
  SessionPresenceResponse: {
13284
13757
  lease_id: string;
13285
13758
  };
13759
+ SessionProfileFacetsPayload: {
13760
+ facets: components["schemas"]["SessionCatalogFacetsPayload"];
13761
+ profile_id: string;
13762
+ };
13286
13763
  SessionPromptCancelResponse: {
13287
13764
  outcome: string;
13288
13765
  session_id: string;
@@ -13571,6 +14048,7 @@ export interface components {
13571
14048
  | "cmd-palette"
13572
14049
  | "attention"
13573
14050
  | "shell"
14051
+ | "provider-usage"
13574
14052
  | "observability"
13575
14053
  | "hooks-extensions"
13576
14054
  | "marketplace"
@@ -13615,6 +14093,7 @@ export interface components {
13615
14093
  | "cmd-palette"
13616
14094
  | "attention"
13617
14095
  | "shell"
14096
+ | "provider-usage"
13618
14097
  | "observability"
13619
14098
  | "hooks-extensions"
13620
14099
  | "marketplace";
@@ -13644,12 +14123,14 @@ export interface components {
13644
14123
  | "cmd-palette"
13645
14124
  | "attention"
13646
14125
  | "shell"
14126
+ | "provider-usage"
13647
14127
  | "observability"
13648
14128
  | "hooks-extensions"
13649
14129
  | "marketplace";
13650
14130
  };
13651
14131
  SettingsAutomationRuntimePayload: {
13652
14132
  available: boolean;
14133
+ host_timezone?: string;
13653
14134
  job_enabled: number;
13654
14135
  job_total: number;
13655
14136
  /** Format: date-time */
@@ -13685,6 +14166,7 @@ export interface components {
13685
14166
  | "cmd-palette"
13686
14167
  | "attention"
13687
14168
  | "shell"
14169
+ | "provider-usage"
13688
14170
  | "observability"
13689
14171
  | "hooks-extensions"
13690
14172
  | "marketplace";
@@ -13815,6 +14297,7 @@ export interface components {
13815
14297
  | "cmd-palette"
13816
14298
  | "attention"
13817
14299
  | "shell"
14300
+ | "provider-usage"
13818
14301
  | "observability"
13819
14302
  | "hooks-extensions"
13820
14303
  | "marketplace";
@@ -13979,6 +14462,7 @@ export interface components {
13979
14462
  | "cmd-palette"
13980
14463
  | "attention"
13981
14464
  | "shell"
14465
+ | "provider-usage"
13982
14466
  | "observability"
13983
14467
  | "hooks-extensions"
13984
14468
  | "marketplace";
@@ -14191,6 +14675,7 @@ export interface components {
14191
14675
  | "cmd-palette"
14192
14676
  | "attention"
14193
14677
  | "shell"
14678
+ | "provider-usage"
14194
14679
  | "observability"
14195
14680
  | "hooks-extensions"
14196
14681
  | "marketplace";
@@ -14220,6 +14705,7 @@ export interface components {
14220
14705
  | "cmd-palette"
14221
14706
  | "attention"
14222
14707
  | "shell"
14708
+ | "provider-usage"
14223
14709
  | "observability"
14224
14710
  | "hooks-extensions"
14225
14711
  | "marketplace";
@@ -14267,6 +14753,7 @@ export interface components {
14267
14753
  | "cmd-palette"
14268
14754
  | "attention"
14269
14755
  | "shell"
14756
+ | "provider-usage"
14270
14757
  | "observability"
14271
14758
  | "hooks-extensions"
14272
14759
  | "marketplace";
@@ -14390,6 +14877,42 @@ export interface components {
14390
14877
  steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
14391
14878
  transport?: string;
14392
14879
  };
14880
+ SettingsProviderUsagePayload: {
14881
+ enabled: boolean;
14882
+ providers: {
14883
+ [key: string]: components["schemas"]["SettingsProviderUsageProviderPayload"];
14884
+ };
14885
+ refresh_interval: string;
14886
+ };
14887
+ SettingsProviderUsageProviderPayload: {
14888
+ enabled?: boolean | null;
14889
+ keychain_access?: boolean | null;
14890
+ };
14891
+ SettingsProviderUsageResponse: {
14892
+ available_scopes: "user"[];
14893
+ config: components["schemas"]["SettingsProviderUsagePayload"];
14894
+ keychain_supported: boolean;
14895
+ /** @enum {string} */
14896
+ scope: "user";
14897
+ /** @enum {string} */
14898
+ section:
14899
+ | "general"
14900
+ | "persona"
14901
+ | "roles"
14902
+ | "skills"
14903
+ | "automation"
14904
+ | "window-manager"
14905
+ | "cmd-palette"
14906
+ | "attention"
14907
+ | "shell"
14908
+ | "provider-usage"
14909
+ | "observability"
14910
+ | "hooks-extensions"
14911
+ | "marketplace";
14912
+ };
14913
+ SettingsProviderUsageUpdateRequest: {
14914
+ config: components["schemas"]["SettingsProviderUsagePayload"];
14915
+ };
14393
14916
  SettingsProviderWritePayload: {
14394
14917
  auth_acp_method?: string | null;
14395
14918
  auth_login_command?: string | null;
@@ -14465,17 +14988,83 @@ export interface components {
14465
14988
  | "cmd-palette"
14466
14989
  | "attention"
14467
14990
  | "shell"
14991
+ | "provider-usage"
14468
14992
  | "observability"
14469
14993
  | "hooks-extensions"
14470
14994
  | "marketplace";
14471
14995
  workspace_id?: string;
14472
14996
  };
14997
+ SettingsShellLegacyScopePayload: {
14998
+ explicit: boolean;
14999
+ /** Format: uint64 */
15000
+ revision: number;
15001
+ /** @enum {string} */
15002
+ value: "workspace" | "all-workspaces";
15003
+ };
15004
+ SettingsShellMutationResponse: {
15005
+ active_config_hash: string;
15006
+ /** Format: int64 */
15007
+ active_generation: number;
15008
+ agent_name?: string;
15009
+ applied: boolean;
15010
+ apply_record_id: string;
15011
+ config: components["schemas"]["SettingsShellPayload"];
15012
+ legacy_scope: components["schemas"]["SettingsShellLegacyScopePayload"];
15013
+ /** @enum {string} */
15014
+ lifecycle:
15015
+ | "live"
15016
+ | "live-add"
15017
+ | "live-remove-if-unused"
15018
+ | "restart-required"
15019
+ | "session-rebind";
15020
+ /** @enum {string} */
15021
+ next_action: "none" | "restart-daemon" | "new-session" | "retry";
15022
+ partial_failures?: components["schemas"]["SettingsApplyFailurePayload"][];
15023
+ profile?: string;
15024
+ restart_required?: boolean;
15025
+ restart_scope?: string;
15026
+ /** @enum {string} */
15027
+ scope?: "user" | "profile" | "workspace" | "agent";
15028
+ /** @enum {string} */
15029
+ section?:
15030
+ | "general"
15031
+ | "persona"
15032
+ | "roles"
15033
+ | "skills"
15034
+ | "automation"
15035
+ | "window-manager"
15036
+ | "cmd-palette"
15037
+ | "attention"
15038
+ | "shell"
15039
+ | "provider-usage"
15040
+ | "observability"
15041
+ | "hooks-extensions"
15042
+ | "marketplace"
15043
+ | "providers"
15044
+ | "mcp-servers"
15045
+ | "hooks";
15046
+ skipped?: boolean;
15047
+ skipped_reason?: string;
15048
+ warnings?: string[];
15049
+ workspace_id?: string;
15050
+ /** @enum {string} */
15051
+ write_target?:
15052
+ | "global-config"
15053
+ | "profile-config"
15054
+ | "workspace-config"
15055
+ | "global-mcp-sidecar"
15056
+ | "profile-mcp-sidecar"
15057
+ | "workspace-mcp-sidecar"
15058
+ | "global-agent-file"
15059
+ | "workspace-agent-file";
15060
+ };
14473
15061
  SettingsShellPayload: {
14474
15062
  sessions: components["schemas"]["SettingsShellSessionsPayload"];
14475
15063
  };
14476
15064
  SettingsShellResponse: {
14477
15065
  available_scopes: "user"[];
14478
15066
  config: components["schemas"]["SettingsShellPayload"];
15067
+ legacy_scope: components["schemas"]["SettingsShellLegacyScopePayload"];
14479
15068
  /** @enum {string} */
14480
15069
  scope: "user";
14481
15070
  /** @enum {string} */
@@ -14489,15 +15078,19 @@ export interface components {
14489
15078
  | "cmd-palette"
14490
15079
  | "attention"
14491
15080
  | "shell"
15081
+ | "provider-usage"
14492
15082
  | "observability"
14493
15083
  | "hooks-extensions"
14494
15084
  | "marketplace";
15085
+ warnings: string[];
14495
15086
  };
14496
15087
  SettingsShellSessionsPayload: {
14497
15088
  /** @enum {string} */
14498
- scope: "workspace" | "all-workspaces";
15089
+ group_by?: "none" | "project" | "profile";
14499
15090
  /** @enum {string} */
14500
- sort: "created" | "name" | "last_activity" | "attention" | "manual";
15091
+ scope?: "workspace" | "all-workspaces";
15092
+ /** @enum {string} */
15093
+ sort?: "created" | "name" | "last_activity" | "attention" | "manual";
14501
15094
  };
14502
15095
  SettingsSkillSourceCollisionPayload: {
14503
15096
  name: string;
@@ -14590,6 +15183,7 @@ export interface components {
14590
15183
  | "cmd-palette"
14591
15184
  | "attention"
14592
15185
  | "shell"
15186
+ | "provider-usage"
14593
15187
  | "observability"
14594
15188
  | "hooks-extensions"
14595
15189
  | "marketplace";
@@ -14637,6 +15231,7 @@ export interface components {
14637
15231
  | "cmd-palette"
14638
15232
  | "attention"
14639
15233
  | "shell"
15234
+ | "provider-usage"
14640
15235
  | "observability"
14641
15236
  | "hooks-extensions"
14642
15237
  | "marketplace";
@@ -14940,6 +15535,7 @@ export interface components {
14940
15535
  | "cmd-palette"
14941
15536
  | "attention"
14942
15537
  | "shell"
15538
+ | "provider-usage"
14943
15539
  | "observability"
14944
15540
  | "hooks-extensions"
14945
15541
  | "marketplace";
@@ -14974,6 +15570,7 @@ export interface components {
14974
15570
  | "cmd-palette"
14975
15571
  | "attention"
14976
15572
  | "shell"
15573
+ | "provider-usage"
14977
15574
  | "observability"
14978
15575
  | "hooks-extensions"
14979
15576
  | "marketplace";
@@ -15168,12 +15765,38 @@ export interface components {
15168
15765
  /** Format: int64 */
15169
15766
  ttl_seconds: number;
15170
15767
  };
15768
+ SpawnNewWorktreeRequest: {
15769
+ base_ref?: string;
15770
+ branch?: string;
15771
+ name?: string;
15772
+ };
15171
15773
  SpawnPermissionPolicyPayload: {
15172
15774
  mcp_servers: string[];
15173
15775
  skills: string[];
15174
15776
  tools: string[];
15175
15777
  workspace_paths: string[];
15176
15778
  };
15779
+ SpawnPermissionRequestPayload: {
15780
+ mcp_servers?: string[];
15781
+ skills?: string[];
15782
+ tools?: string[];
15783
+ workspace_paths?: string[];
15784
+ };
15785
+ SpawnPromptPayload: {
15786
+ error?: string;
15787
+ message_id: string;
15788
+ reply_watch_id?: string;
15789
+ reply_watch_state?: string;
15790
+ status: string;
15791
+ };
15792
+ SpawnWorktreePayload: {
15793
+ base_sha?: string;
15794
+ branch: string;
15795
+ created: boolean;
15796
+ id: string;
15797
+ name: string;
15798
+ path: string;
15799
+ };
15177
15800
  StartBinding: {
15178
15801
  input_mapping?: {
15179
15802
  [key: string]: string;
@@ -16948,6 +17571,7 @@ export interface components {
16948
17571
  | "skill_resource_not_found"
16949
17572
  | "slow_consumer"
16950
17573
  | "source_disabled"
17574
+ | "spawn_budget_exhausted"
16951
17575
  | "subscriber_limit_reached"
16952
17576
  | "terminal_exited"
16953
17577
  | "terminal_expired"
@@ -17108,6 +17732,7 @@ export interface components {
17108
17732
  | "skill_resource_not_found"
17109
17733
  | "slow_consumer"
17110
17734
  | "source_disabled"
17735
+ | "spawn_budget_exhausted"
17111
17736
  | "subscriber_limit_reached"
17112
17737
  | "terminal_exited"
17113
17738
  | "terminal_expired"
@@ -17295,6 +17920,7 @@ export interface components {
17295
17920
  | "skill_resource_not_found"
17296
17921
  | "slow_consumer"
17297
17922
  | "source_disabled"
17923
+ | "spawn_budget_exhausted"
17298
17924
  | "subscriber_limit_reached"
17299
17925
  | "terminal_exited"
17300
17926
  | "terminal_expired"
@@ -17413,6 +18039,7 @@ export interface components {
17413
18039
  | "skill_resource_not_found"
17414
18040
  | "slow_consumer"
17415
18041
  | "source_disabled"
18042
+ | "spawn_budget_exhausted"
17416
18043
  | "subscriber_limit_reached"
17417
18044
  | "terminal_exited"
17418
18045
  | "terminal_expired"
@@ -17545,6 +18172,7 @@ export interface components {
17545
18172
  | "skill_resource_not_found"
17546
18173
  | "slow_consumer"
17547
18174
  | "source_disabled"
18175
+ | "spawn_budget_exhausted"
17548
18176
  | "subscriber_limit_reached"
17549
18177
  | "terminal_exited"
17550
18178
  | "terminal_expired"
@@ -18361,6 +18989,7 @@ export interface components {
18361
18989
  code:
18362
18990
  | "window_manager_workspace_not_found"
18363
18991
  | "window_manager_revision_conflict"
18992
+ | "window_binding_invalid"
18364
18993
  | "window_manager_invalid_command"
18365
18994
  | "window_manager_invalid_topology"
18366
18995
  | "window_manager_desktop_not_found"
@@ -20150,6 +20779,90 @@ export interface operations {
20150
20779
  };
20151
20780
  };
20152
20781
  };
20782
+ listAgentsAggregate: {
20783
+ parameters: {
20784
+ query?: {
20785
+ /** @description Read all projects and User rows */
20786
+ all_workspaces?: boolean;
20787
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
20788
+ workspace_ids?: string[];
20789
+ /** @description Exact agent name */
20790
+ name?: string;
20791
+ /** @description Case-insensitive agent name or category search */
20792
+ q?: string;
20793
+ /** @description Exact category path joined by slash separators */
20794
+ category?: string;
20795
+ /** @description Agent session status */
20796
+ status?: "active" | "idle";
20797
+ /** @description Opaque cursor bound to workspace and filters */
20798
+ cursor?: string;
20799
+ /** @description Agents per page (1-100; default 50) */
20800
+ limit?: number;
20801
+ /** @description Act as this profile by name */
20802
+ profile?: string;
20803
+ };
20804
+ header?: never;
20805
+ path?: never;
20806
+ cookie?: never;
20807
+ };
20808
+ requestBody?: never;
20809
+ responses: {
20810
+ /** @description OK */
20811
+ 200: {
20812
+ headers: {
20813
+ [name: string]: unknown;
20814
+ };
20815
+ content: {
20816
+ "application/json": components["schemas"]["AgentCatalogResponse"];
20817
+ };
20818
+ };
20819
+ /** @description Invalid filter */
20820
+ 400: {
20821
+ headers: {
20822
+ [name: string]: unknown;
20823
+ };
20824
+ content: {
20825
+ "application/json": components["schemas"]["ErrorPayload"];
20826
+ };
20827
+ };
20828
+ /** @description Workspace not found */
20829
+ 404: {
20830
+ headers: {
20831
+ [name: string]: unknown;
20832
+ };
20833
+ content: {
20834
+ "application/json": components["schemas"]["ErrorPayload"];
20835
+ };
20836
+ };
20837
+ /** @description Workspace root missing */
20838
+ 410: {
20839
+ headers: {
20840
+ [name: string]: unknown;
20841
+ };
20842
+ content: {
20843
+ "application/json": components["schemas"]["ErrorPayload"];
20844
+ };
20845
+ };
20846
+ /** @description Internal server error */
20847
+ 500: {
20848
+ headers: {
20849
+ [name: string]: unknown;
20850
+ };
20851
+ content: {
20852
+ "application/json": components["schemas"]["ErrorPayload"];
20853
+ };
20854
+ };
20855
+ /** @description Workspace resolver unavailable */
20856
+ 503: {
20857
+ headers: {
20858
+ [name: string]: unknown;
20859
+ };
20860
+ content: {
20861
+ "application/json": components["schemas"]["ErrorPayload"];
20862
+ };
20863
+ };
20864
+ };
20865
+ };
20153
20866
  listAgentCatalog: {
20154
20867
  parameters: {
20155
20868
  query?: {
@@ -21903,9 +22616,13 @@ export interface operations {
21903
22616
  parameters: {
21904
22617
  query?: {
21905
22618
  /** @description Filter by automation scope */
21906
- scope?: "global" | "workspace";
22619
+ scope?: "global" | "workspace" | "user" | "@user";
21907
22620
  /** @description Filter by workspace id */
21908
22621
  workspace_id?: string;
22622
+ /** @description Read every definition */
22623
+ all_workspaces?: boolean;
22624
+ /** @description Project IDs or @user; requires all_workspaces=true */
22625
+ workspace_ids?: string[];
21909
22626
  /** @description Filter by job source */
21910
22627
  source?: "config" | "package" | "dynamic";
21911
22628
  /** @description Filter by target kind; task matches jobs with a task target */
@@ -22379,6 +23096,14 @@ export interface operations {
22379
23096
  listAutomationRuns: {
22380
23097
  parameters: {
22381
23098
  query?: {
23099
+ /** @description Filter by source project; @user selects User */
23100
+ workspace_id?: string;
23101
+ /** @description Read every run, including unknown attribution */
23102
+ all_workspaces?: boolean;
23103
+ /** @description Source project IDs or @user; excludes unknown attribution */
23104
+ workspace_ids?: string[];
23105
+ /** @description Opaque source-filter-bound cursor */
23106
+ cursor?: string;
22382
23107
  /** @description Filter by automation job id */
22383
23108
  job_id?: string;
22384
23109
  /** @description Filter by automation trigger id */
@@ -22495,13 +23220,80 @@ export interface operations {
22495
23220
  };
22496
23221
  };
22497
23222
  };
23223
+ listAutomationSuggestionsAggregate: {
23224
+ parameters: {
23225
+ query?: {
23226
+ /** @description Read all projects and User rows */
23227
+ all_workspaces?: boolean;
23228
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
23229
+ workspace_ids?: string[];
23230
+ /** @description Filter by suggestion status */
23231
+ status?: "pending" | "accepted" | "dismissed";
23232
+ };
23233
+ header?: never;
23234
+ path?: never;
23235
+ cookie?: never;
23236
+ };
23237
+ requestBody?: never;
23238
+ responses: {
23239
+ /** @description OK */
23240
+ 200: {
23241
+ headers: {
23242
+ [name: string]: unknown;
23243
+ };
23244
+ content: {
23245
+ "application/json": components["schemas"]["AutomationSuggestionsResponse"];
23246
+ };
23247
+ };
23248
+ /** @description Invalid suggestion status */
23249
+ 400: {
23250
+ headers: {
23251
+ [name: string]: unknown;
23252
+ };
23253
+ content: {
23254
+ "application/json": components["schemas"]["ErrorPayload"];
23255
+ };
23256
+ };
23257
+ /** @description Workspace not found */
23258
+ 404: {
23259
+ headers: {
23260
+ [name: string]: unknown;
23261
+ };
23262
+ content: {
23263
+ "application/json": components["schemas"]["ErrorPayload"];
23264
+ };
23265
+ };
23266
+ /** @description Internal server error */
23267
+ 500: {
23268
+ headers: {
23269
+ [name: string]: unknown;
23270
+ };
23271
+ content: {
23272
+ "application/json": components["schemas"]["ErrorPayload"];
23273
+ };
23274
+ };
23275
+ /** @description Automation manager is not configured */
23276
+ 503: {
23277
+ headers: {
23278
+ [name: string]: unknown;
23279
+ };
23280
+ content: {
23281
+ "application/json": components["schemas"]["ErrorPayload"];
23282
+ };
23283
+ };
23284
+ };
23285
+ };
22498
23286
  listAutomationTriggers: {
22499
23287
  parameters: {
22500
23288
  query?: {
22501
23289
  /** @description Filter by automation scope */
22502
- scope?: "global" | "workspace";
23290
+ scope?: "global" | "workspace" | "user" | "@user";
22503
23291
  /** @description Filter by workspace id */
22504
23292
  workspace_id?: string;
23293
+ /** @description Read every definition */
23294
+ all_workspaces?: boolean;
23295
+ /** @description Project IDs or @user; requires all_workspaces=true */
23296
+ workspace_ids?: string[];
22505
23297
  /** @description Filter by trigger source */
22506
23298
  source?: "config" | "package" | "dynamic";
22507
23299
  /** @description Filter by target kind; task matches no trigger */
@@ -26206,6 +26998,233 @@ export interface operations {
26206
26998
  };
26207
26999
  };
26208
27000
  };
27001
+ listLoopRequestsAggregate: {
27002
+ parameters: {
27003
+ query?: {
27004
+ /** @description Read all registered projects and User rows */
27005
+ all_workspaces?: boolean;
27006
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
27007
+ workspace_ids?: string[];
27008
+ /** @description Filter by Loop run id */
27009
+ run_id?: string;
27010
+ /** @description Filter by pending or resolved state */
27011
+ state?: string;
27012
+ /** @description Opaque continuation cursor */
27013
+ cursor?: string;
27014
+ /** @description Maximum number of records to return */
27015
+ limit?: number;
27016
+ /** @description Read one profile's rows by name */
27017
+ profile?: string;
27018
+ /** @description Read the owner-labeled all-profiles aggregate */
27019
+ all_profiles?: boolean;
27020
+ };
27021
+ header?: never;
27022
+ path?: never;
27023
+ cookie?: never;
27024
+ };
27025
+ requestBody?: never;
27026
+ responses: {
27027
+ /** @description OK */
27028
+ 200: {
27029
+ headers: {
27030
+ [name: string]: unknown;
27031
+ };
27032
+ content: {
27033
+ "application/json": components["schemas"]["LoopRequestsResponse"];
27034
+ };
27035
+ };
27036
+ /** @description Invalid Loop request */
27037
+ 400: {
27038
+ headers: {
27039
+ [name: string]: unknown;
27040
+ };
27041
+ content: {
27042
+ "application/json": components["schemas"]["ErrorPayload"];
27043
+ };
27044
+ };
27045
+ /** @description Internal server error */
27046
+ 500: {
27047
+ headers: {
27048
+ [name: string]: unknown;
27049
+ };
27050
+ content: {
27051
+ "application/json": components["schemas"]["ErrorPayload"];
27052
+ };
27053
+ };
27054
+ /** @description Loop service is not configured */
27055
+ 503: {
27056
+ headers: {
27057
+ [name: string]: unknown;
27058
+ };
27059
+ content: {
27060
+ "application/json": components["schemas"]["ErrorPayload"];
27061
+ };
27062
+ };
27063
+ };
27064
+ };
27065
+ listLoopRunsAggregate: {
27066
+ parameters: {
27067
+ query?: {
27068
+ /** @description Read all registered projects and User rows */
27069
+ all_workspaces?: boolean;
27070
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
27071
+ workspace_ids?: string[];
27072
+ /** @description Filter by Loop name */
27073
+ loop?: string;
27074
+ /** @description Filter by Loop status */
27075
+ status?: string;
27076
+ /** @description Filter by catalog or session origin */
27077
+ origin?: string;
27078
+ /** @description Filter by origin session id */
27079
+ origin_session?: string;
27080
+ /** @description Filter by live or terminal status */
27081
+ live?: boolean;
27082
+ /** @description Opaque server-order cursor */
27083
+ cursor?: string;
27084
+ /** @description Maximum number of records to return */
27085
+ limit?: number;
27086
+ /** @description Read one profile's rows by name */
27087
+ profile?: string;
27088
+ /** @description Read the owner-labeled all-profiles aggregate */
27089
+ all_profiles?: boolean;
27090
+ /** @description Aggregate runs support recency order only */
27091
+ order?: "recency";
27092
+ };
27093
+ header?: never;
27094
+ path?: never;
27095
+ cookie?: never;
27096
+ };
27097
+ requestBody?: never;
27098
+ responses: {
27099
+ /** @description OK */
27100
+ 200: {
27101
+ headers: {
27102
+ [name: string]: unknown;
27103
+ };
27104
+ content: {
27105
+ "application/json": components["schemas"]["LoopRunsResponse"];
27106
+ };
27107
+ };
27108
+ /** @description Invalid Loop request */
27109
+ 400: {
27110
+ headers: {
27111
+ [name: string]: unknown;
27112
+ };
27113
+ content: {
27114
+ "application/json": components["schemas"]["ErrorPayload"];
27115
+ };
27116
+ };
27117
+ /** @description Internal server error */
27118
+ 500: {
27119
+ headers: {
27120
+ [name: string]: unknown;
27121
+ };
27122
+ content: {
27123
+ "application/json": components["schemas"]["ErrorPayload"];
27124
+ };
27125
+ };
27126
+ /** @description Loop service is not configured */
27127
+ 503: {
27128
+ headers: {
27129
+ [name: string]: unknown;
27130
+ };
27131
+ content: {
27132
+ "application/json": components["schemas"]["ErrorPayload"];
27133
+ };
27134
+ };
27135
+ };
27136
+ };
27137
+ listLoopsAggregate: {
27138
+ parameters: {
27139
+ query?: {
27140
+ /** @description Read all registered projects and User rows */
27141
+ all_workspaces?: boolean;
27142
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
27143
+ workspace_ids?: string[];
27144
+ /** @description Search Loop name or contract goal */
27145
+ q?: string;
27146
+ /** @description Filter by effective Loop kind */
27147
+ kind?: "read_only" | "workspace";
27148
+ /** @description Filter by exact catalog category */
27149
+ category?: string;
27150
+ /** @description Filter by exact latest-run status */
27151
+ status?:
27152
+ | "queued"
27153
+ | "running"
27154
+ | "watching"
27155
+ | "needs-approval"
27156
+ | "paused"
27157
+ | "done"
27158
+ | "no-op"
27159
+ | "blocked"
27160
+ | "failed"
27161
+ | "exhausted"
27162
+ | "stalled"
27163
+ | "canceled";
27164
+ /** @description Stable read-only-first name order */
27165
+ sort?: "name";
27166
+ /** @description Continue after this workspace- and query-bound Loop cursor */
27167
+ cursor?: string;
27168
+ /** @description Maximum number of Loops to return; defaults to 50 and is capped at 200 */
27169
+ limit?: number;
27170
+ /** @description Read one profile's rows by name */
27171
+ profile?: string;
27172
+ /** @description Read the owner-labeled all-profiles aggregate */
27173
+ all_profiles?: boolean;
27174
+ };
27175
+ header?: never;
27176
+ path?: never;
27177
+ cookie?: never;
27178
+ };
27179
+ requestBody?: never;
27180
+ responses: {
27181
+ /** @description OK */
27182
+ 200: {
27183
+ headers: {
27184
+ [name: string]: unknown;
27185
+ };
27186
+ content: {
27187
+ "application/json": components["schemas"]["LoopCatalogBatchResponse"];
27188
+ };
27189
+ };
27190
+ /** @description Invalid Loop request */
27191
+ 400: {
27192
+ headers: {
27193
+ [name: string]: unknown;
27194
+ };
27195
+ content: {
27196
+ "application/json": components["schemas"]["ErrorPayload"];
27197
+ };
27198
+ };
27199
+ /** @description Forbidden */
27200
+ 403: {
27201
+ headers: {
27202
+ [name: string]: unknown;
27203
+ };
27204
+ content: {
27205
+ "application/json": components["schemas"]["ErrorPayload"];
27206
+ };
27207
+ };
27208
+ /** @description Internal server error */
27209
+ 500: {
27210
+ headers: {
27211
+ [name: string]: unknown;
27212
+ };
27213
+ content: {
27214
+ "application/json": components["schemas"]["ErrorPayload"];
27215
+ };
27216
+ };
27217
+ /** @description Loop service is not configured */
27218
+ 503: {
27219
+ headers: {
27220
+ [name: string]: unknown;
27221
+ };
27222
+ content: {
27223
+ "application/json": components["schemas"]["ErrorPayload"];
27224
+ };
27225
+ };
27226
+ };
27227
+ };
26209
27228
  listMarketplace: {
26210
27229
  parameters: {
26211
27230
  query?: {
@@ -27362,6 +28381,8 @@ export interface operations {
27362
28381
  receipt_profile?: string;
27363
28382
  /** @description Home workspace scope; empty selects global tasks */
27364
28383
  workspace?: string;
28384
+ /** @description Every project's tasks, matching an All projects Home overview */
28385
+ all_workspaces?: boolean;
27365
28386
  /** @description Read one profile's rows by name */
27366
28387
  profile?: string;
27367
28388
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -27427,6 +28448,8 @@ export interface operations {
27427
28448
  receipt_profile?: string;
27428
28449
  /** @description Home workspace scope; empty selects global tasks */
27429
28450
  workspace?: string;
28451
+ /** @description Every project's tasks, matching an All projects Home overview */
28452
+ all_workspaces?: boolean;
27430
28453
  /** @description Read one profile's rows by name */
27431
28454
  profile?: string;
27432
28455
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -27502,6 +28525,8 @@ export interface operations {
27502
28525
  getObserveOverview: {
27503
28526
  parameters: {
27504
28527
  query?: {
28528
+ /** @description Read every project and User within the profile lens; conflicts with workspace */
28529
+ all_workspaces?: boolean;
27505
28530
  /** @description Profile owning acknowledgement receipts, including aggregate reads */
27506
28531
  receipt_profile?: string;
27507
28532
  /** @description Scope aggregates to one workspace; empty selects the global home scope */
@@ -27528,6 +28553,24 @@ export interface operations {
27528
28553
  "application/json": components["schemas"]["ObserveOverviewResponse"];
27529
28554
  };
27530
28555
  };
28556
+ /** @description Invalid workspace breadth */
28557
+ 400: {
28558
+ headers: {
28559
+ [name: string]: unknown;
28560
+ };
28561
+ content: {
28562
+ "application/json": components["schemas"]["ErrorPayload"];
28563
+ };
28564
+ };
28565
+ /** @description Agent aggregate access denied */
28566
+ 403: {
28567
+ headers: {
28568
+ [name: string]: unknown;
28569
+ };
28570
+ content: {
28571
+ "application/json": components["schemas"]["ErrorPayload"];
28572
+ };
28573
+ };
27531
28574
  /** @description Workspace not found */
27532
28575
  404: {
27533
28576
  headers: {
@@ -27569,8 +28612,12 @@ export interface operations {
27569
28612
  getTaskDashboard: {
27570
28613
  parameters: {
27571
28614
  query?: {
28615
+ /** @description Read every project and User within the profile lens; conflicts with workspace */
28616
+ all_workspaces?: boolean;
28617
+ /** @description Repeatable project IDs; @user selects User; requires all_workspaces=true */
28618
+ workspace_ids?: string[];
27572
28619
  /** @description Filter by task scope */
27573
- scope?: "global" | "workspace";
28620
+ scope?: "global" | "workspace" | "user" | "@user";
27574
28621
  /** @description Filter by workspace path, name, or ID */
27575
28622
  workspace?: string;
27576
28623
  /** @description Filter by active run worktree ID */
@@ -27609,6 +28656,24 @@ export interface operations {
27609
28656
  "application/json": components["schemas"]["TaskDashboardResponse"];
27610
28657
  };
27611
28658
  };
28659
+ /** @description Invalid workspace breadth */
28660
+ 400: {
28661
+ headers: {
28662
+ [name: string]: unknown;
28663
+ };
28664
+ content: {
28665
+ "application/json": components["schemas"]["ErrorPayload"];
28666
+ };
28667
+ };
28668
+ /** @description Agent aggregate access denied */
28669
+ 403: {
28670
+ headers: {
28671
+ [name: string]: unknown;
28672
+ };
28673
+ content: {
28674
+ "application/json": components["schemas"]["ErrorPayload"];
28675
+ };
28676
+ };
27612
28677
  /** @description Workspace not found */
27613
28678
  404: {
27614
28679
  headers: {
@@ -27651,9 +28716,13 @@ export interface operations {
27651
28716
  parameters: {
27652
28717
  query?: {
27653
28718
  /** @description Filter by task scope */
27654
- scope?: "global" | "workspace";
28719
+ scope?: "global" | "workspace" | "user" | "@user";
27655
28720
  /** @description Filter by workspace path, name, or ID */
27656
28721
  workspace?: string;
28722
+ /** @description Read all projects and User rows */
28723
+ all_workspaces?: boolean;
28724
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
28725
+ workspace_ids?: string[];
27657
28726
  /** @description Filter by active run worktree ID */
27658
28727
  worktree?: string;
27659
28728
  /** @description Filter by owner kind */
@@ -28954,6 +30023,335 @@ export interface operations {
28954
30023
  };
28955
30024
  };
28956
30025
  };
30026
+ listProviderUsage: {
30027
+ parameters: {
30028
+ query?: {
30029
+ /** @description Profile name; defaults to the caller session profile or default */
30030
+ profile?: string;
30031
+ };
30032
+ header?: never;
30033
+ path?: never;
30034
+ cookie?: never;
30035
+ };
30036
+ requestBody?: never;
30037
+ responses: {
30038
+ /** @description Profile-scoped usage envelope */
30039
+ 200: {
30040
+ headers: {
30041
+ [name: string]: unknown;
30042
+ };
30043
+ content: {
30044
+ "application/json": components["schemas"]["ProviderUsageEnvelope"];
30045
+ };
30046
+ };
30047
+ /** @description Invalid request */
30048
+ 400: {
30049
+ headers: {
30050
+ [name: string]: unknown;
30051
+ };
30052
+ content: {
30053
+ "application/json": components["schemas"]["ErrorPayload"];
30054
+ };
30055
+ };
30056
+ /** @description App token route forbidden */
30057
+ 403: {
30058
+ headers: {
30059
+ [name: string]: unknown;
30060
+ };
30061
+ content: {
30062
+ "application/json": components["schemas"]["ErrorPayload"];
30063
+ };
30064
+ };
30065
+ /** @description Profile or provider not found */
30066
+ 404: {
30067
+ headers: {
30068
+ [name: string]: unknown;
30069
+ };
30070
+ content: {
30071
+ "application/json":
30072
+ | components["schemas"]["ErrorPayload"]
30073
+ | components["schemas"]["ProfileErrorPayload"];
30074
+ };
30075
+ };
30076
+ /** @description Usage disabled or session profile conflict */
30077
+ 409: {
30078
+ headers: {
30079
+ [name: string]: unknown;
30080
+ };
30081
+ content: {
30082
+ "application/json":
30083
+ | components["schemas"]["ErrorPayload"]
30084
+ | components["schemas"]["ProfileErrorPayload"];
30085
+ };
30086
+ };
30087
+ /** @description Internal server error */
30088
+ 500: {
30089
+ headers: {
30090
+ [name: string]: unknown;
30091
+ };
30092
+ content: {
30093
+ "application/json": components["schemas"]["ErrorPayload"];
30094
+ };
30095
+ };
30096
+ /** @description Usage service unavailable */
30097
+ 503: {
30098
+ headers: {
30099
+ [name: string]: unknown;
30100
+ };
30101
+ content: {
30102
+ "application/json": components["schemas"]["ErrorPayload"];
30103
+ };
30104
+ };
30105
+ };
30106
+ };
30107
+ getProviderUsage: {
30108
+ parameters: {
30109
+ query?: {
30110
+ /** @description Profile name; defaults to the caller session profile or default */
30111
+ profile?: string;
30112
+ };
30113
+ header?: never;
30114
+ path: {
30115
+ /** @description Canonical provider ID */
30116
+ provider_id: string;
30117
+ };
30118
+ cookie?: never;
30119
+ };
30120
+ requestBody?: never;
30121
+ responses: {
30122
+ /** @description Profile-scoped usage envelope */
30123
+ 200: {
30124
+ headers: {
30125
+ [name: string]: unknown;
30126
+ };
30127
+ content: {
30128
+ "application/json": components["schemas"]["ProviderUsageEnvelope"];
30129
+ };
30130
+ };
30131
+ /** @description Invalid request */
30132
+ 400: {
30133
+ headers: {
30134
+ [name: string]: unknown;
30135
+ };
30136
+ content: {
30137
+ "application/json": components["schemas"]["ErrorPayload"];
30138
+ };
30139
+ };
30140
+ /** @description App token route forbidden */
30141
+ 403: {
30142
+ headers: {
30143
+ [name: string]: unknown;
30144
+ };
30145
+ content: {
30146
+ "application/json": components["schemas"]["ErrorPayload"];
30147
+ };
30148
+ };
30149
+ /** @description Profile or provider not found */
30150
+ 404: {
30151
+ headers: {
30152
+ [name: string]: unknown;
30153
+ };
30154
+ content: {
30155
+ "application/json":
30156
+ | components["schemas"]["ErrorPayload"]
30157
+ | components["schemas"]["ProfileErrorPayload"];
30158
+ };
30159
+ };
30160
+ /** @description Usage disabled or session profile conflict */
30161
+ 409: {
30162
+ headers: {
30163
+ [name: string]: unknown;
30164
+ };
30165
+ content: {
30166
+ "application/json":
30167
+ | components["schemas"]["ErrorPayload"]
30168
+ | components["schemas"]["ProfileErrorPayload"];
30169
+ };
30170
+ };
30171
+ /** @description Internal server error */
30172
+ 500: {
30173
+ headers: {
30174
+ [name: string]: unknown;
30175
+ };
30176
+ content: {
30177
+ "application/json": components["schemas"]["ErrorPayload"];
30178
+ };
30179
+ };
30180
+ /** @description Usage service unavailable */
30181
+ 503: {
30182
+ headers: {
30183
+ [name: string]: unknown;
30184
+ };
30185
+ content: {
30186
+ "application/json": components["schemas"]["ErrorPayload"];
30187
+ };
30188
+ };
30189
+ };
30190
+ };
30191
+ refreshProviderUsage: {
30192
+ parameters: {
30193
+ query?: never;
30194
+ header?: never;
30195
+ path?: never;
30196
+ cookie?: never;
30197
+ };
30198
+ /** @description JSON request body */
30199
+ requestBody?: {
30200
+ content: {
30201
+ "application/json": components["schemas"]["ProviderUsageRefreshRequest"];
30202
+ };
30203
+ };
30204
+ responses: {
30205
+ /** @description Profile-scoped usage envelope */
30206
+ 200: {
30207
+ headers: {
30208
+ [name: string]: unknown;
30209
+ };
30210
+ content: {
30211
+ "application/json": components["schemas"]["ProviderUsageEnvelope"];
30212
+ };
30213
+ };
30214
+ /** @description Invalid request */
30215
+ 400: {
30216
+ headers: {
30217
+ [name: string]: unknown;
30218
+ };
30219
+ content: {
30220
+ "application/json": components["schemas"]["ErrorPayload"];
30221
+ };
30222
+ };
30223
+ /** @description App token route forbidden */
30224
+ 403: {
30225
+ headers: {
30226
+ [name: string]: unknown;
30227
+ };
30228
+ content: {
30229
+ "application/json": components["schemas"]["ErrorPayload"];
30230
+ };
30231
+ };
30232
+ /** @description Profile or provider not found */
30233
+ 404: {
30234
+ headers: {
30235
+ [name: string]: unknown;
30236
+ };
30237
+ content: {
30238
+ "application/json":
30239
+ | components["schemas"]["ErrorPayload"]
30240
+ | components["schemas"]["ProfileErrorPayload"];
30241
+ };
30242
+ };
30243
+ /** @description Usage disabled or session profile conflict */
30244
+ 409: {
30245
+ headers: {
30246
+ [name: string]: unknown;
30247
+ };
30248
+ content: {
30249
+ "application/json":
30250
+ | components["schemas"]["ErrorPayload"]
30251
+ | components["schemas"]["ProfileErrorPayload"];
30252
+ };
30253
+ };
30254
+ /** @description Internal server error */
30255
+ 500: {
30256
+ headers: {
30257
+ [name: string]: unknown;
30258
+ };
30259
+ content: {
30260
+ "application/json": components["schemas"]["ErrorPayload"];
30261
+ };
30262
+ };
30263
+ /** @description Usage service unavailable */
30264
+ 503: {
30265
+ headers: {
30266
+ [name: string]: unknown;
30267
+ };
30268
+ content: {
30269
+ "application/json": components["schemas"]["ErrorPayload"];
30270
+ };
30271
+ };
30272
+ };
30273
+ };
30274
+ streamProviderUsage: {
30275
+ parameters: {
30276
+ query?: {
30277
+ /** @description Profile name; defaults to the caller session profile or default */
30278
+ profile?: string;
30279
+ };
30280
+ header?: never;
30281
+ path?: never;
30282
+ cookie?: never;
30283
+ };
30284
+ requestBody?: never;
30285
+ responses: {
30286
+ /** @description ready and provider_usage_changed revision events */
30287
+ 200: {
30288
+ headers: {
30289
+ [name: string]: unknown;
30290
+ };
30291
+ content: {
30292
+ "text/event-stream": components["schemas"]["ProviderUsageStreamEvent"];
30293
+ };
30294
+ };
30295
+ /** @description Invalid request */
30296
+ 400: {
30297
+ headers: {
30298
+ [name: string]: unknown;
30299
+ };
30300
+ content: {
30301
+ "application/json": components["schemas"]["ErrorPayload"];
30302
+ };
30303
+ };
30304
+ /** @description App token route forbidden */
30305
+ 403: {
30306
+ headers: {
30307
+ [name: string]: unknown;
30308
+ };
30309
+ content: {
30310
+ "application/json": components["schemas"]["ErrorPayload"];
30311
+ };
30312
+ };
30313
+ /** @description Profile or provider not found */
30314
+ 404: {
30315
+ headers: {
30316
+ [name: string]: unknown;
30317
+ };
30318
+ content: {
30319
+ "application/json":
30320
+ | components["schemas"]["ErrorPayload"]
30321
+ | components["schemas"]["ProfileErrorPayload"];
30322
+ };
30323
+ };
30324
+ /** @description Usage disabled or session profile conflict */
30325
+ 409: {
30326
+ headers: {
30327
+ [name: string]: unknown;
30328
+ };
30329
+ content: {
30330
+ "application/json":
30331
+ | components["schemas"]["ErrorPayload"]
30332
+ | components["schemas"]["ProfileErrorPayload"];
30333
+ };
30334
+ };
30335
+ /** @description Internal server error */
30336
+ 500: {
30337
+ headers: {
30338
+ [name: string]: unknown;
30339
+ };
30340
+ content: {
30341
+ "application/json": components["schemas"]["ErrorPayload"];
30342
+ };
30343
+ };
30344
+ /** @description Usage service unavailable */
30345
+ 503: {
30346
+ headers: {
30347
+ [name: string]: unknown;
30348
+ };
30349
+ content: {
30350
+ "application/json": components["schemas"]["ErrorPayload"];
30351
+ };
30352
+ };
30353
+ };
30354
+ };
28957
30355
  listProviders: {
28958
30356
  parameters: {
28959
30357
  query?: never;
@@ -30199,7 +31597,7 @@ export interface operations {
30199
31597
  /** @description Maximum number of queued runs to return */
30200
31598
  limit?: number;
30201
31599
  /** @description Filter by catalog visibility */
30202
- scope?: "all" | "global" | "workspace";
31600
+ scope?: "all" | "global" | "workspace" | "user" | "@user";
30203
31601
  /** @description Filter by workspace path, name, or ID */
30204
31602
  workspace?: string;
30205
31603
  /** @description Include runs blocked by task pause state */
@@ -30457,6 +31855,8 @@ export interface operations {
30457
31855
  workspace_id?: string;
30458
31856
  /** @description Use the explicit all-workspaces aggregate */
30459
31857
  all_workspaces?: boolean;
31858
+ /** @description Project IDs or @user; repeatable, requires all_workspaces */
31859
+ workspace_ids?: string[];
30460
31860
  /** @description Include metadata-only health for returned sessions */
30461
31861
  include_health?: boolean;
30462
31862
  /** @description Omit the exact catalog count for a bounded cursor read */
@@ -30756,6 +32156,8 @@ export interface operations {
30756
32156
  workspace_id?: string;
30757
32157
  /** @description Use the explicit all-workspaces aggregate */
30758
32158
  all_workspaces?: boolean;
32159
+ /** @description Project IDs or @user; repeatable, requires all_workspaces */
32160
+ workspace_ids?: string[];
30759
32161
  /** @description Filter by bound worktree id */
30760
32162
  worktree?: string;
30761
32163
  /** @description Filter by exact agent name */
@@ -33178,6 +34580,112 @@ export interface operations {
33178
34580
  };
33179
34581
  };
33180
34582
  };
34583
+ getSettingsProviderUsage: {
34584
+ parameters: {
34585
+ query?: never;
34586
+ header?: never;
34587
+ path?: never;
34588
+ cookie?: never;
34589
+ };
34590
+ requestBody?: never;
34591
+ responses: {
34592
+ /** @description OK */
34593
+ 200: {
34594
+ headers: {
34595
+ [name: string]: unknown;
34596
+ };
34597
+ content: {
34598
+ "application/json": components["schemas"]["SettingsProviderUsageResponse"];
34599
+ };
34600
+ };
34601
+ /** @description Internal server error */
34602
+ 500: {
34603
+ headers: {
34604
+ [name: string]: unknown;
34605
+ };
34606
+ content: {
34607
+ "application/json": components["schemas"]["ErrorPayload"];
34608
+ };
34609
+ };
34610
+ };
34611
+ };
34612
+ updateSettingsProviderUsage: {
34613
+ parameters: {
34614
+ query?: {
34615
+ /** @description Collection profile name or ID for local Keychain consent; independent of user config scope; defaults to default */
34616
+ collection_profile?: string;
34617
+ };
34618
+ header?: never;
34619
+ path?: never;
34620
+ cookie?: never;
34621
+ };
34622
+ /** @description JSON request body */
34623
+ requestBody: {
34624
+ content: {
34625
+ "application/json": components["schemas"]["SettingsProviderUsageUpdateRequest"];
34626
+ };
34627
+ };
34628
+ responses: {
34629
+ /** @description OK */
34630
+ 200: {
34631
+ headers: {
34632
+ [name: string]: unknown;
34633
+ };
34634
+ content: {
34635
+ "application/json": components["schemas"]["SettingsApplyResponse"];
34636
+ };
34637
+ };
34638
+ /** @description Invalid settings payload */
34639
+ 400: {
34640
+ headers: {
34641
+ [name: string]: unknown;
34642
+ };
34643
+ content: {
34644
+ "application/json":
34645
+ | components["schemas"]["ErrorPayload"]
34646
+ | components["schemas"]["ProfileErrorPayload"];
34647
+ };
34648
+ };
34649
+ /** @description Forbidden */
34650
+ 403: {
34651
+ headers: {
34652
+ [name: string]: unknown;
34653
+ };
34654
+ content: {
34655
+ "application/json": components["schemas"]["ErrorPayload"];
34656
+ };
34657
+ };
34658
+ /** @description Collection profile not found */
34659
+ 404: {
34660
+ headers: {
34661
+ [name: string]: unknown;
34662
+ };
34663
+ content: {
34664
+ "application/json": components["schemas"]["ProfileErrorPayload"];
34665
+ };
34666
+ };
34667
+ /** @description Conflicting settings change */
34668
+ 409: {
34669
+ headers: {
34670
+ [name: string]: unknown;
34671
+ };
34672
+ content: {
34673
+ "application/json":
34674
+ | components["schemas"]["ErrorPayload"]
34675
+ | components["schemas"]["ProfileErrorPayload"];
34676
+ };
34677
+ };
34678
+ /** @description Internal server error */
34679
+ 500: {
34680
+ headers: {
34681
+ [name: string]: unknown;
34682
+ };
34683
+ content: {
34684
+ "application/json": components["schemas"]["ErrorPayload"];
34685
+ };
34686
+ };
34687
+ };
34688
+ };
33181
34689
  listSettingsProviders: {
33182
34690
  parameters: {
33183
34691
  query?: never;
@@ -33548,7 +35056,7 @@ export interface operations {
33548
35056
  [name: string]: unknown;
33549
35057
  };
33550
35058
  content: {
33551
- "application/json": components["schemas"]["SettingsApplyResponse"];
35059
+ "application/json": components["schemas"]["SettingsShellMutationResponse"];
33552
35060
  };
33553
35061
  };
33554
35062
  /** @description Invalid settings payload */
@@ -35621,60 +37129,355 @@ export interface operations {
35621
37129
  };
35622
37130
  };
35623
37131
  };
35624
- listTasks: {
37132
+ listTasks: {
37133
+ parameters: {
37134
+ query?: {
37135
+ /** @description Read every project and User within the profile lens; conflicts with workspace */
37136
+ all_workspaces?: boolean;
37137
+ /** @description Repeatable project IDs; @user selects User; requires all_workspaces=true */
37138
+ workspace_ids?: string[];
37139
+ /** @description Filter by catalog visibility */
37140
+ scope?: "all" | "global" | "workspace" | "user" | "@user";
37141
+ /** @description Filter by workspace path, name, or ID */
37142
+ workspace?: string;
37143
+ /** @description Filter by task status */
37144
+ status?:
37145
+ | "draft"
37146
+ | "pending"
37147
+ | "blocked"
37148
+ | "needs_attention"
37149
+ | "ready"
37150
+ | "in_progress"
37151
+ | "completed"
37152
+ | "failed"
37153
+ | "canceled";
37154
+ /** @description Filter by task priority */
37155
+ priority?: "low" | "medium" | "high" | "urgent";
37156
+ /** @description Include draft tasks in list results */
37157
+ include_drafts?: boolean;
37158
+ /** @description Include Loop execution records; omitted means false */
37159
+ include_loop?: boolean;
37160
+ /** @description Filter by Loop run ID; also includes Loop execution records */
37161
+ loop_run_id?: string;
37162
+ /** @description Filter by task approval state */
37163
+ approval_state?: "not_required" | "pending" | "approved" | "rejected";
37164
+ /** @description Filter by owner kind */
37165
+ owner_kind?: "human" | "agent_session" | "automation" | "extension" | "pool";
37166
+ /** @description Filter by owner reference */
37167
+ owner_ref?: string;
37168
+ /** @description Filter by parent task ID */
37169
+ parent_task_id?: string;
37170
+ /** @description Filter by active run worktree ID */
37171
+ worktree?: string;
37172
+ /** @description Filter by task title or identifier */
37173
+ query?: string;
37174
+ /** @description Order by recent activity or priority */
37175
+ sort?: "recent" | "priority";
37176
+ /** @description Opaque query-bound continuation cursor */
37177
+ cursor?: string;
37178
+ /** @description Page size from 1 to 200 (default 50) */
37179
+ limit?: number;
37180
+ /** @description Read one profile's rows by name */
37181
+ profile?: string;
37182
+ /** @description Read the owner-labeled all-profiles aggregate */
37183
+ all_profiles?: boolean;
37184
+ };
37185
+ header?: never;
37186
+ path?: never;
37187
+ cookie?: never;
37188
+ };
37189
+ requestBody?: never;
37190
+ responses: {
37191
+ /** @description OK */
37192
+ 200: {
37193
+ headers: {
37194
+ [name: string]: unknown;
37195
+ };
37196
+ content: {
37197
+ "application/json": components["schemas"]["TasksResponse"];
37198
+ };
37199
+ };
37200
+ /** @description Invalid task filter or cursor */
37201
+ 400: {
37202
+ headers: {
37203
+ [name: string]: unknown;
37204
+ };
37205
+ content: {
37206
+ "application/json": components["schemas"]["TaskQueryErrorPayload"];
37207
+ };
37208
+ };
37209
+ /** @description Agent aggregate access denied */
37210
+ 403: {
37211
+ headers: {
37212
+ [name: string]: unknown;
37213
+ };
37214
+ content: {
37215
+ "application/json": components["schemas"]["ErrorPayload"];
37216
+ };
37217
+ };
37218
+ /** @description Workspace not found */
37219
+ 404: {
37220
+ headers: {
37221
+ [name: string]: unknown;
37222
+ };
37223
+ content: {
37224
+ "application/json": components["schemas"]["ErrorPayload"];
37225
+ };
37226
+ };
37227
+ /** @description Workspace root is missing */
37228
+ 410: {
37229
+ headers: {
37230
+ [name: string]: unknown;
37231
+ };
37232
+ content: {
37233
+ "application/json": components["schemas"]["ErrorPayload"];
37234
+ };
37235
+ };
37236
+ /** @description Internal server error */
37237
+ 500: {
37238
+ headers: {
37239
+ [name: string]: unknown;
37240
+ };
37241
+ content: {
37242
+ "application/json": components["schemas"]["ErrorPayload"];
37243
+ };
37244
+ };
37245
+ /** @description Task service is not configured */
37246
+ 503: {
37247
+ headers: {
37248
+ [name: string]: unknown;
37249
+ };
37250
+ content: {
37251
+ "application/json": components["schemas"]["ErrorPayload"];
37252
+ };
37253
+ };
37254
+ };
37255
+ };
37256
+ createTask: {
37257
+ parameters: {
37258
+ query?: {
37259
+ /** @description Act as this profile by name */
37260
+ profile?: string;
37261
+ };
37262
+ header?: never;
37263
+ path?: never;
37264
+ cookie?: never;
37265
+ };
37266
+ /** @description JSON request body */
37267
+ requestBody: {
37268
+ content: {
37269
+ "application/json": components["schemas"]["CreateTaskRequest"];
37270
+ };
37271
+ };
37272
+ responses: {
37273
+ /** @description Created */
37274
+ 201: {
37275
+ headers: {
37276
+ [name: string]: unknown;
37277
+ };
37278
+ content: {
37279
+ "application/json": components["schemas"]["TaskResponse"];
37280
+ };
37281
+ };
37282
+ /** @description Workspace not found */
37283
+ 404: {
37284
+ headers: {
37285
+ [name: string]: unknown;
37286
+ };
37287
+ content: {
37288
+ "application/json": components["schemas"]["ErrorPayload"];
37289
+ };
37290
+ };
37291
+ /** @description Task conflict */
37292
+ 409: {
37293
+ headers: {
37294
+ [name: string]: unknown;
37295
+ };
37296
+ content: {
37297
+ "application/json": components["schemas"]["ErrorPayload"];
37298
+ };
37299
+ };
37300
+ /** @description Payload too large */
37301
+ 413: {
37302
+ headers: {
37303
+ [name: string]: unknown;
37304
+ };
37305
+ content: {
37306
+ "application/json": components["schemas"]["ErrorPayload"];
37307
+ };
37308
+ };
37309
+ /** @description Invalid task request */
37310
+ 422: {
37311
+ headers: {
37312
+ [name: string]: unknown;
37313
+ };
37314
+ content: {
37315
+ "application/json": components["schemas"]["ErrorPayload"];
37316
+ };
37317
+ };
37318
+ /** @description Internal server error */
37319
+ 500: {
37320
+ headers: {
37321
+ [name: string]: unknown;
37322
+ };
37323
+ content: {
37324
+ "application/json": components["schemas"]["ErrorPayload"];
37325
+ };
37326
+ };
37327
+ /** @description Task service is not configured */
37328
+ 503: {
37329
+ headers: {
37330
+ [name: string]: unknown;
37331
+ };
37332
+ content: {
37333
+ "application/json": components["schemas"]["ErrorPayload"];
37334
+ };
37335
+ };
37336
+ };
37337
+ };
37338
+ getTask: {
37339
+ parameters: {
37340
+ query?: {
37341
+ /** @description Read one profile's rows by name */
37342
+ profile?: string;
37343
+ /** @description Read the owner-labeled all-profiles aggregate */
37344
+ all_profiles?: boolean;
37345
+ };
37346
+ header?: never;
37347
+ path: {
37348
+ /** @description Task id */
37349
+ id: string;
37350
+ };
37351
+ cookie?: never;
37352
+ };
37353
+ requestBody?: never;
37354
+ responses: {
37355
+ /** @description OK */
37356
+ 200: {
37357
+ headers: {
37358
+ [name: string]: unknown;
37359
+ };
37360
+ content: {
37361
+ "application/json": components["schemas"]["TaskDetailResponse"];
37362
+ };
37363
+ };
37364
+ /** @description Task not found */
37365
+ 404: {
37366
+ headers: {
37367
+ [name: string]: unknown;
37368
+ };
37369
+ content: {
37370
+ "application/json": components["schemas"]["ErrorPayload"];
37371
+ };
37372
+ };
37373
+ /** @description Invalid task id */
37374
+ 422: {
37375
+ headers: {
37376
+ [name: string]: unknown;
37377
+ };
37378
+ content: {
37379
+ "application/json": components["schemas"]["ErrorPayload"];
37380
+ };
37381
+ };
37382
+ /** @description Internal server error */
37383
+ 500: {
37384
+ headers: {
37385
+ [name: string]: unknown;
37386
+ };
37387
+ content: {
37388
+ "application/json": components["schemas"]["ErrorPayload"];
37389
+ };
37390
+ };
37391
+ /** @description Task service is not configured */
37392
+ 503: {
37393
+ headers: {
37394
+ [name: string]: unknown;
37395
+ };
37396
+ content: {
37397
+ "application/json": components["schemas"]["ErrorPayload"];
37398
+ };
37399
+ };
37400
+ };
37401
+ };
37402
+ deleteTask: {
37403
+ parameters: {
37404
+ query?: {
37405
+ /** @description Act as this profile by name */
37406
+ profile?: string;
37407
+ };
37408
+ header?: never;
37409
+ path: {
37410
+ /** @description Task id */
37411
+ id: string;
37412
+ };
37413
+ cookie?: never;
37414
+ };
37415
+ requestBody?: never;
37416
+ responses: {
37417
+ /** @description No Content */
37418
+ 204: {
37419
+ headers: {
37420
+ [name: string]: unknown;
37421
+ };
37422
+ content?: never;
37423
+ };
37424
+ /** @description Invalid task delete */
37425
+ 400: {
37426
+ headers: {
37427
+ [name: string]: unknown;
37428
+ };
37429
+ content: {
37430
+ "application/json": components["schemas"]["ErrorPayload"];
37431
+ };
37432
+ };
37433
+ /** @description Task not found */
37434
+ 404: {
37435
+ headers: {
37436
+ [name: string]: unknown;
37437
+ };
37438
+ content: {
37439
+ "application/json": components["schemas"]["ErrorPayload"];
37440
+ };
37441
+ };
37442
+ /** @description Internal server error */
37443
+ 500: {
37444
+ headers: {
37445
+ [name: string]: unknown;
37446
+ };
37447
+ content: {
37448
+ "application/json": components["schemas"]["ErrorPayload"];
37449
+ };
37450
+ };
37451
+ /** @description Task service is not configured */
37452
+ 503: {
37453
+ headers: {
37454
+ [name: string]: unknown;
37455
+ };
37456
+ content: {
37457
+ "application/json": components["schemas"]["ErrorPayload"];
37458
+ };
37459
+ };
37460
+ };
37461
+ };
37462
+ updateTask: {
35625
37463
  parameters: {
35626
37464
  query?: {
35627
- /** @description Filter by catalog visibility */
35628
- scope?: "all" | "global" | "workspace";
35629
- /** @description Filter by workspace path, name, or ID */
35630
- workspace?: string;
35631
- /** @description Filter by task status */
35632
- status?:
35633
- | "draft"
35634
- | "pending"
35635
- | "blocked"
35636
- | "needs_attention"
35637
- | "ready"
35638
- | "in_progress"
35639
- | "completed"
35640
- | "failed"
35641
- | "canceled";
35642
- /** @description Filter by task priority */
35643
- priority?: "low" | "medium" | "high" | "urgent";
35644
- /** @description Include draft tasks in list results */
35645
- include_drafts?: boolean;
35646
- /** @description Include Loop execution records; omitted means false */
35647
- include_loop?: boolean;
35648
- /** @description Filter by Loop run ID; also includes Loop execution records */
35649
- loop_run_id?: string;
35650
- /** @description Filter by task approval state */
35651
- approval_state?: "not_required" | "pending" | "approved" | "rejected";
35652
- /** @description Filter by owner kind */
35653
- owner_kind?: "human" | "agent_session" | "automation" | "extension" | "pool";
35654
- /** @description Filter by owner reference */
35655
- owner_ref?: string;
35656
- /** @description Filter by parent task ID */
35657
- parent_task_id?: string;
35658
- /** @description Filter by active run worktree ID */
35659
- worktree?: string;
35660
- /** @description Filter by task title or identifier */
35661
- query?: string;
35662
- /** @description Order by recent activity or priority */
35663
- sort?: "recent" | "priority";
35664
- /** @description Opaque query-bound continuation cursor */
35665
- cursor?: string;
35666
- /** @description Page size from 1 to 200 (default 50) */
35667
- limit?: number;
35668
- /** @description Read one profile's rows by name */
37465
+ /** @description Act as this profile by name */
35669
37466
  profile?: string;
35670
- /** @description Read the owner-labeled all-profiles aggregate */
35671
- all_profiles?: boolean;
35672
37467
  };
35673
37468
  header?: never;
35674
- path?: never;
37469
+ path: {
37470
+ /** @description Task id */
37471
+ id: string;
37472
+ };
35675
37473
  cookie?: never;
35676
37474
  };
35677
- requestBody?: never;
37475
+ /** @description JSON request body */
37476
+ requestBody: {
37477
+ content: {
37478
+ "application/json": components["schemas"]["UpdateTaskRequest"];
37479
+ };
37480
+ };
35678
37481
  responses: {
35679
37482
  /** @description OK */
35680
37483
  200: {
@@ -35682,20 +37485,20 @@ export interface operations {
35682
37485
  [name: string]: unknown;
35683
37486
  };
35684
37487
  content: {
35685
- "application/json": components["schemas"]["TasksResponse"];
37488
+ "application/json": components["schemas"]["TaskResponse"];
35686
37489
  };
35687
37490
  };
35688
- /** @description Invalid task filter or cursor */
35689
- 400: {
37491
+ /** @description Task not found */
37492
+ 404: {
35690
37493
  headers: {
35691
37494
  [name: string]: unknown;
35692
37495
  };
35693
37496
  content: {
35694
- "application/json": components["schemas"]["TaskQueryErrorPayload"];
37497
+ "application/json": components["schemas"]["ErrorPayload"];
35695
37498
  };
35696
37499
  };
35697
- /** @description Workspace not found */
35698
- 404: {
37500
+ /** @description Task update conflict */
37501
+ 409: {
35699
37502
  headers: {
35700
37503
  [name: string]: unknown;
35701
37504
  };
@@ -35703,8 +37506,8 @@ export interface operations {
35703
37506
  "application/json": components["schemas"]["ErrorPayload"];
35704
37507
  };
35705
37508
  };
35706
- /** @description Workspace root is missing */
35707
- 410: {
37509
+ /** @description Invalid task update */
37510
+ 422: {
35708
37511
  headers: {
35709
37512
  [name: string]: unknown;
35710
37513
  };
@@ -35732,20 +37535,23 @@ export interface operations {
35732
37535
  };
35733
37536
  };
35734
37537
  };
35735
- createTask: {
37538
+ approveTask: {
35736
37539
  parameters: {
35737
37540
  query?: {
35738
37541
  /** @description Act as this profile by name */
35739
37542
  profile?: string;
35740
37543
  };
35741
37544
  header?: never;
35742
- path?: never;
37545
+ path: {
37546
+ /** @description Task id */
37547
+ id: string;
37548
+ };
35743
37549
  cookie?: never;
35744
37550
  };
35745
37551
  /** @description JSON request body */
35746
- requestBody: {
37552
+ requestBody?: {
35747
37553
  content: {
35748
- "application/json": components["schemas"]["CreateTaskRequest"];
37554
+ "application/json": components["schemas"]["TaskExecutionRequest"];
35749
37555
  };
35750
37556
  };
35751
37557
  responses: {
@@ -35755,10 +37561,10 @@ export interface operations {
35755
37561
  [name: string]: unknown;
35756
37562
  };
35757
37563
  content: {
35758
- "application/json": components["schemas"]["TaskResponse"];
37564
+ "application/json": components["schemas"]["TaskExecutionResponse"];
35759
37565
  };
35760
37566
  };
35761
- /** @description Workspace not found */
37567
+ /** @description Task not found */
35762
37568
  404: {
35763
37569
  headers: {
35764
37570
  [name: string]: unknown;
@@ -35767,7 +37573,7 @@ export interface operations {
35767
37573
  "application/json": components["schemas"]["ErrorPayload"];
35768
37574
  };
35769
37575
  };
35770
- /** @description Task conflict */
37576
+ /** @description Task approval conflict */
35771
37577
  409: {
35772
37578
  headers: {
35773
37579
  [name: string]: unknown;
@@ -35776,16 +37582,7 @@ export interface operations {
35776
37582
  "application/json": components["schemas"]["ErrorPayload"];
35777
37583
  };
35778
37584
  };
35779
- /** @description Payload too large */
35780
- 413: {
35781
- headers: {
35782
- [name: string]: unknown;
35783
- };
35784
- content: {
35785
- "application/json": components["schemas"]["ErrorPayload"];
35786
- };
35787
- };
35788
- /** @description Invalid task request */
37585
+ /** @description Invalid task approval request */
35789
37586
  422: {
35790
37587
  headers: {
35791
37588
  [name: string]: unknown;
@@ -35814,9 +37611,11 @@ export interface operations {
35814
37611
  };
35815
37612
  };
35816
37613
  };
35817
- getTask: {
37614
+ listTaskBlocks: {
35818
37615
  parameters: {
35819
37616
  query?: {
37617
+ /** @description Include cleared task blocks */
37618
+ include_cleared?: boolean;
35820
37619
  /** @description Read one profile's rows by name */
35821
37620
  profile?: string;
35822
37621
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -35837,7 +37636,16 @@ export interface operations {
35837
37636
  [name: string]: unknown;
35838
37637
  };
35839
37638
  content: {
35840
- "application/json": components["schemas"]["TaskDetailResponse"];
37639
+ "application/json": components["schemas"]["TaskBlocksResponse"];
37640
+ };
37641
+ };
37642
+ /** @description Invalid task block query */
37643
+ 400: {
37644
+ headers: {
37645
+ [name: string]: unknown;
37646
+ };
37647
+ content: {
37648
+ "application/json": components["schemas"]["ErrorPayload"];
35841
37649
  };
35842
37650
  };
35843
37651
  /** @description Task not found */
@@ -35878,7 +37686,7 @@ export interface operations {
35878
37686
  };
35879
37687
  };
35880
37688
  };
35881
- deleteTask: {
37689
+ blockTask: {
35882
37690
  parameters: {
35883
37691
  query?: {
35884
37692
  /** @description Act as this profile by name */
@@ -35891,17 +37699,24 @@ export interface operations {
35891
37699
  };
35892
37700
  cookie?: never;
35893
37701
  };
35894
- requestBody?: never;
37702
+ /** @description JSON request body */
37703
+ requestBody: {
37704
+ content: {
37705
+ "application/json": components["schemas"]["CreateTaskBlockRequest"];
37706
+ };
37707
+ };
35895
37708
  responses: {
35896
- /** @description No Content */
35897
- 204: {
37709
+ /** @description Created */
37710
+ 201: {
35898
37711
  headers: {
35899
37712
  [name: string]: unknown;
35900
37713
  };
35901
- content?: never;
37714
+ content: {
37715
+ "application/json": components["schemas"]["TaskBlockResponse"];
37716
+ };
35902
37717
  };
35903
- /** @description Invalid task delete */
35904
- 400: {
37718
+ /** @description Task not found */
37719
+ 404: {
35905
37720
  headers: {
35906
37721
  [name: string]: unknown;
35907
37722
  };
@@ -35909,8 +37724,17 @@ export interface operations {
35909
37724
  "application/json": components["schemas"]["ErrorPayload"];
35910
37725
  };
35911
37726
  };
35912
- /** @description Task not found */
35913
- 404: {
37727
+ /** @description Task block conflict */
37728
+ 409: {
37729
+ headers: {
37730
+ [name: string]: unknown;
37731
+ };
37732
+ content: {
37733
+ "application/json": components["schemas"]["ErrorPayload"];
37734
+ };
37735
+ };
37736
+ /** @description Invalid task block request */
37737
+ 422: {
35914
37738
  headers: {
35915
37739
  [name: string]: unknown;
35916
37740
  };
@@ -35938,7 +37762,7 @@ export interface operations {
35938
37762
  };
35939
37763
  };
35940
37764
  };
35941
- updateTask: {
37765
+ clearTaskBlock: {
35942
37766
  parameters: {
35943
37767
  query?: {
35944
37768
  /** @description Act as this profile by name */
@@ -35948,13 +37772,15 @@ export interface operations {
35948
37772
  path: {
35949
37773
  /** @description Task id */
35950
37774
  id: string;
37775
+ /** @description Task block id */
37776
+ block_id: string;
35951
37777
  };
35952
37778
  cookie?: never;
35953
37779
  };
35954
37780
  /** @description JSON request body */
35955
37781
  requestBody: {
35956
37782
  content: {
35957
- "application/json": components["schemas"]["UpdateTaskRequest"];
37783
+ "application/json": components["schemas"]["ClearTaskBlockRequest"];
35958
37784
  };
35959
37785
  };
35960
37786
  responses: {
@@ -35964,10 +37790,10 @@ export interface operations {
35964
37790
  [name: string]: unknown;
35965
37791
  };
35966
37792
  content: {
35967
- "application/json": components["schemas"]["TaskResponse"];
37793
+ "application/json": components["schemas"]["TaskBlockResponse"];
35968
37794
  };
35969
37795
  };
35970
- /** @description Task not found */
37796
+ /** @description Task or block not found */
35971
37797
  404: {
35972
37798
  headers: {
35973
37799
  [name: string]: unknown;
@@ -35976,7 +37802,7 @@ export interface operations {
35976
37802
  "application/json": components["schemas"]["ErrorPayload"];
35977
37803
  };
35978
37804
  };
35979
- /** @description Task update conflict */
37805
+ /** @description Task block conflict */
35980
37806
  409: {
35981
37807
  headers: {
35982
37808
  [name: string]: unknown;
@@ -35985,7 +37811,7 @@ export interface operations {
35985
37811
  "application/json": components["schemas"]["ErrorPayload"];
35986
37812
  };
35987
37813
  };
35988
- /** @description Invalid task update */
37814
+ /** @description Invalid task block clear request */
35989
37815
  422: {
35990
37816
  headers: {
35991
37817
  [name: string]: unknown;
@@ -36014,7 +37840,7 @@ export interface operations {
36014
37840
  };
36015
37841
  };
36016
37842
  };
36017
- approveTask: {
37843
+ cancelTask: {
36018
37844
  parameters: {
36019
37845
  query?: {
36020
37846
  /** @description Act as this profile by name */
@@ -36028,19 +37854,19 @@ export interface operations {
36028
37854
  cookie?: never;
36029
37855
  };
36030
37856
  /** @description JSON request body */
36031
- requestBody?: {
37857
+ requestBody: {
36032
37858
  content: {
36033
- "application/json": components["schemas"]["TaskExecutionRequest"];
37859
+ "application/json": components["schemas"]["CancelTaskRequest"];
36034
37860
  };
36035
37861
  };
36036
37862
  responses: {
36037
- /** @description Created */
36038
- 201: {
37863
+ /** @description OK */
37864
+ 200: {
36039
37865
  headers: {
36040
37866
  [name: string]: unknown;
36041
37867
  };
36042
37868
  content: {
36043
- "application/json": components["schemas"]["TaskExecutionResponse"];
37869
+ "application/json": components["schemas"]["TaskResponse"];
36044
37870
  };
36045
37871
  };
36046
37872
  /** @description Task not found */
@@ -36052,7 +37878,7 @@ export interface operations {
36052
37878
  "application/json": components["schemas"]["ErrorPayload"];
36053
37879
  };
36054
37880
  };
36055
- /** @description Task approval conflict */
37881
+ /** @description Task cancel conflict */
36056
37882
  409: {
36057
37883
  headers: {
36058
37884
  [name: string]: unknown;
@@ -36061,7 +37887,7 @@ export interface operations {
36061
37887
  "application/json": components["schemas"]["ErrorPayload"];
36062
37888
  };
36063
37889
  };
36064
- /** @description Invalid task approval request */
37890
+ /** @description Invalid task cancel request */
36065
37891
  422: {
36066
37892
  headers: {
36067
37893
  [name: string]: unknown;
@@ -36090,36 +37916,37 @@ export interface operations {
36090
37916
  };
36091
37917
  };
36092
37918
  };
36093
- listTaskBlocks: {
37919
+ createChildTask: {
36094
37920
  parameters: {
36095
37921
  query?: {
36096
- /** @description Include cleared task blocks */
36097
- include_cleared?: boolean;
36098
- /** @description Read one profile's rows by name */
37922
+ /** @description Act as this profile by name */
36099
37923
  profile?: string;
36100
- /** @description Read the owner-labeled all-profiles aggregate */
36101
- all_profiles?: boolean;
36102
37924
  };
36103
37925
  header?: never;
36104
37926
  path: {
36105
- /** @description Task id */
37927
+ /** @description Parent task id */
36106
37928
  id: string;
36107
37929
  };
36108
37930
  cookie?: never;
36109
37931
  };
36110
- requestBody?: never;
37932
+ /** @description JSON request body */
37933
+ requestBody: {
37934
+ content: {
37935
+ "application/json": components["schemas"]["CreateTaskChildRequest"];
37936
+ };
37937
+ };
36111
37938
  responses: {
36112
- /** @description OK */
36113
- 200: {
37939
+ /** @description Created */
37940
+ 201: {
36114
37941
  headers: {
36115
37942
  [name: string]: unknown;
36116
37943
  };
36117
37944
  content: {
36118
- "application/json": components["schemas"]["TaskBlocksResponse"];
37945
+ "application/json": components["schemas"]["TaskResponse"];
36119
37946
  };
36120
37947
  };
36121
- /** @description Invalid task block query */
36122
- 400: {
37948
+ /** @description Task or workspace not found */
37949
+ 404: {
36123
37950
  headers: {
36124
37951
  [name: string]: unknown;
36125
37952
  };
@@ -36127,8 +37954,8 @@ export interface operations {
36127
37954
  "application/json": components["schemas"]["ErrorPayload"];
36128
37955
  };
36129
37956
  };
36130
- /** @description Task not found */
36131
- 404: {
37957
+ /** @description Child task conflict */
37958
+ 409: {
36132
37959
  headers: {
36133
37960
  [name: string]: unknown;
36134
37961
  };
@@ -36136,7 +37963,16 @@ export interface operations {
36136
37963
  "application/json": components["schemas"]["ErrorPayload"];
36137
37964
  };
36138
37965
  };
36139
- /** @description Invalid task id */
37966
+ /** @description Payload too large */
37967
+ 413: {
37968
+ headers: {
37969
+ [name: string]: unknown;
37970
+ };
37971
+ content: {
37972
+ "application/json": components["schemas"]["ErrorPayload"];
37973
+ };
37974
+ };
37975
+ /** @description Invalid child task request */
36140
37976
  422: {
36141
37977
  headers: {
36142
37978
  [name: string]: unknown;
@@ -36165,7 +38001,7 @@ export interface operations {
36165
38001
  };
36166
38002
  };
36167
38003
  };
36168
- blockTask: {
38004
+ addTaskDependency: {
36169
38005
  parameters: {
36170
38006
  query?: {
36171
38007
  /** @description Act as this profile by name */
@@ -36181,17 +38017,17 @@ export interface operations {
36181
38017
  /** @description JSON request body */
36182
38018
  requestBody: {
36183
38019
  content: {
36184
- "application/json": components["schemas"]["CreateTaskBlockRequest"];
38020
+ "application/json": components["schemas"]["AddTaskDependencyRequest"];
36185
38021
  };
36186
38022
  };
36187
38023
  responses: {
36188
- /** @description Created */
36189
- 201: {
38024
+ /** @description OK */
38025
+ 200: {
36190
38026
  headers: {
36191
38027
  [name: string]: unknown;
36192
38028
  };
36193
38029
  content: {
36194
- "application/json": components["schemas"]["TaskBlockResponse"];
38030
+ "application/json": components["schemas"]["TaskDetailResponse"];
36195
38031
  };
36196
38032
  };
36197
38033
  /** @description Task not found */
@@ -36203,7 +38039,7 @@ export interface operations {
36203
38039
  "application/json": components["schemas"]["ErrorPayload"];
36204
38040
  };
36205
38041
  };
36206
- /** @description Task block conflict */
38042
+ /** @description Dependency conflict */
36207
38043
  409: {
36208
38044
  headers: {
36209
38045
  [name: string]: unknown;
@@ -36212,7 +38048,7 @@ export interface operations {
36212
38048
  "application/json": components["schemas"]["ErrorPayload"];
36213
38049
  };
36214
38050
  };
36215
- /** @description Invalid task block request */
38051
+ /** @description Invalid dependency request */
36216
38052
  422: {
36217
38053
  headers: {
36218
38054
  [name: string]: unknown;
@@ -36241,7 +38077,7 @@ export interface operations {
36241
38077
  };
36242
38078
  };
36243
38079
  };
36244
- clearTaskBlock: {
38080
+ removeTaskDependency: {
36245
38081
  parameters: {
36246
38082
  query?: {
36247
38083
  /** @description Act as this profile by name */
@@ -36251,17 +38087,12 @@ export interface operations {
36251
38087
  path: {
36252
38088
  /** @description Task id */
36253
38089
  id: string;
36254
- /** @description Task block id */
36255
- block_id: string;
38090
+ /** @description Dependency task id */
38091
+ depends_on_id: string;
36256
38092
  };
36257
38093
  cookie?: never;
36258
38094
  };
36259
- /** @description JSON request body */
36260
- requestBody: {
36261
- content: {
36262
- "application/json": components["schemas"]["ClearTaskBlockRequest"];
36263
- };
36264
- };
38095
+ requestBody?: never;
36265
38096
  responses: {
36266
38097
  /** @description OK */
36267
38098
  200: {
@@ -36269,10 +38100,10 @@ export interface operations {
36269
38100
  [name: string]: unknown;
36270
38101
  };
36271
38102
  content: {
36272
- "application/json": components["schemas"]["TaskBlockResponse"];
38103
+ "application/json": components["schemas"]["TaskDetailResponse"];
36273
38104
  };
36274
38105
  };
36275
- /** @description Task or block not found */
38106
+ /** @description Task or dependency not found */
36276
38107
  404: {
36277
38108
  headers: {
36278
38109
  [name: string]: unknown;
@@ -36281,16 +38112,7 @@ export interface operations {
36281
38112
  "application/json": components["schemas"]["ErrorPayload"];
36282
38113
  };
36283
38114
  };
36284
- /** @description Task block conflict */
36285
- 409: {
36286
- headers: {
36287
- [name: string]: unknown;
36288
- };
36289
- content: {
36290
- "application/json": components["schemas"]["ErrorPayload"];
36291
- };
36292
- };
36293
- /** @description Invalid task block clear request */
38115
+ /** @description Invalid dependency request */
36294
38116
  422: {
36295
38117
  headers: {
36296
38118
  [name: string]: unknown;
@@ -36319,11 +38141,13 @@ export interface operations {
36319
38141
  };
36320
38142
  };
36321
38143
  };
36322
- cancelTask: {
38144
+ getTaskExecutionProfile: {
36323
38145
  parameters: {
36324
38146
  query?: {
36325
- /** @description Act as this profile by name */
38147
+ /** @description Read one profile's rows by name */
36326
38148
  profile?: string;
38149
+ /** @description Read the owner-labeled all-profiles aggregate */
38150
+ all_profiles?: boolean;
36327
38151
  };
36328
38152
  header?: never;
36329
38153
  path: {
@@ -36332,12 +38156,7 @@ export interface operations {
36332
38156
  };
36333
38157
  cookie?: never;
36334
38158
  };
36335
- /** @description JSON request body */
36336
- requestBody: {
36337
- content: {
36338
- "application/json": components["schemas"]["CancelTaskRequest"];
36339
- };
36340
- };
38159
+ requestBody?: never;
36341
38160
  responses: {
36342
38161
  /** @description OK */
36343
38162
  200: {
@@ -36345,7 +38164,7 @@ export interface operations {
36345
38164
  [name: string]: unknown;
36346
38165
  };
36347
38166
  content: {
36348
- "application/json": components["schemas"]["TaskResponse"];
38167
+ "application/json": components["schemas"]["TaskExecutionProfileResponse"];
36349
38168
  };
36350
38169
  };
36351
38170
  /** @description Task not found */
@@ -36357,16 +38176,7 @@ export interface operations {
36357
38176
  "application/json": components["schemas"]["ErrorPayload"];
36358
38177
  };
36359
38178
  };
36360
- /** @description Task cancel conflict */
36361
- 409: {
36362
- headers: {
36363
- [name: string]: unknown;
36364
- };
36365
- content: {
36366
- "application/json": components["schemas"]["ErrorPayload"];
36367
- };
36368
- };
36369
- /** @description Invalid task cancel request */
38179
+ /** @description Invalid task id */
36370
38180
  422: {
36371
38181
  headers: {
36372
38182
  [name: string]: unknown;
@@ -36395,7 +38205,7 @@ export interface operations {
36395
38205
  };
36396
38206
  };
36397
38207
  };
36398
- createChildTask: {
38208
+ setTaskExecutionProfile: {
36399
38209
  parameters: {
36400
38210
  query?: {
36401
38211
  /** @description Act as this profile by name */
@@ -36403,7 +38213,7 @@ export interface operations {
36403
38213
  };
36404
38214
  header?: never;
36405
38215
  path: {
36406
- /** @description Parent task id */
38216
+ /** @description Task id */
36407
38217
  id: string;
36408
38218
  };
36409
38219
  cookie?: never;
@@ -36411,30 +38221,21 @@ export interface operations {
36411
38221
  /** @description JSON request body */
36412
38222
  requestBody: {
36413
38223
  content: {
36414
- "application/json": components["schemas"]["CreateTaskChildRequest"];
38224
+ "application/json": components["schemas"]["ExecutionProfile"];
36415
38225
  };
36416
38226
  };
36417
38227
  responses: {
36418
- /** @description Created */
36419
- 201: {
36420
- headers: {
36421
- [name: string]: unknown;
36422
- };
36423
- content: {
36424
- "application/json": components["schemas"]["TaskResponse"];
36425
- };
36426
- };
36427
- /** @description Task or workspace not found */
36428
- 404: {
38228
+ /** @description OK */
38229
+ 200: {
36429
38230
  headers: {
36430
38231
  [name: string]: unknown;
36431
38232
  };
36432
38233
  content: {
36433
- "application/json": components["schemas"]["ErrorPayload"];
38234
+ "application/json": components["schemas"]["TaskExecutionProfileResponse"];
36434
38235
  };
36435
38236
  };
36436
- /** @description Child task conflict */
36437
- 409: {
38237
+ /** @description Invalid task execution profile */
38238
+ 400: {
36438
38239
  headers: {
36439
38240
  [name: string]: unknown;
36440
38241
  };
@@ -36442,8 +38243,8 @@ export interface operations {
36442
38243
  "application/json": components["schemas"]["ErrorPayload"];
36443
38244
  };
36444
38245
  };
36445
- /** @description Payload too large */
36446
- 413: {
38246
+ /** @description Task not found */
38247
+ 404: {
36447
38248
  headers: {
36448
38249
  [name: string]: unknown;
36449
38250
  };
@@ -36451,8 +38252,8 @@ export interface operations {
36451
38252
  "application/json": components["schemas"]["ErrorPayload"];
36452
38253
  };
36453
38254
  };
36454
- /** @description Invalid child task request */
36455
- 422: {
38255
+ /** @description Task execution profile conflict */
38256
+ 409: {
36456
38257
  headers: {
36457
38258
  [name: string]: unknown;
36458
38259
  };
@@ -36480,7 +38281,7 @@ export interface operations {
36480
38281
  };
36481
38282
  };
36482
38283
  };
36483
- addTaskDependency: {
38284
+ deleteTaskExecutionProfile: {
36484
38285
  parameters: {
36485
38286
  query?: {
36486
38287
  /** @description Act as this profile by name */
@@ -36493,23 +38294,16 @@ export interface operations {
36493
38294
  };
36494
38295
  cookie?: never;
36495
38296
  };
36496
- /** @description JSON request body */
36497
- requestBody: {
36498
- content: {
36499
- "application/json": components["schemas"]["AddTaskDependencyRequest"];
36500
- };
36501
- };
38297
+ requestBody?: never;
36502
38298
  responses: {
36503
- /** @description OK */
36504
- 200: {
38299
+ /** @description No Content */
38300
+ 204: {
36505
38301
  headers: {
36506
38302
  [name: string]: unknown;
36507
38303
  };
36508
- content: {
36509
- "application/json": components["schemas"]["TaskDetailResponse"];
36510
- };
38304
+ content?: never;
36511
38305
  };
36512
- /** @description Task not found */
38306
+ /** @description Task or execution profile not found */
36513
38307
  404: {
36514
38308
  headers: {
36515
38309
  [name: string]: unknown;
@@ -36518,7 +38312,7 @@ export interface operations {
36518
38312
  "application/json": components["schemas"]["ErrorPayload"];
36519
38313
  };
36520
38314
  };
36521
- /** @description Dependency conflict */
38315
+ /** @description Task execution profile conflict */
36522
38316
  409: {
36523
38317
  headers: {
36524
38318
  [name: string]: unknown;
@@ -36527,15 +38321,6 @@ export interface operations {
36527
38321
  "application/json": components["schemas"]["ErrorPayload"];
36528
38322
  };
36529
38323
  };
36530
- /** @description Invalid dependency request */
36531
- 422: {
36532
- headers: {
36533
- [name: string]: unknown;
36534
- };
36535
- content: {
36536
- "application/json": components["schemas"]["ErrorPayload"];
36537
- };
36538
- };
36539
38324
  /** @description Internal server error */
36540
38325
  500: {
36541
38326
  headers: {
@@ -36556,7 +38341,7 @@ export interface operations {
36556
38341
  };
36557
38342
  };
36558
38343
  };
36559
- removeTaskDependency: {
38344
+ setTaskWorktreePolicy: {
36560
38345
  parameters: {
36561
38346
  query?: {
36562
38347
  /** @description Act as this profile by name */
@@ -36566,12 +38351,15 @@ export interface operations {
36566
38351
  path: {
36567
38352
  /** @description Task id */
36568
38353
  id: string;
36569
- /** @description Dependency task id */
36570
- depends_on_id: string;
36571
38354
  };
36572
38355
  cookie?: never;
36573
38356
  };
36574
- requestBody?: never;
38357
+ /** @description JSON request body */
38358
+ requestBody: {
38359
+ content: {
38360
+ "application/json": components["schemas"]["WorktreePolicy"];
38361
+ };
38362
+ };
36575
38363
  responses: {
36576
38364
  /** @description OK */
36577
38365
  200: {
@@ -36579,10 +38367,19 @@ export interface operations {
36579
38367
  [name: string]: unknown;
36580
38368
  };
36581
38369
  content: {
36582
- "application/json": components["schemas"]["TaskDetailResponse"];
38370
+ "application/json": components["schemas"]["TaskExecutionProfileResponse"];
36583
38371
  };
36584
38372
  };
36585
- /** @description Task or dependency not found */
38373
+ /** @description Invalid task worktree policy */
38374
+ 400: {
38375
+ headers: {
38376
+ [name: string]: unknown;
38377
+ };
38378
+ content: {
38379
+ "application/json": components["schemas"]["ErrorPayload"];
38380
+ };
38381
+ };
38382
+ /** @description Task not found */
36586
38383
  404: {
36587
38384
  headers: {
36588
38385
  [name: string]: unknown;
@@ -36591,8 +38388,8 @@ export interface operations {
36591
38388
  "application/json": components["schemas"]["ErrorPayload"];
36592
38389
  };
36593
38390
  };
36594
- /** @description Invalid dependency request */
36595
- 422: {
38391
+ /** @description Task execution profile conflict */
38392
+ 409: {
36596
38393
  headers: {
36597
38394
  [name: string]: unknown;
36598
38395
  };
@@ -36620,7 +38417,7 @@ export interface operations {
36620
38417
  };
36621
38418
  };
36622
38419
  };
36623
- getTaskExecutionProfile: {
38420
+ inspectTask: {
36624
38421
  parameters: {
36625
38422
  query?: {
36626
38423
  /** @description Read one profile's rows by name */
@@ -36643,7 +38440,7 @@ export interface operations {
36643
38440
  [name: string]: unknown;
36644
38441
  };
36645
38442
  content: {
36646
- "application/json": components["schemas"]["TaskExecutionProfileResponse"];
38443
+ "application/json": components["schemas"]["TaskInspectResponse"];
36647
38444
  };
36648
38445
  };
36649
38446
  /** @description Task not found */
@@ -36684,7 +38481,7 @@ export interface operations {
36684
38481
  };
36685
38482
  };
36686
38483
  };
36687
- setTaskExecutionProfile: {
38484
+ pauseTask: {
36688
38485
  parameters: {
36689
38486
  query?: {
36690
38487
  /** @description Act as this profile by name */
@@ -36700,7 +38497,7 @@ export interface operations {
36700
38497
  /** @description JSON request body */
36701
38498
  requestBody: {
36702
38499
  content: {
36703
- "application/json": components["schemas"]["ExecutionProfile"];
38500
+ "application/json": components["schemas"]["PauseTaskRequest"];
36704
38501
  };
36705
38502
  };
36706
38503
  responses: {
@@ -36710,11 +38507,11 @@ export interface operations {
36710
38507
  [name: string]: unknown;
36711
38508
  };
36712
38509
  content: {
36713
- "application/json": components["schemas"]["TaskExecutionProfileResponse"];
38510
+ "application/json": components["schemas"]["TaskResponse"];
36714
38511
  };
36715
38512
  };
36716
- /** @description Invalid task execution profile */
36717
- 400: {
38513
+ /** @description Force operation forbidden */
38514
+ 403: {
36718
38515
  headers: {
36719
38516
  [name: string]: unknown;
36720
38517
  };
@@ -36731,7 +38528,7 @@ export interface operations {
36731
38528
  "application/json": components["schemas"]["ErrorPayload"];
36732
38529
  };
36733
38530
  };
36734
- /** @description Task execution profile conflict */
38531
+ /** @description Task pause conflict */
36735
38532
  409: {
36736
38533
  headers: {
36737
38534
  [name: string]: unknown;
@@ -36740,50 +38537,8 @@ export interface operations {
36740
38537
  "application/json": components["schemas"]["ErrorPayload"];
36741
38538
  };
36742
38539
  };
36743
- /** @description Internal server error */
36744
- 500: {
36745
- headers: {
36746
- [name: string]: unknown;
36747
- };
36748
- content: {
36749
- "application/json": components["schemas"]["ErrorPayload"];
36750
- };
36751
- };
36752
- /** @description Task service is not configured */
36753
- 503: {
36754
- headers: {
36755
- [name: string]: unknown;
36756
- };
36757
- content: {
36758
- "application/json": components["schemas"]["ErrorPayload"];
36759
- };
36760
- };
36761
- };
36762
- };
36763
- deleteTaskExecutionProfile: {
36764
- parameters: {
36765
- query?: {
36766
- /** @description Act as this profile by name */
36767
- profile?: string;
36768
- };
36769
- header?: never;
36770
- path: {
36771
- /** @description Task id */
36772
- id: string;
36773
- };
36774
- cookie?: never;
36775
- };
36776
- requestBody?: never;
36777
- responses: {
36778
- /** @description No Content */
36779
- 204: {
36780
- headers: {
36781
- [name: string]: unknown;
36782
- };
36783
- content?: never;
36784
- };
36785
- /** @description Task or execution profile not found */
36786
- 404: {
38540
+ /** @description Invalid task pause request */
38541
+ 422: {
36787
38542
  headers: {
36788
38543
  [name: string]: unknown;
36789
38544
  };
@@ -36791,8 +38546,8 @@ export interface operations {
36791
38546
  "application/json": components["schemas"]["ErrorPayload"];
36792
38547
  };
36793
38548
  };
36794
- /** @description Task execution profile conflict */
36795
- 409: {
38549
+ /** @description Force-operation rate limit exceeded */
38550
+ 429: {
36796
38551
  headers: {
36797
38552
  [name: string]: unknown;
36798
38553
  };
@@ -36820,7 +38575,7 @@ export interface operations {
36820
38575
  };
36821
38576
  };
36822
38577
  };
36823
- setTaskWorktreePolicy: {
38578
+ publishTask: {
36824
38579
  parameters: {
36825
38580
  query?: {
36826
38581
  /** @description Act as this profile by name */
@@ -36836,7 +38591,7 @@ export interface operations {
36836
38591
  /** @description JSON request body */
36837
38592
  requestBody: {
36838
38593
  content: {
36839
- "application/json": components["schemas"]["WorktreePolicy"];
38594
+ "application/json": components["schemas"]["TaskExecutionRequest"];
36840
38595
  };
36841
38596
  };
36842
38597
  responses: {
@@ -36846,11 +38601,11 @@ export interface operations {
36846
38601
  [name: string]: unknown;
36847
38602
  };
36848
38603
  content: {
36849
- "application/json": components["schemas"]["TaskExecutionProfileResponse"];
38604
+ "application/json": components["schemas"]["TaskExecutionResponse"];
36850
38605
  };
36851
38606
  };
36852
- /** @description Invalid task worktree policy */
36853
- 400: {
38607
+ /** @description Task not found */
38608
+ 404: {
36854
38609
  headers: {
36855
38610
  [name: string]: unknown;
36856
38611
  };
@@ -36858,8 +38613,8 @@ export interface operations {
36858
38613
  "application/json": components["schemas"]["ErrorPayload"];
36859
38614
  };
36860
38615
  };
36861
- /** @description Task not found */
36862
- 404: {
38616
+ /** @description Task publish conflict */
38617
+ 409: {
36863
38618
  headers: {
36864
38619
  [name: string]: unknown;
36865
38620
  };
@@ -36867,8 +38622,8 @@ export interface operations {
36867
38622
  "application/json": components["schemas"]["ErrorPayload"];
36868
38623
  };
36869
38624
  };
36870
- /** @description Task execution profile conflict */
36871
- 409: {
38625
+ /** @description Invalid task publish request */
38626
+ 422: {
36872
38627
  headers: {
36873
38628
  [name: string]: unknown;
36874
38629
  };
@@ -36896,13 +38651,11 @@ export interface operations {
36896
38651
  };
36897
38652
  };
36898
38653
  };
36899
- inspectTask: {
38654
+ recoverTask: {
36900
38655
  parameters: {
36901
38656
  query?: {
36902
- /** @description Read one profile's rows by name */
38657
+ /** @description Act as this profile by name */
36903
38658
  profile?: string;
36904
- /** @description Read the owner-labeled all-profiles aggregate */
36905
- all_profiles?: boolean;
36906
38659
  };
36907
38660
  header?: never;
36908
38661
  path: {
@@ -36911,7 +38664,12 @@ export interface operations {
36911
38664
  };
36912
38665
  cookie?: never;
36913
38666
  };
36914
- requestBody?: never;
38667
+ /** @description JSON request body */
38668
+ requestBody: {
38669
+ content: {
38670
+ "application/json": components["schemas"]["RecoverTaskRequest"];
38671
+ };
38672
+ };
36915
38673
  responses: {
36916
38674
  /** @description OK */
36917
38675
  200: {
@@ -36919,7 +38677,7 @@ export interface operations {
36919
38677
  [name: string]: unknown;
36920
38678
  };
36921
38679
  content: {
36922
- "application/json": components["schemas"]["TaskInspectResponse"];
38680
+ "application/json": components["schemas"]["TaskResponse"];
36923
38681
  };
36924
38682
  };
36925
38683
  /** @description Task not found */
@@ -36931,7 +38689,16 @@ export interface operations {
36931
38689
  "application/json": components["schemas"]["ErrorPayload"];
36932
38690
  };
36933
38691
  };
36934
- /** @description Invalid task id */
38692
+ /** @description Task recover conflict */
38693
+ 409: {
38694
+ headers: {
38695
+ [name: string]: unknown;
38696
+ };
38697
+ content: {
38698
+ "application/json": components["schemas"]["ErrorPayload"];
38699
+ };
38700
+ };
38701
+ /** @description Invalid task recover request */
36935
38702
  422: {
36936
38703
  headers: {
36937
38704
  [name: string]: unknown;
@@ -36960,7 +38727,7 @@ export interface operations {
36960
38727
  };
36961
38728
  };
36962
38729
  };
36963
- pauseTask: {
38730
+ rejectTask: {
36964
38731
  parameters: {
36965
38732
  query?: {
36966
38733
  /** @description Act as this profile by name */
@@ -36973,12 +38740,7 @@ export interface operations {
36973
38740
  };
36974
38741
  cookie?: never;
36975
38742
  };
36976
- /** @description JSON request body */
36977
- requestBody: {
36978
- content: {
36979
- "application/json": components["schemas"]["PauseTaskRequest"];
36980
- };
36981
- };
38743
+ requestBody?: never;
36982
38744
  responses: {
36983
38745
  /** @description OK */
36984
38746
  200: {
@@ -36989,15 +38751,6 @@ export interface operations {
36989
38751
  "application/json": components["schemas"]["TaskResponse"];
36990
38752
  };
36991
38753
  };
36992
- /** @description Force operation forbidden */
36993
- 403: {
36994
- headers: {
36995
- [name: string]: unknown;
36996
- };
36997
- content: {
36998
- "application/json": components["schemas"]["ErrorPayload"];
36999
- };
37000
- };
37001
38754
  /** @description Task not found */
37002
38755
  404: {
37003
38756
  headers: {
@@ -37007,7 +38760,7 @@ export interface operations {
37007
38760
  "application/json": components["schemas"]["ErrorPayload"];
37008
38761
  };
37009
38762
  };
37010
- /** @description Task pause conflict */
38763
+ /** @description Task rejection conflict */
37011
38764
  409: {
37012
38765
  headers: {
37013
38766
  [name: string]: unknown;
@@ -37016,7 +38769,7 @@ export interface operations {
37016
38769
  "application/json": components["schemas"]["ErrorPayload"];
37017
38770
  };
37018
38771
  };
37019
- /** @description Invalid task pause request */
38772
+ /** @description Invalid task rejection request */
37020
38773
  422: {
37021
38774
  headers: {
37022
38775
  [name: string]: unknown;
@@ -37025,15 +38778,6 @@ export interface operations {
37025
38778
  "application/json": components["schemas"]["ErrorPayload"];
37026
38779
  };
37027
38780
  };
37028
- /** @description Force-operation rate limit exceeded */
37029
- 429: {
37030
- headers: {
37031
- [name: string]: unknown;
37032
- };
37033
- content: {
37034
- "application/json": components["schemas"]["ErrorPayload"];
37035
- };
37036
- };
37037
38781
  /** @description Internal server error */
37038
38782
  500: {
37039
38783
  headers: {
@@ -37054,7 +38798,7 @@ export interface operations {
37054
38798
  };
37055
38799
  };
37056
38800
  };
37057
- publishTask: {
38801
+ resumeTask: {
37058
38802
  parameters: {
37059
38803
  query?: {
37060
38804
  /** @description Act as this profile by name */
@@ -37068,9 +38812,9 @@ export interface operations {
37068
38812
  cookie?: never;
37069
38813
  };
37070
38814
  /** @description JSON request body */
37071
- requestBody: {
38815
+ requestBody?: {
37072
38816
  content: {
37073
- "application/json": components["schemas"]["TaskExecutionRequest"];
38817
+ "application/json": components["schemas"]["ResumeTaskRequest"];
37074
38818
  };
37075
38819
  };
37076
38820
  responses: {
@@ -37080,7 +38824,16 @@ export interface operations {
37080
38824
  [name: string]: unknown;
37081
38825
  };
37082
38826
  content: {
37083
- "application/json": components["schemas"]["TaskExecutionResponse"];
38827
+ "application/json": components["schemas"]["TaskResponse"];
38828
+ };
38829
+ };
38830
+ /** @description Force operation forbidden */
38831
+ 403: {
38832
+ headers: {
38833
+ [name: string]: unknown;
38834
+ };
38835
+ content: {
38836
+ "application/json": components["schemas"]["ErrorPayload"];
37084
38837
  };
37085
38838
  };
37086
38839
  /** @description Task not found */
@@ -37092,7 +38845,7 @@ export interface operations {
37092
38845
  "application/json": components["schemas"]["ErrorPayload"];
37093
38846
  };
37094
38847
  };
37095
- /** @description Task publish conflict */
38848
+ /** @description Task resume conflict */
37096
38849
  409: {
37097
38850
  headers: {
37098
38851
  [name: string]: unknown;
@@ -37101,7 +38854,7 @@ export interface operations {
37101
38854
  "application/json": components["schemas"]["ErrorPayload"];
37102
38855
  };
37103
38856
  };
37104
- /** @description Invalid task publish request */
38857
+ /** @description Invalid task resume request */
37105
38858
  422: {
37106
38859
  headers: {
37107
38860
  [name: string]: unknown;
@@ -37110,6 +38863,15 @@ export interface operations {
37110
38863
  "application/json": components["schemas"]["ErrorPayload"];
37111
38864
  };
37112
38865
  };
38866
+ /** @description Force-operation rate limit exceeded */
38867
+ 429: {
38868
+ headers: {
38869
+ [name: string]: unknown;
38870
+ };
38871
+ content: {
38872
+ "application/json": components["schemas"]["ErrorPayload"];
38873
+ };
38874
+ };
37113
38875
  /** @description Internal server error */
37114
38876
  500: {
37115
38877
  headers: {
@@ -37130,11 +38892,19 @@ export interface operations {
37130
38892
  };
37131
38893
  };
37132
38894
  };
37133
- recoverTask: {
38895
+ listTaskReviews: {
37134
38896
  parameters: {
37135
38897
  query?: {
37136
- /** @description Act as this profile by name */
38898
+ /** @description Filter by review status */
38899
+ status?: "requested" | "routed" | "in_review" | "recorded" | "circuit_opened" | "canceled";
38900
+ /** @description Filter by reviewer session id */
38901
+ reviewer_session_id?: string;
38902
+ /** @description Maximum number of records to return */
38903
+ limit?: number;
38904
+ /** @description Read one profile's rows by name */
37137
38905
  profile?: string;
38906
+ /** @description Read the owner-labeled all-profiles aggregate */
38907
+ all_profiles?: boolean;
37138
38908
  };
37139
38909
  header?: never;
37140
38910
  path: {
@@ -37143,12 +38913,7 @@ export interface operations {
37143
38913
  };
37144
38914
  cookie?: never;
37145
38915
  };
37146
- /** @description JSON request body */
37147
- requestBody: {
37148
- content: {
37149
- "application/json": components["schemas"]["RecoverTaskRequest"];
37150
- };
37151
- };
38916
+ requestBody?: never;
37152
38917
  responses: {
37153
38918
  /** @description OK */
37154
38919
  200: {
@@ -37156,20 +38921,11 @@ export interface operations {
37156
38921
  [name: string]: unknown;
37157
38922
  };
37158
38923
  content: {
37159
- "application/json": components["schemas"]["TaskResponse"];
37160
- };
37161
- };
37162
- /** @description Task not found */
37163
- 404: {
37164
- headers: {
37165
- [name: string]: unknown;
37166
- };
37167
- content: {
37168
- "application/json": components["schemas"]["ErrorPayload"];
38924
+ "application/json": components["schemas"]["TaskRunReviewsResponse"];
37169
38925
  };
37170
38926
  };
37171
- /** @description Task recover conflict */
37172
- 409: {
38927
+ /** @description Invalid review filter */
38928
+ 400: {
37173
38929
  headers: {
37174
38930
  [name: string]: unknown;
37175
38931
  };
@@ -37177,8 +38933,8 @@ export interface operations {
37177
38933
  "application/json": components["schemas"]["ErrorPayload"];
37178
38934
  };
37179
38935
  };
37180
- /** @description Invalid task recover request */
37181
- 422: {
38936
+ /** @description Task not found */
38937
+ 404: {
37182
38938
  headers: {
37183
38939
  [name: string]: unknown;
37184
38940
  };
@@ -37206,11 +38962,27 @@ export interface operations {
37206
38962
  };
37207
38963
  };
37208
38964
  };
37209
- rejectTask: {
38965
+ listTaskRuns: {
37210
38966
  parameters: {
37211
38967
  query?: {
37212
- /** @description Act as this profile by name */
38968
+ /** @description Filter by run status */
38969
+ status?:
38970
+ | "queued"
38971
+ | "claimed"
38972
+ | "starting"
38973
+ | "running"
38974
+ | "completed"
38975
+ | "failed"
38976
+ | "canceled"
38977
+ | "needs_attention";
38978
+ /** @description Filter by attached session id */
38979
+ session_id?: string;
38980
+ /** @description Maximum number of records to return */
38981
+ limit?: number;
38982
+ /** @description Read one profile's rows by name */
37213
38983
  profile?: string;
38984
+ /** @description Read the owner-labeled all-profiles aggregate */
38985
+ all_profiles?: boolean;
37214
38986
  };
37215
38987
  header?: never;
37216
38988
  path: {
@@ -37227,7 +38999,7 @@ export interface operations {
37227
38999
  [name: string]: unknown;
37228
39000
  };
37229
39001
  content: {
37230
- "application/json": components["schemas"]["TaskResponse"];
39002
+ "application/json": components["schemas"]["TaskRunsResponse"];
37231
39003
  };
37232
39004
  };
37233
39005
  /** @description Task not found */
@@ -37239,16 +39011,7 @@ export interface operations {
37239
39011
  "application/json": components["schemas"]["ErrorPayload"];
37240
39012
  };
37241
39013
  };
37242
- /** @description Task rejection conflict */
37243
- 409: {
37244
- headers: {
37245
- [name: string]: unknown;
37246
- };
37247
- content: {
37248
- "application/json": components["schemas"]["ErrorPayload"];
37249
- };
37250
- };
37251
- /** @description Invalid task rejection request */
39014
+ /** @description Invalid task-run filter */
37252
39015
  422: {
37253
39016
  headers: {
37254
39017
  [name: string]: unknown;
@@ -37277,7 +39040,7 @@ export interface operations {
37277
39040
  };
37278
39041
  };
37279
39042
  };
37280
- resumeTask: {
39043
+ enqueueTaskRun: {
37281
39044
  parameters: {
37282
39045
  query?: {
37283
39046
  /** @description Act as this profile by name */
@@ -37291,28 +39054,19 @@ export interface operations {
37291
39054
  cookie?: never;
37292
39055
  };
37293
39056
  /** @description JSON request body */
37294
- requestBody?: {
39057
+ requestBody: {
37295
39058
  content: {
37296
- "application/json": components["schemas"]["ResumeTaskRequest"];
39059
+ "application/json": components["schemas"]["EnqueueTaskRunRequest"];
37297
39060
  };
37298
39061
  };
37299
39062
  responses: {
37300
- /** @description OK */
37301
- 200: {
37302
- headers: {
37303
- [name: string]: unknown;
37304
- };
37305
- content: {
37306
- "application/json": components["schemas"]["TaskResponse"];
37307
- };
37308
- };
37309
- /** @description Force operation forbidden */
37310
- 403: {
39063
+ /** @description Created */
39064
+ 201: {
37311
39065
  headers: {
37312
39066
  [name: string]: unknown;
37313
39067
  };
37314
39068
  content: {
37315
- "application/json": components["schemas"]["ErrorPayload"];
39069
+ "application/json": components["schemas"]["TaskRunResponse"];
37316
39070
  };
37317
39071
  };
37318
39072
  /** @description Task not found */
@@ -37324,7 +39078,7 @@ export interface operations {
37324
39078
  "application/json": components["schemas"]["ErrorPayload"];
37325
39079
  };
37326
39080
  };
37327
- /** @description Task resume conflict */
39081
+ /** @description Task-run enqueue conflict */
37328
39082
  409: {
37329
39083
  headers: {
37330
39084
  [name: string]: unknown;
@@ -37333,7 +39087,7 @@ export interface operations {
37333
39087
  "application/json": components["schemas"]["ErrorPayload"];
37334
39088
  };
37335
39089
  };
37336
- /** @description Invalid task resume request */
39090
+ /** @description Invalid task-run enqueue request */
37337
39091
  422: {
37338
39092
  headers: {
37339
39093
  [name: string]: unknown;
@@ -37342,15 +39096,6 @@ export interface operations {
37342
39096
  "application/json": components["schemas"]["ErrorPayload"];
37343
39097
  };
37344
39098
  };
37345
- /** @description Force-operation rate limit exceeded */
37346
- 429: {
37347
- headers: {
37348
- [name: string]: unknown;
37349
- };
37350
- content: {
37351
- "application/json": components["schemas"]["ErrorPayload"];
37352
- };
37353
- };
37354
39099
  /** @description Internal server error */
37355
39100
  500: {
37356
39101
  headers: {
@@ -37360,7 +39105,7 @@ export interface operations {
37360
39105
  "application/json": components["schemas"]["ErrorPayload"];
37361
39106
  };
37362
39107
  };
37363
- /** @description Task service is not configured */
39108
+ /** @description Task service is unavailable or daemon is draining */
37364
39109
  503: {
37365
39110
  headers: {
37366
39111
  [name: string]: unknown;
@@ -37371,19 +39116,11 @@ export interface operations {
37371
39116
  };
37372
39117
  };
37373
39118
  };
37374
- listTaskReviews: {
39119
+ fanOutTaskRuns: {
37375
39120
  parameters: {
37376
39121
  query?: {
37377
- /** @description Filter by review status */
37378
- status?: "requested" | "routed" | "in_review" | "recorded" | "circuit_opened" | "canceled";
37379
- /** @description Filter by reviewer session id */
37380
- reviewer_session_id?: string;
37381
- /** @description Maximum number of records to return */
37382
- limit?: number;
37383
- /** @description Read one profile's rows by name */
39122
+ /** @description Act as this profile by name */
37384
39123
  profile?: string;
37385
- /** @description Read the owner-labeled all-profiles aggregate */
37386
- all_profiles?: boolean;
37387
39124
  };
37388
39125
  header?: never;
37389
39126
  path: {
@@ -37392,19 +39129,24 @@ export interface operations {
37392
39129
  };
37393
39130
  cookie?: never;
37394
39131
  };
37395
- requestBody?: never;
39132
+ /** @description JSON request body */
39133
+ requestBody: {
39134
+ content: {
39135
+ "application/json": components["schemas"]["FanOutTaskRunsRequest"];
39136
+ };
39137
+ };
37396
39138
  responses: {
37397
- /** @description OK */
37398
- 200: {
39139
+ /** @description Created */
39140
+ 201: {
37399
39141
  headers: {
37400
39142
  [name: string]: unknown;
37401
39143
  };
37402
39144
  content: {
37403
- "application/json": components["schemas"]["TaskRunReviewsResponse"];
39145
+ "application/json": components["schemas"]["FanOutTaskRunsResponse"];
37404
39146
  };
37405
39147
  };
37406
- /** @description Invalid review filter */
37407
- 400: {
39148
+ /** @description Task not found */
39149
+ 404: {
37408
39150
  headers: {
37409
39151
  [name: string]: unknown;
37410
39152
  };
@@ -37412,8 +39154,17 @@ export interface operations {
37412
39154
  "application/json": components["schemas"]["ErrorPayload"];
37413
39155
  };
37414
39156
  };
37415
- /** @description Task not found */
37416
- 404: {
39157
+ /** @description Task fan-out conflict */
39158
+ 409: {
39159
+ headers: {
39160
+ [name: string]: unknown;
39161
+ };
39162
+ content: {
39163
+ "application/json": components["schemas"]["ErrorPayload"];
39164
+ };
39165
+ };
39166
+ /** @description Invalid fan-out request */
39167
+ 422: {
37417
39168
  headers: {
37418
39169
  [name: string]: unknown;
37419
39170
  };
@@ -37441,27 +39192,11 @@ export interface operations {
37441
39192
  };
37442
39193
  };
37443
39194
  };
37444
- listTaskRuns: {
39195
+ startTask: {
37445
39196
  parameters: {
37446
39197
  query?: {
37447
- /** @description Filter by run status */
37448
- status?:
37449
- | "queued"
37450
- | "claimed"
37451
- | "starting"
37452
- | "running"
37453
- | "completed"
37454
- | "failed"
37455
- | "canceled"
37456
- | "needs_attention";
37457
- /** @description Filter by attached session id */
37458
- session_id?: string;
37459
- /** @description Maximum number of records to return */
37460
- limit?: number;
37461
- /** @description Read one profile's rows by name */
39198
+ /** @description Act as this profile by name */
37462
39199
  profile?: string;
37463
- /** @description Read the owner-labeled all-profiles aggregate */
37464
- all_profiles?: boolean;
37465
39200
  };
37466
39201
  header?: never;
37467
39202
  path: {
@@ -37470,15 +39205,20 @@ export interface operations {
37470
39205
  };
37471
39206
  cookie?: never;
37472
39207
  };
37473
- requestBody?: never;
39208
+ /** @description JSON request body */
39209
+ requestBody: {
39210
+ content: {
39211
+ "application/json": components["schemas"]["TaskExecutionRequest"];
39212
+ };
39213
+ };
37474
39214
  responses: {
37475
- /** @description OK */
37476
- 200: {
39215
+ /** @description Created */
39216
+ 201: {
37477
39217
  headers: {
37478
39218
  [name: string]: unknown;
37479
39219
  };
37480
39220
  content: {
37481
- "application/json": components["schemas"]["TaskRunsResponse"];
39221
+ "application/json": components["schemas"]["TaskExecutionResponse"];
37482
39222
  };
37483
39223
  };
37484
39224
  /** @description Task not found */
@@ -37490,7 +39230,16 @@ export interface operations {
37490
39230
  "application/json": components["schemas"]["ErrorPayload"];
37491
39231
  };
37492
39232
  };
37493
- /** @description Invalid task-run filter */
39233
+ /** @description Task start conflict */
39234
+ 409: {
39235
+ headers: {
39236
+ [name: string]: unknown;
39237
+ };
39238
+ content: {
39239
+ "application/json": components["schemas"]["ErrorPayload"];
39240
+ };
39241
+ };
39242
+ /** @description Invalid task start request */
37494
39243
  422: {
37495
39244
  headers: {
37496
39245
  [name: string]: unknown;
@@ -37519,11 +39268,15 @@ export interface operations {
37519
39268
  };
37520
39269
  };
37521
39270
  };
37522
- enqueueTaskRun: {
39271
+ streamTask: {
37523
39272
  parameters: {
37524
39273
  query?: {
37525
- /** @description Act as this profile by name */
39274
+ /** @description Replay events after the supplied task stream sequence */
39275
+ after_sequence?: number;
39276
+ /** @description Read one profile's rows by name */
37526
39277
  profile?: string;
39278
+ /** @description Read the owner-labeled all-profiles aggregate */
39279
+ all_profiles?: boolean;
37527
39280
  };
37528
39281
  header?: never;
37529
39282
  path: {
@@ -37532,20 +39285,15 @@ export interface operations {
37532
39285
  };
37533
39286
  cookie?: never;
37534
39287
  };
37535
- /** @description JSON request body */
37536
- requestBody: {
37537
- content: {
37538
- "application/json": components["schemas"]["EnqueueTaskRunRequest"];
37539
- };
37540
- };
39288
+ requestBody?: never;
37541
39289
  responses: {
37542
- /** @description Created */
37543
- 201: {
39290
+ /** @description Standard SSE message stream; the payload type identifies each task event */
39291
+ 200: {
37544
39292
  headers: {
37545
39293
  [name: string]: unknown;
37546
39294
  };
37547
39295
  content: {
37548
- "application/json": components["schemas"]["TaskRunResponse"];
39296
+ "text/event-stream": components["schemas"]["TaskStreamEventPayload"];
37549
39297
  };
37550
39298
  };
37551
39299
  /** @description Task not found */
@@ -37557,16 +39305,7 @@ export interface operations {
37557
39305
  "application/json": components["schemas"]["ErrorPayload"];
37558
39306
  };
37559
39307
  };
37560
- /** @description Task-run enqueue conflict */
37561
- 409: {
37562
- headers: {
37563
- [name: string]: unknown;
37564
- };
37565
- content: {
37566
- "application/json": components["schemas"]["ErrorPayload"];
37567
- };
37568
- };
37569
- /** @description Invalid task-run enqueue request */
39308
+ /** @description Invalid task stream query */
37570
39309
  422: {
37571
39310
  headers: {
37572
39311
  [name: string]: unknown;
@@ -37584,7 +39323,7 @@ export interface operations {
37584
39323
  "application/json": components["schemas"]["ErrorPayload"];
37585
39324
  };
37586
39325
  };
37587
- /** @description Task service is unavailable or daemon is draining */
39326
+ /** @description Task service is not configured */
37588
39327
  503: {
37589
39328
  headers: {
37590
39329
  [name: string]: unknown;
@@ -37595,11 +39334,17 @@ export interface operations {
37595
39334
  };
37596
39335
  };
37597
39336
  };
37598
- fanOutTaskRuns: {
39337
+ getTaskTimeline: {
37599
39338
  parameters: {
37600
39339
  query?: {
37601
- /** @description Act as this profile by name */
39340
+ /** @description Return only events after the supplied sequence */
39341
+ after_sequence?: number;
39342
+ /** @description Maximum number of timeline items to return */
39343
+ limit?: number;
39344
+ /** @description Read one profile's rows by name */
37602
39345
  profile?: string;
39346
+ /** @description Read the owner-labeled all-profiles aggregate */
39347
+ all_profiles?: boolean;
37603
39348
  };
37604
39349
  header?: never;
37605
39350
  path: {
@@ -37608,20 +39353,15 @@ export interface operations {
37608
39353
  };
37609
39354
  cookie?: never;
37610
39355
  };
37611
- /** @description JSON request body */
37612
- requestBody: {
37613
- content: {
37614
- "application/json": components["schemas"]["FanOutTaskRunsRequest"];
37615
- };
37616
- };
39356
+ requestBody?: never;
37617
39357
  responses: {
37618
- /** @description Created */
37619
- 201: {
39358
+ /** @description OK */
39359
+ 200: {
37620
39360
  headers: {
37621
39361
  [name: string]: unknown;
37622
39362
  };
37623
39363
  content: {
37624
- "application/json": components["schemas"]["FanOutTaskRunsResponse"];
39364
+ "application/json": components["schemas"]["TaskTimelineResponse"];
37625
39365
  };
37626
39366
  };
37627
39367
  /** @description Task not found */
@@ -37633,16 +39373,7 @@ export interface operations {
37633
39373
  "application/json": components["schemas"]["ErrorPayload"];
37634
39374
  };
37635
39375
  };
37636
- /** @description Task fan-out conflict */
37637
- 409: {
37638
- headers: {
37639
- [name: string]: unknown;
37640
- };
37641
- content: {
37642
- "application/json": components["schemas"]["ErrorPayload"];
37643
- };
37644
- };
37645
- /** @description Invalid fan-out request */
39376
+ /** @description Invalid timeline query */
37646
39377
  422: {
37647
39378
  headers: {
37648
39379
  [name: string]: unknown;
@@ -37671,11 +39402,13 @@ export interface operations {
37671
39402
  };
37672
39403
  };
37673
39404
  };
37674
- startTask: {
39405
+ getTaskTree: {
37675
39406
  parameters: {
37676
39407
  query?: {
37677
- /** @description Act as this profile by name */
39408
+ /** @description Read one profile's rows by name */
37678
39409
  profile?: string;
39410
+ /** @description Read the owner-labeled all-profiles aggregate */
39411
+ all_profiles?: boolean;
37679
39412
  };
37680
39413
  header?: never;
37681
39414
  path: {
@@ -37684,20 +39417,15 @@ export interface operations {
37684
39417
  };
37685
39418
  cookie?: never;
37686
39419
  };
37687
- /** @description JSON request body */
37688
- requestBody: {
37689
- content: {
37690
- "application/json": components["schemas"]["TaskExecutionRequest"];
37691
- };
37692
- };
39420
+ requestBody?: never;
37693
39421
  responses: {
37694
- /** @description Created */
37695
- 201: {
39422
+ /** @description OK */
39423
+ 200: {
37696
39424
  headers: {
37697
39425
  [name: string]: unknown;
37698
39426
  };
37699
39427
  content: {
37700
- "application/json": components["schemas"]["TaskExecutionResponse"];
39428
+ "application/json": components["schemas"]["TaskTreeResponse"];
37701
39429
  };
37702
39430
  };
37703
39431
  /** @description Task not found */
@@ -37709,16 +39437,7 @@ export interface operations {
37709
39437
  "application/json": components["schemas"]["ErrorPayload"];
37710
39438
  };
37711
39439
  };
37712
- /** @description Task start conflict */
37713
- 409: {
37714
- headers: {
37715
- [name: string]: unknown;
37716
- };
37717
- content: {
37718
- "application/json": components["schemas"]["ErrorPayload"];
37719
- };
37720
- };
37721
- /** @description Invalid task start request */
39440
+ /** @description Invalid task id */
37722
39441
  422: {
37723
39442
  headers: {
37724
39443
  [name: string]: unknown;
@@ -37747,15 +39466,11 @@ export interface operations {
37747
39466
  };
37748
39467
  };
37749
39468
  };
37750
- streamTask: {
39469
+ archiveTask: {
37751
39470
  parameters: {
37752
39471
  query?: {
37753
- /** @description Replay events after the supplied task stream sequence */
37754
- after_sequence?: number;
37755
- /** @description Read one profile's rows by name */
39472
+ /** @description Act as this profile by name */
37756
39473
  profile?: string;
37757
- /** @description Read the owner-labeled all-profiles aggregate */
37758
- all_profiles?: boolean;
37759
39474
  };
37760
39475
  header?: never;
37761
39476
  path: {
@@ -37766,13 +39481,13 @@ export interface operations {
37766
39481
  };
37767
39482
  requestBody?: never;
37768
39483
  responses: {
37769
- /** @description Standard SSE message stream; the payload type identifies each task event */
39484
+ /** @description OK */
37770
39485
  200: {
37771
39486
  headers: {
37772
39487
  [name: string]: unknown;
37773
39488
  };
37774
39489
  content: {
37775
- "text/event-stream": components["schemas"]["TaskStreamEventPayload"];
39490
+ "application/json": components["schemas"]["TaskTriageStateResponse"];
37776
39491
  };
37777
39492
  };
37778
39493
  /** @description Task not found */
@@ -37784,7 +39499,7 @@ export interface operations {
37784
39499
  "application/json": components["schemas"]["ErrorPayload"];
37785
39500
  };
37786
39501
  };
37787
- /** @description Invalid task stream query */
39502
+ /** @description Invalid task triage request */
37788
39503
  422: {
37789
39504
  headers: {
37790
39505
  [name: string]: unknown;
@@ -37813,17 +39528,11 @@ export interface operations {
37813
39528
  };
37814
39529
  };
37815
39530
  };
37816
- getTaskTimeline: {
39531
+ dismissTask: {
37817
39532
  parameters: {
37818
39533
  query?: {
37819
- /** @description Return only events after the supplied sequence */
37820
- after_sequence?: number;
37821
- /** @description Maximum number of timeline items to return */
37822
- limit?: number;
37823
- /** @description Read one profile's rows by name */
39534
+ /** @description Act as this profile by name */
37824
39535
  profile?: string;
37825
- /** @description Read the owner-labeled all-profiles aggregate */
37826
- all_profiles?: boolean;
37827
39536
  };
37828
39537
  header?: never;
37829
39538
  path: {
@@ -37840,7 +39549,7 @@ export interface operations {
37840
39549
  [name: string]: unknown;
37841
39550
  };
37842
39551
  content: {
37843
- "application/json": components["schemas"]["TaskTimelineResponse"];
39552
+ "application/json": components["schemas"]["TaskTriageStateResponse"];
37844
39553
  };
37845
39554
  };
37846
39555
  /** @description Task not found */
@@ -37852,7 +39561,7 @@ export interface operations {
37852
39561
  "application/json": components["schemas"]["ErrorPayload"];
37853
39562
  };
37854
39563
  };
37855
- /** @description Invalid timeline query */
39564
+ /** @description Invalid task triage request */
37856
39565
  422: {
37857
39566
  headers: {
37858
39567
  [name: string]: unknown;
@@ -37881,13 +39590,11 @@ export interface operations {
37881
39590
  };
37882
39591
  };
37883
39592
  };
37884
- getTaskTree: {
39593
+ markTaskRead: {
37885
39594
  parameters: {
37886
39595
  query?: {
37887
- /** @description Read one profile's rows by name */
39596
+ /** @description Act as this profile by name */
37888
39597
  profile?: string;
37889
- /** @description Read the owner-labeled all-profiles aggregate */
37890
- all_profiles?: boolean;
37891
39598
  };
37892
39599
  header?: never;
37893
39600
  path: {
@@ -37904,7 +39611,7 @@ export interface operations {
37904
39611
  [name: string]: unknown;
37905
39612
  };
37906
39613
  content: {
37907
- "application/json": components["schemas"]["TaskTreeResponse"];
39614
+ "application/json": components["schemas"]["TaskTriageStateResponse"];
37908
39615
  };
37909
39616
  };
37910
39617
  /** @description Task not found */
@@ -37916,7 +39623,7 @@ export interface operations {
37916
39623
  "application/json": components["schemas"]["ErrorPayload"];
37917
39624
  };
37918
39625
  };
37919
- /** @description Invalid task id */
39626
+ /** @description Invalid task triage request */
37920
39627
  422: {
37921
39628
  headers: {
37922
39629
  [name: string]: unknown;
@@ -37945,17 +39652,20 @@ export interface operations {
37945
39652
  };
37946
39653
  };
37947
39654
  };
37948
- archiveTask: {
39655
+ listTerminalsAggregate: {
37949
39656
  parameters: {
37950
39657
  query?: {
37951
- /** @description Act as this profile by name */
39658
+ /** @description Read all projects and User rows */
39659
+ all_workspaces?: boolean;
39660
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
39661
+ workspace_ids?: string[];
39662
+ /** @description Read one profile's rows by name */
37952
39663
  profile?: string;
39664
+ /** @description Read the owner-labeled all-profiles aggregate */
39665
+ all_profiles?: boolean;
37953
39666
  };
37954
39667
  header?: never;
37955
- path: {
37956
- /** @description Task id */
37957
- id: string;
37958
- };
39668
+ path?: never;
37959
39669
  cookie?: never;
37960
39670
  };
37961
39671
  requestBody?: never;
@@ -37966,167 +39676,163 @@ export interface operations {
37966
39676
  [name: string]: unknown;
37967
39677
  };
37968
39678
  content: {
37969
- "application/json": components["schemas"]["TaskTriageStateResponse"];
37970
- };
37971
- };
37972
- /** @description Task not found */
37973
- 404: {
37974
- headers: {
37975
- [name: string]: unknown;
37976
- };
37977
- content: {
37978
- "application/json": components["schemas"]["ErrorPayload"];
37979
- };
37980
- };
37981
- /** @description Invalid task triage request */
37982
- 422: {
37983
- headers: {
37984
- [name: string]: unknown;
37985
- };
37986
- content: {
37987
- "application/json": components["schemas"]["ErrorPayload"];
39679
+ "application/json": components["schemas"]["TerminalListResponse"];
37988
39680
  };
37989
39681
  };
37990
- /** @description Internal server error */
37991
- 500: {
39682
+ /** @description Malformed terminal request */
39683
+ 400: {
37992
39684
  headers: {
37993
39685
  [name: string]: unknown;
37994
39686
  };
37995
39687
  content: {
37996
- "application/json": components["schemas"]["ErrorPayload"];
39688
+ "application/json": components["schemas"]["TerminalErrorResponse"];
37997
39689
  };
37998
39690
  };
37999
- /** @description Task service is not configured */
38000
- 503: {
39691
+ /** @description Terminal authentication required */
39692
+ 401: {
38001
39693
  headers: {
38002
39694
  [name: string]: unknown;
38003
39695
  };
38004
39696
  content: {
38005
- "application/json": components["schemas"]["ErrorPayload"];
39697
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38006
39698
  };
38007
39699
  };
38008
- };
38009
- };
38010
- dismissTask: {
38011
- parameters: {
38012
- query?: {
38013
- /** @description Act as this profile by name */
38014
- profile?: string;
38015
- };
38016
- header?: never;
38017
- path: {
38018
- /** @description Task id */
38019
- id: string;
38020
- };
38021
- cookie?: never;
38022
- };
38023
- requestBody?: never;
38024
- responses: {
38025
- /** @description OK */
38026
- 200: {
39700
+ /** @description Terminal operation forbidden */
39701
+ 403: {
38027
39702
  headers: {
38028
39703
  [name: string]: unknown;
38029
39704
  };
38030
39705
  content: {
38031
- "application/json": components["schemas"]["TaskTriageStateResponse"];
39706
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38032
39707
  };
38033
39708
  };
38034
- /** @description Task not found */
38035
- 404: {
39709
+ /** @description Terminal state or profile conflict */
39710
+ 409: {
38036
39711
  headers: {
38037
39712
  [name: string]: unknown;
38038
39713
  };
38039
39714
  content: {
38040
- "application/json": components["schemas"]["ErrorPayload"];
39715
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38041
39716
  };
38042
39717
  };
38043
- /** @description Invalid task triage request */
39718
+ /** @description Invalid profile selection */
38044
39719
  422: {
38045
39720
  headers: {
38046
39721
  [name: string]: unknown;
38047
39722
  };
38048
39723
  content: {
38049
- "application/json": components["schemas"]["ErrorPayload"];
39724
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38050
39725
  };
38051
39726
  };
38052
- /** @description Internal server error */
39727
+ /** @description Terminal transport failed */
38053
39728
  500: {
38054
39729
  headers: {
38055
39730
  [name: string]: unknown;
38056
39731
  };
38057
39732
  content: {
38058
- "application/json": components["schemas"]["ErrorPayload"];
39733
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38059
39734
  };
38060
39735
  };
38061
- /** @description Task service is not configured */
39736
+ /** @description Terminal service unavailable */
38062
39737
  503: {
38063
39738
  headers: {
38064
39739
  [name: string]: unknown;
38065
39740
  };
38066
39741
  content: {
38067
- "application/json": components["schemas"]["ErrorPayload"];
39742
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38068
39743
  };
38069
39744
  };
38070
39745
  };
38071
39746
  };
38072
- markTaskRead: {
39747
+ streamTerminalsAggregate: {
38073
39748
  parameters: {
38074
39749
  query?: {
39750
+ /** @description Read all projects and User rows */
39751
+ all_workspaces?: boolean;
39752
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
39753
+ workspace_ids?: string[];
38075
39754
  /** @description Act as this profile by name */
38076
39755
  profile?: string;
38077
39756
  };
38078
- header?: never;
38079
- path: {
38080
- /** @description Task id */
38081
- id: string;
39757
+ header?: {
39758
+ /** @description Resume after the last terminal catalog event */
39759
+ "Last-Event-ID"?: string;
38082
39760
  };
39761
+ path?: never;
38083
39762
  cookie?: never;
38084
39763
  };
38085
39764
  requestBody?: never;
38086
39765
  responses: {
38087
- /** @description OK */
39766
+ /** @description Terminal catalog event stream */
38088
39767
  200: {
38089
39768
  headers: {
38090
39769
  [name: string]: unknown;
38091
39770
  };
38092
39771
  content: {
38093
- "application/json": components["schemas"]["TaskTriageStateResponse"];
39772
+ "text/event-stream": components["schemas"]["TerminalCatalogSnapshot"];
38094
39773
  };
38095
39774
  };
38096
- /** @description Task not found */
38097
- 404: {
39775
+ /** @description Malformed terminal request */
39776
+ 400: {
38098
39777
  headers: {
38099
39778
  [name: string]: unknown;
38100
39779
  };
38101
39780
  content: {
38102
- "application/json": components["schemas"]["ErrorPayload"];
39781
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38103
39782
  };
38104
39783
  };
38105
- /** @description Invalid task triage request */
39784
+ /** @description Terminal authentication required */
39785
+ 401: {
39786
+ headers: {
39787
+ [name: string]: unknown;
39788
+ };
39789
+ content: {
39790
+ "application/json": components["schemas"]["TerminalErrorResponse"];
39791
+ };
39792
+ };
39793
+ /** @description Terminal operation forbidden */
39794
+ 403: {
39795
+ headers: {
39796
+ [name: string]: unknown;
39797
+ };
39798
+ content: {
39799
+ "application/json": components["schemas"]["TerminalErrorResponse"];
39800
+ };
39801
+ };
39802
+ /** @description Terminal state or profile conflict */
39803
+ 409: {
39804
+ headers: {
39805
+ [name: string]: unknown;
39806
+ };
39807
+ content: {
39808
+ "application/json": components["schemas"]["TerminalErrorResponse"];
39809
+ };
39810
+ };
39811
+ /** @description Invalid terminal catalog cursor */
38106
39812
  422: {
38107
39813
  headers: {
38108
39814
  [name: string]: unknown;
38109
39815
  };
38110
39816
  content: {
38111
- "application/json": components["schemas"]["ErrorPayload"];
39817
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38112
39818
  };
38113
39819
  };
38114
- /** @description Internal server error */
39820
+ /** @description Terminal transport failed */
38115
39821
  500: {
38116
39822
  headers: {
38117
39823
  [name: string]: unknown;
38118
39824
  };
38119
39825
  content: {
38120
- "application/json": components["schemas"]["ErrorPayload"];
39826
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38121
39827
  };
38122
39828
  };
38123
- /** @description Task service is not configured */
39829
+ /** @description Terminal catalog unavailable */
38124
39830
  503: {
38125
39831
  headers: {
38126
39832
  [name: string]: unknown;
38127
39833
  };
38128
39834
  content: {
38129
- "application/json": components["schemas"]["ErrorPayload"];
39835
+ "application/json": components["schemas"]["TerminalErrorResponse"];
38130
39836
  };
38131
39837
  };
38132
39838
  };
@@ -43872,6 +45578,8 @@ export interface operations {
43872
45578
  listWorkspaceSessions: {
43873
45579
  parameters: {
43874
45580
  query?: {
45581
+ /** @description Project IDs or @user; repeatable, requires all_workspaces */
45582
+ workspace_ids?: string[];
43875
45583
  /** @description Include metadata-only health for returned sessions */
43876
45584
  include_health?: boolean;
43877
45585
  /** @description Omit the exact catalog count for a bounded cursor read */
@@ -45514,11 +47222,66 @@ export interface operations {
45514
47222
  };
45515
47223
  };
45516
47224
  };
45517
- inspectSession: {
47225
+ inspectSession: {
47226
+ parameters: {
47227
+ query?: {
47228
+ /** @description Include recent wake audit rows */
47229
+ include_recent_wake_events?: boolean;
47230
+ };
47231
+ header?: never;
47232
+ path: {
47233
+ /** @description Workspace id */
47234
+ workspace_id: string;
47235
+ /** @description Session id */
47236
+ session_id: string;
47237
+ };
47238
+ cookie?: never;
47239
+ };
47240
+ requestBody?: never;
47241
+ responses: {
47242
+ /** @description OK */
47243
+ 200: {
47244
+ headers: {
47245
+ [name: string]: unknown;
47246
+ };
47247
+ content: {
47248
+ "application/json": components["schemas"]["SessionInspectResponse"];
47249
+ };
47250
+ };
47251
+ /** @description Forbidden - workspace or permission mismatch */
47252
+ 403: {
47253
+ headers: {
47254
+ [name: string]: unknown;
47255
+ };
47256
+ content: {
47257
+ "application/json": components["schemas"]["ErrorPayload"];
47258
+ };
47259
+ };
47260
+ /** @description Session not found */
47261
+ 404: {
47262
+ headers: {
47263
+ [name: string]: unknown;
47264
+ };
47265
+ content: {
47266
+ "application/json": components["schemas"]["ErrorPayload"];
47267
+ };
47268
+ };
47269
+ /** @description Internal server error */
47270
+ 500: {
47271
+ headers: {
47272
+ [name: string]: unknown;
47273
+ };
47274
+ content: {
47275
+ "application/json": components["schemas"]["ErrorPayload"];
47276
+ };
47277
+ };
47278
+ };
47279
+ };
47280
+ listSessionInteractions: {
45518
47281
  parameters: {
45519
47282
  query?: {
45520
- /** @description Include recent wake audit rows */
45521
- include_recent_wake_events?: boolean;
47283
+ /** @description Filter by interaction status */
47284
+ status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
45522
47285
  };
45523
47286
  header?: never;
45524
47287
  path: {
@@ -45537,10 +47300,19 @@ export interface operations {
45537
47300
  [name: string]: unknown;
45538
47301
  };
45539
47302
  content: {
45540
- "application/json": components["schemas"]["SessionInspectResponse"];
47303
+ "application/json": components["schemas"]["SessionInteractionsResponse"];
45541
47304
  };
45542
47305
  };
45543
- /** @description Forbidden - workspace or permission mismatch */
47306
+ /** @description Invalid interaction status */
47307
+ 400: {
47308
+ headers: {
47309
+ [name: string]: unknown;
47310
+ };
47311
+ content: {
47312
+ "application/json": components["schemas"]["ErrorPayload"];
47313
+ };
47314
+ };
47315
+ /** @description Agent identity is denied */
45544
47316
  403: {
45545
47317
  headers: {
45546
47318
  [name: string]: unknown;
@@ -45567,14 +47339,20 @@ export interface operations {
45567
47339
  "application/json": components["schemas"]["ErrorPayload"];
45568
47340
  };
45569
47341
  };
47342
+ /** @description Session attention is unavailable */
47343
+ 503: {
47344
+ headers: {
47345
+ [name: string]: unknown;
47346
+ };
47347
+ content: {
47348
+ "application/json": components["schemas"]["ErrorPayload"];
47349
+ };
47350
+ };
45570
47351
  };
45571
47352
  };
45572
- listSessionInteractions: {
47353
+ listSessionMonitors: {
45573
47354
  parameters: {
45574
- query?: {
45575
- /** @description Filter by interaction status */
45576
- status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
45577
- };
47355
+ query?: never;
45578
47356
  header?: never;
45579
47357
  path: {
45580
47358
  /** @description Workspace id */
@@ -45586,17 +47364,17 @@ export interface operations {
45586
47364
  };
45587
47365
  requestBody?: never;
45588
47366
  responses: {
45589
- /** @description OK */
47367
+ /** @description Success */
45590
47368
  200: {
45591
47369
  headers: {
45592
47370
  [name: string]: unknown;
45593
47371
  };
45594
47372
  content: {
45595
- "application/json": components["schemas"]["SessionInteractionsResponse"];
47373
+ "application/json": components["schemas"]["SessionMonitorsResponse"];
45596
47374
  };
45597
47375
  };
45598
- /** @description Invalid interaction status */
45599
- 400: {
47376
+ /** @description Session or monitor not found */
47377
+ 404: {
45600
47378
  headers: {
45601
47379
  [name: string]: unknown;
45602
47380
  };
@@ -45604,8 +47382,8 @@ export interface operations {
45604
47382
  "application/json": components["schemas"]["ErrorPayload"];
45605
47383
  };
45606
47384
  };
45607
- /** @description Agent identity is denied */
45608
- 403: {
47385
+ /** @description Internal server error */
47386
+ 500: {
45609
47387
  headers: {
45610
47388
  [name: string]: unknown;
45611
47389
  };
@@ -45613,7 +47391,43 @@ export interface operations {
45613
47391
  "application/json": components["schemas"]["ErrorPayload"];
45614
47392
  };
45615
47393
  };
45616
- /** @description Session not found */
47394
+ /** @description Session monitors unavailable */
47395
+ 503: {
47396
+ headers: {
47397
+ [name: string]: unknown;
47398
+ };
47399
+ content: {
47400
+ "application/json": components["schemas"]["ErrorPayload"];
47401
+ };
47402
+ };
47403
+ };
47404
+ };
47405
+ cancelSessionMonitor: {
47406
+ parameters: {
47407
+ query?: never;
47408
+ header?: never;
47409
+ path: {
47410
+ /** @description Workspace id */
47411
+ workspace_id: string;
47412
+ /** @description Session id */
47413
+ session_id: string;
47414
+ /** @description Monitor id */
47415
+ monitor_id: string;
47416
+ };
47417
+ cookie?: never;
47418
+ };
47419
+ requestBody?: never;
47420
+ responses: {
47421
+ /** @description Success */
47422
+ 200: {
47423
+ headers: {
47424
+ [name: string]: unknown;
47425
+ };
47426
+ content: {
47427
+ "application/json": components["schemas"]["SessionMonitorResponse"];
47428
+ };
47429
+ };
47430
+ /** @description Session or monitor not found */
45617
47431
  404: {
45618
47432
  headers: {
45619
47433
  [name: string]: unknown;
@@ -45631,7 +47445,7 @@ export interface operations {
45631
47445
  "application/json": components["schemas"]["ErrorPayload"];
45632
47446
  };
45633
47447
  };
45634
- /** @description Session attention is unavailable */
47448
+ /** @description Session monitors unavailable */
45635
47449
  503: {
45636
47450
  headers: {
45637
47451
  [name: string]: unknown;
@@ -49744,6 +51558,15 @@ export interface operations {
49744
51558
  "application/json": components["schemas"]["ContractWindowManagerClientView"];
49745
51559
  };
49746
51560
  };
51561
+ /** @description Invalid window workspace binding */
51562
+ 400: {
51563
+ headers: {
51564
+ [name: string]: unknown;
51565
+ };
51566
+ content: {
51567
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
51568
+ };
51569
+ };
49747
51570
  /** @description Workspace or referenced entity not found */
49748
51571
  404: {
49749
51572
  headers: {
@@ -49806,6 +51629,15 @@ export interface operations {
49806
51629
  };
49807
51630
  content?: never;
49808
51631
  };
51632
+ /** @description Invalid window workspace binding */
51633
+ 400: {
51634
+ headers: {
51635
+ [name: string]: unknown;
51636
+ };
51637
+ content: {
51638
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
51639
+ };
51640
+ };
49809
51641
  /** @description Workspace or referenced entity not found */
49810
51642
  404: {
49811
51643
  headers: {
@@ -49873,6 +51705,15 @@ export interface operations {
49873
51705
  "application/json": components["schemas"]["ContractWindowManagerResult"];
49874
51706
  };
49875
51707
  };
51708
+ /** @description Invalid window workspace binding */
51709
+ 400: {
51710
+ headers: {
51711
+ [name: string]: unknown;
51712
+ };
51713
+ content: {
51714
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
51715
+ };
51716
+ };
49876
51717
  /** @description Workspace or referenced entity not found */
49877
51718
  404: {
49878
51719
  headers: {
@@ -49984,6 +51825,15 @@ export interface operations {
49984
51825
  "application/json": components["schemas"]["ContractWindowManagerResult"];
49985
51826
  };
49986
51827
  };
51828
+ /** @description Invalid window workspace binding */
51829
+ 400: {
51830
+ headers: {
51831
+ [name: string]: unknown;
51832
+ };
51833
+ content: {
51834
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
51835
+ };
51836
+ };
49987
51837
  /** @description Workspace or referenced entity not found */
49988
51838
  404: {
49989
51839
  headers: {
@@ -50342,6 +52192,15 @@ export interface operations {
50342
52192
  "application/json": components["schemas"]["ContractWindowManagerLayoutValidationResponse"];
50343
52193
  };
50344
52194
  };
52195
+ /** @description Invalid window workspace binding */
52196
+ 400: {
52197
+ headers: {
52198
+ [name: string]: unknown;
52199
+ };
52200
+ content: {
52201
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
52202
+ };
52203
+ };
50345
52204
  /** @description Workspace or referenced entity not found */
50346
52205
  404: {
50347
52206
  headers: {
@@ -50409,6 +52268,15 @@ export interface operations {
50409
52268
  "application/json": components["schemas"]["ContractWindowManagerPreview"];
50410
52269
  };
50411
52270
  };
52271
+ /** @description Invalid window workspace binding */
52272
+ 400: {
52273
+ headers: {
52274
+ [name: string]: unknown;
52275
+ };
52276
+ content: {
52277
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
52278
+ };
52279
+ };
50412
52280
  /** @description Workspace or referenced entity not found */
50413
52281
  404: {
50414
52282
  headers: {
@@ -50768,6 +52636,89 @@ export interface operations {
50768
52636
  };
50769
52637
  };
50770
52638
  };
52639
+ removeDiscoveredWorktree: {
52640
+ parameters: {
52641
+ query?: {
52642
+ /** @description Act as this profile by name */
52643
+ profile?: string;
52644
+ };
52645
+ header?: never;
52646
+ path: {
52647
+ /** @description Workspace id or path */
52648
+ workspace_id: string;
52649
+ };
52650
+ cookie?: never;
52651
+ };
52652
+ /** @description JSON request body */
52653
+ requestBody: {
52654
+ content: {
52655
+ "application/json": components["schemas"]["RemoveDiscoveredWorktreeRequest"];
52656
+ };
52657
+ };
52658
+ responses: {
52659
+ /** @description No Content */
52660
+ 204: {
52661
+ headers: {
52662
+ [name: string]: unknown;
52663
+ };
52664
+ content?: never;
52665
+ };
52666
+ /** @description Invalid discovered removal request */
52667
+ 400: {
52668
+ headers: {
52669
+ [name: string]: unknown;
52670
+ };
52671
+ content: {
52672
+ "application/json": components["schemas"]["ErrorPayload"];
52673
+ };
52674
+ };
52675
+ /** @description Hook or profile does not permit removal */
52676
+ 403: {
52677
+ headers: {
52678
+ [name: string]: unknown;
52679
+ };
52680
+ content: {
52681
+ "application/json": components["schemas"]["ErrorPayload"];
52682
+ };
52683
+ };
52684
+ /** @description Discovered worktree or workspace not found */
52685
+ 404: {
52686
+ headers: {
52687
+ [name: string]: unknown;
52688
+ };
52689
+ content: {
52690
+ "application/json": components["schemas"]["ErrorPayload"];
52691
+ };
52692
+ };
52693
+ /** @description Removal requires another decision */
52694
+ 409: {
52695
+ headers: {
52696
+ [name: string]: unknown;
52697
+ };
52698
+ content: {
52699
+ "application/json": components["schemas"]["WorktreeRemovalRefusalPayload"];
52700
+ };
52701
+ };
52702
+ /** @description Internal server error */
52703
+ 500: {
52704
+ headers: {
52705
+ [name: string]: unknown;
52706
+ };
52707
+ content: {
52708
+ "application/json": components["schemas"]["ErrorPayload"];
52709
+ };
52710
+ };
52711
+ /** @description Worktree service is unavailable */
52712
+ 503: {
52713
+ headers: {
52714
+ [name: string]: unknown;
52715
+ };
52716
+ content: {
52717
+ "application/json": components["schemas"]["ErrorPayload"];
52718
+ };
52719
+ };
52720
+ };
52721
+ };
50771
52722
  inspectWorktree: {
50772
52723
  parameters: {
50773
52724
  query?: never;
@@ -51484,6 +53435,67 @@ export interface operations {
51484
53435
  };
51485
53436
  };
51486
53437
  };
53438
+ listWorktreesAggregate: {
53439
+ parameters: {
53440
+ query?: {
53441
+ /** @description Read all projects and User rows */
53442
+ all_workspaces?: boolean;
53443
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
53444
+ workspace_ids?: string[];
53445
+ };
53446
+ header?: never;
53447
+ path?: never;
53448
+ cookie?: never;
53449
+ };
53450
+ requestBody?: never;
53451
+ responses: {
53452
+ /** @description OK */
53453
+ 200: {
53454
+ headers: {
53455
+ [name: string]: unknown;
53456
+ };
53457
+ content: {
53458
+ "application/json": components["schemas"]["WorktreesResponse"];
53459
+ };
53460
+ };
53461
+ /** @description Invalid worktree list query */
53462
+ 400: {
53463
+ headers: {
53464
+ [name: string]: unknown;
53465
+ };
53466
+ content: {
53467
+ "application/json": components["schemas"]["ErrorPayload"];
53468
+ };
53469
+ };
53470
+ /** @description Workspace not found */
53471
+ 404: {
53472
+ headers: {
53473
+ [name: string]: unknown;
53474
+ };
53475
+ content: {
53476
+ "application/json": components["schemas"]["ErrorPayload"];
53477
+ };
53478
+ };
53479
+ /** @description Internal server error */
53480
+ 500: {
53481
+ headers: {
53482
+ [name: string]: unknown;
53483
+ };
53484
+ content: {
53485
+ "application/json": components["schemas"]["ErrorPayload"];
53486
+ };
53487
+ };
53488
+ /** @description Worktree service is unavailable */
53489
+ 503: {
53490
+ headers: {
53491
+ [name: string]: unknown;
53492
+ };
53493
+ content: {
53494
+ "application/json": components["schemas"]["ErrorPayload"];
53495
+ };
53496
+ };
53497
+ };
53498
+ };
51487
53499
  streamWorktreeCatalog: {
51488
53500
  parameters: {
51489
53501
  query?: never;