@compozy/client 0.6.2 → 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.
@@ -5452,6 +5452,23 @@ export interface paths {
5452
5452
  patch?: never;
5453
5453
  trace?: never;
5454
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
+ };
5455
5472
  "/api/workspaces/{workspace_id}/files/search": {
5456
5473
  parameters: {
5457
5474
  query?: never;
@@ -6518,6 +6535,23 @@ export interface paths {
6518
6535
  patch?: never;
6519
6536
  trace?: never;
6520
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
+ };
6521
6555
  "/api/workspaces/{workspace_id}/sessions/{session_id}/files/search": {
6522
6556
  parameters: {
6523
6557
  query?: never;
@@ -7806,6 +7840,24 @@ export interface paths {
7806
7840
  patch?: never;
7807
7841
  trace?: never;
7808
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
+ };
7809
7861
  "/api/workspaces/{workspace_id}/window-manager/preview": {
7810
7862
  parameters: {
7811
7863
  query?: never;
@@ -7892,6 +7944,23 @@ export interface paths {
7892
7944
  patch?: never;
7893
7945
  trace?: never;
7894
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
+ };
7895
7964
  "/api/workspaces/{workspace_id}/worktrees/{worktree_id}": {
7896
7965
  parameters: {
7897
7966
  query?: never;
@@ -8012,6 +8081,23 @@ export interface paths {
8012
8081
  patch?: never;
8013
8082
  trace?: never;
8014
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
+ };
8015
8101
  "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/status": {
8016
8102
  parameters: {
8017
8103
  query?: never;
@@ -9160,6 +9246,10 @@ export interface components {
9160
9246
  expected_worktree_id?: string | null;
9161
9247
  worktree: string;
9162
9248
  };
9249
+ /**
9250
+ * @deprecated
9251
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
9252
+ */
9163
9253
  BindingsConfig: {
9164
9254
  bottom_center: string;
9165
9255
  top_center: string;
@@ -9272,10 +9362,25 @@ export interface components {
9272
9362
  ChangeSet: {
9273
9363
  client_ids?: string[];
9274
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
+ */
9275
9369
  group_ids?: string[];
9276
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
+ */
9277
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
+ */
9278
9380
  stack_ungrouped?: string[];
9381
+ tab_ids?: string[];
9382
+ tab_split?: string[];
9383
+ tab_unsplit?: string[];
9279
9384
  window_ids?: string[];
9280
9385
  };
9281
9386
  ChangeSidePayload: {
@@ -9654,6 +9759,9 @@ export interface components {
9654
9759
  };
9655
9760
  ContractWindowManagerClientView: {
9656
9761
  active_desktop_id: string;
9762
+ active_tab: {
9763
+ [key: string]: string;
9764
+ };
9657
9765
  attachment_token?: string;
9658
9766
  client_id: string;
9659
9767
  /** Format: date-time */
@@ -9665,6 +9773,10 @@ export interface components {
9665
9773
  kind: string;
9666
9774
  palette_context: components["schemas"]["WindowManagerPaletteContext"];
9667
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
+ */
9668
9780
  stack_active: {
9669
9781
  [key: string]: string;
9670
9782
  };
@@ -9698,6 +9810,8 @@ export interface components {
9698
9810
  | "window.stack.set_active"
9699
9811
  | "window.pin"
9700
9812
  | "window.reopen"
9813
+ | "window.tab.reorder"
9814
+ | "window.tab.activate"
9701
9815
  | "layout.arrange"
9702
9816
  | "layout.resize"
9703
9817
  | "layout.frame_resize"
@@ -9712,12 +9826,11 @@ export interface components {
9712
9826
  workspace_id: string;
9713
9827
  };
9714
9828
  ContractWindowManagerDesktop: {
9715
- floating: string[];
9716
- floating_stacks: components["schemas"]["WindowManagerFloatingStack"][];
9717
- groups: components["schemas"]["ContractWindowManagerLayoutGroup"][];
9829
+ active_tab_id: string;
9718
9830
  id: string;
9719
9831
  name: string;
9720
9832
  order: number;
9833
+ tabs: components["schemas"]["ContractWindowManagerTab"][];
9721
9834
  };
9722
9835
  ContractWindowManagerErrorFrame: {
9723
9836
  error: components["schemas"]["ContractWindowManagerErrorPayload"];
@@ -9771,11 +9884,6 @@ export interface components {
9771
9884
  };
9772
9885
  workspace_id: string;
9773
9886
  };
9774
- ContractWindowManagerLayoutGroup: {
9775
- frame: components["schemas"]["NormalizedRect"];
9776
- id: string;
9777
- root: components["schemas"]["WindowManagerLayoutNode"];
9778
- };
9779
9887
  ContractWindowManagerLayoutReplaceRequest: {
9780
9888
  actor: components["schemas"]["WindowManagerActor"];
9781
9889
  client_id?: string | null;
@@ -9790,6 +9898,7 @@ export interface components {
9790
9898
  };
9791
9899
  ContractWindowManagerLayoutValidationResponse: {
9792
9900
  diagnostics?: components["schemas"]["Diagnostic"][];
9901
+ document?: components["schemas"]["ContractWindowManagerLayoutDocument"] | null;
9793
9902
  valid: boolean;
9794
9903
  workspace_id: string;
9795
9904
  };
@@ -9797,6 +9906,7 @@ export interface components {
9797
9906
  changed: boolean;
9798
9907
  changes: components["schemas"]["ChangeSet"];
9799
9908
  client?: components["schemas"]["ContractWindowManagerClientView"] | null;
9909
+ deprecations: components["schemas"]["Deprecation"][];
9800
9910
  diagnostics?: components["schemas"]["Diagnostic"][];
9801
9911
  snapshot: components["schemas"]["ContractWindowManagerSnapshot"];
9802
9912
  };
@@ -9804,6 +9914,7 @@ export interface components {
9804
9914
  applied: boolean;
9805
9915
  changes: components["schemas"]["ChangeSet"];
9806
9916
  client?: components["schemas"]["ContractWindowManagerClientView"] | null;
9917
+ deprecations: components["schemas"]["Deprecation"][];
9807
9918
  diagnostics?: components["schemas"]["Diagnostic"][];
9808
9919
  rebased_from?: number;
9809
9920
  snapshot: components["schemas"]["ContractWindowManagerSnapshot"];
@@ -9811,6 +9922,7 @@ export interface components {
9811
9922
  ContractWindowManagerSnapshot: {
9812
9923
  closed_entry_count: number;
9813
9924
  desktops: components["schemas"]["ContractWindowManagerDesktop"][];
9925
+ migration?: components["schemas"]["MigrationStatus"] | null;
9814
9926
  overrides: components["schemas"]["WorkspaceConfig"];
9815
9927
  revision: number;
9816
9928
  /** Format: date-time */
@@ -9829,6 +9941,11 @@ export interface components {
9829
9941
  type: "snapshot";
9830
9942
  workspace_id: string;
9831
9943
  };
9944
+ ContractWindowManagerTab: {
9945
+ id: string;
9946
+ pinned: boolean;
9947
+ root: components["schemas"]["WindowManagerLayoutNode"];
9948
+ };
9832
9949
  CoordinatorConfigPayload: {
9833
9950
  agent_name: string;
9834
9951
  /** Format: int64 */
@@ -10107,6 +10224,13 @@ export interface components {
10107
10224
  /** Format: int64 */
10108
10225
  expected_version: number;
10109
10226
  };
10227
+ Deprecation: {
10228
+ code: string;
10229
+ message: string;
10230
+ removal_release: string;
10231
+ replacement?: string;
10232
+ surface: string;
10233
+ };
10110
10234
  DetailBody: {
10111
10235
  actions?: components["schemas"]["RowAction"][];
10112
10236
  is_loading?: boolean;
@@ -13493,6 +13617,34 @@ export interface components {
13493
13617
  /** Format: double */
13494
13618
  min_delta?: number | null;
13495
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
+ };
13496
13648
  ModelCatalogCostPayload: {
13497
13649
  /** Format: double */
13498
13650
  cache_read_per_million?: number | null;
@@ -13574,6 +13726,10 @@ export interface components {
13574
13726
  /** Format: int64 */
13575
13727
  tokens: number;
13576
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
+ */
13577
13733
  NormalizedRect: {
13578
13734
  /** Format: double */
13579
13735
  height: number;
@@ -14584,6 +14740,16 @@ export interface components {
14584
14740
  force?: boolean;
14585
14741
  path: string;
14586
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
+ };
14587
14753
  RenameProfilePlan: {
14588
14754
  dormant_placements: components["schemas"]["ProfilePlacement"][];
14589
14755
  machine_folders: string[];
@@ -16142,6 +16308,7 @@ export interface components {
16142
16308
  supervision: components["schemas"]["SupervisionState"] | null;
16143
16309
  /** Format: int64 */
16144
16310
  transcript_epoch?: number;
16311
+ tree_parent_session_id?: string;
16145
16312
  /** @enum {string} */
16146
16313
  type?: "user" | "system" | "coordinator" | "spawned";
16147
16314
  /** Format: date-time */
@@ -16979,6 +17146,9 @@ export interface components {
16979
17146
  | "spawn.ttl_expired"
16980
17147
  | "spawn.reaped"
16981
17148
  | "session.attention.changed"
17149
+ | "window_manager.tab.split"
17150
+ | "window_manager.tab.unsplit"
17151
+ | "window_manager.tab.activated"
16982
17152
  | "window_manager.layout.applied"
16983
17153
  | "window_manager.desktop.created"
16984
17154
  | "window_manager.desktop.deleted"
@@ -18041,6 +18211,10 @@ export interface components {
18041
18211
  | "failed"
18042
18212
  | "canceled";
18043
18213
  };
18214
+ /**
18215
+ * @deprecated
18216
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18217
+ */
18044
18218
  SettingsWindowManagerBindingPayload: {
18045
18219
  /** @enum {string} */
18046
18220
  bottom_center: "none" | "reserved" | "zoom";
@@ -18054,11 +18228,19 @@ export interface components {
18054
18228
  title: string;
18055
18229
  };
18056
18230
  SettingsWindowManagerConfigPayload: {
18231
+ /**
18232
+ * @deprecated
18233
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18234
+ */
18057
18235
  bindings: components["schemas"]["SettingsWindowManagerBindingPayload"];
18058
18236
  closed_entry_limit: number;
18059
18237
  /** @enum {string} */
18060
18238
  desktop_transition: "slide" | "crossfade" | "instant";
18061
- /** @enum {string} */
18239
+ /**
18240
+ * @deprecated
18241
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18242
+ * @enum {string}
18243
+ */
18062
18244
  drag_away_policy: "window" | "group";
18063
18245
  focus_follows_pointer: boolean;
18064
18246
  /** @enum {string} */
@@ -18068,18 +18250,33 @@ export interface components {
18068
18250
  global_shortcuts: {
18069
18251
  [key: string]: string;
18070
18252
  };
18071
- /** @enum {string} */
18253
+ /**
18254
+ * @deprecated
18255
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18256
+ * @enum {string}
18257
+ */
18072
18258
  group_move_modifier: "alt" | "control" | "meta" | "shift" | "none";
18073
18259
  history_limit: number;
18074
18260
  nav_stack_limit: number;
18075
- /** @enum {string} */
18261
+ /**
18262
+ * @description Deprecated value "floating": translated to "tab"; removed in v0.8.0.
18263
+ * @enum {string}
18264
+ */
18076
18265
  new_window_policy: "floating" | "beside_focus" | "tab";
18266
+ /**
18267
+ * @deprecated
18268
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18269
+ */
18077
18270
  raise_on_focus: boolean;
18078
18271
  shortcuts: {
18079
18272
  [key: string]: string | string[];
18080
18273
  };
18081
18274
  /** @enum {string} */
18082
18275
  small_viewport_policy: "stack" | "reject";
18276
+ /**
18277
+ * @deprecated
18278
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18279
+ */
18083
18280
  snap: components["schemas"]["SettingsWindowManagerSnapPayload"];
18084
18281
  /** @enum {string} */
18085
18282
  swap_modifier: "alt" | "control" | "meta" | "shift" | "none";
@@ -18179,6 +18376,10 @@ export interface components {
18179
18376
  | "marketplace";
18180
18377
  workspace_id?: string;
18181
18378
  };
18379
+ /**
18380
+ * @deprecated
18381
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18382
+ */
18182
18383
  SettingsWindowManagerSnapPayload: {
18183
18384
  corner_reach: number;
18184
18385
  edge_band: number;
@@ -18350,6 +18551,10 @@ export interface components {
18350
18551
  SkillsResponse: {
18351
18552
  skills: components["schemas"]["SkillPayload"][];
18352
18553
  };
18554
+ /**
18555
+ * @deprecated
18556
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
18557
+ */
18353
18558
  SnapConfig: {
18354
18559
  /** Format: double */
18355
18560
  corner_reach: number;
@@ -21338,23 +21543,42 @@ export interface components {
21338
21543
  secondary_field_multiplier: number;
21339
21544
  version: number;
21340
21545
  };
21546
+ WindowManagerActivateTabPayload: {
21547
+ window_id: string;
21548
+ };
21341
21549
  WindowManagerActor: {
21342
21550
  id?: string;
21343
21551
  kind?: string;
21344
21552
  };
21345
21553
  WindowManagerArrangeLayoutPayload: {
21346
- /** @enum {string} */
21554
+ /**
21555
+ * @description Deprecated value "stack": translated to adjacent tabs; removed in v0.8.0.
21556
+ * @enum {string}
21557
+ */
21347
21558
  arrangement: "horizontal" | "vertical" | "grid" | "stack" | "main_stack";
21348
21559
  desktop_id: string;
21349
- frame: components["schemas"]["NormalizedRect"];
21350
- 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
+ */
21351
21570
  keep_frames?: boolean;
21352
21571
  resource_id?: string;
21353
21572
  window_ids: string[];
21354
21573
  };
21355
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
+ */
21356
21579
  group_id?: string | null;
21357
21580
  split_id?: string | null;
21581
+ tab_id?: string | null;
21358
21582
  };
21359
21583
  WindowManagerClientContextInput: {
21360
21584
  destination_intent?: components["schemas"]["RouteIntent"] | null;
@@ -21379,6 +21603,9 @@ export interface components {
21379
21603
  };
21380
21604
  WindowManagerClientView: {
21381
21605
  active_desktop_id: string;
21606
+ active_tab: {
21607
+ [key: string]: string;
21608
+ };
21382
21609
  attachment_token?: string;
21383
21610
  client_id: string;
21384
21611
  /** Format: date-time */
@@ -21390,6 +21617,10 @@ export interface components {
21390
21617
  kind: string;
21391
21618
  palette_context: components["schemas"]["WindowManagerPaletteContext"];
21392
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
+ */
21393
21624
  stack_active: {
21394
21625
  [key: string]: string;
21395
21626
  };
@@ -21400,9 +21631,13 @@ export interface components {
21400
21631
  workspace_id: string;
21401
21632
  };
21402
21633
  WindowManagerCloseWindowPayload: {
21403
- 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;
21404
21639
  /** @enum {string} */
21405
- scope?: "tab" | "group" | "others" | "right";
21640
+ scope?: "tab" | "group" | "others" | "right" | "left" | "all";
21406
21641
  window_id: string;
21407
21642
  };
21408
21643
  /** @description Semantic window-manager command selected by command_id */
@@ -21528,6 +21763,50 @@ export interface components {
21528
21763
  rebase?: components["schemas"]["WindowManagerRebaseGuard"] | null;
21529
21764
  workspace_id: string;
21530
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
+ }
21531
21810
  | {
21532
21811
  actor: components["schemas"]["WindowManagerActor"];
21533
21812
  client_id?: string | null;
@@ -21596,7 +21875,7 @@ export interface components {
21596
21875
  }
21597
21876
  | {
21598
21877
  actor: components["schemas"]["WindowManagerActor"];
21599
- client_id: string;
21878
+ client_id?: string | null;
21600
21879
  /** @enum {string} */
21601
21880
  command_id: "window.zoom";
21602
21881
  expected_revision: number;
@@ -21681,12 +21960,11 @@ export interface components {
21681
21960
  destination_id?: string | null;
21682
21961
  };
21683
21962
  WindowManagerDesktop: {
21684
- floating: string[];
21685
- floating_stacks: components["schemas"]["WindowManagerFloatingStack"][];
21686
- groups: components["schemas"]["ContractWindowManagerLayoutGroup"][];
21963
+ active_tab_id: string;
21687
21964
  id: string;
21688
21965
  name: string;
21689
21966
  order: number;
21967
+ tabs: components["schemas"]["ContractWindowManagerTab"][];
21690
21968
  };
21691
21969
  WindowManagerErrorFrame: {
21692
21970
  error: components["schemas"]["ContractWindowManagerErrorPayload"];
@@ -21742,6 +22020,8 @@ export interface components {
21742
22020
  | "window.stack.set_active"
21743
22021
  | "window.pin"
21744
22022
  | "window.reopen"
22023
+ | "window.tab.reorder"
22024
+ | "window.tab.activate"
21745
22025
  | "layout.arrange"
21746
22026
  | "layout.resize"
21747
22027
  | "layout.frame_resize"
@@ -21762,19 +22042,28 @@ export interface components {
21762
22042
  type: "event";
21763
22043
  workspace_id: string;
21764
22044
  };
21765
- WindowManagerFloatingStack: {
21766
- active_id?: string | null;
21767
- id: string;
21768
- minimized: boolean;
21769
- rect: components["schemas"]["NormalizedRect"];
21770
- window_ids: string[];
21771
- };
21772
22045
  WindowManagerFocusWindowPayload: {
21773
22046
  /** @enum {string} */
21774
22047
  direction?: "left" | "right" | "up" | "down";
21775
22048
  window_id?: string | null;
21776
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
+ };
21777
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
+ */
21778
22067
  insert_index?: number | null;
21779
22068
  target_window_id: string;
21780
22069
  window_ids: string[];
@@ -21794,22 +22083,15 @@ export interface components {
21794
22083
  };
21795
22084
  workspace_id: string;
21796
22085
  };
21797
- WindowManagerLayoutGroup: {
21798
- frame: components["schemas"]["NormalizedRect"];
21799
- id: string;
21800
- root: components["schemas"]["WindowManagerLayoutNode"];
21801
- };
21802
22086
  WindowManagerLayoutNode: {
21803
- active_id?: string | null;
21804
22087
  /** @enum {string|null} */
21805
22088
  axis?: "horizontal" | "vertical" | null;
21806
22089
  children?: components["schemas"]["WindowManagerLayoutNode"][];
21807
22090
  id: string;
21808
22091
  /** @enum {string} */
21809
- kind: "leaf" | "split" | "stack";
22092
+ kind: "leaf" | "split";
21810
22093
  weights?: number[];
21811
22094
  window_id?: string | null;
21812
- window_ids?: string[];
21813
22095
  };
21814
22096
  WindowManagerLayoutReplaceRequest: {
21815
22097
  actor: components["schemas"]["WindowManagerActor"];
@@ -21825,15 +22107,35 @@ export interface components {
21825
22107
  };
21826
22108
  WindowManagerLayoutValidationResponse: {
21827
22109
  diagnostics?: components["schemas"]["Diagnostic"][];
22110
+ document?: components["schemas"]["ContractWindowManagerLayoutDocument"] | null;
21828
22111
  valid: boolean;
21829
22112
  workspace_id: string;
21830
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
+ };
21831
22120
  WindowManagerMoveWindowPayload: {
21832
22121
  destination_desktop_id: string;
21833
22122
  floating_rect?: components["schemas"]["NormalizedRect"] | null;
21834
22123
  move_group: boolean;
21835
- /** @enum {string} */
21836
- 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;
21837
22139
  target_window_id?: string | null;
21838
22140
  window_id: string;
21839
22141
  };
@@ -21854,6 +22156,10 @@ export interface components {
21854
22156
  }
21855
22157
  );
21856
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
+ */
21857
22163
  restore_window_id?: string | null;
21858
22164
  window: components["schemas"]["WindowManagerWindowSpecPayload"];
21859
22165
  };
@@ -21863,8 +22169,17 @@ export interface components {
21863
22169
  focused_session_state?: string;
21864
22170
  scope_global: boolean;
21865
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
+ */
21866
22176
  window_floating: boolean;
21867
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
+ */
21868
22183
  window_stacked: boolean;
21869
22184
  workspace_trusted: boolean;
21870
22185
  };
@@ -21876,6 +22191,7 @@ export interface components {
21876
22191
  changed: boolean;
21877
22192
  changes: components["schemas"]["ChangeSet"];
21878
22193
  client?: components["schemas"]["ContractWindowManagerClientView"] | null;
22194
+ deprecations: components["schemas"]["Deprecation"][];
21879
22195
  diagnostics?: components["schemas"]["Diagnostic"][];
21880
22196
  snapshot: components["schemas"]["ContractWindowManagerSnapshot"];
21881
22197
  };
@@ -21883,6 +22199,7 @@ export interface components {
21883
22199
  boundary_index?: number | null;
21884
22200
  source_node_id?: string | null;
21885
22201
  split_id?: string | null;
22202
+ tab_id?: string | null;
21886
22203
  target_node_id?: string | null;
21887
22204
  window_id?: string | null;
21888
22205
  };
@@ -21896,6 +22213,10 @@ export interface components {
21896
22213
  index: number;
21897
22214
  window_id: string;
21898
22215
  };
22216
+ WindowManagerReorderTabPayload: {
22217
+ index: number;
22218
+ window_id: string;
22219
+ };
21899
22220
  WindowManagerReplaceLayoutPayload: {
21900
22221
  document: components["schemas"]["ContractWindowManagerLayoutDocument"];
21901
22222
  };
@@ -21905,32 +22226,26 @@ export interface components {
21905
22226
  delta: number;
21906
22227
  split_id: string;
21907
22228
  };
22229
+ WindowManagerResizeWindowPayload: {
22230
+ frame?: components["schemas"]["NormalizedRect"];
22231
+ window_id: string;
22232
+ };
21908
22233
  WindowManagerResult: {
21909
22234
  applied: boolean;
21910
22235
  changes: components["schemas"]["ChangeSet"];
21911
22236
  client?: components["schemas"]["ContractWindowManagerClientView"] | null;
22237
+ deprecations: components["schemas"]["Deprecation"][];
21912
22238
  diagnostics?: components["schemas"]["Diagnostic"][];
21913
22239
  rebased_from?: number;
21914
22240
  snapshot: components["schemas"]["ContractWindowManagerSnapshot"];
21915
22241
  };
21916
- WindowManagerReturnAnchor: {
21917
- child_index?: number | null;
21918
- desktop_id: string;
21919
- group_id?: string | null;
21920
- neighbor_ids?: string[];
21921
- parent_split_id?: string | null;
21922
- source_group?: components["schemas"]["ContractWindowManagerLayoutGroup"] | null;
21923
- source_revision: number;
21924
- /** Format: double */
21925
- weight?: number | null;
21926
- zoomed?: boolean;
21927
- };
21928
22242
  WindowManagerSetStackActivePayload: {
21929
22243
  window_id: string;
21930
22244
  };
21931
22245
  WindowManagerSnapshot: {
21932
22246
  closed_entry_count: number;
21933
22247
  desktops: components["schemas"]["ContractWindowManagerDesktop"][];
22248
+ migration?: components["schemas"]["MigrationStatus"] | null;
21934
22249
  overrides: components["schemas"]["WorkspaceConfig"];
21935
22250
  revision: number;
21936
22251
  /** Format: date-time */
@@ -21956,6 +22271,11 @@ export interface components {
21956
22271
  WindowManagerSwitchDesktopPayload: {
21957
22272
  desktop_id: string;
21958
22273
  };
22274
+ WindowManagerTab: {
22275
+ id: string;
22276
+ pinned: boolean;
22277
+ root: components["schemas"]["WindowManagerLayoutNode"];
22278
+ };
21959
22279
  WindowManagerToggleFloatingPayload: {
21960
22280
  floating_rect?: components["schemas"]["NormalizedRect"] | null;
21961
22281
  window_id: string;
@@ -21968,25 +22288,23 @@ export interface components {
21968
22288
  WindowManagerWindow: {
21969
22289
  app: string;
21970
22290
  desktop_id: string;
21971
- floating_rect: components["schemas"]["NormalizedRect"];
21972
22291
  id: string;
21973
22292
  instance_key?: string | null;
21974
- minimized: boolean;
21975
22293
  nav_stack: components["schemas"]["RouteIntent"][];
21976
- pinned: boolean;
21977
- /** @enum {string} */
21978
- placement: "tiled" | "stacked" | "floating";
21979
- return_anchor?: components["schemas"]["WindowManagerReturnAnchor"] | null;
21980
22294
  route: components["schemas"]["RouteIntent"];
21981
- zoomed: boolean;
22295
+ tab_id: string;
21982
22296
  };
21983
22297
  WindowManagerWindowSpecPayload: {
21984
22298
  app: string;
21985
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
+ */
21986
22304
  floating?: boolean;
21987
- floating_rect: components["schemas"]["NormalizedRect"];
22305
+ floating_rect?: components["schemas"]["NormalizedRect"];
21988
22306
  id?: string;
21989
- insert_tiled: boolean;
22307
+ insert_tiled?: boolean;
21990
22308
  instance_key?: string | null;
21991
22309
  route: components["schemas"]["RouteIntent"];
21992
22310
  stack_target_window_id?: string | null;
@@ -22060,23 +22378,44 @@ export interface components {
22060
22378
  workspace_id: string;
22061
22379
  };
22062
22380
  WorkspaceConfig: {
22381
+ /**
22382
+ * @deprecated
22383
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22384
+ */
22063
22385
  bindings?: components["schemas"]["BindingsConfig"] | null;
22064
22386
  closed_entry_limit?: number | null;
22065
22387
  desktop_transition?: string | null;
22388
+ /**
22389
+ * @deprecated
22390
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22391
+ */
22066
22392
  drag_away_policy?: string | null;
22067
22393
  focus_follows_pointer?: boolean | null;
22068
22394
  focus_policy?: string | null;
22069
22395
  focus_wrap?: boolean | null;
22070
22396
  gaps?: components["schemas"]["GapsConfig"] | null;
22397
+ /**
22398
+ * @deprecated
22399
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22400
+ */
22071
22401
  group_move_modifier?: string | null;
22072
22402
  history_limit?: number | null;
22073
22403
  nav_stack_limit?: number | null;
22404
+ /** @description Deprecated value "floating": translated to "tab"; removed in v0.8.0. */
22074
22405
  new_window_policy?: string | null;
22406
+ /**
22407
+ * @deprecated
22408
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22409
+ */
22075
22410
  raise_on_focus?: boolean | null;
22076
22411
  shortcuts?: {
22077
22412
  [key: string]: string | string[];
22078
22413
  };
22079
22414
  small_viewport_policy?: string | null;
22415
+ /**
22416
+ * @deprecated
22417
+ * @description Deprecated: accepted and ignored; remove before v0.8.0.
22418
+ */
22080
22419
  snap?: components["schemas"]["SnapConfig"] | null;
22081
22420
  swap_modifier?: string | null;
22082
22421
  };
@@ -22283,6 +22622,15 @@ export interface components {
22283
22622
  error?: string;
22284
22623
  risk: components["schemas"]["WorktreeRemovalRiskPayload"];
22285
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
+ };
22286
22634
  WorktreeRemovalRiskPayload: {
22287
22635
  changed_files: number;
22288
22636
  deletions: number;
@@ -22291,6 +22639,11 @@ export interface components {
22291
22639
  leftover_files: number;
22292
22640
  unpushed_commits: number;
22293
22641
  };
22642
+ WorktreeRemovalTarget: {
22643
+ expect_stale?: boolean;
22644
+ path?: string;
22645
+ ref?: string;
22646
+ };
22294
22647
  WorktreeRepoPayload: {
22295
22648
  diagnostic?: string;
22296
22649
  git_available: boolean;
@@ -29517,6 +29870,15 @@ export interface operations {
29517
29870
  "application/json": components["schemas"]["RunResponse"];
29518
29871
  };
29519
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
+ };
29520
29882
  /** @description Automation job not found */
29521
29883
  404: {
29522
29884
  headers: {
@@ -33298,6 +33660,9 @@ export interface operations {
33298
33660
  | "spawn.ttl_expired"
33299
33661
  | "spawn.reaped"
33300
33662
  | "session.attention.changed"
33663
+ | "window_manager.tab.split"
33664
+ | "window_manager.tab.unsplit"
33665
+ | "window_manager.tab.activated"
33301
33666
  | "window_manager.layout.applied"
33302
33667
  | "window_manager.desktop.created"
33303
33668
  | "window_manager.desktop.deleted"
@@ -35116,7 +35481,7 @@ export interface operations {
35116
35481
  };
35117
35482
  };
35118
35483
  responses: {
35119
- /** @description Receipts committed atomically; source state unchanged */
35484
+ /** @description Receipts committed atomically; bell layout-upgrade notices also acknowledged durably */
35120
35485
  204: {
35121
35486
  headers: {
35122
35487
  [name: string]: unknown;
@@ -38819,6 +39184,8 @@ export interface operations {
38819
39184
  parent?: string;
38820
39185
  /** @description Filter by exact root session id (includes the root itself) */
38821
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;
38822
39189
  /** @description Filter by exact bound worktree id */
38823
39190
  worktree?: string;
38824
39191
  /** @description Search session id, name, agent, or provider; title_agent searches visible title and agent */
@@ -39127,6 +39494,8 @@ export interface operations {
39127
39494
  parent?: string;
39128
39495
  /** @description Filter by exact root session id (includes the root itself) */
39129
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;
39130
39499
  /** @description Only count sessions eligible for explicit attach */
39131
39500
  resumable?: boolean;
39132
39501
  /** @description Filter by exact session state */
@@ -49269,6 +49638,15 @@ export interface operations {
49269
49638
  "application/json": components["schemas"]["ErrorPayload"];
49270
49639
  };
49271
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
+ };
49272
49650
  };
49273
49651
  };
49274
49652
  updateWorkspace: {
@@ -49874,6 +50252,113 @@ export interface operations {
49874
50252
  };
49875
50253
  };
49876
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
+ };
49877
50362
  searchFileContents: {
49878
50363
  parameters: {
49879
50364
  query: {
@@ -50049,6 +50534,9 @@ export interface operations {
50049
50534
  | "spawn.ttl_expired"
50050
50535
  | "spawn.reaped"
50051
50536
  | "session.attention.changed"
50537
+ | "window_manager.tab.split"
50538
+ | "window_manager.tab.unsplit"
50539
+ | "window_manager.tab.activated"
50052
50540
  | "window_manager.layout.applied"
50053
50541
  | "window_manager.desktop.created"
50054
50542
  | "window_manager.desktop.deleted"
@@ -53761,6 +54249,8 @@ export interface operations {
53761
54249
  parent?: string;
53762
54250
  /** @description Filter by exact root session id (includes the root itself) */
53763
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;
53764
54254
  /** @description Filter by exact bound worktree id */
53765
54255
  worktree?: string;
53766
54256
  /** @description Search session id, name, agent, or provider; title_agent searches visible title and agent */
@@ -55825,6 +56315,115 @@ export interface operations {
55825
56315
  };
55826
56316
  };
55827
56317
  };
56318
+ readSessionFileBytes: {
56319
+ parameters: {
56320
+ query?: {
56321
+ /** @description Read one profile's rows by name */
56322
+ profile?: string;
56323
+ /** @description Read the owner-labeled all-profiles aggregate */
56324
+ all_profiles?: boolean;
56325
+ };
56326
+ header?: never;
56327
+ path: {
56328
+ /** @description Workspace id */
56329
+ workspace_id: string;
56330
+ /** @description Session id */
56331
+ session_id: string;
56332
+ /** @description Root-relative file path; its slashes are path segments */
56333
+ path: string;
56334
+ };
56335
+ cookie?: never;
56336
+ };
56337
+ requestBody?: never;
56338
+ responses: {
56339
+ /** @description File bytes */
56340
+ 200: {
56341
+ headers: {
56342
+ [name: string]: unknown;
56343
+ };
56344
+ content: {
56345
+ "*/*": string;
56346
+ };
56347
+ };
56348
+ /** @description Requested byte range */
56349
+ 206: {
56350
+ headers: {
56351
+ [name: string]: unknown;
56352
+ };
56353
+ content: {
56354
+ "*/*": string;
56355
+ };
56356
+ };
56357
+ /** @description File unchanged since the supplied validator */
56358
+ 304: {
56359
+ headers: {
56360
+ [name: string]: unknown;
56361
+ };
56362
+ content?: never;
56363
+ };
56364
+ /** @description File operation failed */
56365
+ 400: {
56366
+ headers: {
56367
+ [name: string]: unknown;
56368
+ };
56369
+ content: {
56370
+ "application/json": components["schemas"]["ErrorPayload"];
56371
+ };
56372
+ };
56373
+ /** @description File operation failed */
56374
+ 403: {
56375
+ headers: {
56376
+ [name: string]: unknown;
56377
+ };
56378
+ content: {
56379
+ "application/json": components["schemas"]["ErrorPayload"];
56380
+ };
56381
+ };
56382
+ /** @description File operation failed */
56383
+ 404: {
56384
+ headers: {
56385
+ [name: string]: unknown;
56386
+ };
56387
+ content: {
56388
+ "application/json": components["schemas"]["ErrorPayload"];
56389
+ };
56390
+ };
56391
+ /** @description File operation failed */
56392
+ 409: {
56393
+ headers: {
56394
+ [name: string]: unknown;
56395
+ };
56396
+ content: {
56397
+ "application/json": components["schemas"]["ErrorPayload"];
56398
+ };
56399
+ };
56400
+ /** @description Requested range not satisfiable */
56401
+ 416: {
56402
+ headers: {
56403
+ [name: string]: unknown;
56404
+ };
56405
+ content?: never;
56406
+ };
56407
+ /** @description File operation failed */
56408
+ 422: {
56409
+ headers: {
56410
+ [name: string]: unknown;
56411
+ };
56412
+ content: {
56413
+ "application/json": components["schemas"]["ErrorPayload"];
56414
+ };
56415
+ };
56416
+ /** @description File operation failed */
56417
+ 500: {
56418
+ headers: {
56419
+ [name: string]: unknown;
56420
+ };
56421
+ content: {
56422
+ "application/json": components["schemas"]["ErrorPayload"];
56423
+ };
56424
+ };
56425
+ };
56426
+ };
55828
56427
  searchSessionFileContents: {
55829
56428
  parameters: {
55830
56429
  query: {
@@ -61842,7 +62441,7 @@ export interface operations {
61842
62441
  query?: {
61843
62442
  /** @description Zero-based byte offset */
61844
62443
  offset?: number;
61845
- /** @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 */
61846
62445
  limit?: number;
61847
62446
  /** @description Act as this profile by name */
61848
62447
  profile?: string;
@@ -62647,7 +63246,7 @@ export interface operations {
62647
63246
  };
62648
63247
  };
62649
63248
  responses: {
62650
- /** @description Validation result */
63249
+ /** @description Validation diagnostics and the canonical v6 document when valid */
62651
63250
  200: {
62652
63251
  headers: {
62653
63252
  [name: string]: unknown;
@@ -62703,6 +63302,153 @@ export interface operations {
62703
63302
  };
62704
63303
  };
62705
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: {
63322
+ headers: {
63323
+ [name: string]: unknown;
63324
+ };
63325
+ content: {
63326
+ "application/json": components["schemas"]["MigrationStatus"];
63327
+ };
63328
+ };
63329
+ /** @description Invalid window workspace binding */
63330
+ 400: {
63331
+ headers: {
63332
+ [name: string]: unknown;
63333
+ };
63334
+ content: {
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"];
63363
+ };
63364
+ };
63365
+ /** @description Window manager unavailable */
63366
+ 503: {
63367
+ headers: {
63368
+ [name: string]: unknown;
63369
+ };
63370
+ content: {
63371
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63372
+ };
63373
+ };
63374
+ };
63375
+ };
63376
+ updateWindowManagerMigration: {
63377
+ parameters: {
63378
+ query?: {
63379
+ /** @description Act as this profile by name */
63380
+ profile?: string;
63381
+ };
63382
+ header?: never;
63383
+ path: {
63384
+ /** @description Workspace id */
63385
+ workspace_id: string;
63386
+ };
63387
+ cookie?: never;
63388
+ };
63389
+ /** @description JSON request body */
63390
+ requestBody: {
63391
+ content: {
63392
+ "application/json": components["schemas"]["WindowManagerMigrationRequest"];
63393
+ };
63394
+ };
63395
+ responses: {
63396
+ /** @description OK */
63397
+ 200: {
63398
+ headers: {
63399
+ [name: string]: unknown;
63400
+ };
63401
+ content: {
63402
+ "application/json": components["schemas"]["MigrationStatus"];
63403
+ };
63404
+ };
63405
+ /** @description Invalid window workspace binding */
63406
+ 400: {
63407
+ headers: {
63408
+ [name: string]: unknown;
63409
+ };
63410
+ content: {
63411
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63412
+ };
63413
+ };
63414
+ /** @description Workspace or referenced entity not found */
63415
+ 404: {
63416
+ headers: {
63417
+ [name: string]: unknown;
63418
+ };
63419
+ content: {
63420
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63421
+ };
63422
+ };
63423
+ /** @description Revision or state conflict */
63424
+ 409: {
63425
+ headers: {
63426
+ [name: string]: unknown;
63427
+ };
63428
+ content: {
63429
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63430
+ };
63431
+ };
63432
+ /** @description Invalid window-manager request */
63433
+ 422: {
63434
+ headers: {
63435
+ [name: string]: unknown;
63436
+ };
63437
+ content: {
63438
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63439
+ };
63440
+ };
63441
+ /** @description Window manager unavailable */
63442
+ 503: {
63443
+ headers: {
63444
+ [name: string]: unknown;
63445
+ };
63446
+ content: {
63447
+ "application/json": components["schemas"]["ContractWindowManagerErrorPayload"];
63448
+ };
63449
+ };
63450
+ };
63451
+ };
62706
63452
  previewWindowManagerCommand: {
62707
63453
  parameters: {
62708
63454
  query?: {
@@ -63185,6 +63931,100 @@ export interface operations {
63185
63931
  };
63186
63932
  };
63187
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
+ };
63188
64028
  inspectWorktree: {
63189
64029
  parameters: {
63190
64030
  query?: never;
@@ -63809,6 +64649,115 @@ export interface operations {
63809
64649
  };
63810
64650
  };
63811
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
+ };
63812
64761
  getWorktreeStatus: {
63813
64762
  parameters: {
63814
64763
  query?: {