@compozy/client 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1130,6 +1130,23 @@ export interface paths {
1130
1130
  patch?: never;
1131
1131
  trace?: never;
1132
1132
  };
1133
+ "/api/automation/runs/{id}/cancel": {
1134
+ parameters: {
1135
+ query?: never;
1136
+ header?: never;
1137
+ path?: never;
1138
+ cookie?: never;
1139
+ };
1140
+ get?: never;
1141
+ put?: never;
1142
+ /** Cancel an orphaned automation run */
1143
+ post: operations["cancelAutomationRun"];
1144
+ delete?: never;
1145
+ options?: never;
1146
+ head?: never;
1147
+ patch?: never;
1148
+ trace?: never;
1149
+ };
1133
1150
  "/api/automation/suggestions": {
1134
1151
  parameters: {
1135
1152
  query?: never;
@@ -5435,6 +5452,23 @@ export interface paths {
5435
5452
  patch?: never;
5436
5453
  trace?: never;
5437
5454
  };
5455
+ "/api/workspaces/{workspace_id}/files/raw/{path}": {
5456
+ parameters: {
5457
+ query?: never;
5458
+ header?: never;
5459
+ path?: never;
5460
+ cookie?: never;
5461
+ };
5462
+ /** Stream project file bytes */
5463
+ get: operations["readFileBytes"];
5464
+ put?: never;
5465
+ post?: never;
5466
+ delete?: never;
5467
+ options?: never;
5468
+ head?: never;
5469
+ patch?: never;
5470
+ trace?: never;
5471
+ };
5438
5472
  "/api/workspaces/{workspace_id}/files/search": {
5439
5473
  parameters: {
5440
5474
  query?: never;
@@ -6501,6 +6535,23 @@ export interface paths {
6501
6535
  patch?: never;
6502
6536
  trace?: never;
6503
6537
  };
6538
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/files/raw/{path}": {
6539
+ parameters: {
6540
+ query?: never;
6541
+ header?: never;
6542
+ path?: never;
6543
+ cookie?: never;
6544
+ };
6545
+ /** Stream session file bytes */
6546
+ get: operations["readSessionFileBytes"];
6547
+ put?: never;
6548
+ post?: never;
6549
+ delete?: never;
6550
+ options?: never;
6551
+ head?: never;
6552
+ patch?: never;
6553
+ trace?: never;
6554
+ };
6504
6555
  "/api/workspaces/{workspace_id}/sessions/{session_id}/files/search": {
6505
6556
  parameters: {
6506
6557
  query?: never;
@@ -7789,6 +7840,24 @@ export interface paths {
7789
7840
  patch?: never;
7790
7841
  trace?: never;
7791
7842
  };
7843
+ "/api/workspaces/{workspace_id}/window-manager/migration": {
7844
+ parameters: {
7845
+ query?: never;
7846
+ header?: never;
7847
+ path?: never;
7848
+ cookie?: never;
7849
+ };
7850
+ /** Read window layout migration status */
7851
+ get: operations["getWindowManagerMigration"];
7852
+ put?: never;
7853
+ /** Acknowledge or retry window layout migration */
7854
+ post: operations["updateWindowManagerMigration"];
7855
+ delete?: never;
7856
+ options?: never;
7857
+ head?: never;
7858
+ patch?: never;
7859
+ trace?: never;
7860
+ };
7792
7861
  "/api/workspaces/{workspace_id}/window-manager/preview": {
7793
7862
  parameters: {
7794
7863
  query?: never;
@@ -7875,6 +7944,23 @@ export interface paths {
7875
7944
  patch?: never;
7876
7945
  trace?: never;
7877
7946
  };
7947
+ "/api/workspaces/{workspace_id}/worktrees/remove": {
7948
+ parameters: {
7949
+ query?: never;
7950
+ header?: never;
7951
+ path?: never;
7952
+ cookie?: never;
7953
+ };
7954
+ get?: never;
7955
+ put?: never;
7956
+ /** Remove multiple worktrees or preview per-target removal risk */
7957
+ post: operations["removeWorktrees"];
7958
+ delete?: never;
7959
+ options?: never;
7960
+ head?: never;
7961
+ patch?: never;
7962
+ trace?: never;
7963
+ };
7878
7964
  "/api/workspaces/{workspace_id}/worktrees/{worktree_id}": {
7879
7965
  parameters: {
7880
7966
  query?: never;
@@ -7995,6 +8081,23 @@ export interface paths {
7995
8081
  patch?: never;
7996
8082
  trace?: never;
7997
8083
  };
8084
+ "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/files/raw/{path}": {
8085
+ parameters: {
8086
+ query?: never;
8087
+ header?: never;
8088
+ path?: never;
8089
+ cookie?: never;
8090
+ };
8091
+ /** Stream worktree file bytes */
8092
+ get: operations["readWorktreeFileBytes"];
8093
+ put?: never;
8094
+ post?: never;
8095
+ delete?: never;
8096
+ options?: never;
8097
+ head?: never;
8098
+ patch?: never;
8099
+ trace?: never;
8100
+ };
7998
8101
  "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/status": {
7999
8102
  parameters: {
8000
8103
  query?: never;
@@ -9143,6 +9246,10 @@ export interface components {
9143
9246
  expected_worktree_id?: string | null;
9144
9247
  worktree: string;
9145
9248
  };
9249
+ /**
9250
+ * @deprecated
9251
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
9252
+ */
9146
9253
  BindingsConfig: {
9147
9254
  bottom_center: string;
9148
9255
  top_center: string;
@@ -9255,10 +9362,25 @@ export interface components {
9255
9362
  ChangeSet: {
9256
9363
  client_ids?: string[];
9257
9364
  desktop_ids?: string[];
9365
+ /**
9366
+ * @deprecated
9367
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
9368
+ */
9258
9369
  group_ids?: string[];
9259
9370
  node_ids?: string[];
9371
+ /**
9372
+ * @deprecated
9373
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
9374
+ */
9260
9375
  stack_grouped?: string[];
9376
+ /**
9377
+ * @deprecated
9378
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
9379
+ */
9261
9380
  stack_ungrouped?: string[];
9381
+ tab_ids?: string[];
9382
+ tab_split?: string[];
9383
+ tab_unsplit?: string[];
9262
9384
  window_ids?: string[];
9263
9385
  };
9264
9386
  ChangeSidePayload: {
@@ -9637,6 +9759,9 @@ export interface components {
9637
9759
  };
9638
9760
  ContractWindowManagerClientView: {
9639
9761
  active_desktop_id: string;
9762
+ active_tab: {
9763
+ [key: string]: string;
9764
+ };
9640
9765
  attachment_token?: string;
9641
9766
  client_id: string;
9642
9767
  /** Format: date-time */
@@ -9648,6 +9773,10 @@ export interface components {
9648
9773
  kind: string;
9649
9774
  palette_context: components["schemas"]["WindowManagerPaletteContext"];
9650
9775
  presentation_revision: number;
9776
+ /**
9777
+ * @deprecated
9778
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
9779
+ */
9651
9780
  stack_active: {
9652
9781
  [key: string]: string;
9653
9782
  };
@@ -9681,6 +9810,8 @@ export interface components {
9681
9810
  | "window.stack.set_active"
9682
9811
  | "window.pin"
9683
9812
  | "window.reopen"
9813
+ | "window.tab.reorder"
9814
+ | "window.tab.activate"
9684
9815
  | "layout.arrange"
9685
9816
  | "layout.resize"
9686
9817
  | "layout.frame_resize"
@@ -9695,12 +9826,11 @@ export interface components {
9695
9826
  workspace_id: string;
9696
9827
  };
9697
9828
  ContractWindowManagerDesktop: {
9698
- floating: string[];
9699
- floating_stacks: components["schemas"]["WindowManagerFloatingStack"][];
9700
- groups: components["schemas"]["ContractWindowManagerLayoutGroup"][];
9829
+ active_tab_id: string;
9701
9830
  id: string;
9702
9831
  name: string;
9703
9832
  order: number;
9833
+ tabs: components["schemas"]["ContractWindowManagerTab"][];
9704
9834
  };
9705
9835
  ContractWindowManagerErrorFrame: {
9706
9836
  error: components["schemas"]["ContractWindowManagerErrorPayload"];
@@ -9754,11 +9884,6 @@ export interface components {
9754
9884
  };
9755
9885
  workspace_id: string;
9756
9886
  };
9757
- ContractWindowManagerLayoutGroup: {
9758
- frame: components["schemas"]["NormalizedRect"];
9759
- id: string;
9760
- root: components["schemas"]["WindowManagerLayoutNode"];
9761
- };
9762
9887
  ContractWindowManagerLayoutReplaceRequest: {
9763
9888
  actor: components["schemas"]["WindowManagerActor"];
9764
9889
  client_id?: string | null;
@@ -9773,6 +9898,7 @@ export interface components {
9773
9898
  };
9774
9899
  ContractWindowManagerLayoutValidationResponse: {
9775
9900
  diagnostics?: components["schemas"]["Diagnostic"][];
9901
+ document?: components["schemas"]["ContractWindowManagerLayoutDocument"] | null;
9776
9902
  valid: boolean;
9777
9903
  workspace_id: string;
9778
9904
  };
@@ -9780,6 +9906,7 @@ export interface components {
9780
9906
  changed: boolean;
9781
9907
  changes: components["schemas"]["ChangeSet"];
9782
9908
  client?: components["schemas"]["ContractWindowManagerClientView"] | null;
9909
+ deprecations: components["schemas"]["Deprecation"][];
9783
9910
  diagnostics?: components["schemas"]["Diagnostic"][];
9784
9911
  snapshot: components["schemas"]["ContractWindowManagerSnapshot"];
9785
9912
  };
@@ -9787,6 +9914,7 @@ export interface components {
9787
9914
  applied: boolean;
9788
9915
  changes: components["schemas"]["ChangeSet"];
9789
9916
  client?: components["schemas"]["ContractWindowManagerClientView"] | null;
9917
+ deprecations: components["schemas"]["Deprecation"][];
9790
9918
  diagnostics?: components["schemas"]["Diagnostic"][];
9791
9919
  rebased_from?: number;
9792
9920
  snapshot: components["schemas"]["ContractWindowManagerSnapshot"];
@@ -9794,6 +9922,7 @@ export interface components {
9794
9922
  ContractWindowManagerSnapshot: {
9795
9923
  closed_entry_count: number;
9796
9924
  desktops: components["schemas"]["ContractWindowManagerDesktop"][];
9925
+ migration?: components["schemas"]["MigrationStatus"] | null;
9797
9926
  overrides: components["schemas"]["WorkspaceConfig"];
9798
9927
  revision: number;
9799
9928
  /** Format: date-time */
@@ -9812,6 +9941,11 @@ export interface components {
9812
9941
  type: "snapshot";
9813
9942
  workspace_id: string;
9814
9943
  };
9944
+ ContractWindowManagerTab: {
9945
+ id: string;
9946
+ pinned: boolean;
9947
+ root: components["schemas"]["WindowManagerLayoutNode"];
9948
+ };
9815
9949
  CoordinatorConfigPayload: {
9816
9950
  agent_name: string;
9817
9951
  /** Format: int64 */
@@ -10040,6 +10174,12 @@ export interface components {
10040
10174
  user_home_dir: string;
10041
10175
  version: string;
10042
10176
  };
10177
+ DaemonReadinessPayload: {
10178
+ phase: string;
10179
+ /** Format: date-time */
10180
+ since: string;
10181
+ step?: string;
10182
+ };
10043
10183
  DaemonStatusPayload: {
10044
10184
  active_sessions: number;
10045
10185
  gateway?: components["schemas"]["GatewayStatusPayload"] | null;
@@ -10047,6 +10187,7 @@ export interface components {
10047
10187
  http_port: number;
10048
10188
  min_app_version: string;
10049
10189
  pid: number;
10190
+ readiness?: components["schemas"]["DaemonReadinessPayload"] | null;
10050
10191
  schema_streams: components["schemas"]["SchemaStreamStatus"][];
10051
10192
  socket: string;
10052
10193
  /** Format: date-time */
@@ -10083,6 +10224,13 @@ export interface components {
10083
10224
  /** Format: int64 */
10084
10225
  expected_version: number;
10085
10226
  };
10227
+ Deprecation: {
10228
+ code: string;
10229
+ message: string;
10230
+ removal_release: string;
10231
+ replacement?: string;
10232
+ surface: string;
10233
+ };
10086
10234
  DetailBody: {
10087
10235
  actions?: components["schemas"]["RowAction"][];
10088
10236
  is_loading?: boolean;
@@ -13469,6 +13617,34 @@ export interface components {
13469
13617
  /** Format: double */
13470
13618
  min_delta?: number | null;
13471
13619
  };
13620
+ /** @description Layout migration status. A conversion diagnostic is present in error only when state is failed; a successful retry clears error. */
13621
+ MigrationStatus: {
13622
+ acknowledged: boolean;
13623
+ /** Format: date-time */
13624
+ at?: string;
13625
+ error?: components["schemas"]["Diagnostic"] | null;
13626
+ /**
13627
+ * Format: uint64
13628
+ * @description Topology revision installed on conversion failure; cleared after a successful retry.
13629
+ */
13630
+ failure_revision?: number;
13631
+ from_version?: number;
13632
+ /** @enum {string} */
13633
+ state: "none" | "migrated" | "failed";
13634
+ summary?: components["schemas"]["MigrationSummary"] | null;
13635
+ /** @description Number of set-aside layout backups currently retained for this profile; omitted when zero. */
13636
+ superseded_backups?: number;
13637
+ };
13638
+ MigrationSummary: {
13639
+ desktops: number;
13640
+ floating_to_tabs: number;
13641
+ islands_merged: number;
13642
+ minimized_to_tabs: number;
13643
+ pins_dropped: number;
13644
+ tabs: number;
13645
+ windows: number;
13646
+ zoom_desktops_merged: number;
13647
+ };
13472
13648
  ModelCatalogCostPayload: {
13473
13649
  /** Format: double */
13474
13650
  cache_read_per_million?: number | null;
@@ -13550,6 +13726,10 @@ export interface components {
13550
13726
  /** Format: int64 */
13551
13727
  tokens: number;
13552
13728
  };
13729
+ /**
13730
+ * @deprecated
13731
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
13732
+ */
13553
13733
  NormalizedRect: {
13554
13734
  /** Format: double */
13555
13735
  height: number;
@@ -13560,6 +13740,26 @@ export interface components {
13560
13740
  /** Format: double */
13561
13741
  y: number;
13562
13742
  };
13743
+ OTelSignalStatusPayload: {
13744
+ enabled: boolean;
13745
+ /** Format: int64 */
13746
+ failed_exports: number;
13747
+ last_error_class?: string;
13748
+ /** Format: date-time */
13749
+ last_export_at?: string;
13750
+ };
13751
+ OTelStatusPayload: {
13752
+ /** Format: int64 */
13753
+ dropped_spans: number;
13754
+ endpoint_host?: string;
13755
+ forward_to_providers: boolean;
13756
+ metrics: components["schemas"]["OTelSignalStatusPayload"];
13757
+ protocol?: string;
13758
+ /** Format: double */
13759
+ sample_ratio: number;
13760
+ state: string;
13761
+ traces: components["schemas"]["OTelSignalStatusPayload"];
13762
+ };
13563
13763
  ObserveFailureHealthPayload: {
13564
13764
  by_kind?: {
13565
13765
  [key: string]: number;
@@ -14540,6 +14740,16 @@ export interface components {
14540
14740
  force?: boolean;
14541
14741
  path: string;
14542
14742
  };
14743
+ RemoveWorktreesRequest: {
14744
+ delete_branch?: boolean;
14745
+ dry_run?: boolean;
14746
+ force?: boolean;
14747
+ targets: components["schemas"]["WorktreeRemovalTarget"][];
14748
+ };
14749
+ RemoveWorktreesResponse: {
14750
+ dry_run: boolean;
14751
+ results: components["schemas"]["WorktreeRemovalResult"][];
14752
+ };
14543
14753
  RenameProfilePlan: {
14544
14754
  dormant_placements: components["schemas"]["ProfilePlacement"][];
14545
14755
  machine_folders: string[];
@@ -16098,6 +16308,7 @@ export interface components {
16098
16308
  supervision: components["schemas"]["SupervisionState"] | null;
16099
16309
  /** Format: int64 */
16100
16310
  transcript_epoch?: number;
16311
+ tree_parent_session_id?: string;
16101
16312
  /** @enum {string} */
16102
16313
  type?: "user" | "system" | "coordinator" | "spawned";
16103
16314
  /** Format: date-time */
@@ -16935,6 +17146,9 @@ export interface components {
16935
17146
  | "spawn.ttl_expired"
16936
17147
  | "spawn.reaped"
16937
17148
  | "session.attention.changed"
17149
+ | "window_manager.tab.split"
17150
+ | "window_manager.tab.unsplit"
17151
+ | "window_manager.tab.activated"
16938
17152
  | "window_manager.layout.applied"
16939
17153
  | "window_manager.desktop.created"
16940
17154
  | "window_manager.desktop.deleted"
@@ -17997,6 +18211,10 @@ export interface components {
17997
18211
  | "failed"
17998
18212
  | "canceled";
17999
18213
  };
18214
+ /**
18215
+ * @deprecated
18216
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18217
+ */
18000
18218
  SettingsWindowManagerBindingPayload: {
18001
18219
  /** @enum {string} */
18002
18220
  bottom_center: "none" | "reserved" | "zoom";
@@ -18010,11 +18228,19 @@ export interface components {
18010
18228
  title: string;
18011
18229
  };
18012
18230
  SettingsWindowManagerConfigPayload: {
18231
+ /**
18232
+ * @deprecated
18233
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18234
+ */
18013
18235
  bindings: components["schemas"]["SettingsWindowManagerBindingPayload"];
18014
18236
  closed_entry_limit: number;
18015
18237
  /** @enum {string} */
18016
18238
  desktop_transition: "slide" | "crossfade" | "instant";
18017
- /** @enum {string} */
18239
+ /**
18240
+ * @deprecated
18241
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18242
+ * @enum {string}
18243
+ */
18018
18244
  drag_away_policy: "window" | "group";
18019
18245
  focus_follows_pointer: boolean;
18020
18246
  /** @enum {string} */
@@ -18024,18 +18250,33 @@ export interface components {
18024
18250
  global_shortcuts: {
18025
18251
  [key: string]: string;
18026
18252
  };
18027
- /** @enum {string} */
18253
+ /**
18254
+ * @deprecated
18255
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18256
+ * @enum {string}
18257
+ */
18028
18258
  group_move_modifier: "alt" | "control" | "meta" | "shift" | "none";
18029
18259
  history_limit: number;
18030
18260
  nav_stack_limit: number;
18031
- /** @enum {string} */
18261
+ /**
18262
+ * @description Deprecated value "floating": translated to "tab"; removed in v0.8.0.
18263
+ * @enum {string}
18264
+ */
18032
18265
  new_window_policy: "floating" | "beside_focus" | "tab";
18266
+ /**
18267
+ * @deprecated
18268
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18269
+ */
18033
18270
  raise_on_focus: boolean;
18034
18271
  shortcuts: {
18035
18272
  [key: string]: string | string[];
18036
18273
  };
18037
18274
  /** @enum {string} */
18038
18275
  small_viewport_policy: "stack" | "reject";
18276
+ /**
18277
+ * @deprecated
18278
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18279
+ */
18039
18280
  snap: components["schemas"]["SettingsWindowManagerSnapPayload"];
18040
18281
  /** @enum {string} */
18041
18282
  swap_modifier: "alt" | "control" | "meta" | "shift" | "none";
@@ -18135,6 +18376,10 @@ export interface components {
18135
18376
  | "marketplace";
18136
18377
  workspace_id?: string;
18137
18378
  };
18379
+ /**
18380
+ * @deprecated
18381
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18382
+ */
18138
18383
  SettingsWindowManagerSnapPayload: {
18139
18384
  corner_reach: number;
18140
18385
  edge_band: number;
@@ -18306,6 +18551,10 @@ export interface components {
18306
18551
  SkillsResponse: {
18307
18552
  skills: components["schemas"]["SkillPayload"][];
18308
18553
  };
18554
+ /**
18555
+ * @deprecated
18556
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18557
+ */
18309
18558
  SnapConfig: {
18310
18559
  /** Format: double */
18311
18560
  corner_reach: number;
@@ -18389,6 +18638,7 @@ export interface components {
18389
18638
  health: components["schemas"]["ObserveHealthPayload"];
18390
18639
  log_tail: components["schemas"]["LogTailStatusPayload"];
18391
18640
  mcp_servers?: components["schemas"]["MCPServerStatusPayload"][];
18641
+ otel?: components["schemas"]["OTelStatusPayload"] | null;
18392
18642
  providers?: components["schemas"]["ProviderStatusPayload"][];
18393
18643
  schema_version: string;
18394
18644
  sessions: components["schemas"]["SessionAggregatePayload"];
@@ -21293,23 +21543,42 @@ export interface components {
21293
21543
  secondary_field_multiplier: number;
21294
21544
  version: number;
21295
21545
  };
21546
+ WindowManagerActivateTabPayload: {
21547
+ window_id: string;
21548
+ };
21296
21549
  WindowManagerActor: {
21297
21550
  id?: string;
21298
21551
  kind?: string;
21299
21552
  };
21300
21553
  WindowManagerArrangeLayoutPayload: {
21301
- /** @enum {string} */
21554
+ /**
21555
+ * @description Deprecated value "stack": translated to adjacent tabs; removed in v0.8.0.
21556
+ * @enum {string}
21557
+ */
21302
21558
  arrangement: "horizontal" | "vertical" | "grid" | "stack" | "main_stack";
21303
21559
  desktop_id: string;
21304
- frame: components["schemas"]["NormalizedRect"];
21305
- group_id: string;
21560
+ frame?: components["schemas"]["NormalizedRect"];
21561
+ /**
21562
+ * @deprecated
21563
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
21564
+ */
21565
+ group_id?: string;
21566
+ /**
21567
+ * @deprecated
21568
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
21569
+ */
21306
21570
  keep_frames?: boolean;
21307
21571
  resource_id?: string;
21308
21572
  window_ids: string[];
21309
21573
  };
21310
21574
  WindowManagerBalanceLayoutPayload: {
21575
+ /**
21576
+ * @deprecated
21577
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
21578
+ */
21311
21579
  group_id?: string | null;
21312
21580
  split_id?: string | null;
21581
+ tab_id?: string | null;
21313
21582
  };
21314
21583
  WindowManagerClientContextInput: {
21315
21584
  destination_intent?: components["schemas"]["RouteIntent"] | null;
@@ -21334,6 +21603,9 @@ export interface components {
21334
21603
  };
21335
21604
  WindowManagerClientView: {
21336
21605
  active_desktop_id: string;
21606
+ active_tab: {
21607
+ [key: string]: string;
21608
+ };
21337
21609
  attachment_token?: string;
21338
21610
  client_id: string;
21339
21611
  /** Format: date-time */
@@ -21345,6 +21617,10 @@ export interface components {
21345
21617
  kind: string;
21346
21618
  palette_context: components["schemas"]["WindowManagerPaletteContext"];
21347
21619
  presentation_revision: number;
21620
+ /**
21621
+ * @deprecated
21622
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
21623
+ */
21348
21624
  stack_active: {
21349
21625
  [key: string]: string;
21350
21626
  };
@@ -21355,9 +21631,13 @@ export interface components {
21355
21631
  workspace_id: string;
21356
21632
  };
21357
21633
  WindowManagerCloseWindowPayload: {
21358
- minimize: boolean;
21634
+ /**
21635
+ * @deprecated
21636
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
21637
+ */
21638
+ minimize?: boolean;
21359
21639
  /** @enum {string} */
21360
- scope?: "tab" | "group" | "others" | "right";
21640
+ scope?: "tab" | "group" | "others" | "right" | "left" | "all";
21361
21641
  window_id: string;
21362
21642
  };
21363
21643
  /** @description Semantic window-manager command selected by command_id */
@@ -21483,6 +21763,50 @@ export interface components {
21483
21763
  rebase?: components["schemas"]["WindowManagerRebaseGuard"] | null;
21484
21764
  workspace_id: string;
21485
21765
  }
21766
+ | {
21767
+ actor: components["schemas"]["WindowManagerActor"];
21768
+ client_id?: string | null;
21769
+ /** @enum {string} */
21770
+ command_id: "window.tab.reorder";
21771
+ expected_revision: number;
21772
+ origin: string;
21773
+ payload: components["schemas"]["WindowManagerReorderStackPayload"];
21774
+ rebase?: components["schemas"]["WindowManagerRebaseGuard"] | null;
21775
+ workspace_id: string;
21776
+ }
21777
+ | {
21778
+ actor: components["schemas"]["WindowManagerActor"];
21779
+ client_id?: string | null;
21780
+ /** @enum {string} */
21781
+ command_id: "window.tab.activate";
21782
+ expected_revision: number;
21783
+ origin: string;
21784
+ payload: components["schemas"]["WindowManagerSetStackActivePayload"];
21785
+ rebase?: components["schemas"]["WindowManagerRebaseGuard"] | null;
21786
+ workspace_id: string;
21787
+ }
21788
+ | {
21789
+ actor: components["schemas"]["WindowManagerActor"];
21790
+ client_id?: string | null;
21791
+ /** @enum {string} */
21792
+ command_id: "window.resize";
21793
+ expected_revision: number;
21794
+ origin: string;
21795
+ payload: components["schemas"]["WindowManagerResizeWindowPayload"];
21796
+ rebase?: components["schemas"]["WindowManagerRebaseGuard"] | null;
21797
+ workspace_id: string;
21798
+ }
21799
+ | {
21800
+ actor: components["schemas"]["WindowManagerActor"];
21801
+ client_id?: string | null;
21802
+ /** @enum {string} */
21803
+ command_id: "layout.frame_resize";
21804
+ expected_revision: number;
21805
+ origin: string;
21806
+ payload: components["schemas"]["WindowManagerFrameResizeLayoutPayload"];
21807
+ rebase?: components["schemas"]["WindowManagerRebaseGuard"] | null;
21808
+ workspace_id: string;
21809
+ }
21486
21810
  | {
21487
21811
  actor: components["schemas"]["WindowManagerActor"];
21488
21812
  client_id?: string | null;
@@ -21551,7 +21875,7 @@ export interface components {
21551
21875
  }
21552
21876
  | {
21553
21877
  actor: components["schemas"]["WindowManagerActor"];
21554
- client_id: string;
21878
+ client_id?: string | null;
21555
21879
  /** @enum {string} */
21556
21880
  command_id: "window.zoom";
21557
21881
  expected_revision: number;
@@ -21636,12 +21960,11 @@ export interface components {
21636
21960
  destination_id?: string | null;
21637
21961
  };
21638
21962
  WindowManagerDesktop: {
21639
- floating: string[];
21640
- floating_stacks: components["schemas"]["WindowManagerFloatingStack"][];
21641
- groups: components["schemas"]["ContractWindowManagerLayoutGroup"][];
21963
+ active_tab_id: string;
21642
21964
  id: string;
21643
21965
  name: string;
21644
21966
  order: number;
21967
+ tabs: components["schemas"]["ContractWindowManagerTab"][];
21645
21968
  };
21646
21969
  WindowManagerErrorFrame: {
21647
21970
  error: components["schemas"]["ContractWindowManagerErrorPayload"];
@@ -21697,6 +22020,8 @@ export interface components {
21697
22020
  | "window.stack.set_active"
21698
22021
  | "window.pin"
21699
22022
  | "window.reopen"
22023
+ | "window.tab.reorder"
22024
+ | "window.tab.activate"
21700
22025
  | "layout.arrange"
21701
22026
  | "layout.resize"
21702
22027
  | "layout.frame_resize"
@@ -21717,19 +22042,28 @@ export interface components {
21717
22042
  type: "event";
21718
22043
  workspace_id: string;
21719
22044
  };
21720
- WindowManagerFloatingStack: {
21721
- active_id?: string | null;
21722
- id: string;
21723
- minimized: boolean;
21724
- rect: components["schemas"]["NormalizedRect"];
21725
- window_ids: string[];
21726
- };
21727
22045
  WindowManagerFocusWindowPayload: {
21728
22046
  /** @enum {string} */
21729
22047
  direction?: "left" | "right" | "up" | "down";
21730
22048
  window_id?: string | null;
21731
22049
  };
22050
+ WindowManagerFrameResizeLayoutPayload: {
22051
+ desktop_id: string;
22052
+ edits: components["schemas"]["WindowManagerGroupFrameEditPayload"][];
22053
+ };
22054
+ WindowManagerGroupFrameEditPayload: {
22055
+ frame?: components["schemas"]["NormalizedRect"];
22056
+ /**
22057
+ * @deprecated
22058
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
22059
+ */
22060
+ group_id?: string;
22061
+ };
21732
22062
  WindowManagerGroupWindowsPayload: {
22063
+ /**
22064
+ * @deprecated
22065
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
22066
+ */
21733
22067
  insert_index?: number | null;
21734
22068
  target_window_id: string;
21735
22069
  window_ids: string[];
@@ -21749,22 +22083,15 @@ export interface components {
21749
22083
  };
21750
22084
  workspace_id: string;
21751
22085
  };
21752
- WindowManagerLayoutGroup: {
21753
- frame: components["schemas"]["NormalizedRect"];
21754
- id: string;
21755
- root: components["schemas"]["WindowManagerLayoutNode"];
21756
- };
21757
22086
  WindowManagerLayoutNode: {
21758
- active_id?: string | null;
21759
22087
  /** @enum {string|null} */
21760
22088
  axis?: "horizontal" | "vertical" | null;
21761
22089
  children?: components["schemas"]["WindowManagerLayoutNode"][];
21762
22090
  id: string;
21763
22091
  /** @enum {string} */
21764
- kind: "leaf" | "split" | "stack";
22092
+ kind: "leaf" | "split";
21765
22093
  weights?: number[];
21766
22094
  window_id?: string | null;
21767
- window_ids?: string[];
21768
22095
  };
21769
22096
  WindowManagerLayoutReplaceRequest: {
21770
22097
  actor: components["schemas"]["WindowManagerActor"];
@@ -21780,15 +22107,35 @@ export interface components {
21780
22107
  };
21781
22108
  WindowManagerLayoutValidationResponse: {
21782
22109
  diagnostics?: components["schemas"]["Diagnostic"][];
22110
+ document?: components["schemas"]["ContractWindowManagerLayoutDocument"] | null;
21783
22111
  valid: boolean;
21784
22112
  workspace_id: string;
21785
22113
  };
22114
+ WindowManagerMigrationRequest: {
22115
+ /** @enum {string} */
22116
+ action: "ack" | "retry";
22117
+ /** @description Replace the layout on retry when it changed after failure. */
22118
+ replace?: boolean;
22119
+ };
21786
22120
  WindowManagerMoveWindowPayload: {
21787
22121
  destination_desktop_id: string;
21788
22122
  floating_rect?: components["schemas"]["NormalizedRect"] | null;
21789
22123
  move_group: boolean;
21790
- /** @enum {string} */
21791
- placement: "floating" | "before" | "after" | "left" | "right" | "top" | "bottom" | "center";
22124
+ /**
22125
+ * @description Deprecated value "floating": translated to "tab"; removed in v0.8.0.
22126
+ * @enum {string}
22127
+ */
22128
+ placement:
22129
+ | "tab"
22130
+ | "floating"
22131
+ | "before"
22132
+ | "after"
22133
+ | "left"
22134
+ | "right"
22135
+ | "top"
22136
+ | "bottom"
22137
+ | "center";
22138
+ target_tab_id?: string | null;
21792
22139
  target_window_id?: string | null;
21793
22140
  window_id: string;
21794
22141
  };
@@ -21809,6 +22156,10 @@ export interface components {
21809
22156
  }
21810
22157
  );
21811
22158
  WindowManagerOpenWindowPayload: {
22159
+ /**
22160
+ * @deprecated
22161
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
22162
+ */
21812
22163
  restore_window_id?: string | null;
21813
22164
  window: components["schemas"]["WindowManagerWindowSpecPayload"];
21814
22165
  };
@@ -21818,8 +22169,17 @@ export interface components {
21818
22169
  focused_session_state?: string;
21819
22170
  scope_global: boolean;
21820
22171
  shell_desktop: boolean;
22172
+ /**
22173
+ * @deprecated
22174
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
22175
+ */
21821
22176
  window_floating: boolean;
21822
22177
  window_focused: boolean;
22178
+ window_in_split: boolean;
22179
+ /**
22180
+ * @deprecated
22181
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
22182
+ */
21823
22183
  window_stacked: boolean;
21824
22184
  workspace_trusted: boolean;
21825
22185
  };
@@ -21831,6 +22191,7 @@ export interface components {
21831
22191
  changed: boolean;
21832
22192
  changes: components["schemas"]["ChangeSet"];
21833
22193
  client?: components["schemas"]["ContractWindowManagerClientView"] | null;
22194
+ deprecations: components["schemas"]["Deprecation"][];
21834
22195
  diagnostics?: components["schemas"]["Diagnostic"][];
21835
22196
  snapshot: components["schemas"]["ContractWindowManagerSnapshot"];
21836
22197
  };
@@ -21838,6 +22199,7 @@ export interface components {
21838
22199
  boundary_index?: number | null;
21839
22200
  source_node_id?: string | null;
21840
22201
  split_id?: string | null;
22202
+ tab_id?: string | null;
21841
22203
  target_node_id?: string | null;
21842
22204
  window_id?: string | null;
21843
22205
  };
@@ -21851,6 +22213,10 @@ export interface components {
21851
22213
  index: number;
21852
22214
  window_id: string;
21853
22215
  };
22216
+ WindowManagerReorderTabPayload: {
22217
+ index: number;
22218
+ window_id: string;
22219
+ };
21854
22220
  WindowManagerReplaceLayoutPayload: {
21855
22221
  document: components["schemas"]["ContractWindowManagerLayoutDocument"];
21856
22222
  };
@@ -21860,32 +22226,26 @@ export interface components {
21860
22226
  delta: number;
21861
22227
  split_id: string;
21862
22228
  };
22229
+ WindowManagerResizeWindowPayload: {
22230
+ frame?: components["schemas"]["NormalizedRect"];
22231
+ window_id: string;
22232
+ };
21863
22233
  WindowManagerResult: {
21864
22234
  applied: boolean;
21865
22235
  changes: components["schemas"]["ChangeSet"];
21866
22236
  client?: components["schemas"]["ContractWindowManagerClientView"] | null;
22237
+ deprecations: components["schemas"]["Deprecation"][];
21867
22238
  diagnostics?: components["schemas"]["Diagnostic"][];
21868
22239
  rebased_from?: number;
21869
22240
  snapshot: components["schemas"]["ContractWindowManagerSnapshot"];
21870
22241
  };
21871
- WindowManagerReturnAnchor: {
21872
- child_index?: number | null;
21873
- desktop_id: string;
21874
- group_id?: string | null;
21875
- neighbor_ids?: string[];
21876
- parent_split_id?: string | null;
21877
- source_group?: components["schemas"]["ContractWindowManagerLayoutGroup"] | null;
21878
- source_revision: number;
21879
- /** Format: double */
21880
- weight?: number | null;
21881
- zoomed?: boolean;
21882
- };
21883
22242
  WindowManagerSetStackActivePayload: {
21884
22243
  window_id: string;
21885
22244
  };
21886
22245
  WindowManagerSnapshot: {
21887
22246
  closed_entry_count: number;
21888
22247
  desktops: components["schemas"]["ContractWindowManagerDesktop"][];
22248
+ migration?: components["schemas"]["MigrationStatus"] | null;
21889
22249
  overrides: components["schemas"]["WorkspaceConfig"];
21890
22250
  revision: number;
21891
22251
  /** Format: date-time */
@@ -21911,6 +22271,11 @@ export interface components {
21911
22271
  WindowManagerSwitchDesktopPayload: {
21912
22272
  desktop_id: string;
21913
22273
  };
22274
+ WindowManagerTab: {
22275
+ id: string;
22276
+ pinned: boolean;
22277
+ root: components["schemas"]["WindowManagerLayoutNode"];
22278
+ };
21914
22279
  WindowManagerToggleFloatingPayload: {
21915
22280
  floating_rect?: components["schemas"]["NormalizedRect"] | null;
21916
22281
  window_id: string;
@@ -21923,25 +22288,23 @@ export interface components {
21923
22288
  WindowManagerWindow: {
21924
22289
  app: string;
21925
22290
  desktop_id: string;
21926
- floating_rect: components["schemas"]["NormalizedRect"];
21927
22291
  id: string;
21928
22292
  instance_key?: string | null;
21929
- minimized: boolean;
21930
22293
  nav_stack: components["schemas"]["RouteIntent"][];
21931
- pinned: boolean;
21932
- /** @enum {string} */
21933
- placement: "tiled" | "stacked" | "floating";
21934
- return_anchor?: components["schemas"]["WindowManagerReturnAnchor"] | null;
21935
22294
  route: components["schemas"]["RouteIntent"];
21936
- zoomed: boolean;
22295
+ tab_id: string;
21937
22296
  };
21938
22297
  WindowManagerWindowSpecPayload: {
21939
22298
  app: string;
21940
22299
  desktop_id: string;
22300
+ /**
22301
+ * @deprecated
22302
+ * @description Deprecated: retained for compatibility; removed in v0.8.0. See the window-manager deprecation matrix for its replacement.
22303
+ */
21941
22304
  floating?: boolean;
21942
- floating_rect: components["schemas"]["NormalizedRect"];
22305
+ floating_rect?: components["schemas"]["NormalizedRect"];
21943
22306
  id?: string;
21944
- insert_tiled: boolean;
22307
+ insert_tiled?: boolean;
21945
22308
  instance_key?: string | null;
21946
22309
  route: components["schemas"]["RouteIntent"];
21947
22310
  stack_target_window_id?: string | null;
@@ -22015,23 +22378,44 @@ export interface components {
22015
22378
  workspace_id: string;
22016
22379
  };
22017
22380
  WorkspaceConfig: {
22381
+ /**
22382
+ * @deprecated
22383
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22384
+ */
22018
22385
  bindings?: components["schemas"]["BindingsConfig"] | null;
22019
22386
  closed_entry_limit?: number | null;
22020
22387
  desktop_transition?: string | null;
22388
+ /**
22389
+ * @deprecated
22390
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22391
+ */
22021
22392
  drag_away_policy?: string | null;
22022
22393
  focus_follows_pointer?: boolean | null;
22023
22394
  focus_policy?: string | null;
22024
22395
  focus_wrap?: boolean | null;
22025
22396
  gaps?: components["schemas"]["GapsConfig"] | null;
22397
+ /**
22398
+ * @deprecated
22399
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22400
+ */
22026
22401
  group_move_modifier?: string | null;
22027
22402
  history_limit?: number | null;
22028
22403
  nav_stack_limit?: number | null;
22404
+ /** @description Deprecated value "floating": translated to "tab"; removed in v0.8.0. */
22029
22405
  new_window_policy?: string | null;
22406
+ /**
22407
+ * @deprecated
22408
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22409
+ */
22030
22410
  raise_on_focus?: boolean | null;
22031
22411
  shortcuts?: {
22032
22412
  [key: string]: string | string[];
22033
22413
  };
22034
22414
  small_viewport_policy?: string | null;
22415
+ /**
22416
+ * @deprecated
22417
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22418
+ */
22035
22419
  snap?: components["schemas"]["SnapConfig"] | null;
22036
22420
  swap_modifier?: string | null;
22037
22421
  };
@@ -22238,6 +22622,15 @@ export interface components {
22238
22622
  error?: string;
22239
22623
  risk: components["schemas"]["WorktreeRemovalRiskPayload"];
22240
22624
  };
22625
+ WorktreeRemovalResult: {
22626
+ branch?: components["schemas"]["WorktreeBranchOutcomePayload"] | null;
22627
+ code?: string;
22628
+ error?: string;
22629
+ risk?: components["schemas"]["WorktreeRemovalRiskPayload"] | null;
22630
+ state: string;
22631
+ target: components["schemas"]["WorktreeRemovalTarget"];
22632
+ worktree_id?: string;
22633
+ };
22241
22634
  WorktreeRemovalRiskPayload: {
22242
22635
  changed_files: number;
22243
22636
  deletions: number;
@@ -22246,6 +22639,11 @@ export interface components {
22246
22639
  leftover_files: number;
22247
22640
  unpushed_commits: number;
22248
22641
  };
22642
+ WorktreeRemovalTarget: {
22643
+ expect_stale?: boolean;
22644
+ path?: string;
22645
+ ref?: string;
22646
+ };
22249
22647
  WorktreeRepoPayload: {
22250
22648
  diagnostic?: string;
22251
22649
  git_available: boolean;
@@ -29472,6 +29870,15 @@ export interface operations {
29472
29870
  "application/json": components["schemas"]["RunResponse"];
29473
29871
  };
29474
29872
  };
29873
+ /** @description Invalid wait or completion budget */
29874
+ 400: {
29875
+ headers: {
29876
+ [name: string]: unknown;
29877
+ };
29878
+ content: {
29879
+ "application/json": components["schemas"]["ErrorPayload"];
29880
+ };
29881
+ };
29475
29882
  /** @description Automation job not found */
29476
29883
  404: {
29477
29884
  headers: {
@@ -29637,33 +30044,32 @@ export interface operations {
29637
30044
  };
29638
30045
  };
29639
30046
  };
29640
- listAutomationSuggestionsAggregate: {
30047
+ cancelAutomationRun: {
29641
30048
  parameters: {
29642
30049
  query?: {
29643
- /** @description Read all projects and User rows */
29644
- all_workspaces?: boolean;
29645
- /** @description Repeatable project IDs or @user; requires all_workspaces=true */
29646
- workspace_ids?: string[];
29647
- /** @description Filter by suggestion status */
29648
- status?: "pending" | "accepted" | "dismissed";
30050
+ /** @description Act as this profile by name */
30051
+ profile?: string;
29649
30052
  };
29650
30053
  header?: never;
29651
- path?: never;
30054
+ path: {
30055
+ /** @description Automation run id */
30056
+ id: string;
30057
+ };
29652
30058
  cookie?: never;
29653
30059
  };
29654
30060
  requestBody?: never;
29655
30061
  responses: {
29656
- /** @description OK */
30062
+ /** @description Canceled run or unchanged terminal run */
29657
30063
  200: {
29658
30064
  headers: {
29659
30065
  [name: string]: unknown;
29660
30066
  };
29661
30067
  content: {
29662
- "application/json": components["schemas"]["AutomationSuggestionsResponse"];
30068
+ "application/json": components["schemas"]["RunResponse"];
29663
30069
  };
29664
30070
  };
29665
- /** @description Invalid suggestion status */
29666
- 400: {
30071
+ /** @description Automation run not found */
30072
+ 404: {
29667
30073
  headers: {
29668
30074
  [name: string]: unknown;
29669
30075
  };
@@ -29671,8 +30077,8 @@ export interface operations {
29671
30077
  "application/json": components["schemas"]["ErrorPayload"];
29672
30078
  };
29673
30079
  };
29674
- /** @description Workspace not found */
29675
- 404: {
30080
+ /** @description Run may still be executing or changed concurrently */
30081
+ 409: {
29676
30082
  headers: {
29677
30083
  [name: string]: unknown;
29678
30084
  };
@@ -29700,37 +30106,15 @@ export interface operations {
29700
30106
  };
29701
30107
  };
29702
30108
  };
29703
- listAutomationTriggers: {
30109
+ listAutomationSuggestionsAggregate: {
29704
30110
  parameters: {
29705
30111
  query?: {
29706
- /** @description Filter by automation scope */
29707
- scope?: "global" | "workspace" | "user" | "@user";
29708
- /** @description Filter by workspace id */
29709
- workspace_id?: string;
29710
- /** @description Read every definition */
30112
+ /** @description Read all projects and User rows */
29711
30113
  all_workspaces?: boolean;
29712
- /** @description Project IDs or @user; requires all_workspaces=true */
30114
+ /** @description Repeatable project IDs or @user; requires all_workspaces=true */
29713
30115
  workspace_ids?: string[];
29714
- /** @description Filter by trigger source */
29715
- source?: "config" | "package" | "dynamic";
29716
- /** @description Filter by target kind; task matches no trigger */
29717
- target?: "agent" | "loop" | "task" | "agent_instance";
29718
- /** @description Filter by enabled state */
29719
- enabled?: boolean;
29720
- /** @description Filter by trigger event */
29721
- event?: string;
29722
- /** @description Search triggers by definition or filter fields */
29723
- q?: string;
29724
- /** @description Continue after this automation trigger cursor */
29725
- cursor?: string;
29726
- /** @description Maximum number of records to return */
29727
- limit?: number;
29728
- /** @description Read one profile's rows by name */
29729
- profile?: string;
29730
- /** @description Read the owner-labeled all-profiles aggregate */
29731
- all_profiles?: boolean;
29732
- /** @description Filter by Loop target name */
29733
- loop?: string;
30116
+ /** @description Filter by suggestion status */
30117
+ status?: "pending" | "accepted" | "dismissed";
29734
30118
  };
29735
30119
  header?: never;
29736
30120
  path?: never;
@@ -29744,65 +30128,10 @@ export interface operations {
29744
30128
  [name: string]: unknown;
29745
30129
  };
29746
30130
  content: {
29747
- "application/json": components["schemas"]["TriggersResponse"];
29748
- };
29749
- };
29750
- /** @description Invalid automation filter */
29751
- 400: {
29752
- headers: {
29753
- [name: string]: unknown;
29754
- };
29755
- content: {
29756
- "application/json": components["schemas"]["ErrorPayload"];
29757
- };
29758
- };
29759
- /** @description Internal server error */
29760
- 500: {
29761
- headers: {
29762
- [name: string]: unknown;
29763
- };
29764
- content: {
29765
- "application/json": components["schemas"]["ErrorPayload"];
29766
- };
29767
- };
29768
- /** @description Automation manager is not configured */
29769
- 503: {
29770
- headers: {
29771
- [name: string]: unknown;
29772
- };
29773
- content: {
29774
- "application/json": components["schemas"]["ErrorPayload"];
29775
- };
29776
- };
29777
- };
29778
- };
29779
- createAutomationTrigger: {
29780
- parameters: {
29781
- query?: {
29782
- /** @description Act as this profile by name */
29783
- profile?: string;
29784
- };
29785
- header?: never;
29786
- path?: never;
29787
- cookie?: never;
29788
- };
29789
- /** @description JSON request body */
29790
- requestBody: {
29791
- content: {
29792
- "application/json": components["schemas"]["CreateTriggerRequest"];
29793
- };
29794
- };
29795
- responses: {
29796
- /** @description Created */
29797
- 201: {
29798
- headers: {
29799
- [name: string]: unknown;
29800
- };
29801
- content: {
29802
- "application/json": components["schemas"]["TriggerResponse"];
30131
+ "application/json": components["schemas"]["AutomationSuggestionsResponse"];
29803
30132
  };
29804
30133
  };
29805
- /** @description Invalid automation trigger request */
30134
+ /** @description Invalid suggestion status */
29806
30135
  400: {
29807
30136
  headers: {
29808
30137
  [name: string]: unknown;
@@ -29811,17 +30140,8 @@ export interface operations {
29811
30140
  "application/json": components["schemas"]["ErrorPayload"];
29812
30141
  };
29813
30142
  };
29814
- /** @description Automation trigger conflict */
29815
- 409: {
29816
- headers: {
29817
- [name: string]: unknown;
29818
- };
29819
- content: {
29820
- "application/json": components["schemas"]["ErrorPayload"];
29821
- };
29822
- };
29823
- /** @description Automation Loop target validation failed */
29824
- 422: {
30143
+ /** @description Workspace not found */
30144
+ 404: {
29825
30145
  headers: {
29826
30146
  [name: string]: unknown;
29827
30147
  };
@@ -29849,19 +30169,40 @@ export interface operations {
29849
30169
  };
29850
30170
  };
29851
30171
  };
29852
- getAutomationTrigger: {
30172
+ listAutomationTriggers: {
29853
30173
  parameters: {
29854
30174
  query?: {
30175
+ /** @description Filter by automation scope */
30176
+ scope?: "global" | "workspace" | "user" | "@user";
30177
+ /** @description Filter by workspace id */
30178
+ workspace_id?: string;
30179
+ /** @description Read every definition */
30180
+ all_workspaces?: boolean;
30181
+ /** @description Project IDs or @user; requires all_workspaces=true */
30182
+ workspace_ids?: string[];
30183
+ /** @description Filter by trigger source */
30184
+ source?: "config" | "package" | "dynamic";
30185
+ /** @description Filter by target kind; task matches no trigger */
30186
+ target?: "agent" | "loop" | "task" | "agent_instance";
30187
+ /** @description Filter by enabled state */
30188
+ enabled?: boolean;
30189
+ /** @description Filter by trigger event */
30190
+ event?: string;
30191
+ /** @description Search triggers by definition or filter fields */
30192
+ q?: string;
30193
+ /** @description Continue after this automation trigger cursor */
30194
+ cursor?: string;
30195
+ /** @description Maximum number of records to return */
30196
+ limit?: number;
29855
30197
  /** @description Read one profile's rows by name */
29856
30198
  profile?: string;
29857
30199
  /** @description Read the owner-labeled all-profiles aggregate */
29858
30200
  all_profiles?: boolean;
30201
+ /** @description Filter by Loop target name */
30202
+ loop?: string;
29859
30203
  };
29860
30204
  header?: never;
29861
- path: {
29862
- /** @description Automation trigger id */
29863
- id: string;
29864
- };
30205
+ path?: never;
29865
30206
  cookie?: never;
29866
30207
  };
29867
30208
  requestBody?: never;
@@ -29872,61 +30213,10 @@ export interface operations {
29872
30213
  [name: string]: unknown;
29873
30214
  };
29874
30215
  content: {
29875
- "application/json": components["schemas"]["TriggerResponse"];
29876
- };
29877
- };
29878
- /** @description Automation trigger not found */
29879
- 404: {
29880
- headers: {
29881
- [name: string]: unknown;
29882
- };
29883
- content: {
29884
- "application/json": components["schemas"]["ErrorPayload"];
29885
- };
29886
- };
29887
- /** @description Internal server error */
29888
- 500: {
29889
- headers: {
29890
- [name: string]: unknown;
29891
- };
29892
- content: {
29893
- "application/json": components["schemas"]["ErrorPayload"];
29894
- };
29895
- };
29896
- /** @description Automation manager is not configured */
29897
- 503: {
29898
- headers: {
29899
- [name: string]: unknown;
29900
- };
29901
- content: {
29902
- "application/json": components["schemas"]["ErrorPayload"];
29903
- };
29904
- };
29905
- };
29906
- };
29907
- deleteAutomationTrigger: {
29908
- parameters: {
29909
- query?: {
29910
- /** @description Act as this profile by name */
29911
- profile?: string;
29912
- };
29913
- header?: never;
29914
- path: {
29915
- /** @description Automation trigger id */
29916
- id: string;
29917
- };
29918
- cookie?: never;
29919
- };
29920
- requestBody?: never;
29921
- responses: {
29922
- /** @description No Content */
29923
- 204: {
29924
- headers: {
29925
- [name: string]: unknown;
30216
+ "application/json": components["schemas"]["TriggersResponse"];
29926
30217
  };
29927
- content?: never;
29928
30218
  };
29929
- /** @description Invalid automation trigger delete request */
30219
+ /** @description Invalid automation filter */
29930
30220
  400: {
29931
30221
  headers: {
29932
30222
  [name: string]: unknown;
@@ -29935,15 +30225,6 @@ export interface operations {
29935
30225
  "application/json": components["schemas"]["ErrorPayload"];
29936
30226
  };
29937
30227
  };
29938
- /** @description Automation trigger not found */
29939
- 404: {
29940
- headers: {
29941
- [name: string]: unknown;
29942
- };
29943
- content: {
29944
- "application/json": components["schemas"]["ErrorPayload"];
29945
- };
29946
- };
29947
30228
  /** @description Internal server error */
29948
30229
  500: {
29949
30230
  headers: {
@@ -29964,28 +30245,25 @@ export interface operations {
29964
30245
  };
29965
30246
  };
29966
30247
  };
29967
- updateAutomationTrigger: {
30248
+ createAutomationTrigger: {
29968
30249
  parameters: {
29969
30250
  query?: {
29970
30251
  /** @description Act as this profile by name */
29971
30252
  profile?: string;
29972
30253
  };
29973
30254
  header?: never;
29974
- path: {
29975
- /** @description Automation trigger id */
29976
- id: string;
29977
- };
30255
+ path?: never;
29978
30256
  cookie?: never;
29979
30257
  };
29980
30258
  /** @description JSON request body */
29981
30259
  requestBody: {
29982
30260
  content: {
29983
- "application/json": components["schemas"]["UpdateTriggerRequest"];
30261
+ "application/json": components["schemas"]["CreateTriggerRequest"];
29984
30262
  };
29985
30263
  };
29986
30264
  responses: {
29987
- /** @description OK */
29988
- 200: {
30265
+ /** @description Created */
30266
+ 201: {
29989
30267
  headers: {
29990
30268
  [name: string]: unknown;
29991
30269
  };
@@ -29993,7 +30271,7 @@ export interface operations {
29993
30271
  "application/json": components["schemas"]["TriggerResponse"];
29994
30272
  };
29995
30273
  };
29996
- /** @description Invalid automation trigger update */
30274
+ /** @description Invalid automation trigger request */
29997
30275
  400: {
29998
30276
  headers: {
29999
30277
  [name: string]: unknown;
@@ -30002,15 +30280,206 @@ export interface operations {
30002
30280
  "application/json": components["schemas"]["ErrorPayload"];
30003
30281
  };
30004
30282
  };
30005
- /** @description Automation trigger not found */
30006
- 404: {
30007
- headers: {
30008
- [name: string]: unknown;
30009
- };
30010
- content: {
30011
- "application/json": components["schemas"]["ErrorPayload"];
30012
- };
30013
- };
30283
+ /** @description Automation trigger conflict */
30284
+ 409: {
30285
+ headers: {
30286
+ [name: string]: unknown;
30287
+ };
30288
+ content: {
30289
+ "application/json": components["schemas"]["ErrorPayload"];
30290
+ };
30291
+ };
30292
+ /** @description Automation Loop target validation failed */
30293
+ 422: {
30294
+ headers: {
30295
+ [name: string]: unknown;
30296
+ };
30297
+ content: {
30298
+ "application/json": components["schemas"]["ErrorPayload"];
30299
+ };
30300
+ };
30301
+ /** @description Internal server error */
30302
+ 500: {
30303
+ headers: {
30304
+ [name: string]: unknown;
30305
+ };
30306
+ content: {
30307
+ "application/json": components["schemas"]["ErrorPayload"];
30308
+ };
30309
+ };
30310
+ /** @description Automation manager is not configured */
30311
+ 503: {
30312
+ headers: {
30313
+ [name: string]: unknown;
30314
+ };
30315
+ content: {
30316
+ "application/json": components["schemas"]["ErrorPayload"];
30317
+ };
30318
+ };
30319
+ };
30320
+ };
30321
+ getAutomationTrigger: {
30322
+ parameters: {
30323
+ query?: {
30324
+ /** @description Read one profile's rows by name */
30325
+ profile?: string;
30326
+ /** @description Read the owner-labeled all-profiles aggregate */
30327
+ all_profiles?: boolean;
30328
+ };
30329
+ header?: never;
30330
+ path: {
30331
+ /** @description Automation trigger id */
30332
+ id: string;
30333
+ };
30334
+ cookie?: never;
30335
+ };
30336
+ requestBody?: never;
30337
+ responses: {
30338
+ /** @description OK */
30339
+ 200: {
30340
+ headers: {
30341
+ [name: string]: unknown;
30342
+ };
30343
+ content: {
30344
+ "application/json": components["schemas"]["TriggerResponse"];
30345
+ };
30346
+ };
30347
+ /** @description Automation trigger not found */
30348
+ 404: {
30349
+ headers: {
30350
+ [name: string]: unknown;
30351
+ };
30352
+ content: {
30353
+ "application/json": components["schemas"]["ErrorPayload"];
30354
+ };
30355
+ };
30356
+ /** @description Internal server error */
30357
+ 500: {
30358
+ headers: {
30359
+ [name: string]: unknown;
30360
+ };
30361
+ content: {
30362
+ "application/json": components["schemas"]["ErrorPayload"];
30363
+ };
30364
+ };
30365
+ /** @description Automation manager is not configured */
30366
+ 503: {
30367
+ headers: {
30368
+ [name: string]: unknown;
30369
+ };
30370
+ content: {
30371
+ "application/json": components["schemas"]["ErrorPayload"];
30372
+ };
30373
+ };
30374
+ };
30375
+ };
30376
+ deleteAutomationTrigger: {
30377
+ parameters: {
30378
+ query?: {
30379
+ /** @description Act as this profile by name */
30380
+ profile?: string;
30381
+ };
30382
+ header?: never;
30383
+ path: {
30384
+ /** @description Automation trigger id */
30385
+ id: string;
30386
+ };
30387
+ cookie?: never;
30388
+ };
30389
+ requestBody?: never;
30390
+ responses: {
30391
+ /** @description No Content */
30392
+ 204: {
30393
+ headers: {
30394
+ [name: string]: unknown;
30395
+ };
30396
+ content?: never;
30397
+ };
30398
+ /** @description Invalid automation trigger delete request */
30399
+ 400: {
30400
+ headers: {
30401
+ [name: string]: unknown;
30402
+ };
30403
+ content: {
30404
+ "application/json": components["schemas"]["ErrorPayload"];
30405
+ };
30406
+ };
30407
+ /** @description Automation trigger not found */
30408
+ 404: {
30409
+ headers: {
30410
+ [name: string]: unknown;
30411
+ };
30412
+ content: {
30413
+ "application/json": components["schemas"]["ErrorPayload"];
30414
+ };
30415
+ };
30416
+ /** @description Internal server error */
30417
+ 500: {
30418
+ headers: {
30419
+ [name: string]: unknown;
30420
+ };
30421
+ content: {
30422
+ "application/json": components["schemas"]["ErrorPayload"];
30423
+ };
30424
+ };
30425
+ /** @description Automation manager is not configured */
30426
+ 503: {
30427
+ headers: {
30428
+ [name: string]: unknown;
30429
+ };
30430
+ content: {
30431
+ "application/json": components["schemas"]["ErrorPayload"];
30432
+ };
30433
+ };
30434
+ };
30435
+ };
30436
+ updateAutomationTrigger: {
30437
+ parameters: {
30438
+ query?: {
30439
+ /** @description Act as this profile by name */
30440
+ profile?: string;
30441
+ };
30442
+ header?: never;
30443
+ path: {
30444
+ /** @description Automation trigger id */
30445
+ id: string;
30446
+ };
30447
+ cookie?: never;
30448
+ };
30449
+ /** @description JSON request body */
30450
+ requestBody: {
30451
+ content: {
30452
+ "application/json": components["schemas"]["UpdateTriggerRequest"];
30453
+ };
30454
+ };
30455
+ responses: {
30456
+ /** @description OK */
30457
+ 200: {
30458
+ headers: {
30459
+ [name: string]: unknown;
30460
+ };
30461
+ content: {
30462
+ "application/json": components["schemas"]["TriggerResponse"];
30463
+ };
30464
+ };
30465
+ /** @description Invalid automation trigger update */
30466
+ 400: {
30467
+ headers: {
30468
+ [name: string]: unknown;
30469
+ };
30470
+ content: {
30471
+ "application/json": components["schemas"]["ErrorPayload"];
30472
+ };
30473
+ };
30474
+ /** @description Automation trigger not found */
30475
+ 404: {
30476
+ headers: {
30477
+ [name: string]: unknown;
30478
+ };
30479
+ content: {
30480
+ "application/json": components["schemas"]["ErrorPayload"];
30481
+ };
30482
+ };
30014
30483
  /** @description Automation trigger conflict */
30015
30484
  409: {
30016
30485
  headers: {
@@ -33191,6 +33660,9 @@ export interface operations {
33191
33660
  | "spawn.ttl_expired"
33192
33661
  | "spawn.reaped"
33193
33662
  | "session.attention.changed"
33663
+ | "window_manager.tab.split"
33664
+ | "window_manager.tab.unsplit"
33665
+ | "window_manager.tab.activated"
33194
33666
  | "window_manager.layout.applied"
33195
33667
  | "window_manager.desktop.created"
33196
33668
  | "window_manager.desktop.deleted"
@@ -35009,7 +35481,7 @@ export interface operations {
35009
35481
  };
35010
35482
  };
35011
35483
  responses: {
35012
- /** @description Receipts committed atomically; source state unchanged */
35484
+ /** @description Receipts committed atomically; bell layout-upgrade notices also acknowledged durably */
35013
35485
  204: {
35014
35486
  headers: {
35015
35487
  [name: string]: unknown;
@@ -38712,6 +39184,8 @@ export interface operations {
38712
39184
  parent?: string;
38713
39185
  /** @description Filter by exact root session id (includes the root itself) */
38714
39186
  root?: string;
39187
+ /** @description Leave out this session and every session rooted at it (for example, a session's own tree) */
39188
+ exclude_root?: string;
38715
39189
  /** @description Filter by exact bound worktree id */
38716
39190
  worktree?: string;
38717
39191
  /** @description Search session id, name, agent, or provider; title_agent searches visible title and agent */
@@ -39020,6 +39494,8 @@ export interface operations {
39020
39494
  parent?: string;
39021
39495
  /** @description Filter by exact root session id (includes the root itself) */
39022
39496
  root?: string;
39497
+ /** @description Leave out this session and every session rooted at it (for example, a session's own tree) */
39498
+ exclude_root?: string;
39023
39499
  /** @description Only count sessions eligible for explicit attach */
39024
39500
  resumable?: boolean;
39025
39501
  /** @description Filter by exact session state */
@@ -39751,6 +40227,15 @@ export interface operations {
39751
40227
  "application/json": components["schemas"]["ErrorPayload"];
39752
40228
  };
39753
40229
  };
40230
+ /** @description Replacement runtime failed its restart pre-flight; the running daemon was kept */
40231
+ 409: {
40232
+ headers: {
40233
+ [name: string]: unknown;
40234
+ };
40235
+ content: {
40236
+ "application/json": components["schemas"]["ErrorPayload"];
40237
+ };
40238
+ };
39754
40239
  /** @description Internal server error */
39755
40240
  500: {
39756
40241
  headers: {
@@ -49153,6 +49638,15 @@ export interface operations {
49153
49638
  "application/json": components["schemas"]["ErrorPayload"];
49154
49639
  };
49155
49640
  };
49641
+ /** @description Removal held by a desktop layout that could not be read; retry finishes it */
49642
+ 503: {
49643
+ headers: {
49644
+ [name: string]: unknown;
49645
+ };
49646
+ content: {
49647
+ "application/json": components["schemas"]["ErrorPayload"];
49648
+ };
49649
+ };
49156
49650
  };
49157
49651
  };
49158
49652
  updateWorkspace: {
@@ -49758,6 +50252,113 @@ export interface operations {
49758
50252
  };
49759
50253
  };
49760
50254
  };
50255
+ readFileBytes: {
50256
+ parameters: {
50257
+ query?: {
50258
+ /** @description Read one profile's rows by name */
50259
+ profile?: string;
50260
+ /** @description Read the owner-labeled all-profiles aggregate */
50261
+ all_profiles?: boolean;
50262
+ };
50263
+ header?: never;
50264
+ path: {
50265
+ /** @description Workspace id */
50266
+ workspace_id: string;
50267
+ /** @description Root-relative file path; its slashes are path segments */
50268
+ path: string;
50269
+ };
50270
+ cookie?: never;
50271
+ };
50272
+ requestBody?: never;
50273
+ responses: {
50274
+ /** @description File bytes */
50275
+ 200: {
50276
+ headers: {
50277
+ [name: string]: unknown;
50278
+ };
50279
+ content: {
50280
+ "*/*": string;
50281
+ };
50282
+ };
50283
+ /** @description Requested byte range */
50284
+ 206: {
50285
+ headers: {
50286
+ [name: string]: unknown;
50287
+ };
50288
+ content: {
50289
+ "*/*": string;
50290
+ };
50291
+ };
50292
+ /** @description File unchanged since the supplied validator */
50293
+ 304: {
50294
+ headers: {
50295
+ [name: string]: unknown;
50296
+ };
50297
+ content?: never;
50298
+ };
50299
+ /** @description File operation failed */
50300
+ 400: {
50301
+ headers: {
50302
+ [name: string]: unknown;
50303
+ };
50304
+ content: {
50305
+ "application/json": components["schemas"]["ErrorPayload"];
50306
+ };
50307
+ };
50308
+ /** @description File operation failed */
50309
+ 403: {
50310
+ headers: {
50311
+ [name: string]: unknown;
50312
+ };
50313
+ content: {
50314
+ "application/json": components["schemas"]["ErrorPayload"];
50315
+ };
50316
+ };
50317
+ /** @description File operation failed */
50318
+ 404: {
50319
+ headers: {
50320
+ [name: string]: unknown;
50321
+ };
50322
+ content: {
50323
+ "application/json": components["schemas"]["ErrorPayload"];
50324
+ };
50325
+ };
50326
+ /** @description File operation failed */
50327
+ 409: {
50328
+ headers: {
50329
+ [name: string]: unknown;
50330
+ };
50331
+ content: {
50332
+ "application/json": components["schemas"]["ErrorPayload"];
50333
+ };
50334
+ };
50335
+ /** @description Requested range not satisfiable */
50336
+ 416: {
50337
+ headers: {
50338
+ [name: string]: unknown;
50339
+ };
50340
+ content?: never;
50341
+ };
50342
+ /** @description File operation failed */
50343
+ 422: {
50344
+ headers: {
50345
+ [name: string]: unknown;
50346
+ };
50347
+ content: {
50348
+ "application/json": components["schemas"]["ErrorPayload"];
50349
+ };
50350
+ };
50351
+ /** @description File operation failed */
50352
+ 500: {
50353
+ headers: {
50354
+ [name: string]: unknown;
50355
+ };
50356
+ content: {
50357
+ "application/json": components["schemas"]["ErrorPayload"];
50358
+ };
50359
+ };
50360
+ };
50361
+ };
49761
50362
  searchFileContents: {
49762
50363
  parameters: {
49763
50364
  query: {
@@ -49933,6 +50534,9 @@ export interface operations {
49933
50534
  | "spawn.ttl_expired"
49934
50535
  | "spawn.reaped"
49935
50536
  | "session.attention.changed"
50537
+ | "window_manager.tab.split"
50538
+ | "window_manager.tab.unsplit"
50539
+ | "window_manager.tab.activated"
49936
50540
  | "window_manager.layout.applied"
49937
50541
  | "window_manager.desktop.created"
49938
50542
  | "window_manager.desktop.deleted"
@@ -53645,6 +54249,8 @@ export interface operations {
53645
54249
  parent?: string;
53646
54250
  /** @description Filter by exact root session id (includes the root itself) */
53647
54251
  root?: string;
54252
+ /** @description Leave out this session and every session rooted at it (for example, a session's own tree) */
54253
+ exclude_root?: string;
53648
54254
  /** @description Filter by exact bound worktree id */
53649
54255
  worktree?: string;
53650
54256
  /** @description Search session id, name, agent, or provider; title_agent searches visible title and agent */
@@ -55413,10 +56019,168 @@ export interface operations {
55413
56019
  [name: string]: unknown;
55414
56020
  };
55415
56021
  content: {
55416
- "application/json": components["schemas"]["SessionFilesResponse"];
56022
+ "application/json": components["schemas"]["SessionFilesResponse"];
56023
+ };
56024
+ };
56025
+ /** @description Invalid limit */
56026
+ 400: {
56027
+ headers: {
56028
+ [name: string]: unknown;
56029
+ };
56030
+ content: {
56031
+ "application/json": components["schemas"]["ErrorPayload"];
56032
+ };
56033
+ };
56034
+ /** @description Session not found */
56035
+ 404: {
56036
+ headers: {
56037
+ [name: string]: unknown;
56038
+ };
56039
+ content: {
56040
+ "application/json": components["schemas"]["ErrorPayload"];
56041
+ };
56042
+ };
56043
+ /** @description Session working directory no longer exists */
56044
+ 409: {
56045
+ headers: {
56046
+ [name: string]: unknown;
56047
+ };
56048
+ content: {
56049
+ "application/json": components["schemas"]["ErrorPayload"];
56050
+ };
56051
+ };
56052
+ /** @description Internal server error */
56053
+ 500: {
56054
+ headers: {
56055
+ [name: string]: unknown;
56056
+ };
56057
+ content: {
56058
+ "application/json": components["schemas"]["ErrorPayload"];
56059
+ };
56060
+ };
56061
+ };
56062
+ };
56063
+ readSessionFileContent: {
56064
+ parameters: {
56065
+ query: {
56066
+ /** @description Root-relative path */
56067
+ path: string;
56068
+ /** @description Reveal sensitive content; forbidden to app tokens */
56069
+ reveal?: boolean;
56070
+ /** @description Read one profile's rows by name */
56071
+ profile?: string;
56072
+ /** @description Read the owner-labeled all-profiles aggregate */
56073
+ all_profiles?: boolean;
56074
+ };
56075
+ header?: never;
56076
+ path: {
56077
+ /** @description Workspace id */
56078
+ workspace_id: string;
56079
+ /** @description Session id */
56080
+ session_id: string;
56081
+ };
56082
+ cookie?: never;
56083
+ };
56084
+ requestBody?: never;
56085
+ responses: {
56086
+ /** @description OK */
56087
+ 200: {
56088
+ headers: {
56089
+ [name: string]: unknown;
56090
+ };
56091
+ content: {
56092
+ "application/json": components["schemas"]["FileContentResponse"];
56093
+ };
56094
+ };
56095
+ /** @description File operation failed */
56096
+ 400: {
56097
+ headers: {
56098
+ [name: string]: unknown;
56099
+ };
56100
+ content: {
56101
+ "application/json": components["schemas"]["ErrorPayload"];
56102
+ };
56103
+ };
56104
+ /** @description File operation failed */
56105
+ 403: {
56106
+ headers: {
56107
+ [name: string]: unknown;
56108
+ };
56109
+ content: {
56110
+ "application/json": components["schemas"]["ErrorPayload"];
56111
+ };
56112
+ };
56113
+ /** @description File operation failed */
56114
+ 404: {
56115
+ headers: {
56116
+ [name: string]: unknown;
56117
+ };
56118
+ content: {
56119
+ "application/json": components["schemas"]["ErrorPayload"];
56120
+ };
56121
+ };
56122
+ /** @description File operation failed */
56123
+ 409: {
56124
+ headers: {
56125
+ [name: string]: unknown;
56126
+ };
56127
+ content: {
56128
+ "application/json": components["schemas"]["ErrorPayload"];
56129
+ };
56130
+ };
56131
+ /** @description File operation failed */
56132
+ 422: {
56133
+ headers: {
56134
+ [name: string]: unknown;
56135
+ };
56136
+ content: {
56137
+ "application/json": components["schemas"]["ErrorPayload"];
56138
+ };
56139
+ };
56140
+ /** @description File operation failed */
56141
+ 500: {
56142
+ headers: {
56143
+ [name: string]: unknown;
56144
+ };
56145
+ content: {
56146
+ "application/json": components["schemas"]["ErrorPayload"];
56147
+ };
56148
+ };
56149
+ };
56150
+ };
56151
+ listSessionFileEntries: {
56152
+ parameters: {
56153
+ query?: {
56154
+ /** @description Root-relative path */
56155
+ path?: string;
56156
+ /** @description Include ignored entries */
56157
+ show_ignored?: boolean;
56158
+ /** @description Read one profile's rows by name */
56159
+ profile?: string;
56160
+ /** @description Read the owner-labeled all-profiles aggregate */
56161
+ all_profiles?: boolean;
56162
+ };
56163
+ header?: never;
56164
+ path: {
56165
+ /** @description Workspace id */
56166
+ workspace_id: string;
56167
+ /** @description Session id */
56168
+ session_id: string;
56169
+ };
56170
+ cookie?: never;
56171
+ };
56172
+ requestBody?: never;
56173
+ responses: {
56174
+ /** @description OK */
56175
+ 200: {
56176
+ headers: {
56177
+ [name: string]: unknown;
56178
+ };
56179
+ content: {
56180
+ "application/json": components["schemas"]["FileEntriesResponse"];
55417
56181
  };
55418
56182
  };
55419
- /** @description Invalid limit */
56183
+ /** @description File operation failed */
55420
56184
  400: {
55421
56185
  headers: {
55422
56186
  [name: string]: unknown;
@@ -55425,7 +56189,16 @@ export interface operations {
55425
56189
  "application/json": components["schemas"]["ErrorPayload"];
55426
56190
  };
55427
56191
  };
55428
- /** @description Session not found */
56192
+ /** @description File operation failed */
56193
+ 403: {
56194
+ headers: {
56195
+ [name: string]: unknown;
56196
+ };
56197
+ content: {
56198
+ "application/json": components["schemas"]["ErrorPayload"];
56199
+ };
56200
+ };
56201
+ /** @description File operation failed */
55429
56202
  404: {
55430
56203
  headers: {
55431
56204
  [name: string]: unknown;
@@ -55434,7 +56207,7 @@ export interface operations {
55434
56207
  "application/json": components["schemas"]["ErrorPayload"];
55435
56208
  };
55436
56209
  };
55437
- /** @description Session working directory no longer exists */
56210
+ /** @description File operation failed */
55438
56211
  409: {
55439
56212
  headers: {
55440
56213
  [name: string]: unknown;
@@ -55443,7 +56216,16 @@ export interface operations {
55443
56216
  "application/json": components["schemas"]["ErrorPayload"];
55444
56217
  };
55445
56218
  };
55446
- /** @description Internal server error */
56219
+ /** @description File operation failed */
56220
+ 422: {
56221
+ headers: {
56222
+ [name: string]: unknown;
56223
+ };
56224
+ content: {
56225
+ "application/json": components["schemas"]["ErrorPayload"];
56226
+ };
56227
+ };
56228
+ /** @description File operation failed */
55447
56229
  500: {
55448
56230
  headers: {
55449
56231
  [name: string]: unknown;
@@ -55454,13 +56236,13 @@ export interface operations {
55454
56236
  };
55455
56237
  };
55456
56238
  };
55457
- readSessionFileContent: {
56239
+ findSessionFiles: {
55458
56240
  parameters: {
55459
56241
  query: {
55460
- /** @description Root-relative path */
55461
- path: string;
55462
- /** @description Reveal sensitive content; forbidden to app tokens */
55463
- reveal?: boolean;
56242
+ /** @description Search query */
56243
+ q: string;
56244
+ /** @description Result limit; defaults and clamps to 50 */
56245
+ limit?: number;
55464
56246
  /** @description Read one profile's rows by name */
55465
56247
  profile?: string;
55466
56248
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -55483,10 +56265,10 @@ export interface operations {
55483
56265
  [name: string]: unknown;
55484
56266
  };
55485
56267
  content: {
55486
- "application/json": components["schemas"]["FileContentResponse"];
56268
+ "application/json": components["schemas"]["FileFindResponse"];
55487
56269
  };
55488
56270
  };
55489
- /** @description File operation failed */
56271
+ /** @description Search failed */
55490
56272
  400: {
55491
56273
  headers: {
55492
56274
  [name: string]: unknown;
@@ -55495,7 +56277,7 @@ export interface operations {
55495
56277
  "application/json": components["schemas"]["ErrorPayload"];
55496
56278
  };
55497
56279
  };
55498
- /** @description File operation failed */
56280
+ /** @description Search failed */
55499
56281
  403: {
55500
56282
  headers: {
55501
56283
  [name: string]: unknown;
@@ -55504,7 +56286,7 @@ export interface operations {
55504
56286
  "application/json": components["schemas"]["ErrorPayload"];
55505
56287
  };
55506
56288
  };
55507
- /** @description File operation failed */
56289
+ /** @description Search failed */
55508
56290
  404: {
55509
56291
  headers: {
55510
56292
  [name: string]: unknown;
@@ -55513,7 +56295,7 @@ export interface operations {
55513
56295
  "application/json": components["schemas"]["ErrorPayload"];
55514
56296
  };
55515
56297
  };
55516
- /** @description File operation failed */
56298
+ /** @description Search failed */
55517
56299
  409: {
55518
56300
  headers: {
55519
56301
  [name: string]: unknown;
@@ -55522,16 +56304,7 @@ export interface operations {
55522
56304
  "application/json": components["schemas"]["ErrorPayload"];
55523
56305
  };
55524
56306
  };
55525
- /** @description File operation failed */
55526
- 422: {
55527
- headers: {
55528
- [name: string]: unknown;
55529
- };
55530
- content: {
55531
- "application/json": components["schemas"]["ErrorPayload"];
55532
- };
55533
- };
55534
- /** @description File operation failed */
56307
+ /** @description Search failed */
55535
56308
  500: {
55536
56309
  headers: {
55537
56310
  [name: string]: unknown;
@@ -55542,13 +56315,9 @@ export interface operations {
55542
56315
  };
55543
56316
  };
55544
56317
  };
55545
- listSessionFileEntries: {
56318
+ readSessionFileBytes: {
55546
56319
  parameters: {
55547
56320
  query?: {
55548
- /** @description Root-relative path */
55549
- path?: string;
55550
- /** @description Include ignored entries */
55551
- show_ignored?: boolean;
55552
56321
  /** @description Read one profile's rows by name */
55553
56322
  profile?: string;
55554
56323
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -55560,40 +56329,40 @@ export interface operations {
55560
56329
  workspace_id: string;
55561
56330
  /** @description Session id */
55562
56331
  session_id: string;
56332
+ /** @description Root-relative file path; its slashes are path segments */
56333
+ path: string;
55563
56334
  };
55564
56335
  cookie?: never;
55565
56336
  };
55566
56337
  requestBody?: never;
55567
56338
  responses: {
55568
- /** @description OK */
56339
+ /** @description File bytes */
55569
56340
  200: {
55570
56341
  headers: {
55571
56342
  [name: string]: unknown;
55572
56343
  };
55573
56344
  content: {
55574
- "application/json": components["schemas"]["FileEntriesResponse"];
56345
+ "*/*": string;
55575
56346
  };
55576
56347
  };
55577
- /** @description File operation failed */
55578
- 400: {
56348
+ /** @description Requested byte range */
56349
+ 206: {
55579
56350
  headers: {
55580
56351
  [name: string]: unknown;
55581
56352
  };
55582
56353
  content: {
55583
- "application/json": components["schemas"]["ErrorPayload"];
56354
+ "*/*": string;
55584
56355
  };
55585
56356
  };
55586
- /** @description File operation failed */
55587
- 403: {
56357
+ /** @description File unchanged since the supplied validator */
56358
+ 304: {
55588
56359
  headers: {
55589
56360
  [name: string]: unknown;
55590
56361
  };
55591
- content: {
55592
- "application/json": components["schemas"]["ErrorPayload"];
55593
- };
56362
+ content?: never;
55594
56363
  };
55595
56364
  /** @description File operation failed */
55596
- 404: {
56365
+ 400: {
55597
56366
  headers: {
55598
56367
  [name: string]: unknown;
55599
56368
  };
@@ -55602,7 +56371,7 @@ export interface operations {
55602
56371
  };
55603
56372
  };
55604
56373
  /** @description File operation failed */
55605
- 409: {
56374
+ 403: {
55606
56375
  headers: {
55607
56376
  [name: string]: unknown;
55608
56377
  };
@@ -55611,7 +56380,7 @@ export interface operations {
55611
56380
  };
55612
56381
  };
55613
56382
  /** @description File operation failed */
55614
- 422: {
56383
+ 404: {
55615
56384
  headers: {
55616
56385
  [name: string]: unknown;
55617
56386
  };
@@ -55620,59 +56389,7 @@ export interface operations {
55620
56389
  };
55621
56390
  };
55622
56391
  /** @description File operation failed */
55623
- 500: {
55624
- headers: {
55625
- [name: string]: unknown;
55626
- };
55627
- content: {
55628
- "application/json": components["schemas"]["ErrorPayload"];
55629
- };
55630
- };
55631
- };
55632
- };
55633
- findSessionFiles: {
55634
- parameters: {
55635
- query: {
55636
- /** @description Search query */
55637
- q: string;
55638
- /** @description Result limit; defaults and clamps to 50 */
55639
- limit?: number;
55640
- /** @description Read one profile's rows by name */
55641
- profile?: string;
55642
- /** @description Read the owner-labeled all-profiles aggregate */
55643
- all_profiles?: boolean;
55644
- };
55645
- header?: never;
55646
- path: {
55647
- /** @description Workspace id */
55648
- workspace_id: string;
55649
- /** @description Session id */
55650
- session_id: string;
55651
- };
55652
- cookie?: never;
55653
- };
55654
- requestBody?: never;
55655
- responses: {
55656
- /** @description OK */
55657
- 200: {
55658
- headers: {
55659
- [name: string]: unknown;
55660
- };
55661
- content: {
55662
- "application/json": components["schemas"]["FileFindResponse"];
55663
- };
55664
- };
55665
- /** @description Search failed */
55666
- 400: {
55667
- headers: {
55668
- [name: string]: unknown;
55669
- };
55670
- content: {
55671
- "application/json": components["schemas"]["ErrorPayload"];
55672
- };
55673
- };
55674
- /** @description Search failed */
55675
- 403: {
56392
+ 409: {
55676
56393
  headers: {
55677
56394
  [name: string]: unknown;
55678
56395
  };
@@ -55680,17 +56397,15 @@ export interface operations {
55680
56397
  "application/json": components["schemas"]["ErrorPayload"];
55681
56398
  };
55682
56399
  };
55683
- /** @description Search failed */
55684
- 404: {
56400
+ /** @description Requested range not satisfiable */
56401
+ 416: {
55685
56402
  headers: {
55686
56403
  [name: string]: unknown;
55687
56404
  };
55688
- content: {
55689
- "application/json": components["schemas"]["ErrorPayload"];
55690
- };
56405
+ content?: never;
55691
56406
  };
55692
- /** @description Search failed */
55693
- 409: {
56407
+ /** @description File operation failed */
56408
+ 422: {
55694
56409
  headers: {
55695
56410
  [name: string]: unknown;
55696
56411
  };
@@ -55698,7 +56413,7 @@ export interface operations {
55698
56413
  "application/json": components["schemas"]["ErrorPayload"];
55699
56414
  };
55700
56415
  };
55701
- /** @description Search failed */
56416
+ /** @description File operation failed */
55702
56417
  500: {
55703
56418
  headers: {
55704
56419
  [name: string]: unknown;
@@ -61726,7 +62441,7 @@ export interface operations {
61726
62441
  query?: {
61727
62442
  /** @description Zero-based byte offset */
61728
62443
  offset?: number;
61729
- /** @description Page size in bytes; defaults to and is capped at 65536 */
62444
+ /** @description Page size in bytes; defaults to 32768 and is capped at 65536 */
61730
62445
  limit?: number;
61731
62446
  /** @description Act as this profile by name */
61732
62447
  profile?: string;
@@ -62404,7 +63119,114 @@ export interface operations {
62404
63119
  };
62405
63120
  };
62406
63121
  };
62407
- deleteWindowManagerLayoutProfile: {
63122
+ deleteWindowManagerLayoutProfile: {
63123
+ parameters: {
63124
+ query?: {
63125
+ /** @description Act as this profile by name */
63126
+ profile?: string;
63127
+ };
63128
+ header?: never;
63129
+ path: {
63130
+ /** @description Workspace id */
63131
+ workspace_id: string;
63132
+ /** @description Layout profile id */
63133
+ profile_id: string;
63134
+ };
63135
+ cookie?: never;
63136
+ };
63137
+ /** @description JSON request body */
63138
+ requestBody: {
63139
+ content: {
63140
+ "application/json": components["schemas"]["DeleteResourceRequest"];
63141
+ };
63142
+ };
63143
+ responses: {
63144
+ /** @description No Content */
63145
+ 204: {
63146
+ headers: {
63147
+ [name: string]: unknown;
63148
+ };
63149
+ content?: never;
63150
+ };
63151
+ /** @description Invalid JSON body */
63152
+ 400: {
63153
+ headers: {
63154
+ [name: string]: unknown;
63155
+ };
63156
+ content: {
63157
+ "application/json": components["schemas"]["ErrorPayload"];
63158
+ };
63159
+ };
63160
+ /** @description Forbidden */
63161
+ 403: {
63162
+ headers: {
63163
+ [name: string]: unknown;
63164
+ };
63165
+ content: {
63166
+ "application/json": components["schemas"]["ErrorPayload"];
63167
+ };
63168
+ };
63169
+ /** @description Workspace or profile not found */
63170
+ 404: {
63171
+ headers: {
63172
+ [name: string]: unknown;
63173
+ };
63174
+ content: {
63175
+ "application/json":
63176
+ | components["schemas"]["ErrorPayload"]
63177
+ | components["schemas"]["ContractWindowManagerErrorPayload"];
63178
+ };
63179
+ };
63180
+ /** @description Version conflict */
63181
+ 409: {
63182
+ headers: {
63183
+ [name: string]: unknown;
63184
+ };
63185
+ content: {
63186
+ "application/json": components["schemas"]["ErrorPayload"];
63187
+ };
63188
+ };
63189
+ /** @description Invalid delete request */
63190
+ 422: {
63191
+ headers: {
63192
+ [name: string]: unknown;
63193
+ };
63194
+ content: {
63195
+ "application/json": components["schemas"]["ErrorPayload"];
63196
+ };
63197
+ };
63198
+ /** @description Rate limited */
63199
+ 429: {
63200
+ headers: {
63201
+ [name: string]: unknown;
63202
+ };
63203
+ content: {
63204
+ "application/json": components["schemas"]["ErrorPayload"];
63205
+ };
63206
+ };
63207
+ /** @description Internal server error */
63208
+ 500: {
63209
+ headers: {
63210
+ [name: string]: unknown;
63211
+ };
63212
+ content: {
63213
+ "application/json": components["schemas"]["ErrorPayload"];
63214
+ };
63215
+ };
63216
+ /** @description Window manager unavailable */
63217
+ 503: {
63218
+ headers: {
63219
+ [name: string]: unknown;
63220
+ };
63221
+ content: {
63222
+ "application/json":
63223
+ | components["schemas"]["ErrorPayload"]
63224
+ | components["schemas"]["ContractWindowManagerErrorPayload"];
63225
+ };
63226
+ };
63227
+ };
63228
+ };
63229
+ validateWindowManagerLayout: {
62408
63230
  parameters: {
62409
63231
  query?: {
62410
63232
  /** @description Act as this profile by name */
@@ -62414,88 +63236,130 @@ export interface operations {
62414
63236
  path: {
62415
63237
  /** @description Workspace id */
62416
63238
  workspace_id: string;
62417
- /** @description Layout profile id */
62418
- profile_id: string;
62419
63239
  };
62420
63240
  cookie?: never;
62421
63241
  };
62422
63242
  /** @description JSON request body */
62423
63243
  requestBody: {
62424
63244
  content: {
62425
- "application/json": components["schemas"]["DeleteResourceRequest"];
63245
+ "application/json": components["schemas"]["ContractWindowManagerLayoutValidationRequest"];
62426
63246
  };
62427
63247
  };
62428
63248
  responses: {
62429
- /** @description No Content */
62430
- 204: {
63249
+ /** @description Validation diagnostics and the canonical v6 document when valid */
63250
+ 200: {
62431
63251
  headers: {
62432
63252
  [name: string]: unknown;
62433
63253
  };
62434
- content?: never;
63254
+ content: {
63255
+ "application/json": components["schemas"]["ContractWindowManagerLayoutValidationResponse"];
63256
+ };
62435
63257
  };
62436
- /** @description Invalid JSON body */
63258
+ /** @description Invalid window workspace binding */
62437
63259
  400: {
62438
63260
  headers: {
62439
63261
  [name: string]: unknown;
62440
63262
  };
62441
63263
  content: {
62442
- "application/json": components["schemas"]["ErrorPayload"];
63264
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
62443
63265
  };
62444
63266
  };
62445
- /** @description Forbidden */
62446
- 403: {
63267
+ /** @description Workspace or referenced entity not found */
63268
+ 404: {
62447
63269
  headers: {
62448
63270
  [name: string]: unknown;
62449
63271
  };
62450
63272
  content: {
62451
- "application/json": components["schemas"]["ErrorPayload"];
63273
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
62452
63274
  };
62453
63275
  };
62454
- /** @description Workspace or profile not found */
62455
- 404: {
63276
+ /** @description Revision or state conflict */
63277
+ 409: {
62456
63278
  headers: {
62457
63279
  [name: string]: unknown;
62458
63280
  };
62459
63281
  content: {
62460
- "application/json":
62461
- | components["schemas"]["ErrorPayload"]
62462
- | components["schemas"]["ContractWindowManagerErrorPayload"];
63282
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
62463
63283
  };
62464
63284
  };
62465
- /** @description Version conflict */
62466
- 409: {
63285
+ /** @description Invalid window-manager request */
63286
+ 422: {
62467
63287
  headers: {
62468
63288
  [name: string]: unknown;
62469
63289
  };
62470
63290
  content: {
62471
- "application/json": components["schemas"]["ErrorPayload"];
63291
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
62472
63292
  };
62473
63293
  };
62474
- /** @description Invalid delete request */
62475
- 422: {
63294
+ /** @description Window manager unavailable */
63295
+ 503: {
62476
63296
  headers: {
62477
63297
  [name: string]: unknown;
62478
63298
  };
62479
63299
  content: {
62480
- "application/json": components["schemas"]["ErrorPayload"];
63300
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
62481
63301
  };
62482
63302
  };
62483
- /** @description Rate limited */
62484
- 429: {
63303
+ };
63304
+ };
63305
+ getWindowManagerMigration: {
63306
+ parameters: {
63307
+ query?: {
63308
+ /** @description Act as this profile by name */
63309
+ profile?: string;
63310
+ };
63311
+ header?: never;
63312
+ path: {
63313
+ /** @description Workspace id */
63314
+ workspace_id: string;
63315
+ };
63316
+ cookie?: never;
63317
+ };
63318
+ requestBody?: never;
63319
+ responses: {
63320
+ /** @description OK */
63321
+ 200: {
62485
63322
  headers: {
62486
63323
  [name: string]: unknown;
62487
63324
  };
62488
63325
  content: {
62489
- "application/json": components["schemas"]["ErrorPayload"];
63326
+ "application/json": components["schemas"]["MigrationStatus"];
62490
63327
  };
62491
63328
  };
62492
- /** @description Internal server error */
62493
- 500: {
63329
+ /** @description Invalid window workspace binding */
63330
+ 400: {
62494
63331
  headers: {
62495
63332
  [name: string]: unknown;
62496
63333
  };
62497
63334
  content: {
62498
- "application/json": components["schemas"]["ErrorPayload"];
63335
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63336
+ };
63337
+ };
63338
+ /** @description Workspace or referenced entity not found */
63339
+ 404: {
63340
+ headers: {
63341
+ [name: string]: unknown;
63342
+ };
63343
+ content: {
63344
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63345
+ };
63346
+ };
63347
+ /** @description Revision or state conflict */
63348
+ 409: {
63349
+ headers: {
63350
+ [name: string]: unknown;
63351
+ };
63352
+ content: {
63353
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63354
+ };
63355
+ };
63356
+ /** @description Invalid window-manager request */
63357
+ 422: {
63358
+ headers: {
63359
+ [name: string]: unknown;
63360
+ };
63361
+ content: {
63362
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
62499
63363
  };
62500
63364
  };
62501
63365
  /** @description Window manager unavailable */
@@ -62504,14 +63368,12 @@ export interface operations {
62504
63368
  [name: string]: unknown;
62505
63369
  };
62506
63370
  content: {
62507
- "application/json":
62508
- | components["schemas"]["ErrorPayload"]
62509
- | components["schemas"]["ContractWindowManagerErrorPayload"];
63371
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
62510
63372
  };
62511
63373
  };
62512
63374
  };
62513
63375
  };
62514
- validateWindowManagerLayout: {
63376
+ updateWindowManagerMigration: {
62515
63377
  parameters: {
62516
63378
  query?: {
62517
63379
  /** @description Act as this profile by name */
@@ -62527,17 +63389,17 @@ export interface operations {
62527
63389
  /** @description JSON request body */
62528
63390
  requestBody: {
62529
63391
  content: {
62530
- "application/json": components["schemas"]["ContractWindowManagerLayoutValidationRequest"];
63392
+ "application/json": components["schemas"]["WindowManagerMigrationRequest"];
62531
63393
  };
62532
63394
  };
62533
63395
  responses: {
62534
- /** @description Validation result */
63396
+ /** @description OK */
62535
63397
  200: {
62536
63398
  headers: {
62537
63399
  [name: string]: unknown;
62538
63400
  };
62539
63401
  content: {
62540
- "application/json": components["schemas"]["ContractWindowManagerLayoutValidationResponse"];
63402
+ "application/json": components["schemas"]["MigrationStatus"];
62541
63403
  };
62542
63404
  };
62543
63405
  /** @description Invalid window workspace binding */
@@ -63069,6 +63931,100 @@ export interface operations {
63069
63931
  };
63070
63932
  };
63071
63933
  };
63934
+ removeWorktrees: {
63935
+ parameters: {
63936
+ query?: {
63937
+ /** @description Act as this profile by name. If omitted, operator requests infer the target record owner; authenticated agents remain scoped to their session profile. */
63938
+ profile?: string;
63939
+ };
63940
+ header?: never;
63941
+ path: {
63942
+ /** @description Workspace id or path */
63943
+ workspace_id: string;
63944
+ };
63945
+ cookie?: never;
63946
+ };
63947
+ /** @description JSON request body */
63948
+ requestBody: {
63949
+ content: {
63950
+ "application/json": components["schemas"]["RemoveWorktreesRequest"];
63951
+ };
63952
+ };
63953
+ responses: {
63954
+ /** @description Per-target removal results or dry-run risk; inspect every result */
63955
+ 200: {
63956
+ headers: {
63957
+ [name: string]: unknown;
63958
+ };
63959
+ content: {
63960
+ "application/json": components["schemas"]["RemoveWorktreesResponse"];
63961
+ };
63962
+ };
63963
+ /** @description Invalid worktree request */
63964
+ 400: {
63965
+ headers: {
63966
+ [name: string]: unknown;
63967
+ };
63968
+ content: {
63969
+ "application/json": components["schemas"]["ErrorPayload"];
63970
+ };
63971
+ };
63972
+ /** @description Forbidden */
63973
+ 403: {
63974
+ headers: {
63975
+ [name: string]: unknown;
63976
+ };
63977
+ content: {
63978
+ "application/json": components["schemas"]["ErrorPayload"];
63979
+ };
63980
+ };
63981
+ /** @description Worktree or workspace not found */
63982
+ 404: {
63983
+ headers: {
63984
+ [name: string]: unknown;
63985
+ };
63986
+ content: {
63987
+ "application/json": components["schemas"]["ErrorPayload"];
63988
+ };
63989
+ };
63990
+ /** @description Worktree operation conflict */
63991
+ 409: {
63992
+ headers: {
63993
+ [name: string]: unknown;
63994
+ };
63995
+ content: {
63996
+ "application/json": components["schemas"]["ErrorPayload"];
63997
+ };
63998
+ };
63999
+ /** @description Invalid worktree configuration */
64000
+ 422: {
64001
+ headers: {
64002
+ [name: string]: unknown;
64003
+ };
64004
+ content: {
64005
+ "application/json": components["schemas"]["ErrorPayload"];
64006
+ };
64007
+ };
64008
+ /** @description Internal server error */
64009
+ 500: {
64010
+ headers: {
64011
+ [name: string]: unknown;
64012
+ };
64013
+ content: {
64014
+ "application/json": components["schemas"]["ErrorPayload"];
64015
+ };
64016
+ };
64017
+ /** @description Worktree service is unavailable */
64018
+ 503: {
64019
+ headers: {
64020
+ [name: string]: unknown;
64021
+ };
64022
+ content: {
64023
+ "application/json": components["schemas"]["ErrorPayload"];
64024
+ };
64025
+ };
64026
+ };
64027
+ };
63072
64028
  inspectWorktree: {
63073
64029
  parameters: {
63074
64030
  query?: never;
@@ -63693,6 +64649,115 @@ export interface operations {
63693
64649
  };
63694
64650
  };
63695
64651
  };
64652
+ readWorktreeFileBytes: {
64653
+ parameters: {
64654
+ query?: {
64655
+ /** @description Read one profile's rows by name */
64656
+ profile?: string;
64657
+ /** @description Read the owner-labeled all-profiles aggregate */
64658
+ all_profiles?: boolean;
64659
+ };
64660
+ header?: never;
64661
+ path: {
64662
+ /** @description Workspace id */
64663
+ workspace_id: string;
64664
+ /** @description Worktree id */
64665
+ worktree_id: string;
64666
+ /** @description Root-relative file path; its slashes are path segments */
64667
+ path: string;
64668
+ };
64669
+ cookie?: never;
64670
+ };
64671
+ requestBody?: never;
64672
+ responses: {
64673
+ /** @description File bytes */
64674
+ 200: {
64675
+ headers: {
64676
+ [name: string]: unknown;
64677
+ };
64678
+ content: {
64679
+ "*/*": string;
64680
+ };
64681
+ };
64682
+ /** @description Requested byte range */
64683
+ 206: {
64684
+ headers: {
64685
+ [name: string]: unknown;
64686
+ };
64687
+ content: {
64688
+ "*/*": string;
64689
+ };
64690
+ };
64691
+ /** @description File unchanged since the supplied validator */
64692
+ 304: {
64693
+ headers: {
64694
+ [name: string]: unknown;
64695
+ };
64696
+ content?: never;
64697
+ };
64698
+ /** @description File operation failed */
64699
+ 400: {
64700
+ headers: {
64701
+ [name: string]: unknown;
64702
+ };
64703
+ content: {
64704
+ "application/json": components["schemas"]["ErrorPayload"];
64705
+ };
64706
+ };
64707
+ /** @description File operation failed */
64708
+ 403: {
64709
+ headers: {
64710
+ [name: string]: unknown;
64711
+ };
64712
+ content: {
64713
+ "application/json": components["schemas"]["ErrorPayload"];
64714
+ };
64715
+ };
64716
+ /** @description File operation failed */
64717
+ 404: {
64718
+ headers: {
64719
+ [name: string]: unknown;
64720
+ };
64721
+ content: {
64722
+ "application/json": components["schemas"]["ErrorPayload"];
64723
+ };
64724
+ };
64725
+ /** @description File operation failed */
64726
+ 409: {
64727
+ headers: {
64728
+ [name: string]: unknown;
64729
+ };
64730
+ content: {
64731
+ "application/json": components["schemas"]["ErrorPayload"];
64732
+ };
64733
+ };
64734
+ /** @description Requested range not satisfiable */
64735
+ 416: {
64736
+ headers: {
64737
+ [name: string]: unknown;
64738
+ };
64739
+ content?: never;
64740
+ };
64741
+ /** @description File operation failed */
64742
+ 422: {
64743
+ headers: {
64744
+ [name: string]: unknown;
64745
+ };
64746
+ content: {
64747
+ "application/json": components["schemas"]["ErrorPayload"];
64748
+ };
64749
+ };
64750
+ /** @description File operation failed */
64751
+ 500: {
64752
+ headers: {
64753
+ [name: string]: unknown;
64754
+ };
64755
+ content: {
64756
+ "application/json": components["schemas"]["ErrorPayload"];
64757
+ };
64758
+ };
64759
+ };
64760
+ };
63696
64761
  getWorktreeStatus: {
63697
64762
  parameters: {
63698
64763
  query?: {