@compozy/client 0.4.4 → 0.4.6

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.
@@ -1951,6 +1951,40 @@ export interface paths {
1951
1951
  patch?: never;
1952
1952
  trace?: never;
1953
1953
  };
1954
+ "/api/processes": {
1955
+ parameters: {
1956
+ query?: never;
1957
+ header?: never;
1958
+ path?: never;
1959
+ cookie?: never;
1960
+ };
1961
+ /** List processes grouped by session, including left-running processes */
1962
+ get: operations["listProcesses"];
1963
+ put?: never;
1964
+ post?: never;
1965
+ delete?: never;
1966
+ options?: never;
1967
+ head?: never;
1968
+ patch?: never;
1969
+ trace?: never;
1970
+ };
1971
+ "/api/processes/terminate": {
1972
+ parameters: {
1973
+ query?: never;
1974
+ header?: never;
1975
+ path?: never;
1976
+ cookie?: never;
1977
+ };
1978
+ get?: never;
1979
+ put?: never;
1980
+ /** Terminate identity-verified processes with missing or retained session owners */
1981
+ post: operations["terminateProcesses"];
1982
+ delete?: never;
1983
+ options?: never;
1984
+ head?: never;
1985
+ patch?: never;
1986
+ trace?: never;
1987
+ };
1954
1988
  "/api/profiles": {
1955
1989
  parameters: {
1956
1990
  query?: never;
@@ -4537,6 +4571,93 @@ export interface paths {
4537
4571
  patch?: never;
4538
4572
  trace?: never;
4539
4573
  };
4574
+ "/api/workspace-folders": {
4575
+ parameters: {
4576
+ query?: never;
4577
+ header?: never;
4578
+ path?: never;
4579
+ cookie?: never;
4580
+ };
4581
+ /** Read the profile's workspace folders and manual workspace order */
4582
+ get: operations["getWorkspaceLayout"];
4583
+ put?: never;
4584
+ /** Create a root workspace folder */
4585
+ post: operations["createWorkspaceFolder"];
4586
+ delete?: never;
4587
+ options?: never;
4588
+ head?: never;
4589
+ patch?: never;
4590
+ trace?: never;
4591
+ };
4592
+ "/api/workspace-folders/{folder_id}": {
4593
+ parameters: {
4594
+ query?: never;
4595
+ header?: never;
4596
+ path?: never;
4597
+ cookie?: never;
4598
+ };
4599
+ get?: never;
4600
+ put?: never;
4601
+ post?: never;
4602
+ /** Delete a workspace folder; its workspaces return to the root */
4603
+ delete: operations["deleteWorkspaceFolder"];
4604
+ options?: never;
4605
+ head?: never;
4606
+ /** Rename a workspace folder */
4607
+ patch: operations["renameWorkspaceFolder"];
4608
+ trace?: never;
4609
+ };
4610
+ "/api/workspace-order/folders": {
4611
+ parameters: {
4612
+ query?: never;
4613
+ header?: never;
4614
+ path?: never;
4615
+ cookie?: never;
4616
+ };
4617
+ get?: never;
4618
+ /** Set the complete workspace folder order */
4619
+ put: operations["reorderWorkspaceFolders"];
4620
+ post?: never;
4621
+ delete?: never;
4622
+ options?: never;
4623
+ head?: never;
4624
+ patch?: never;
4625
+ trace?: never;
4626
+ };
4627
+ "/api/workspace-order/move": {
4628
+ parameters: {
4629
+ query?: never;
4630
+ header?: never;
4631
+ path?: never;
4632
+ cookie?: never;
4633
+ };
4634
+ get?: never;
4635
+ put?: never;
4636
+ /** Move a workspace into a folder or back to the root */
4637
+ post: operations["moveWorkspace"];
4638
+ delete?: never;
4639
+ options?: never;
4640
+ head?: never;
4641
+ patch?: never;
4642
+ trace?: never;
4643
+ };
4644
+ "/api/workspace-order/workspaces": {
4645
+ parameters: {
4646
+ query?: never;
4647
+ header?: never;
4648
+ path?: never;
4649
+ cookie?: never;
4650
+ };
4651
+ get?: never;
4652
+ /** Set the manual workspace order in a folder or the root */
4653
+ put: operations["reorderWorkspaces"];
4654
+ post?: never;
4655
+ delete?: never;
4656
+ options?: never;
4657
+ head?: never;
4658
+ patch?: never;
4659
+ trace?: never;
4660
+ };
4540
4661
  "/api/workspaces": {
4541
4662
  parameters: {
4542
4663
  query?: never;
@@ -4544,7 +4665,7 @@ export interface paths {
4544
4665
  path?: never;
4545
4666
  cookie?: never;
4546
4667
  };
4547
- /** List registered workspaces */
4668
+ /** List active or archived workspaces */
4548
4669
  get: operations["listWorkspaces"];
4549
4670
  put?: never;
4550
4671
  /** Register a workspace */
@@ -4591,6 +4712,40 @@ export interface paths {
4591
4712
  patch: operations["updateWorkspace"];
4592
4713
  trace?: never;
4593
4714
  };
4715
+ "/api/workspaces/{id}/archive": {
4716
+ parameters: {
4717
+ query?: never;
4718
+ header?: never;
4719
+ path?: never;
4720
+ cookie?: never;
4721
+ };
4722
+ get?: never;
4723
+ put?: never;
4724
+ /** archive a workspace without removing its data */
4725
+ post: operations["archiveWorkspace"];
4726
+ delete?: never;
4727
+ options?: never;
4728
+ head?: never;
4729
+ patch?: never;
4730
+ trace?: never;
4731
+ };
4732
+ "/api/workspaces/{id}/unarchive": {
4733
+ parameters: {
4734
+ query?: never;
4735
+ header?: never;
4736
+ path?: never;
4737
+ cookie?: never;
4738
+ };
4739
+ get?: never;
4740
+ put?: never;
4741
+ /** unarchive a workspace without removing its data */
4742
+ post: operations["unarchiveWorkspace"];
4743
+ delete?: never;
4744
+ options?: never;
4745
+ head?: never;
4746
+ patch?: never;
4747
+ trace?: never;
4748
+ };
4594
4749
  "/api/workspaces/{workspace_id}/automation/suggestions": {
4595
4750
  parameters: {
4596
4751
  query?: never;
@@ -5744,6 +5899,40 @@ export interface paths {
5744
5899
  patch?: never;
5745
5900
  trace?: never;
5746
5901
  };
5902
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/processes": {
5903
+ parameters: {
5904
+ query?: never;
5905
+ header?: never;
5906
+ path?: never;
5907
+ cookie?: never;
5908
+ };
5909
+ /** List attributed session processes */
5910
+ get: operations["listSessionProcesses"];
5911
+ put?: never;
5912
+ post?: never;
5913
+ delete?: never;
5914
+ options?: never;
5915
+ head?: never;
5916
+ patch?: never;
5917
+ trace?: never;
5918
+ };
5919
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/processes/terminate": {
5920
+ parameters: {
5921
+ query?: never;
5922
+ header?: never;
5923
+ path?: never;
5924
+ cookie?: never;
5925
+ };
5926
+ get?: never;
5927
+ put?: never;
5928
+ /** Terminate identity-verified session processes */
5929
+ post: operations["terminateSessionProcesses"];
5930
+ delete?: never;
5931
+ options?: never;
5932
+ head?: never;
5933
+ patch?: never;
5934
+ trace?: never;
5935
+ };
5747
5936
  "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt": {
5748
5937
  parameters: {
5749
5938
  query?: never;
@@ -6155,6 +6344,24 @@ export interface paths {
6155
6344
  patch?: never;
6156
6345
  trace?: never;
6157
6346
  };
6347
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/worktree": {
6348
+ parameters: {
6349
+ query?: never;
6350
+ header?: never;
6351
+ path?: never;
6352
+ cookie?: never;
6353
+ };
6354
+ get?: never;
6355
+ /** Bind an idle existing session to a ready worktree in place */
6356
+ put: operations["bindSessionWorktree"];
6357
+ post?: never;
6358
+ /** Return an idle session to the workspace root in place */
6359
+ delete: operations["unbindSessionWorktree"];
6360
+ options?: never;
6361
+ head?: never;
6362
+ patch?: never;
6363
+ trace?: never;
6364
+ };
6158
6365
  "/api/workspaces/{workspace_id}/sessions/{session_id}/worktree-fork": {
6159
6366
  parameters: {
6160
6367
  query?: never;
@@ -6995,6 +7202,7 @@ export interface components {
6995
7202
  };
6996
7203
  AgentCatalogResponse: {
6997
7204
  agents: components["schemas"]["AgentCatalogItemPayload"][];
7205
+ diagnostics?: components["schemas"]["DiagnosticItem"][];
6998
7206
  facets: components["schemas"]["AgentCatalogFacetsPayload"];
6999
7207
  page: components["schemas"]["CountedCursorPagePayload"];
7000
7208
  sessions_available: boolean;
@@ -7072,10 +7280,14 @@ export interface components {
7072
7280
  session_id: string;
7073
7281
  };
7074
7282
  AgentLimitsPayload: {
7283
+ can_spawn_children: boolean;
7075
7284
  context_section_limit: number;
7285
+ governed_spawn_depth: number;
7286
+ max_active_per_workspace?: number;
7076
7287
  max_active_task_leases: number;
7077
7288
  max_children: number;
7078
7289
  max_spawn_depth: number;
7290
+ spawn_blocked_reason?: string;
7079
7291
  };
7080
7292
  AgentMCPServerJSON: {
7081
7293
  args?: string[];
@@ -7574,6 +7786,10 @@ export interface components {
7574
7786
  task_id?: string;
7575
7787
  workflow_id?: string;
7576
7788
  };
7789
+ BindSessionWorktreeRequest: {
7790
+ expected_worktree_id?: string | null;
7791
+ worktree: string;
7792
+ };
7577
7793
  BindingsConfig: {
7578
7794
  bottom_center: string;
7579
7795
  top_center: string;
@@ -8347,6 +8563,9 @@ export interface components {
8347
8563
  webhook_secret_value?: string;
8348
8564
  workspace_id?: string;
8349
8565
  };
8566
+ CreateWorkspaceFolderRequest: {
8567
+ name: string;
8568
+ };
8350
8569
  CreateWorkspaceRequest: {
8351
8570
  add_dirs?: string[];
8352
8571
  default_agent?: string;
@@ -8557,6 +8776,7 @@ export interface components {
8557
8776
  start_sequence: number;
8558
8777
  };
8559
8778
  ErrorPayload: {
8779
+ blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
8560
8780
  code?: string;
8561
8781
  config_path?: string;
8562
8782
  current_turn_id?: string;
@@ -9161,7 +9381,15 @@ export interface components {
9161
9381
  };
9162
9382
  GoalCommandResult: {
9163
9383
  /** @enum {string} */
9164
- outcome: "started" | "replaced" | "status" | "paused" | "resumed" | "cleared" | "error";
9384
+ outcome:
9385
+ | "started"
9386
+ | "replaced"
9387
+ | "status"
9388
+ | "paused"
9389
+ | "resumed"
9390
+ | "cleared"
9391
+ | "stopped"
9392
+ | "error";
9165
9393
  /** @enum {string|null} */
9166
9394
  reason_code:
9167
9395
  | "goal_not_active"
@@ -9203,6 +9431,7 @@ export interface components {
9203
9431
  snapshot: components["schemas"]["GoalSnapshot"] | null;
9204
9432
  };
9205
9433
  GoalContextSnapshot: {
9434
+ diagnostic?: string;
9206
9435
  /** Format: double */
9207
9436
  nudge_ratio: number;
9208
9437
  /** Format: double */
@@ -9302,6 +9531,7 @@ export interface components {
9302
9531
  node_id: string;
9303
9532
  objective: string;
9304
9533
  origin_session_id: string;
9534
+ pause_requested?: boolean;
9305
9535
  run_id: string;
9306
9536
  /** @enum {string} */
9307
9537
  run_status:
@@ -11485,6 +11715,10 @@ export interface components {
11485
11715
  MoveSessionRequest: {
11486
11716
  folder_id?: string;
11487
11717
  };
11718
+ MoveWorkspaceRequest: {
11719
+ folder_id?: string;
11720
+ workspace_id: string;
11721
+ };
11488
11722
  NewSessionWorktreeRequest: {
11489
11723
  name?: string;
11490
11724
  };
@@ -11835,6 +12069,12 @@ export interface components {
11835
12069
  reason?: string;
11836
12070
  value: unknown;
11837
12071
  };
12072
+ ProcessesResponse: {
12073
+ groups: components["schemas"]["SessionProcessGroupPayload"][];
12074
+ /** Format: date-time */
12075
+ scanned_at: string;
12076
+ supported: boolean;
12077
+ };
11838
12078
  Profile: {
11839
12079
  /** Format: date-time */
11840
12080
  archived_at?: string | null;
@@ -12457,6 +12697,9 @@ export interface components {
12457
12697
  RenameSessionRequest: {
12458
12698
  name: string;
12459
12699
  };
12700
+ RenameWorkspaceFolderRequest: {
12701
+ name: string;
12702
+ };
12460
12703
  ReorderSessionFoldersRequest: {
12461
12704
  folder_ids: string[];
12462
12705
  };
@@ -12464,6 +12707,13 @@ export interface components {
12464
12707
  folder_id?: string;
12465
12708
  session_ids: string[];
12466
12709
  };
12710
+ ReorderWorkspaceFoldersRequest: {
12711
+ folder_ids: string[];
12712
+ };
12713
+ ReorderWorkspacesRequest: {
12714
+ folder_id?: string;
12715
+ workspace_ids: string[];
12716
+ };
12467
12717
  ReplaceSessionInputRequest: {
12468
12718
  idempotency_key: string;
12469
12719
  message_id: string;
@@ -13227,6 +13477,7 @@ export interface components {
13227
13477
  by_workspace: components["schemas"]["WorkspaceAttentionSummaryPayload"][];
13228
13478
  finished: number;
13229
13479
  needs_you: number;
13480
+ terminal_approvals?: components["schemas"]["TerminalApprovalCountPayload"][];
13230
13481
  };
13231
13482
  SessionBoardCountsPayload: {
13232
13483
  done: number;
@@ -13235,6 +13486,7 @@ export interface components {
13235
13486
  working: number;
13236
13487
  };
13237
13488
  SessionCatalogEventPayload: {
13489
+ execution_location_changed?: boolean;
13238
13490
  kind: string;
13239
13491
  profile_id: string;
13240
13492
  profile_name: string;
@@ -13467,6 +13719,7 @@ export interface components {
13467
13719
  turn_settled: boolean;
13468
13720
  };
13469
13721
  SessionDeriveErrorPayload: {
13722
+ blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
13470
13723
  child_session_id?: string;
13471
13724
  code?: string;
13472
13725
  config_path?: string;
@@ -13621,7 +13874,7 @@ export interface components {
13621
13874
  expected_run_id?: string;
13622
13875
  objective?: string;
13623
13876
  /** @enum {string} */
13624
- operation: "set" | "replace" | "status" | "pause" | "resume" | "clear";
13877
+ operation: "set" | "replace" | "status" | "pause" | "resume" | "stop" | "clear";
13625
13878
  runtime?: components["schemas"]["PromptRuntimeSelectionPayload"] | null;
13626
13879
  };
13627
13880
  SessionGoalResponse: {
@@ -13808,6 +14061,7 @@ export interface components {
13808
14061
  /** Format: date-time */
13809
14062
  created_at: string;
13810
14063
  derivation?: components["schemas"]["SessionDerivationPayload"] | null;
14064
+ diagnostics?: components["schemas"]["DiagnosticItem"][];
13811
14065
  effective_workspace_access: string;
13812
14066
  escalated?: boolean | null;
13813
14067
  failure?: components["schemas"]["SessionFailurePayload"] | null;
@@ -13819,6 +14073,7 @@ export interface components {
13819
14073
  name?: string;
13820
14074
  parent_title?: string;
13821
14075
  pending_interactions: components["schemas"]["PendingInteractionPayload"][];
14076
+ process_summary?: components["schemas"]["SessionProcessSummaryPayload"] | null;
13822
14077
  profile_archived?: boolean;
13823
14078
  profile_color?: string;
13824
14079
  profile_emoji?: string;
@@ -13861,6 +14116,7 @@ export interface components {
13861
14116
  waiting_on?: "sessions" | "monitor";
13862
14117
  workspace_id?: string;
13863
14118
  workspace_path?: string;
14119
+ worktree_binding?: components["schemas"]["WorktreeBindingAvailability"] | null;
13864
14120
  worktree_id?: string;
13865
14121
  };
13866
14122
  SessionPresenceRequest: {
@@ -13870,6 +14126,62 @@ export interface components {
13870
14126
  SessionPresenceResponse: {
13871
14127
  lease_id: string;
13872
14128
  };
14129
+ SessionProcessGroupPayload: {
14130
+ items: components["schemas"]["SessionProcessPayload"][];
14131
+ orphaned: boolean;
14132
+ profile: string;
14133
+ session_id: string;
14134
+ session_name: string;
14135
+ workspace_id: string;
14136
+ };
14137
+ SessionProcessPayload: {
14138
+ /** Format: double */
14139
+ age_seconds: number;
14140
+ argv0: string;
14141
+ /** @enum {string} */
14142
+ attribution: "env" | "lineage";
14143
+ command: string;
14144
+ /** Format: double */
14145
+ cpu_percent?: number | null;
14146
+ cwd: string;
14147
+ /** @enum {string} */
14148
+ kind: "background" | "tool" | "terminal";
14149
+ parent_alive: boolean;
14150
+ pgid: number;
14151
+ pid: number;
14152
+ ports: number[];
14153
+ /** Format: int64 */
14154
+ rss_kb?: number | null;
14155
+ /** Format: date-time */
14156
+ started_at: string;
14157
+ terminal_id?: string;
14158
+ };
14159
+ SessionProcessResult: {
14160
+ error?: string;
14161
+ /** @enum {string} */
14162
+ outcome: "terminated" | "already_exited" | "identity_mismatch" | "failed" | "unproven";
14163
+ pid: number;
14164
+ /** Format: date-time */
14165
+ started_at: string;
14166
+ };
14167
+ SessionProcessSummaryPayload: {
14168
+ background: number;
14169
+ ports: number[];
14170
+ supported: boolean;
14171
+ terminals: number;
14172
+ total: number;
14173
+ };
14174
+ SessionProcessTarget: {
14175
+ pid: number;
14176
+ /** Format: date-time */
14177
+ started_at: string;
14178
+ };
14179
+ SessionProcessesResponse: {
14180
+ items: components["schemas"]["SessionProcessPayload"][];
14181
+ /** Format: date-time */
14182
+ scanned_at: string;
14183
+ supported: boolean;
14184
+ };
13873
14185
  SessionProfileFacetsPayload: {
13874
14186
  facets: components["schemas"]["SessionCatalogFacetsPayload"];
13875
14187
  profile_id: string;
@@ -13899,6 +14211,7 @@ export interface components {
13899
14211
  state: "passing" | "failing" | "pending" | "none" | "unknown";
13900
14212
  };
13901
14213
  SessionPullRequestErrorPayload: {
14214
+ blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
13902
14215
  cause?: string;
13903
14216
  code?: string;
13904
14217
  config_path?: string;
@@ -14035,6 +14348,7 @@ export interface components {
14035
14348
  | "needs-attention"
14036
14349
  | "waiting";
14037
14350
  derivation?: components["schemas"]["SessionDerivationPayload"] | null;
14351
+ diagnostics?: components["schemas"]["DiagnosticItem"][];
14038
14352
  eligible_for_wake: boolean;
14039
14353
  escalated?: boolean | null;
14040
14354
  /** @enum {string} */
@@ -16033,6 +16347,8 @@ export interface components {
16033
16347
  steps_total: number;
16034
16348
  };
16035
16349
  StopSessionRequest: {
16350
+ /** @enum {string} */
16351
+ processes?: "keep" | "terminate";
16036
16352
  wait?: boolean | null;
16037
16353
  };
16038
16354
  StopWhenSpec:
@@ -16837,6 +17153,7 @@ export interface components {
16837
17153
  workspace_id?: string;
16838
17154
  };
16839
17155
  TaskQueryErrorPayload: {
17156
+ blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
16840
17157
  code?: string;
16841
17158
  config_path?: string;
16842
17159
  current_turn_id?: string;
@@ -17261,6 +17578,11 @@ export interface components {
17261
17578
  TerminalAnswerInputRequest: {
17262
17579
  input: string;
17263
17580
  };
17581
+ TerminalApprovalCountPayload: {
17582
+ count: number;
17583
+ profile_id: string;
17584
+ workspace_id: string;
17585
+ };
17264
17586
  TerminalAttachTicketRequest: {
17265
17587
  client_id?: string;
17266
17588
  /** @enum {string} */
@@ -17520,6 +17842,17 @@ export interface components {
17520
17842
  screen: string;
17521
17843
  untrusted: boolean;
17522
17844
  };
17845
+ TerminateProcessesRequest: {
17846
+ targets: components["schemas"]["SessionProcessTarget"][];
17847
+ };
17848
+ TerminateSessionProcessesRequest: {
17849
+ all?: boolean;
17850
+ targets?: components["schemas"]["SessionProcessTarget"][];
17851
+ };
17852
+ TerminateSessionProcessesResponse: {
17853
+ results: components["schemas"]["SessionProcessResult"][];
17854
+ supported: boolean;
17855
+ };
17523
17856
  TimelineEntry: {
17524
17857
  /** Format: date-time */
17525
17858
  at: string;
@@ -17833,6 +18166,7 @@ export interface components {
17833
18166
  | "recording_unavailable"
17834
18167
  | "session_archive_stop_failed"
17835
18168
  | "session_busy"
18169
+ | "session_worktree_conflict"
17836
18170
  | "slow_consumer"
17837
18171
  | "subscriber_limit_reached"
17838
18172
  | "terminal_exited"
@@ -17855,7 +18189,15 @@ export interface components {
17855
18189
  | "tool_result_persistence_failed"
17856
18190
  | "tool_result_too_large"
17857
18191
  | "tool_timed_out"
17858
- | "tool_unavailable";
18192
+ | "tool_unavailable"
18193
+ | "workspace_archived"
18194
+ | "workspace_busy"
18195
+ | "workspace_root_missing"
18196
+ | "worktree_missing"
18197
+ | "worktree_not_found"
18198
+ | "worktree_not_ready"
18199
+ | "worktree_operation_in_progress"
18200
+ | "worktree_session_active";
17859
18201
  input_digest?: string;
17860
18202
  /** @enum {string} */
17861
18203
  kind:
@@ -18026,6 +18368,7 @@ export interface components {
18026
18368
  | "recording_unavailable"
18027
18369
  | "session_archive_stop_failed"
18028
18370
  | "session_busy"
18371
+ | "session_worktree_conflict"
18029
18372
  | "slow_consumer"
18030
18373
  | "subscriber_limit_reached"
18031
18374
  | "terminal_exited"
@@ -18048,7 +18391,15 @@ export interface components {
18048
18391
  | "tool_result_persistence_failed"
18049
18392
  | "tool_result_too_large"
18050
18393
  | "tool_timed_out"
18051
- | "tool_unavailable";
18394
+ | "tool_unavailable"
18395
+ | "workspace_archived"
18396
+ | "workspace_busy"
18397
+ | "workspace_root_missing"
18398
+ | "worktree_missing"
18399
+ | "worktree_not_found"
18400
+ | "worktree_not_ready"
18401
+ | "worktree_operation_in_progress"
18402
+ | "worktree_session_active";
18052
18403
  details?: {
18053
18404
  [key: string]: unknown;
18054
18405
  };
@@ -19520,6 +19871,11 @@ export interface components {
19520
19871
  /** @enum {string} */
19521
19872
  speed?: "normal" | "fast";
19522
19873
  };
19874
+ WorkspaceArchiveBlocker: {
19875
+ id: string;
19876
+ kind: string;
19877
+ name: string;
19878
+ };
19523
19879
  WorkspaceAttentionSummaryPayload: {
19524
19880
  finished: number;
19525
19881
  needs_you: number;
@@ -19554,17 +19910,43 @@ export interface components {
19554
19910
  skills?: components["schemas"]["WorkspaceSkillPayload"][];
19555
19911
  workspace: components["schemas"]["WorkspacePayload"];
19556
19912
  };
19913
+ WorkspaceFolderPayload: {
19914
+ /** Format: date-time */
19915
+ created_at: string;
19916
+ id: string;
19917
+ name: string;
19918
+ position: number;
19919
+ profile_id: string;
19920
+ /** Format: date-time */
19921
+ updated_at: string;
19922
+ workspace_count: number;
19923
+ };
19924
+ WorkspaceFolderResponse: {
19925
+ folder: components["schemas"]["WorkspaceFolderPayload"];
19926
+ };
19927
+ WorkspaceLayoutResponse: {
19928
+ folders: components["schemas"]["WorkspaceFolderPayload"][];
19929
+ placements: components["schemas"]["WorkspacePlacementPayload"][];
19930
+ };
19557
19931
  WorkspacePayload: {
19558
19932
  add_dirs: string[];
19559
19933
  /** Format: date-time */
19934
+ archived_at?: string | null;
19935
+ /** Format: date-time */
19560
19936
  created_at: string;
19561
19937
  default_agent?: string;
19562
19938
  id: string;
19563
19939
  name: string;
19564
19940
  root_dir: string;
19941
+ root_missing?: boolean;
19565
19942
  /** Format: date-time */
19566
19943
  updated_at: string;
19567
19944
  };
19945
+ WorkspacePlacementPayload: {
19946
+ folder_id?: string;
19947
+ position: number;
19948
+ workspace_id: string;
19949
+ };
19568
19950
  WorkspaceProfileHintPayload: {
19569
19951
  action: string;
19570
19952
  message: string;
@@ -19582,6 +19964,10 @@ export interface components {
19582
19964
  WorkspacesResponse: {
19583
19965
  workspaces: components["schemas"]["WorkspacePayload"][];
19584
19966
  };
19967
+ WorktreeBindingAvailability: {
19968
+ available: boolean;
19969
+ unavailable_reason?: string;
19970
+ };
19585
19971
  WorktreeBindingsPayload: {
19586
19972
  agent_activity: string;
19587
19973
  };
@@ -29240,49 +29626,60 @@ export interface operations {
29240
29626
  };
29241
29627
  };
29242
29628
  };
29243
- listProfiles: {
29629
+ listProcesses: {
29244
29630
  parameters: {
29245
- query?: never;
29631
+ query?: {
29632
+ /** @description Workspace ID, or @user; mutually exclusive with all_workspaces */
29633
+ workspace_id?: string;
29634
+ /** @description Include all projects and User sessions */
29635
+ all_workspaces?: boolean;
29636
+ /** @description Only processes of stopped, archived, deleted or unknown sessions */
29637
+ orphaned?: boolean;
29638
+ /** @description Read one profile's rows by name */
29639
+ profile?: string;
29640
+ /** @description Read the owner-labeled all-profiles aggregate */
29641
+ all_profiles?: boolean;
29642
+ };
29246
29643
  header?: never;
29247
29644
  path?: never;
29248
29645
  cookie?: never;
29249
29646
  };
29250
29647
  requestBody?: never;
29251
29648
  responses: {
29252
- /** @description OK */
29649
+ /** @description Success */
29253
29650
  200: {
29254
29651
  headers: {
29255
29652
  [name: string]: unknown;
29256
29653
  };
29257
29654
  content: {
29258
- "application/json": components["schemas"]["Profile"][];
29655
+ "application/json": components["schemas"]["ProcessesResponse"];
29259
29656
  };
29260
29657
  };
29261
- /** @description Invalid profile request */
29658
+ /** @description Invalid process request */
29262
29659
  400: {
29263
29660
  headers: {
29264
29661
  [name: string]: unknown;
29265
29662
  };
29266
29663
  content: {
29267
- "application/json": components["schemas"]["ProfileErrorPayload"];
29664
+ "application/json": components["schemas"]["ErrorPayload"];
29268
29665
  };
29269
29666
  };
29270
- /** @description Profile not found */
29271
- 404: {
29667
+ /** @description Process scope denied */
29668
+ 403: {
29272
29669
  headers: {
29273
29670
  [name: string]: unknown;
29274
29671
  };
29275
29672
  content: {
29276
- "application/json": components["schemas"]["ProfileErrorPayload"];
29673
+ "application/json": components["schemas"]["ErrorPayload"];
29277
29674
  };
29278
29675
  };
29279
- /** @description Profile conflict */
29280
- 409: {
29676
+ /** @description Session not found */
29677
+ 404: {
29281
29678
  headers: {
29282
29679
  [name: string]: unknown;
29283
29680
  };
29284
29681
  content: {
29285
- "application/json": components["schemas"]["ProfileErrorPayload"];
29682
+ "application/json": components["schemas"]["ErrorPayload"];
29286
29683
  };
29287
29684
  };
29288
29685
  /** @description Internal server error */
@@ -29291,14 +29688,26 @@ export interface operations {
29291
29688
  [name: string]: unknown;
29292
29689
  };
29293
29690
  content: {
29294
- "application/json": components["schemas"]["ProfileErrorPayload"];
29691
+ "application/json": components["schemas"]["ErrorPayload"];
29692
+ };
29693
+ };
29694
+ /** @description Process scanner unavailable */
29695
+ 503: {
29696
+ headers: {
29697
+ [name: string]: unknown;
29698
+ };
29699
+ content: {
29700
+ "application/json": components["schemas"]["ErrorPayload"];
29295
29701
  };
29296
29702
  };
29297
29703
  };
29298
29704
  };
29299
- createProfile: {
29705
+ terminateProcesses: {
29300
29706
  parameters: {
29301
- query?: never;
29707
+ query?: {
29708
+ /** @description Act as this profile by name */
29709
+ profile?: string;
29710
+ };
29302
29711
  header?: never;
29303
29712
  path?: never;
29304
29713
  cookie?: never;
@@ -29306,67 +29715,67 @@ export interface operations {
29306
29715
  /** @description JSON request body */
29307
29716
  requestBody: {
29308
29717
  content: {
29309
- "application/json": components["schemas"]["CreateProfileRequest"];
29718
+ "application/json": components["schemas"]["TerminateProcessesRequest"];
29310
29719
  };
29311
29720
  };
29312
29721
  responses: {
29313
- /** @description OK */
29314
- 201: {
29722
+ /** @description Success */
29723
+ 200: {
29315
29724
  headers: {
29316
29725
  [name: string]: unknown;
29317
29726
  };
29318
29727
  content: {
29319
- "application/json": components["schemas"]["Profile"];
29728
+ "application/json": components["schemas"]["TerminateSessionProcessesResponse"];
29320
29729
  };
29321
29730
  };
29322
- /** @description Invalid profile request */
29731
+ /** @description Invalid process request */
29323
29732
  400: {
29324
29733
  headers: {
29325
29734
  [name: string]: unknown;
29326
29735
  };
29327
29736
  content: {
29328
- "application/json": components["schemas"]["ProfileErrorPayload"];
29737
+ "application/json": components["schemas"]["ErrorPayload"];
29329
29738
  };
29330
29739
  };
29331
- /** @description Remote profile management is forbidden */
29740
+ /** @description Process scope denied */
29332
29741
  403: {
29333
29742
  headers: {
29334
29743
  [name: string]: unknown;
29335
29744
  };
29336
29745
  content: {
29337
- "application/json": components["schemas"]["ProfileErrorPayload"];
29746
+ "application/json": components["schemas"]["ErrorPayload"];
29338
29747
  };
29339
29748
  };
29340
- /** @description Profile not found */
29749
+ /** @description Session not found */
29341
29750
  404: {
29342
29751
  headers: {
29343
29752
  [name: string]: unknown;
29344
29753
  };
29345
29754
  content: {
29346
- "application/json": components["schemas"]["ProfileErrorPayload"];
29755
+ "application/json": components["schemas"]["ErrorPayload"];
29347
29756
  };
29348
29757
  };
29349
- /** @description Profile conflict */
29350
- 409: {
29758
+ /** @description Internal server error */
29759
+ 500: {
29351
29760
  headers: {
29352
29761
  [name: string]: unknown;
29353
29762
  };
29354
29763
  content: {
29355
- "application/json": components["schemas"]["ProfileErrorPayload"];
29764
+ "application/json": components["schemas"]["ErrorPayload"];
29356
29765
  };
29357
29766
  };
29358
- /** @description Internal server error */
29359
- 500: {
29767
+ /** @description Process scanner unavailable */
29768
+ 503: {
29360
29769
  headers: {
29361
29770
  [name: string]: unknown;
29362
29771
  };
29363
29772
  content: {
29364
- "application/json": components["schemas"]["ProfileErrorPayload"];
29773
+ "application/json": components["schemas"]["ErrorPayload"];
29365
29774
  };
29366
29775
  };
29367
29776
  };
29368
29777
  };
29369
- listProfileOperations: {
29778
+ listProfiles: {
29370
29779
  parameters: {
29371
29780
  query?: never;
29372
29781
  header?: never;
@@ -29381,7 +29790,133 @@ export interface operations {
29381
29790
  [name: string]: unknown;
29382
29791
  };
29383
29792
  content: {
29384
- "application/json": components["schemas"]["ProfileOperation"][];
29793
+ "application/json": components["schemas"]["Profile"][];
29794
+ };
29795
+ };
29796
+ /** @description Invalid profile request */
29797
+ 400: {
29798
+ headers: {
29799
+ [name: string]: unknown;
29800
+ };
29801
+ content: {
29802
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29803
+ };
29804
+ };
29805
+ /** @description Profile not found */
29806
+ 404: {
29807
+ headers: {
29808
+ [name: string]: unknown;
29809
+ };
29810
+ content: {
29811
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29812
+ };
29813
+ };
29814
+ /** @description Profile conflict */
29815
+ 409: {
29816
+ headers: {
29817
+ [name: string]: unknown;
29818
+ };
29819
+ content: {
29820
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29821
+ };
29822
+ };
29823
+ /** @description Internal server error */
29824
+ 500: {
29825
+ headers: {
29826
+ [name: string]: unknown;
29827
+ };
29828
+ content: {
29829
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29830
+ };
29831
+ };
29832
+ };
29833
+ };
29834
+ createProfile: {
29835
+ parameters: {
29836
+ query?: never;
29837
+ header?: never;
29838
+ path?: never;
29839
+ cookie?: never;
29840
+ };
29841
+ /** @description JSON request body */
29842
+ requestBody: {
29843
+ content: {
29844
+ "application/json": components["schemas"]["CreateProfileRequest"];
29845
+ };
29846
+ };
29847
+ responses: {
29848
+ /** @description OK */
29849
+ 201: {
29850
+ headers: {
29851
+ [name: string]: unknown;
29852
+ };
29853
+ content: {
29854
+ "application/json": components["schemas"]["Profile"];
29855
+ };
29856
+ };
29857
+ /** @description Invalid profile request */
29858
+ 400: {
29859
+ headers: {
29860
+ [name: string]: unknown;
29861
+ };
29862
+ content: {
29863
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29864
+ };
29865
+ };
29866
+ /** @description Remote profile management is forbidden */
29867
+ 403: {
29868
+ headers: {
29869
+ [name: string]: unknown;
29870
+ };
29871
+ content: {
29872
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29873
+ };
29874
+ };
29875
+ /** @description Profile not found */
29876
+ 404: {
29877
+ headers: {
29878
+ [name: string]: unknown;
29879
+ };
29880
+ content: {
29881
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29882
+ };
29883
+ };
29884
+ /** @description Profile conflict */
29885
+ 409: {
29886
+ headers: {
29887
+ [name: string]: unknown;
29888
+ };
29889
+ content: {
29890
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29891
+ };
29892
+ };
29893
+ /** @description Internal server error */
29894
+ 500: {
29895
+ headers: {
29896
+ [name: string]: unknown;
29897
+ };
29898
+ content: {
29899
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29900
+ };
29901
+ };
29902
+ };
29903
+ };
29904
+ listProfileOperations: {
29905
+ parameters: {
29906
+ query?: never;
29907
+ header?: never;
29908
+ path?: never;
29909
+ cookie?: never;
29910
+ };
29911
+ requestBody?: never;
29912
+ responses: {
29913
+ /** @description OK */
29914
+ 200: {
29915
+ headers: {
29916
+ [name: string]: unknown;
29917
+ };
29918
+ content: {
29919
+ "application/json": components["schemas"]["ProfileOperation"][];
29385
29920
  };
29386
29921
  };
29387
29922
  /** @description Invalid profile request */
@@ -41583,9 +42118,573 @@ export interface operations {
41583
42118
  };
41584
42119
  };
41585
42120
  };
42121
+ getWorkspaceLayout: {
42122
+ parameters: {
42123
+ query?: {
42124
+ /** @description Act as this profile by name */
42125
+ profile?: string;
42126
+ };
42127
+ header?: never;
42128
+ path?: never;
42129
+ cookie?: never;
42130
+ };
42131
+ requestBody?: never;
42132
+ responses: {
42133
+ /** @description OK */
42134
+ 200: {
42135
+ headers: {
42136
+ [name: string]: unknown;
42137
+ };
42138
+ content: {
42139
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42140
+ };
42141
+ };
42142
+ /** @description Invalid layout request */
42143
+ 400: {
42144
+ headers: {
42145
+ [name: string]: unknown;
42146
+ };
42147
+ content: {
42148
+ "application/json": components["schemas"]["ErrorPayload"];
42149
+ };
42150
+ };
42151
+ /** @description Operator or unrestricted agent required */
42152
+ 403: {
42153
+ headers: {
42154
+ [name: string]: unknown;
42155
+ };
42156
+ content: {
42157
+ "application/json": components["schemas"]["ErrorPayload"];
42158
+ };
42159
+ };
42160
+ /** @description Workspace or workspace folder not found */
42161
+ 404: {
42162
+ headers: {
42163
+ [name: string]: unknown;
42164
+ };
42165
+ content: {
42166
+ "application/json": components["schemas"]["ErrorPayload"];
42167
+ };
42168
+ };
42169
+ /** @description Internal server error */
42170
+ 500: {
42171
+ headers: {
42172
+ [name: string]: unknown;
42173
+ };
42174
+ content: {
42175
+ "application/json": components["schemas"]["ErrorPayload"];
42176
+ };
42177
+ };
42178
+ /** @description Workspace layout unavailable */
42179
+ 503: {
42180
+ headers: {
42181
+ [name: string]: unknown;
42182
+ };
42183
+ content: {
42184
+ "application/json": components["schemas"]["ErrorPayload"];
42185
+ };
42186
+ };
42187
+ };
42188
+ };
42189
+ createWorkspaceFolder: {
42190
+ parameters: {
42191
+ query?: {
42192
+ /** @description Act as this profile by name */
42193
+ profile?: string;
42194
+ };
42195
+ header?: never;
42196
+ path?: never;
42197
+ cookie?: never;
42198
+ };
42199
+ /** @description JSON request body */
42200
+ requestBody: {
42201
+ content: {
42202
+ "application/json": components["schemas"]["CreateWorkspaceFolderRequest"];
42203
+ };
42204
+ };
42205
+ responses: {
42206
+ /** @description OK */
42207
+ 201: {
42208
+ headers: {
42209
+ [name: string]: unknown;
42210
+ };
42211
+ content: {
42212
+ "application/json": components["schemas"]["WorkspaceFolderResponse"];
42213
+ };
42214
+ };
42215
+ /** @description Invalid layout request */
42216
+ 400: {
42217
+ headers: {
42218
+ [name: string]: unknown;
42219
+ };
42220
+ content: {
42221
+ "application/json": components["schemas"]["ErrorPayload"];
42222
+ };
42223
+ };
42224
+ /** @description Operator or unrestricted agent required */
42225
+ 403: {
42226
+ headers: {
42227
+ [name: string]: unknown;
42228
+ };
42229
+ content: {
42230
+ "application/json": components["schemas"]["ErrorPayload"];
42231
+ };
42232
+ };
42233
+ /** @description Workspace or workspace folder not found */
42234
+ 404: {
42235
+ headers: {
42236
+ [name: string]: unknown;
42237
+ };
42238
+ content: {
42239
+ "application/json": components["schemas"]["ErrorPayload"];
42240
+ };
42241
+ };
42242
+ /** @description Layout conflict or folder limit */
42243
+ 409: {
42244
+ headers: {
42245
+ [name: string]: unknown;
42246
+ };
42247
+ content: {
42248
+ "application/json": components["schemas"]["ErrorPayload"];
42249
+ };
42250
+ };
42251
+ /** @description Internal server error */
42252
+ 500: {
42253
+ headers: {
42254
+ [name: string]: unknown;
42255
+ };
42256
+ content: {
42257
+ "application/json": components["schemas"]["ErrorPayload"];
42258
+ };
42259
+ };
42260
+ /** @description Workspace layout unavailable */
42261
+ 503: {
42262
+ headers: {
42263
+ [name: string]: unknown;
42264
+ };
42265
+ content: {
42266
+ "application/json": components["schemas"]["ErrorPayload"];
42267
+ };
42268
+ };
42269
+ };
42270
+ };
42271
+ deleteWorkspaceFolder: {
42272
+ parameters: {
42273
+ query?: {
42274
+ /** @description Act as this profile by name */
42275
+ profile?: string;
42276
+ };
42277
+ header?: never;
42278
+ path: {
42279
+ /** @description Workspace folder id */
42280
+ folder_id: string;
42281
+ };
42282
+ cookie?: never;
42283
+ };
42284
+ requestBody?: never;
42285
+ responses: {
42286
+ /** @description OK */
42287
+ 200: {
42288
+ headers: {
42289
+ [name: string]: unknown;
42290
+ };
42291
+ content: {
42292
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42293
+ };
42294
+ };
42295
+ /** @description Invalid layout request */
42296
+ 400: {
42297
+ headers: {
42298
+ [name: string]: unknown;
42299
+ };
42300
+ content: {
42301
+ "application/json": components["schemas"]["ErrorPayload"];
42302
+ };
42303
+ };
42304
+ /** @description Operator or unrestricted agent required */
42305
+ 403: {
42306
+ headers: {
42307
+ [name: string]: unknown;
42308
+ };
42309
+ content: {
42310
+ "application/json": components["schemas"]["ErrorPayload"];
42311
+ };
42312
+ };
42313
+ /** @description Workspace or workspace folder not found */
42314
+ 404: {
42315
+ headers: {
42316
+ [name: string]: unknown;
42317
+ };
42318
+ content: {
42319
+ "application/json": components["schemas"]["ErrorPayload"];
42320
+ };
42321
+ };
42322
+ /** @description Layout conflict or folder limit */
42323
+ 409: {
42324
+ headers: {
42325
+ [name: string]: unknown;
42326
+ };
42327
+ content: {
42328
+ "application/json": components["schemas"]["ErrorPayload"];
42329
+ };
42330
+ };
42331
+ /** @description Internal server error */
42332
+ 500: {
42333
+ headers: {
42334
+ [name: string]: unknown;
42335
+ };
42336
+ content: {
42337
+ "application/json": components["schemas"]["ErrorPayload"];
42338
+ };
42339
+ };
42340
+ /** @description Workspace layout unavailable */
42341
+ 503: {
42342
+ headers: {
42343
+ [name: string]: unknown;
42344
+ };
42345
+ content: {
42346
+ "application/json": components["schemas"]["ErrorPayload"];
42347
+ };
42348
+ };
42349
+ };
42350
+ };
42351
+ renameWorkspaceFolder: {
42352
+ parameters: {
42353
+ query?: {
42354
+ /** @description Act as this profile by name */
42355
+ profile?: string;
42356
+ };
42357
+ header?: never;
42358
+ path: {
42359
+ /** @description Workspace folder id */
42360
+ folder_id: string;
42361
+ };
42362
+ cookie?: never;
42363
+ };
42364
+ /** @description JSON request body */
42365
+ requestBody: {
42366
+ content: {
42367
+ "application/json": components["schemas"]["RenameWorkspaceFolderRequest"];
42368
+ };
42369
+ };
42370
+ responses: {
42371
+ /** @description OK */
42372
+ 200: {
42373
+ headers: {
42374
+ [name: string]: unknown;
42375
+ };
42376
+ content: {
42377
+ "application/json": components["schemas"]["WorkspaceFolderResponse"];
42378
+ };
42379
+ };
42380
+ /** @description Invalid layout request */
42381
+ 400: {
42382
+ headers: {
42383
+ [name: string]: unknown;
42384
+ };
42385
+ content: {
42386
+ "application/json": components["schemas"]["ErrorPayload"];
42387
+ };
42388
+ };
42389
+ /** @description Operator or unrestricted agent required */
42390
+ 403: {
42391
+ headers: {
42392
+ [name: string]: unknown;
42393
+ };
42394
+ content: {
42395
+ "application/json": components["schemas"]["ErrorPayload"];
42396
+ };
42397
+ };
42398
+ /** @description Workspace or workspace folder not found */
42399
+ 404: {
42400
+ headers: {
42401
+ [name: string]: unknown;
42402
+ };
42403
+ content: {
42404
+ "application/json": components["schemas"]["ErrorPayload"];
42405
+ };
42406
+ };
42407
+ /** @description Layout conflict or folder limit */
42408
+ 409: {
42409
+ headers: {
42410
+ [name: string]: unknown;
42411
+ };
42412
+ content: {
42413
+ "application/json": components["schemas"]["ErrorPayload"];
42414
+ };
42415
+ };
42416
+ /** @description Internal server error */
42417
+ 500: {
42418
+ headers: {
42419
+ [name: string]: unknown;
42420
+ };
42421
+ content: {
42422
+ "application/json": components["schemas"]["ErrorPayload"];
42423
+ };
42424
+ };
42425
+ /** @description Workspace layout unavailable */
42426
+ 503: {
42427
+ headers: {
42428
+ [name: string]: unknown;
42429
+ };
42430
+ content: {
42431
+ "application/json": components["schemas"]["ErrorPayload"];
42432
+ };
42433
+ };
42434
+ };
42435
+ };
42436
+ reorderWorkspaceFolders: {
42437
+ parameters: {
42438
+ query?: {
42439
+ /** @description Act as this profile by name */
42440
+ profile?: string;
42441
+ };
42442
+ header?: never;
42443
+ path?: never;
42444
+ cookie?: never;
42445
+ };
42446
+ /** @description JSON request body */
42447
+ requestBody: {
42448
+ content: {
42449
+ "application/json": components["schemas"]["ReorderWorkspaceFoldersRequest"];
42450
+ };
42451
+ };
42452
+ responses: {
42453
+ /** @description OK */
42454
+ 200: {
42455
+ headers: {
42456
+ [name: string]: unknown;
42457
+ };
42458
+ content: {
42459
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42460
+ };
42461
+ };
42462
+ /** @description Invalid layout request */
42463
+ 400: {
42464
+ headers: {
42465
+ [name: string]: unknown;
42466
+ };
42467
+ content: {
42468
+ "application/json": components["schemas"]["ErrorPayload"];
42469
+ };
42470
+ };
42471
+ /** @description Operator or unrestricted agent required */
42472
+ 403: {
42473
+ headers: {
42474
+ [name: string]: unknown;
42475
+ };
42476
+ content: {
42477
+ "application/json": components["schemas"]["ErrorPayload"];
42478
+ };
42479
+ };
42480
+ /** @description Workspace or workspace folder not found */
42481
+ 404: {
42482
+ headers: {
42483
+ [name: string]: unknown;
42484
+ };
42485
+ content: {
42486
+ "application/json": components["schemas"]["ErrorPayload"];
42487
+ };
42488
+ };
42489
+ /** @description Layout conflict or folder limit */
42490
+ 409: {
42491
+ headers: {
42492
+ [name: string]: unknown;
42493
+ };
42494
+ content: {
42495
+ "application/json": components["schemas"]["ErrorPayload"];
42496
+ };
42497
+ };
42498
+ /** @description Internal server error */
42499
+ 500: {
42500
+ headers: {
42501
+ [name: string]: unknown;
42502
+ };
42503
+ content: {
42504
+ "application/json": components["schemas"]["ErrorPayload"];
42505
+ };
42506
+ };
42507
+ /** @description Workspace layout unavailable */
42508
+ 503: {
42509
+ headers: {
42510
+ [name: string]: unknown;
42511
+ };
42512
+ content: {
42513
+ "application/json": components["schemas"]["ErrorPayload"];
42514
+ };
42515
+ };
42516
+ };
42517
+ };
42518
+ moveWorkspace: {
42519
+ parameters: {
42520
+ query?: {
42521
+ /** @description Act as this profile by name */
42522
+ profile?: string;
42523
+ };
42524
+ header?: never;
42525
+ path?: never;
42526
+ cookie?: never;
42527
+ };
42528
+ /** @description JSON request body */
42529
+ requestBody: {
42530
+ content: {
42531
+ "application/json": components["schemas"]["MoveWorkspaceRequest"];
42532
+ };
42533
+ };
42534
+ responses: {
42535
+ /** @description OK */
42536
+ 200: {
42537
+ headers: {
42538
+ [name: string]: unknown;
42539
+ };
42540
+ content: {
42541
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42542
+ };
42543
+ };
42544
+ /** @description Invalid layout request */
42545
+ 400: {
42546
+ headers: {
42547
+ [name: string]: unknown;
42548
+ };
42549
+ content: {
42550
+ "application/json": components["schemas"]["ErrorPayload"];
42551
+ };
42552
+ };
42553
+ /** @description Operator or unrestricted agent required */
42554
+ 403: {
42555
+ headers: {
42556
+ [name: string]: unknown;
42557
+ };
42558
+ content: {
42559
+ "application/json": components["schemas"]["ErrorPayload"];
42560
+ };
42561
+ };
42562
+ /** @description Workspace or workspace folder not found */
42563
+ 404: {
42564
+ headers: {
42565
+ [name: string]: unknown;
42566
+ };
42567
+ content: {
42568
+ "application/json": components["schemas"]["ErrorPayload"];
42569
+ };
42570
+ };
42571
+ /** @description Layout conflict or folder limit */
42572
+ 409: {
42573
+ headers: {
42574
+ [name: string]: unknown;
42575
+ };
42576
+ content: {
42577
+ "application/json": components["schemas"]["ErrorPayload"];
42578
+ };
42579
+ };
42580
+ /** @description Internal server error */
42581
+ 500: {
42582
+ headers: {
42583
+ [name: string]: unknown;
42584
+ };
42585
+ content: {
42586
+ "application/json": components["schemas"]["ErrorPayload"];
42587
+ };
42588
+ };
42589
+ /** @description Workspace layout unavailable */
42590
+ 503: {
42591
+ headers: {
42592
+ [name: string]: unknown;
42593
+ };
42594
+ content: {
42595
+ "application/json": components["schemas"]["ErrorPayload"];
42596
+ };
42597
+ };
42598
+ };
42599
+ };
42600
+ reorderWorkspaces: {
42601
+ parameters: {
42602
+ query?: {
42603
+ /** @description Act as this profile by name */
42604
+ profile?: string;
42605
+ };
42606
+ header?: never;
42607
+ path?: never;
42608
+ cookie?: never;
42609
+ };
42610
+ /** @description JSON request body */
42611
+ requestBody: {
42612
+ content: {
42613
+ "application/json": components["schemas"]["ReorderWorkspacesRequest"];
42614
+ };
42615
+ };
42616
+ responses: {
42617
+ /** @description OK */
42618
+ 200: {
42619
+ headers: {
42620
+ [name: string]: unknown;
42621
+ };
42622
+ content: {
42623
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42624
+ };
42625
+ };
42626
+ /** @description Invalid layout request */
42627
+ 400: {
42628
+ headers: {
42629
+ [name: string]: unknown;
42630
+ };
42631
+ content: {
42632
+ "application/json": components["schemas"]["ErrorPayload"];
42633
+ };
42634
+ };
42635
+ /** @description Operator or unrestricted agent required */
42636
+ 403: {
42637
+ headers: {
42638
+ [name: string]: unknown;
42639
+ };
42640
+ content: {
42641
+ "application/json": components["schemas"]["ErrorPayload"];
42642
+ };
42643
+ };
42644
+ /** @description Workspace or workspace folder not found */
42645
+ 404: {
42646
+ headers: {
42647
+ [name: string]: unknown;
42648
+ };
42649
+ content: {
42650
+ "application/json": components["schemas"]["ErrorPayload"];
42651
+ };
42652
+ };
42653
+ /** @description Layout conflict or folder limit */
42654
+ 409: {
42655
+ headers: {
42656
+ [name: string]: unknown;
42657
+ };
42658
+ content: {
42659
+ "application/json": components["schemas"]["ErrorPayload"];
42660
+ };
42661
+ };
42662
+ /** @description Internal server error */
42663
+ 500: {
42664
+ headers: {
42665
+ [name: string]: unknown;
42666
+ };
42667
+ content: {
42668
+ "application/json": components["schemas"]["ErrorPayload"];
42669
+ };
42670
+ };
42671
+ /** @description Workspace layout unavailable */
42672
+ 503: {
42673
+ headers: {
42674
+ [name: string]: unknown;
42675
+ };
42676
+ content: {
42677
+ "application/json": components["schemas"]["ErrorPayload"];
42678
+ };
42679
+ };
42680
+ };
42681
+ };
41586
42682
  listWorkspaces: {
41587
42683
  parameters: {
41588
- query?: never;
42684
+ query?: {
42685
+ /** @description List archived projects instead of active projects */
42686
+ archived?: boolean;
42687
+ };
41589
42688
  header?: never;
41590
42689
  path?: never;
41591
42690
  cookie?: never;
@@ -41878,6 +42977,106 @@ export interface operations {
41878
42977
  };
41879
42978
  };
41880
42979
  };
42980
+ archiveWorkspace: {
42981
+ parameters: {
42982
+ query?: never;
42983
+ header?: never;
42984
+ path: {
42985
+ /** @description Workspace name or id */
42986
+ id: string;
42987
+ };
42988
+ cookie?: never;
42989
+ };
42990
+ requestBody?: never;
42991
+ responses: {
42992
+ /** @description OK */
42993
+ 200: {
42994
+ headers: {
42995
+ [name: string]: unknown;
42996
+ };
42997
+ content: {
42998
+ "application/json": components["schemas"]["WorkspaceResponse"];
42999
+ };
43000
+ };
43001
+ /** @description Workspace not found */
43002
+ 404: {
43003
+ headers: {
43004
+ [name: string]: unknown;
43005
+ };
43006
+ content: {
43007
+ "application/json": components["schemas"]["ErrorPayload"];
43008
+ };
43009
+ };
43010
+ /** @description Workspace has active sessions, live Loops or enabled automations */
43011
+ 409: {
43012
+ headers: {
43013
+ [name: string]: unknown;
43014
+ };
43015
+ content: {
43016
+ "application/json": components["schemas"]["ErrorPayload"];
43017
+ };
43018
+ };
43019
+ /** @description Internal server error */
43020
+ 500: {
43021
+ headers: {
43022
+ [name: string]: unknown;
43023
+ };
43024
+ content: {
43025
+ "application/json": components["schemas"]["ErrorPayload"];
43026
+ };
43027
+ };
43028
+ };
43029
+ };
43030
+ unarchiveWorkspace: {
43031
+ parameters: {
43032
+ query?: never;
43033
+ header?: never;
43034
+ path: {
43035
+ /** @description Workspace name or id */
43036
+ id: string;
43037
+ };
43038
+ cookie?: never;
43039
+ };
43040
+ requestBody?: never;
43041
+ responses: {
43042
+ /** @description OK */
43043
+ 200: {
43044
+ headers: {
43045
+ [name: string]: unknown;
43046
+ };
43047
+ content: {
43048
+ "application/json": components["schemas"]["WorkspaceResponse"];
43049
+ };
43050
+ };
43051
+ /** @description Workspace not found */
43052
+ 404: {
43053
+ headers: {
43054
+ [name: string]: unknown;
43055
+ };
43056
+ content: {
43057
+ "application/json": components["schemas"]["ErrorPayload"];
43058
+ };
43059
+ };
43060
+ /** @description Workspace has active sessions, live Loops or enabled automations */
43061
+ 409: {
43062
+ headers: {
43063
+ [name: string]: unknown;
43064
+ };
43065
+ content: {
43066
+ "application/json": components["schemas"]["ErrorPayload"];
43067
+ };
43068
+ };
43069
+ /** @description Internal server error */
43070
+ 500: {
43071
+ headers: {
43072
+ [name: string]: unknown;
43073
+ };
43074
+ content: {
43075
+ "application/json": components["schemas"]["ErrorPayload"];
43076
+ };
43077
+ };
43078
+ };
43079
+ };
41881
43080
  listAutomationSuggestions: {
41882
43081
  parameters: {
41883
43082
  query?: {
@@ -46011,6 +47210,8 @@ export interface operations {
46011
47210
  deleteSession: {
46012
47211
  parameters: {
46013
47212
  query?: {
47213
+ /** @description Keep (default) or terminate attributed session processes */
47214
+ processes?: "keep" | "terminate";
46014
47215
  /** @description Act as this profile by name */
46015
47216
  profile?: string;
46016
47217
  };
@@ -46032,6 +47233,15 @@ export interface operations {
46032
47233
  };
46033
47234
  content?: never;
46034
47235
  };
47236
+ /** @description Invalid process policy */
47237
+ 400: {
47238
+ headers: {
47239
+ [name: string]: unknown;
47240
+ };
47241
+ content: {
47242
+ "application/json": components["schemas"]["ErrorPayload"];
47243
+ };
47244
+ };
46035
47245
  /** @description Session not found */
46036
47246
  404: {
46037
47247
  headers: {
@@ -46041,6 +47251,15 @@ export interface operations {
46041
47251
  "application/json": components["schemas"]["ErrorPayload"];
46042
47252
  };
46043
47253
  };
47254
+ /** @description Process cleanup could not be verified */
47255
+ 409: {
47256
+ headers: {
47257
+ [name: string]: unknown;
47258
+ };
47259
+ content: {
47260
+ "application/json": components["schemas"]["ErrorPayload"];
47261
+ };
47262
+ };
46044
47263
  /** @description Internal server error */
46045
47264
  500: {
46046
47265
  headers: {
@@ -46050,6 +47269,15 @@ export interface operations {
46050
47269
  "application/json": components["schemas"]["ErrorPayload"];
46051
47270
  };
46052
47271
  };
47272
+ /** @description Service unavailable - dependent service missing */
47273
+ 503: {
47274
+ headers: {
47275
+ [name: string]: unknown;
47276
+ };
47277
+ content: {
47278
+ "application/json": components["schemas"]["ErrorPayload"];
47279
+ };
47280
+ };
46053
47281
  };
46054
47282
  };
46055
47283
  renameSession: {
@@ -46181,6 +47409,8 @@ export interface operations {
46181
47409
  archiveSession: {
46182
47410
  parameters: {
46183
47411
  query?: {
47412
+ /** @description Keep (default) or terminate attributed session processes */
47413
+ processes?: "keep" | "terminate";
46184
47414
  /** @description Stop a live session through the normal stop path before archiving it; a failed stop leaves it unarchived */
46185
47415
  stop?: boolean;
46186
47416
  /** @description Act as this profile by name */
@@ -47914,12 +49144,82 @@ export interface operations {
47914
49144
  };
47915
49145
  };
47916
49146
  };
47917
- clearSessionParent: {
49147
+ clearSessionParent: {
49148
+ parameters: {
49149
+ query?: {
49150
+ /** @description Act as this profile by name */
49151
+ profile?: string;
49152
+ };
49153
+ header?: never;
49154
+ path: {
49155
+ /** @description Workspace id */
49156
+ workspace_id: string;
49157
+ /** @description Session id */
49158
+ session_id: string;
49159
+ };
49160
+ cookie?: never;
49161
+ };
49162
+ requestBody?: never;
49163
+ responses: {
49164
+ /** @description OK */
49165
+ 200: {
49166
+ headers: {
49167
+ [name: string]: unknown;
49168
+ };
49169
+ content: {
49170
+ "application/json": components["schemas"]["SessionResponse"];
49171
+ };
49172
+ };
49173
+ /** @description Invalid reparent request */
49174
+ 400: {
49175
+ headers: {
49176
+ [name: string]: unknown;
49177
+ };
49178
+ content: {
49179
+ "application/json": components["schemas"]["ErrorPayload"];
49180
+ };
49181
+ };
49182
+ /** @description Session not found */
49183
+ 404: {
49184
+ headers: {
49185
+ [name: string]: unknown;
49186
+ };
49187
+ content: {
49188
+ "application/json": components["schemas"]["ErrorPayload"];
49189
+ };
49190
+ };
49191
+ /** @description Reparent refused by a lineage rule; code names the rule */
49192
+ 409: {
49193
+ headers: {
49194
+ [name: string]: unknown;
49195
+ };
49196
+ content: {
49197
+ "application/json": components["schemas"]["ErrorPayload"];
49198
+ };
49199
+ };
49200
+ /** @description Internal server error */
49201
+ 500: {
49202
+ headers: {
49203
+ [name: string]: unknown;
49204
+ };
49205
+ content: {
49206
+ "application/json": components["schemas"]["ErrorPayload"];
49207
+ };
49208
+ };
49209
+ /** @description Session reparent unavailable */
49210
+ 503: {
49211
+ headers: {
49212
+ [name: string]: unknown;
49213
+ };
49214
+ content: {
49215
+ "application/json": components["schemas"]["ErrorPayload"];
49216
+ };
49217
+ };
49218
+ };
49219
+ };
49220
+ updateSessionPresence: {
47918
49221
  parameters: {
47919
- query?: {
47920
- /** @description Act as this profile by name */
47921
- profile?: string;
47922
- };
49222
+ query?: never;
47923
49223
  header?: never;
47924
49224
  path: {
47925
49225
  /** @description Workspace id */
@@ -47929,18 +49229,30 @@ export interface operations {
47929
49229
  };
47930
49230
  cookie?: never;
47931
49231
  };
47932
- requestBody?: never;
49232
+ /** @description JSON request body */
49233
+ requestBody: {
49234
+ content: {
49235
+ "application/json": components["schemas"]["SessionPresenceRequest"];
49236
+ };
49237
+ };
47933
49238
  responses: {
47934
- /** @description OK */
49239
+ /** @description Presence lease acquired */
47935
49240
  200: {
47936
49241
  headers: {
47937
49242
  [name: string]: unknown;
47938
49243
  };
47939
49244
  content: {
47940
- "application/json": components["schemas"]["SessionResponse"];
49245
+ "application/json": components["schemas"]["SessionPresenceResponse"];
47941
49246
  };
47942
49247
  };
47943
- /** @description Invalid reparent request */
49248
+ /** @description Presence lease renewed or released */
49249
+ 204: {
49250
+ headers: {
49251
+ [name: string]: unknown;
49252
+ };
49253
+ content?: never;
49254
+ };
49255
+ /** @description Invalid presence request */
47944
49256
  400: {
47945
49257
  headers: {
47946
49258
  [name: string]: unknown;
@@ -47949,7 +49261,16 @@ export interface operations {
47949
49261
  "application/json": components["schemas"]["ErrorPayload"];
47950
49262
  };
47951
49263
  };
47952
- /** @description Session not found */
49264
+ /** @description Agent identity is denied */
49265
+ 403: {
49266
+ headers: {
49267
+ [name: string]: unknown;
49268
+ };
49269
+ content: {
49270
+ "application/json": components["schemas"]["ErrorPayload"];
49271
+ };
49272
+ };
49273
+ /** @description Session or lease not found */
47953
49274
  404: {
47954
49275
  headers: {
47955
49276
  [name: string]: unknown;
@@ -47958,7 +49279,7 @@ export interface operations {
47958
49279
  "application/json": components["schemas"]["ErrorPayload"];
47959
49280
  };
47960
49281
  };
47961
- /** @description Reparent refused by a lineage rule; code names the rule */
49282
+ /** @description Presence lease ownership mismatch */
47962
49283
  409: {
47963
49284
  headers: {
47964
49285
  [name: string]: unknown;
@@ -47976,7 +49297,7 @@ export interface operations {
47976
49297
  "application/json": components["schemas"]["ErrorPayload"];
47977
49298
  };
47978
49299
  };
47979
- /** @description Session reparent unavailable */
49300
+ /** @description Session attention is unavailable */
47980
49301
  503: {
47981
49302
  headers: {
47982
49303
  [name: string]: unknown;
@@ -47987,9 +49308,14 @@ export interface operations {
47987
49308
  };
47988
49309
  };
47989
49310
  };
47990
- updateSessionPresence: {
49311
+ listSessionProcesses: {
47991
49312
  parameters: {
47992
- query?: never;
49313
+ query?: {
49314
+ /** @description Read one profile's rows by name */
49315
+ profile?: string;
49316
+ /** @description Read the owner-labeled all-profiles aggregate */
49317
+ all_profiles?: boolean;
49318
+ };
47993
49319
  header?: never;
47994
49320
  path: {
47995
49321
  /** @description Workspace id */
@@ -47999,31 +49325,28 @@ export interface operations {
47999
49325
  };
48000
49326
  cookie?: never;
48001
49327
  };
48002
- /** @description JSON request body */
48003
- requestBody: {
48004
- content: {
48005
- "application/json": components["schemas"]["SessionPresenceRequest"];
48006
- };
48007
- };
49328
+ requestBody?: never;
48008
49329
  responses: {
48009
- /** @description Presence lease acquired */
49330
+ /** @description Success */
48010
49331
  200: {
48011
49332
  headers: {
48012
49333
  [name: string]: unknown;
48013
49334
  };
48014
49335
  content: {
48015
- "application/json": components["schemas"]["SessionPresenceResponse"];
49336
+ "application/json": components["schemas"]["SessionProcessesResponse"];
48016
49337
  };
48017
49338
  };
48018
- /** @description Presence lease renewed or released */
48019
- 204: {
49339
+ /** @description Invalid process request */
49340
+ 400: {
48020
49341
  headers: {
48021
49342
  [name: string]: unknown;
48022
49343
  };
48023
- content?: never;
49344
+ content: {
49345
+ "application/json": components["schemas"]["ErrorPayload"];
49346
+ };
48024
49347
  };
48025
- /** @description Invalid presence request */
48026
- 400: {
49348
+ /** @description Process scope denied */
49349
+ 403: {
48027
49350
  headers: {
48028
49351
  [name: string]: unknown;
48029
49352
  };
@@ -48031,8 +49354,8 @@ export interface operations {
48031
49354
  "application/json": components["schemas"]["ErrorPayload"];
48032
49355
  };
48033
49356
  };
48034
- /** @description Agent identity is denied */
48035
- 403: {
49357
+ /** @description Session not found */
49358
+ 404: {
48036
49359
  headers: {
48037
49360
  [name: string]: unknown;
48038
49361
  };
@@ -48040,8 +49363,8 @@ export interface operations {
48040
49363
  "application/json": components["schemas"]["ErrorPayload"];
48041
49364
  };
48042
49365
  };
48043
- /** @description Session or lease not found */
48044
- 404: {
49366
+ /** @description Internal server error */
49367
+ 500: {
48045
49368
  headers: {
48046
49369
  [name: string]: unknown;
48047
49370
  };
@@ -48049,8 +49372,68 @@ export interface operations {
48049
49372
  "application/json": components["schemas"]["ErrorPayload"];
48050
49373
  };
48051
49374
  };
48052
- /** @description Presence lease ownership mismatch */
48053
- 409: {
49375
+ /** @description Process scanner unavailable */
49376
+ 503: {
49377
+ headers: {
49378
+ [name: string]: unknown;
49379
+ };
49380
+ content: {
49381
+ "application/json": components["schemas"]["ErrorPayload"];
49382
+ };
49383
+ };
49384
+ };
49385
+ };
49386
+ terminateSessionProcesses: {
49387
+ parameters: {
49388
+ query?: {
49389
+ /** @description Act as this profile by name */
49390
+ profile?: string;
49391
+ };
49392
+ header?: never;
49393
+ path: {
49394
+ /** @description Workspace id */
49395
+ workspace_id: string;
49396
+ /** @description Session id */
49397
+ session_id: string;
49398
+ };
49399
+ cookie?: never;
49400
+ };
49401
+ /** @description JSON request body */
49402
+ requestBody: {
49403
+ content: {
49404
+ "application/json": components["schemas"]["TerminateSessionProcessesRequest"];
49405
+ };
49406
+ };
49407
+ responses: {
49408
+ /** @description Success */
49409
+ 200: {
49410
+ headers: {
49411
+ [name: string]: unknown;
49412
+ };
49413
+ content: {
49414
+ "application/json": components["schemas"]["TerminateSessionProcessesResponse"];
49415
+ };
49416
+ };
49417
+ /** @description Invalid process request */
49418
+ 400: {
49419
+ headers: {
49420
+ [name: string]: unknown;
49421
+ };
49422
+ content: {
49423
+ "application/json": components["schemas"]["ErrorPayload"];
49424
+ };
49425
+ };
49426
+ /** @description Process scope denied */
49427
+ 403: {
49428
+ headers: {
49429
+ [name: string]: unknown;
49430
+ };
49431
+ content: {
49432
+ "application/json": components["schemas"]["ErrorPayload"];
49433
+ };
49434
+ };
49435
+ /** @description Session not found */
49436
+ 404: {
48054
49437
  headers: {
48055
49438
  [name: string]: unknown;
48056
49439
  };
@@ -48067,7 +49450,7 @@ export interface operations {
48067
49450
  "application/json": components["schemas"]["ErrorPayload"];
48068
49451
  };
48069
49452
  };
48070
- /** @description Session attention is unavailable */
49453
+ /** @description Process scanner unavailable */
48071
49454
  503: {
48072
49455
  headers: {
48073
49456
  [name: string]: unknown;
@@ -49077,6 +50460,15 @@ export interface operations {
49077
50460
  "application/json": components["schemas"]["ErrorPayload"];
49078
50461
  };
49079
50462
  };
50463
+ /** @description Process cleanup could not be verified */
50464
+ 409: {
50465
+ headers: {
50466
+ [name: string]: unknown;
50467
+ };
50468
+ content: {
50469
+ "application/json": components["schemas"]["ErrorPayload"];
50470
+ };
50471
+ };
49080
50472
  /** @description Internal server error */
49081
50473
  500: {
49082
50474
  headers: {
@@ -49086,7 +50478,7 @@ export interface operations {
49086
50478
  "application/json": components["schemas"]["ErrorPayload"];
49087
50479
  };
49088
50480
  };
49089
- /** @description Stop manager unavailable */
50481
+ /** @description Service unavailable - dependent service missing */
49090
50482
  503: {
49091
50483
  headers: {
49092
50484
  [name: string]: unknown;
@@ -49793,6 +51185,159 @@ export interface operations {
49793
51185
  };
49794
51186
  };
49795
51187
  };
51188
+ bindSessionWorktree: {
51189
+ parameters: {
51190
+ query?: {
51191
+ /** @description Act as this profile by name */
51192
+ profile?: string;
51193
+ };
51194
+ header?: never;
51195
+ path: {
51196
+ /** @description Workspace id */
51197
+ workspace_id: string;
51198
+ /** @description Session id */
51199
+ session_id: string;
51200
+ };
51201
+ cookie?: never;
51202
+ };
51203
+ /** @description JSON request body */
51204
+ requestBody: {
51205
+ content: {
51206
+ "application/json": components["schemas"]["BindSessionWorktreeRequest"];
51207
+ };
51208
+ };
51209
+ responses: {
51210
+ /** @description Same session with updated execution location */
51211
+ 200: {
51212
+ headers: {
51213
+ [name: string]: unknown;
51214
+ };
51215
+ content: {
51216
+ "application/json": components["schemas"]["SessionResponse"];
51217
+ };
51218
+ };
51219
+ /** @description Invalid binding request */
51220
+ 400: {
51221
+ headers: {
51222
+ [name: string]: unknown;
51223
+ };
51224
+ content: {
51225
+ "application/json": components["schemas"]["ErrorPayload"];
51226
+ };
51227
+ };
51228
+ /** @description Session or worktree not found */
51229
+ 404: {
51230
+ headers: {
51231
+ [name: string]: unknown;
51232
+ };
51233
+ content: {
51234
+ "application/json": components["schemas"]["ErrorPayload"];
51235
+ };
51236
+ };
51237
+ /** @description Session busy, stale binding or unavailable worktree */
51238
+ 409: {
51239
+ headers: {
51240
+ [name: string]: unknown;
51241
+ };
51242
+ content: {
51243
+ "application/json": components["schemas"]["ErrorPayload"];
51244
+ };
51245
+ };
51246
+ /** @description Internal server error */
51247
+ 500: {
51248
+ headers: {
51249
+ [name: string]: unknown;
51250
+ };
51251
+ content: {
51252
+ "application/json": components["schemas"]["ErrorPayload"];
51253
+ };
51254
+ };
51255
+ /** @description Binding unavailable */
51256
+ 503: {
51257
+ headers: {
51258
+ [name: string]: unknown;
51259
+ };
51260
+ content: {
51261
+ "application/json": components["schemas"]["ErrorPayload"];
51262
+ };
51263
+ };
51264
+ };
51265
+ };
51266
+ unbindSessionWorktree: {
51267
+ parameters: {
51268
+ query?: {
51269
+ /** @description Act as this profile by name */
51270
+ profile?: string;
51271
+ /** @description Expected current worktree id; empty for workspace root */
51272
+ expected_worktree_id?: string;
51273
+ };
51274
+ header?: never;
51275
+ path: {
51276
+ /** @description Workspace id */
51277
+ workspace_id: string;
51278
+ /** @description Session id */
51279
+ session_id: string;
51280
+ };
51281
+ cookie?: never;
51282
+ };
51283
+ requestBody?: never;
51284
+ responses: {
51285
+ /** @description Same session with updated execution location */
51286
+ 200: {
51287
+ headers: {
51288
+ [name: string]: unknown;
51289
+ };
51290
+ content: {
51291
+ "application/json": components["schemas"]["SessionResponse"];
51292
+ };
51293
+ };
51294
+ /** @description Invalid binding request */
51295
+ 400: {
51296
+ headers: {
51297
+ [name: string]: unknown;
51298
+ };
51299
+ content: {
51300
+ "application/json": components["schemas"]["ErrorPayload"];
51301
+ };
51302
+ };
51303
+ /** @description Session or worktree not found */
51304
+ 404: {
51305
+ headers: {
51306
+ [name: string]: unknown;
51307
+ };
51308
+ content: {
51309
+ "application/json": components["schemas"]["ErrorPayload"];
51310
+ };
51311
+ };
51312
+ /** @description Session busy, stale binding or unavailable worktree */
51313
+ 409: {
51314
+ headers: {
51315
+ [name: string]: unknown;
51316
+ };
51317
+ content: {
51318
+ "application/json": components["schemas"]["ErrorPayload"];
51319
+ };
51320
+ };
51321
+ /** @description Internal server error */
51322
+ 500: {
51323
+ headers: {
51324
+ [name: string]: unknown;
51325
+ };
51326
+ content: {
51327
+ "application/json": components["schemas"]["ErrorPayload"];
51328
+ };
51329
+ };
51330
+ /** @description Binding unavailable */
51331
+ 503: {
51332
+ headers: {
51333
+ [name: string]: unknown;
51334
+ };
51335
+ content: {
51336
+ "application/json": components["schemas"]["ErrorPayload"];
51337
+ };
51338
+ };
51339
+ };
51340
+ };
49796
51341
  forkSessionToWorktree: {
49797
51342
  parameters: {
49798
51343
  query?: never;
@@ -50125,6 +51670,8 @@ export interface operations {
50125
51670
  header?: {
50126
51671
  /** @description Registered browser client attachment token */
50127
51672
  "X-Compozy-Client-Token"?: string;
51673
+ /** @description Browser client registration partition (project id, global, or user); defaults to the terminal workspace */
51674
+ "X-Compozy-Client-Workspace"?: string;
50128
51675
  };
50129
51676
  path: {
50130
51677
  /** @description Workspace id */
@@ -51000,6 +52547,8 @@ export interface operations {
51000
52547
  header?: {
51001
52548
  /** @description Registered browser client attachment token */
51002
52549
  "X-Compozy-Client-Token"?: string;
52550
+ /** @description Browser client registration partition (project id, global, or user); defaults to the terminal workspace */
52551
+ "X-Compozy-Client-Workspace"?: string;
51003
52552
  };
51004
52553
  path: {
51005
52554
  /** @description Workspace id */