@compozy/client 0.4.5 → 0.4.7

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;
@@ -5692,6 +5813,23 @@ export interface paths {
5692
5813
  patch?: never;
5693
5814
  trace?: never;
5694
5815
  };
5816
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/later": {
5817
+ parameters: {
5818
+ query?: never;
5819
+ header?: never;
5820
+ path?: never;
5821
+ cookie?: never;
5822
+ };
5823
+ get?: never;
5824
+ put?: never;
5825
+ /** Stop a session and its children and park them in Later, with an optional reason and return time */
5826
+ post: operations["moveSessionToLater"];
5827
+ delete?: never;
5828
+ options?: never;
5829
+ head?: never;
5830
+ patch?: never;
5831
+ trace?: never;
5832
+ };
5695
5833
  "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors": {
5696
5834
  parameters: {
5697
5835
  query?: never;
@@ -5778,6 +5916,40 @@ export interface paths {
5778
5916
  patch?: never;
5779
5917
  trace?: never;
5780
5918
  };
5919
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/processes": {
5920
+ parameters: {
5921
+ query?: never;
5922
+ header?: never;
5923
+ path?: never;
5924
+ cookie?: never;
5925
+ };
5926
+ /** List attributed session processes */
5927
+ get: operations["listSessionProcesses"];
5928
+ put?: never;
5929
+ post?: never;
5930
+ delete?: never;
5931
+ options?: never;
5932
+ head?: never;
5933
+ patch?: never;
5934
+ trace?: never;
5935
+ };
5936
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/processes/terminate": {
5937
+ parameters: {
5938
+ query?: never;
5939
+ header?: never;
5940
+ path?: never;
5941
+ cookie?: never;
5942
+ };
5943
+ get?: never;
5944
+ put?: never;
5945
+ /** Terminate identity-verified session processes */
5946
+ post: operations["terminateSessionProcesses"];
5947
+ delete?: never;
5948
+ options?: never;
5949
+ head?: never;
5950
+ patch?: never;
5951
+ trace?: never;
5952
+ };
5781
5953
  "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt": {
5782
5954
  parameters: {
5783
5955
  query?: never;
@@ -5899,6 +6071,23 @@ export interface paths {
5899
6071
  patch?: never;
5900
6072
  trace?: never;
5901
6073
  };
6074
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/resume-later": {
6075
+ parameters: {
6076
+ query?: never;
6077
+ header?: never;
6078
+ path?: never;
6079
+ cookie?: never;
6080
+ };
6081
+ get?: never;
6082
+ put?: never;
6083
+ /** Return a parked session, and optionally its parked children, to the normal flow */
6084
+ post: operations["resumeSessionFromLater"];
6085
+ delete?: never;
6086
+ options?: never;
6087
+ head?: never;
6088
+ patch?: never;
6089
+ trace?: never;
6090
+ };
5902
6091
  "/api/workspaces/{workspace_id}/sessions/{session_id}/rewind": {
5903
6092
  parameters: {
5904
6093
  query?: never;
@@ -7125,10 +7314,14 @@ export interface components {
7125
7314
  session_id: string;
7126
7315
  };
7127
7316
  AgentLimitsPayload: {
7317
+ can_spawn_children: boolean;
7128
7318
  context_section_limit: number;
7319
+ governed_spawn_depth: number;
7320
+ max_active_per_workspace?: number;
7129
7321
  max_active_task_leases: number;
7130
7322
  max_children: number;
7131
7323
  max_spawn_depth: number;
7324
+ spawn_blocked_reason?: string;
7132
7325
  };
7133
7326
  AgentMCPServerJSON: {
7134
7327
  args?: string[];
@@ -8404,6 +8597,9 @@ export interface components {
8404
8597
  webhook_secret_value?: string;
8405
8598
  workspace_id?: string;
8406
8599
  };
8600
+ CreateWorkspaceFolderRequest: {
8601
+ name: string;
8602
+ };
8407
8603
  CreateWorkspaceRequest: {
8408
8604
  add_dirs?: string[];
8409
8605
  default_agent?: string;
@@ -11553,6 +11749,15 @@ export interface components {
11553
11749
  MoveSessionRequest: {
11554
11750
  folder_id?: string;
11555
11751
  };
11752
+ MoveSessionToLaterRequest: {
11753
+ reason?: string;
11754
+ /** Format: date-time */
11755
+ return_at?: string | null;
11756
+ };
11757
+ MoveWorkspaceRequest: {
11758
+ folder_id?: string;
11759
+ workspace_id: string;
11760
+ };
11556
11761
  NewSessionWorktreeRequest: {
11557
11762
  name?: string;
11558
11763
  };
@@ -11903,6 +12108,12 @@ export interface components {
11903
12108
  reason?: string;
11904
12109
  value: unknown;
11905
12110
  };
12111
+ ProcessesResponse: {
12112
+ groups: components["schemas"]["SessionProcessGroupPayload"][];
12113
+ /** Format: date-time */
12114
+ scanned_at: string;
12115
+ supported: boolean;
12116
+ };
11906
12117
  Profile: {
11907
12118
  /** Format: date-time */
11908
12119
  archived_at?: string | null;
@@ -12464,7 +12675,10 @@ export interface components {
12464
12675
  | "tool_unknown"
12465
12676
  | "toolset_cycle"
12466
12677
  | "toolset_unknown"
12467
- | "visibility_denied";
12678
+ | "visibility_denied"
12679
+ | "worktree_missing"
12680
+ | "worktree_not_found"
12681
+ | "worktree_not_ready";
12468
12682
  };
12469
12683
  Reference: {
12470
12684
  effective_paused?: boolean;
@@ -12525,6 +12739,9 @@ export interface components {
12525
12739
  RenameSessionRequest: {
12526
12740
  name: string;
12527
12741
  };
12742
+ RenameWorkspaceFolderRequest: {
12743
+ name: string;
12744
+ };
12528
12745
  ReorderSessionFoldersRequest: {
12529
12746
  folder_ids: string[];
12530
12747
  };
@@ -12532,6 +12749,13 @@ export interface components {
12532
12749
  folder_id?: string;
12533
12750
  session_ids: string[];
12534
12751
  };
12752
+ ReorderWorkspaceFoldersRequest: {
12753
+ folder_ids: string[];
12754
+ };
12755
+ ReorderWorkspacesRequest: {
12756
+ folder_id?: string;
12757
+ workspace_ids: string[];
12758
+ };
12535
12759
  ReplaceSessionInputRequest: {
12536
12760
  idempotency_key: string;
12537
12761
  message_id: string;
@@ -12657,6 +12881,9 @@ export interface components {
12657
12881
  /** Format: date-time */
12658
12882
  updated_at: string;
12659
12883
  };
12884
+ ResumeSessionFromLaterRequest: {
12885
+ with_children?: boolean;
12886
+ };
12660
12887
  ResumeTaskRequest: {
12661
12888
  metadata?: unknown;
12662
12889
  };
@@ -13156,7 +13383,7 @@ export interface components {
13156
13383
  canceled_queued_entries?: number;
13157
13384
  delivery: string;
13158
13385
  /** @enum {string} */
13159
- disposition?: "direct" | "steering" | "queued" | "interrupting";
13386
+ disposition?: "direct" | "steering" | "queued" | "interrupting" | "later";
13160
13387
  entry_id?: string;
13161
13388
  /** Format: date-time */
13162
13389
  estimated_send_at?: string | null;
@@ -13295,11 +13522,13 @@ export interface components {
13295
13522
  by_workspace: components["schemas"]["WorkspaceAttentionSummaryPayload"][];
13296
13523
  finished: number;
13297
13524
  needs_you: number;
13525
+ terminal_approvals?: components["schemas"]["TerminalApprovalCountPayload"][];
13298
13526
  };
13299
13527
  SessionBoardCountsPayload: {
13300
13528
  done: number;
13301
13529
  in_review: number;
13302
13530
  needs_you: number;
13531
+ waiting: number;
13303
13532
  working: number;
13304
13533
  };
13305
13534
  SessionCatalogEventPayload: {
@@ -13323,6 +13552,7 @@ export interface components {
13323
13552
  by_profile: components["schemas"]["SessionProfileFacetsPayload"][];
13324
13553
  by_workspace: components["schemas"]["SessionWorkspaceFacetsPayload"][];
13325
13554
  facets: components["schemas"]["SessionCatalogFacetsPayload"];
13555
+ later?: number;
13326
13556
  };
13327
13557
  SessionCatalogPagePayload: {
13328
13558
  has_more: boolean;
@@ -13339,6 +13569,7 @@ export interface components {
13339
13569
  in_review: number;
13340
13570
  needs_you: number;
13341
13571
  total: number;
13572
+ waiting: number;
13342
13573
  working: number;
13343
13574
  };
13344
13575
  SessionCommandPayload: {
@@ -13795,6 +14026,14 @@ export interface components {
13795
14026
  SessionInteractionsResponse: {
13796
14027
  interactions: components["schemas"]["PendingInteractionPayload"][];
13797
14028
  };
14029
+ SessionLaterPayload: {
14030
+ /** Format: date-time */
14031
+ parked_at: string;
14032
+ pending_messages: number;
14033
+ reason?: string;
14034
+ /** Format: date-time */
14035
+ return_at?: string | null;
14036
+ };
13798
14037
  SessionLineagePayload: {
13799
14038
  auto_stop_on_parent: boolean;
13800
14039
  /** @enum {string} */
@@ -13871,7 +14110,7 @@ export interface components {
13871
14110
  | "needs-attention"
13872
14111
  | "waiting";
13873
14112
  /** @enum {string} */
13874
- board_column: "needs_you" | "working" | "in_review" | "done";
14113
+ board_column: "needs_you" | "working" | "waiting" | "in_review" | "done";
13875
14114
  branch?: string;
13876
14115
  busy_input?: components["schemas"]["BusyInputState"] | null;
13877
14116
  children?: components["schemas"]["SessionChildrenPayload"] | null;
@@ -13885,11 +14124,13 @@ export interface components {
13885
14124
  folder_id?: string;
13886
14125
  health?: components["schemas"]["SessionHealthPayload"] | null;
13887
14126
  id: string;
14127
+ later?: components["schemas"]["SessionLaterPayload"] | null;
13888
14128
  lineage?: components["schemas"]["SessionLineagePayload"] | null;
13889
14129
  monitor_summary?: components["schemas"]["SessionMonitorSummaryPayload"] | null;
13890
14130
  name?: string;
13891
14131
  parent_title?: string;
13892
14132
  pending_interactions: components["schemas"]["PendingInteractionPayload"][];
14133
+ process_summary?: components["schemas"]["SessionProcessSummaryPayload"] | null;
13893
14134
  profile_archived?: boolean;
13894
14135
  profile_color?: string;
13895
14136
  profile_emoji?: string;
@@ -13900,6 +14141,8 @@ export interface components {
13900
14141
  pull_request_lookup: components["schemas"]["SessionPullRequestLookupPayload"] | null;
13901
14142
  queue?: components["schemas"]["SessionQueueSummaryPayload"] | null;
13902
14143
  reply_watches?: components["schemas"]["ReplyWatchPayload"][];
14144
+ /** Format: date-time */
14145
+ returned_from_later_at?: string | null;
13903
14146
  runtime: components["schemas"]["SessionRuntimePayload"];
13904
14147
  scope: string;
13905
14148
  /** @enum {string} */
@@ -13942,6 +14185,62 @@ export interface components {
13942
14185
  SessionPresenceResponse: {
13943
14186
  lease_id: string;
13944
14187
  };
14188
+ SessionProcessGroupPayload: {
14189
+ items: components["schemas"]["SessionProcessPayload"][];
14190
+ orphaned: boolean;
14191
+ profile: string;
14192
+ session_id: string;
14193
+ session_name: string;
14194
+ workspace_id: string;
14195
+ };
14196
+ SessionProcessPayload: {
14197
+ /** Format: double */
14198
+ age_seconds: number;
14199
+ argv0: string;
14200
+ /** @enum {string} */
14201
+ attribution: "env" | "lineage";
14202
+ command: string;
14203
+ /** Format: double */
14204
+ cpu_percent?: number | null;
14205
+ cwd: string;
14206
+ /** @enum {string} */
14207
+ kind: "background" | "tool" | "terminal";
14208
+ parent_alive: boolean;
14209
+ pgid: number;
14210
+ pid: number;
14211
+ ports: number[];
14212
+ /** Format: int64 */
14213
+ rss_kb?: number | null;
14214
+ /** Format: date-time */
14215
+ started_at: string;
14216
+ terminal_id?: string;
14217
+ };
14218
+ SessionProcessResult: {
14219
+ error?: string;
14220
+ /** @enum {string} */
14221
+ outcome: "terminated" | "already_exited" | "identity_mismatch" | "failed" | "unproven";
14222
+ pid: number;
14223
+ /** Format: date-time */
14224
+ started_at: string;
14225
+ };
14226
+ SessionProcessSummaryPayload: {
14227
+ background: number;
14228
+ ports: number[];
14229
+ supported: boolean;
14230
+ terminals: number;
14231
+ total: number;
14232
+ };
14233
+ SessionProcessTarget: {
14234
+ pid: number;
14235
+ /** Format: date-time */
14236
+ started_at: string;
14237
+ };
14238
+ SessionProcessesResponse: {
14239
+ items: components["schemas"]["SessionProcessPayload"][];
14240
+ /** Format: date-time */
14241
+ scanned_at: string;
14242
+ supported: boolean;
14243
+ };
13945
14244
  SessionProfileFacetsPayload: {
13946
14245
  facets: components["schemas"]["SessionCatalogFacetsPayload"];
13947
14246
  profile_id: string;
@@ -14822,6 +15121,7 @@ export interface components {
14822
15121
  diagnostic?: string;
14823
15122
  /** Format: date-time */
14824
15123
  expires_at?: string | null;
15124
+ inherited?: boolean;
14825
15125
  issuer?: string;
14826
15126
  owner: string;
14827
15127
  profile?: string;
@@ -16107,6 +16407,8 @@ export interface components {
16107
16407
  steps_total: number;
16108
16408
  };
16109
16409
  StopSessionRequest: {
16410
+ /** @enum {string} */
16411
+ processes?: "keep" | "terminate";
16110
16412
  wait?: boolean | null;
16111
16413
  };
16112
16414
  StopWhenSpec:
@@ -17336,6 +17638,11 @@ export interface components {
17336
17638
  TerminalAnswerInputRequest: {
17337
17639
  input: string;
17338
17640
  };
17641
+ TerminalApprovalCountPayload: {
17642
+ count: number;
17643
+ profile_id: string;
17644
+ workspace_id: string;
17645
+ };
17339
17646
  TerminalAttachTicketRequest: {
17340
17647
  client_id?: string;
17341
17648
  /** @enum {string} */
@@ -17395,6 +17702,7 @@ export interface components {
17395
17702
  rows?: number;
17396
17703
  shell?: string;
17397
17704
  title?: string;
17705
+ worktree?: string;
17398
17706
  };
17399
17707
  TerminalDeliveredResponse: {
17400
17708
  delivered: boolean;
@@ -17595,6 +17903,17 @@ export interface components {
17595
17903
  screen: string;
17596
17904
  untrusted: boolean;
17597
17905
  };
17906
+ TerminateProcessesRequest: {
17907
+ targets: components["schemas"]["SessionProcessTarget"][];
17908
+ };
17909
+ TerminateSessionProcessesRequest: {
17910
+ all?: boolean;
17911
+ targets?: components["schemas"]["SessionProcessTarget"][];
17912
+ };
17913
+ TerminateSessionProcessesResponse: {
17914
+ results: components["schemas"]["SessionProcessResult"][];
17915
+ supported: boolean;
17916
+ };
17598
17917
  TimelineEntry: {
17599
17918
  /** Format: date-time */
17600
17919
  at: string;
@@ -17861,6 +18180,9 @@ export interface components {
17861
18180
  | "toolset_cycle"
17862
18181
  | "toolset_unknown"
17863
18182
  | "visibility_denied"
18183
+ | "worktree_missing"
18184
+ | "worktree_not_found"
18185
+ | "worktree_not_ready"
17864
18186
  )[];
17865
18187
  registered: boolean;
17866
18188
  };
@@ -17908,8 +18230,11 @@ export interface components {
17908
18230
  | "recording_unavailable"
17909
18231
  | "session_archive_stop_failed"
17910
18232
  | "session_busy"
18233
+ | "session_in_later"
18234
+ | "session_later_stop_failed"
17911
18235
  | "session_worktree_conflict"
17912
18236
  | "slow_consumer"
18237
+ | "subagent_later_follows_parent"
17913
18238
  | "subscriber_limit_reached"
17914
18239
  | "terminal_exited"
17915
18240
  | "terminal_expired"
@@ -18032,6 +18357,9 @@ export interface components {
18032
18357
  | "toolset_cycle"
18033
18358
  | "toolset_unknown"
18034
18359
  | "visibility_denied"
18360
+ | "worktree_missing"
18361
+ | "worktree_not_found"
18362
+ | "worktree_not_ready"
18035
18363
  )[];
18036
18364
  redacted_input_fields?: string[];
18037
18365
  /** Format: int64 */
@@ -18110,8 +18438,11 @@ export interface components {
18110
18438
  | "recording_unavailable"
18111
18439
  | "session_archive_stop_failed"
18112
18440
  | "session_busy"
18441
+ | "session_in_later"
18442
+ | "session_later_stop_failed"
18113
18443
  | "session_worktree_conflict"
18114
18444
  | "slow_consumer"
18445
+ | "subagent_later_follows_parent"
18115
18446
  | "subscriber_limit_reached"
18116
18447
  | "terminal_exited"
18117
18448
  | "terminal_expired"
@@ -18230,6 +18561,9 @@ export interface components {
18230
18561
  | "toolset_cycle"
18231
18562
  | "toolset_unknown"
18232
18563
  | "visibility_denied"
18564
+ | "worktree_missing"
18565
+ | "worktree_not_found"
18566
+ | "worktree_not_ready"
18233
18567
  )[];
18234
18568
  tool_id?: string;
18235
18569
  };
@@ -18349,6 +18683,9 @@ export interface components {
18349
18683
  | "toolset_cycle"
18350
18684
  | "toolset_unknown"
18351
18685
  | "visibility_denied"
18686
+ | "worktree_missing"
18687
+ | "worktree_not_found"
18688
+ | "worktree_not_ready"
18352
18689
  )[];
18353
18690
  registry_policy_result?: string;
18354
18691
  session_policy_result?: string;
@@ -18482,6 +18819,9 @@ export interface components {
18482
18819
  | "toolset_cycle"
18483
18820
  | "toolset_unknown"
18484
18821
  | "visibility_denied"
18822
+ | "worktree_missing"
18823
+ | "worktree_not_found"
18824
+ | "worktree_not_ready"
18485
18825
  )[];
18486
18826
  status: string;
18487
18827
  tools?: string[];
@@ -19652,6 +19992,24 @@ export interface components {
19652
19992
  skills?: components["schemas"]["WorkspaceSkillPayload"][];
19653
19993
  workspace: components["schemas"]["WorkspacePayload"];
19654
19994
  };
19995
+ WorkspaceFolderPayload: {
19996
+ /** Format: date-time */
19997
+ created_at: string;
19998
+ id: string;
19999
+ name: string;
20000
+ position: number;
20001
+ profile_id: string;
20002
+ /** Format: date-time */
20003
+ updated_at: string;
20004
+ workspace_count: number;
20005
+ };
20006
+ WorkspaceFolderResponse: {
20007
+ folder: components["schemas"]["WorkspaceFolderPayload"];
20008
+ };
20009
+ WorkspaceLayoutResponse: {
20010
+ folders: components["schemas"]["WorkspaceFolderPayload"][];
20011
+ placements: components["schemas"]["WorkspacePlacementPayload"][];
20012
+ };
19655
20013
  WorkspacePayload: {
19656
20014
  add_dirs: string[];
19657
20015
  /** Format: date-time */
@@ -19666,6 +20024,11 @@ export interface components {
19666
20024
  /** Format: date-time */
19667
20025
  updated_at: string;
19668
20026
  };
20027
+ WorkspacePlacementPayload: {
20028
+ folder_id?: string;
20029
+ position: number;
20030
+ workspace_id: string;
20031
+ };
19669
20032
  WorkspaceProfileHintPayload: {
19670
20033
  action: string;
19671
20034
  message: string;
@@ -19787,6 +20150,7 @@ export interface components {
19787
20150
  base_ref?: string;
19788
20151
  behind: number | null;
19789
20152
  branch: string;
20153
+ create_error?: string;
19790
20154
  /** Format: date-time */
19791
20155
  created_at: string;
19792
20156
  created_branch: boolean;
@@ -29345,49 +29709,60 @@ export interface operations {
29345
29709
  };
29346
29710
  };
29347
29711
  };
29348
- listProfiles: {
29712
+ listProcesses: {
29349
29713
  parameters: {
29350
- query?: never;
29714
+ query?: {
29715
+ /** @description Workspace ID, or @user; mutually exclusive with all_workspaces */
29716
+ workspace_id?: string;
29717
+ /** @description Include all projects and User sessions */
29718
+ all_workspaces?: boolean;
29719
+ /** @description Only processes of stopped, archived, deleted or unknown sessions */
29720
+ orphaned?: boolean;
29721
+ /** @description Read one profile's rows by name */
29722
+ profile?: string;
29723
+ /** @description Read the owner-labeled all-profiles aggregate */
29724
+ all_profiles?: boolean;
29725
+ };
29351
29726
  header?: never;
29352
29727
  path?: never;
29353
29728
  cookie?: never;
29354
29729
  };
29355
29730
  requestBody?: never;
29356
29731
  responses: {
29357
- /** @description OK */
29732
+ /** @description Success */
29358
29733
  200: {
29359
29734
  headers: {
29360
29735
  [name: string]: unknown;
29361
29736
  };
29362
29737
  content: {
29363
- "application/json": components["schemas"]["Profile"][];
29738
+ "application/json": components["schemas"]["ProcessesResponse"];
29364
29739
  };
29365
29740
  };
29366
- /** @description Invalid profile request */
29741
+ /** @description Invalid process request */
29367
29742
  400: {
29368
29743
  headers: {
29369
29744
  [name: string]: unknown;
29370
29745
  };
29371
29746
  content: {
29372
- "application/json": components["schemas"]["ProfileErrorPayload"];
29747
+ "application/json": components["schemas"]["ErrorPayload"];
29373
29748
  };
29374
29749
  };
29375
- /** @description Profile not found */
29376
- 404: {
29750
+ /** @description Process scope denied */
29751
+ 403: {
29377
29752
  headers: {
29378
29753
  [name: string]: unknown;
29379
29754
  };
29380
29755
  content: {
29381
- "application/json": components["schemas"]["ProfileErrorPayload"];
29756
+ "application/json": components["schemas"]["ErrorPayload"];
29382
29757
  };
29383
29758
  };
29384
- /** @description Profile conflict */
29385
- 409: {
29759
+ /** @description Session not found */
29760
+ 404: {
29386
29761
  headers: {
29387
29762
  [name: string]: unknown;
29388
29763
  };
29389
29764
  content: {
29390
- "application/json": components["schemas"]["ProfileErrorPayload"];
29765
+ "application/json": components["schemas"]["ErrorPayload"];
29391
29766
  };
29392
29767
  };
29393
29768
  /** @description Internal server error */
@@ -29396,14 +29771,26 @@ export interface operations {
29396
29771
  [name: string]: unknown;
29397
29772
  };
29398
29773
  content: {
29399
- "application/json": components["schemas"]["ProfileErrorPayload"];
29774
+ "application/json": components["schemas"]["ErrorPayload"];
29775
+ };
29776
+ };
29777
+ /** @description Process scanner unavailable */
29778
+ 503: {
29779
+ headers: {
29780
+ [name: string]: unknown;
29781
+ };
29782
+ content: {
29783
+ "application/json": components["schemas"]["ErrorPayload"];
29400
29784
  };
29401
29785
  };
29402
29786
  };
29403
29787
  };
29404
- createProfile: {
29788
+ terminateProcesses: {
29405
29789
  parameters: {
29406
- query?: never;
29790
+ query?: {
29791
+ /** @description Act as this profile by name */
29792
+ profile?: string;
29793
+ };
29407
29794
  header?: never;
29408
29795
  path?: never;
29409
29796
  cookie?: never;
@@ -29411,67 +29798,67 @@ export interface operations {
29411
29798
  /** @description JSON request body */
29412
29799
  requestBody: {
29413
29800
  content: {
29414
- "application/json": components["schemas"]["CreateProfileRequest"];
29801
+ "application/json": components["schemas"]["TerminateProcessesRequest"];
29415
29802
  };
29416
29803
  };
29417
29804
  responses: {
29418
- /** @description OK */
29419
- 201: {
29805
+ /** @description Success */
29806
+ 200: {
29420
29807
  headers: {
29421
29808
  [name: string]: unknown;
29422
29809
  };
29423
29810
  content: {
29424
- "application/json": components["schemas"]["Profile"];
29811
+ "application/json": components["schemas"]["TerminateSessionProcessesResponse"];
29425
29812
  };
29426
29813
  };
29427
- /** @description Invalid profile request */
29814
+ /** @description Invalid process request */
29428
29815
  400: {
29429
29816
  headers: {
29430
29817
  [name: string]: unknown;
29431
29818
  };
29432
29819
  content: {
29433
- "application/json": components["schemas"]["ProfileErrorPayload"];
29820
+ "application/json": components["schemas"]["ErrorPayload"];
29434
29821
  };
29435
29822
  };
29436
- /** @description Remote profile management is forbidden */
29823
+ /** @description Process scope denied */
29437
29824
  403: {
29438
29825
  headers: {
29439
29826
  [name: string]: unknown;
29440
29827
  };
29441
29828
  content: {
29442
- "application/json": components["schemas"]["ProfileErrorPayload"];
29829
+ "application/json": components["schemas"]["ErrorPayload"];
29443
29830
  };
29444
29831
  };
29445
- /** @description Profile not found */
29832
+ /** @description Session not found */
29446
29833
  404: {
29447
29834
  headers: {
29448
29835
  [name: string]: unknown;
29449
29836
  };
29450
29837
  content: {
29451
- "application/json": components["schemas"]["ProfileErrorPayload"];
29838
+ "application/json": components["schemas"]["ErrorPayload"];
29452
29839
  };
29453
29840
  };
29454
- /** @description Profile conflict */
29455
- 409: {
29841
+ /** @description Internal server error */
29842
+ 500: {
29456
29843
  headers: {
29457
29844
  [name: string]: unknown;
29458
29845
  };
29459
29846
  content: {
29460
- "application/json": components["schemas"]["ProfileErrorPayload"];
29847
+ "application/json": components["schemas"]["ErrorPayload"];
29461
29848
  };
29462
29849
  };
29463
- /** @description Internal server error */
29464
- 500: {
29850
+ /** @description Process scanner unavailable */
29851
+ 503: {
29465
29852
  headers: {
29466
29853
  [name: string]: unknown;
29467
29854
  };
29468
29855
  content: {
29469
- "application/json": components["schemas"]["ProfileErrorPayload"];
29856
+ "application/json": components["schemas"]["ErrorPayload"];
29470
29857
  };
29471
29858
  };
29472
29859
  };
29473
29860
  };
29474
- listProfileOperations: {
29861
+ listProfiles: {
29475
29862
  parameters: {
29476
29863
  query?: never;
29477
29864
  header?: never;
@@ -29486,7 +29873,133 @@ export interface operations {
29486
29873
  [name: string]: unknown;
29487
29874
  };
29488
29875
  content: {
29489
- "application/json": components["schemas"]["ProfileOperation"][];
29876
+ "application/json": components["schemas"]["Profile"][];
29877
+ };
29878
+ };
29879
+ /** @description Invalid profile request */
29880
+ 400: {
29881
+ headers: {
29882
+ [name: string]: unknown;
29883
+ };
29884
+ content: {
29885
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29886
+ };
29887
+ };
29888
+ /** @description Profile not found */
29889
+ 404: {
29890
+ headers: {
29891
+ [name: string]: unknown;
29892
+ };
29893
+ content: {
29894
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29895
+ };
29896
+ };
29897
+ /** @description Profile conflict */
29898
+ 409: {
29899
+ headers: {
29900
+ [name: string]: unknown;
29901
+ };
29902
+ content: {
29903
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29904
+ };
29905
+ };
29906
+ /** @description Internal server error */
29907
+ 500: {
29908
+ headers: {
29909
+ [name: string]: unknown;
29910
+ };
29911
+ content: {
29912
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29913
+ };
29914
+ };
29915
+ };
29916
+ };
29917
+ createProfile: {
29918
+ parameters: {
29919
+ query?: never;
29920
+ header?: never;
29921
+ path?: never;
29922
+ cookie?: never;
29923
+ };
29924
+ /** @description JSON request body */
29925
+ requestBody: {
29926
+ content: {
29927
+ "application/json": components["schemas"]["CreateProfileRequest"];
29928
+ };
29929
+ };
29930
+ responses: {
29931
+ /** @description OK */
29932
+ 201: {
29933
+ headers: {
29934
+ [name: string]: unknown;
29935
+ };
29936
+ content: {
29937
+ "application/json": components["schemas"]["Profile"];
29938
+ };
29939
+ };
29940
+ /** @description Invalid profile request */
29941
+ 400: {
29942
+ headers: {
29943
+ [name: string]: unknown;
29944
+ };
29945
+ content: {
29946
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29947
+ };
29948
+ };
29949
+ /** @description Remote profile management is forbidden */
29950
+ 403: {
29951
+ headers: {
29952
+ [name: string]: unknown;
29953
+ };
29954
+ content: {
29955
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29956
+ };
29957
+ };
29958
+ /** @description Profile not found */
29959
+ 404: {
29960
+ headers: {
29961
+ [name: string]: unknown;
29962
+ };
29963
+ content: {
29964
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29965
+ };
29966
+ };
29967
+ /** @description Profile conflict */
29968
+ 409: {
29969
+ headers: {
29970
+ [name: string]: unknown;
29971
+ };
29972
+ content: {
29973
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29974
+ };
29975
+ };
29976
+ /** @description Internal server error */
29977
+ 500: {
29978
+ headers: {
29979
+ [name: string]: unknown;
29980
+ };
29981
+ content: {
29982
+ "application/json": components["schemas"]["ProfileErrorPayload"];
29983
+ };
29984
+ };
29985
+ };
29986
+ };
29987
+ listProfileOperations: {
29988
+ parameters: {
29989
+ query?: never;
29990
+ header?: never;
29991
+ path?: never;
29992
+ cookie?: never;
29993
+ };
29994
+ requestBody?: never;
29995
+ responses: {
29996
+ /** @description OK */
29997
+ 200: {
29998
+ headers: {
29999
+ [name: string]: unknown;
30000
+ };
30001
+ content: {
30002
+ "application/json": components["schemas"]["ProfileOperation"][];
29490
30003
  };
29491
30004
  };
29492
30005
  /** @description Invalid profile request */
@@ -32192,12 +32705,14 @@ export interface operations {
32192
32705
  resumable?: boolean;
32193
32706
  /** @description Only list sessions in the needs-you attention class */
32194
32707
  attention?: boolean;
32195
- /** @description Repeatable board column filter: needs_you, working, in_review, done */
32708
+ /** @description Repeatable board column filter: needs_you, working, waiting, in_review, done */
32196
32709
  board_column?: string[];
32197
32710
  /** @description Filter by comma-separated exact session badges */
32198
32711
  badge?: string;
32199
32712
  /** @description Archived session visibility */
32200
32713
  archive?: "exclude" | "only" | "include";
32714
+ /** @description Visibility of sessions parked in Later; excluded by default */
32715
+ later?: "exclude" | "only" | "include";
32201
32716
  /** @description Stable session ordering */
32202
32717
  sort?:
32203
32718
  | "recent"
@@ -32489,6 +33004,8 @@ export interface operations {
32489
33004
  type?: "user" | "system" | "coordinator" | "spawned";
32490
33005
  /** @description Archived session visibility */
32491
33006
  archive?: "exclude" | "only" | "include";
33007
+ /** @description Visibility of sessions parked in Later; excluded by default */
33008
+ later?: "exclude" | "only" | "include";
32492
33009
  /** @description Read one profile's rows by name */
32493
33010
  profile?: string;
32494
33011
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -41688,6 +42205,567 @@ export interface operations {
41688
42205
  };
41689
42206
  };
41690
42207
  };
42208
+ getWorkspaceLayout: {
42209
+ parameters: {
42210
+ query?: {
42211
+ /** @description Act as this profile by name */
42212
+ profile?: string;
42213
+ };
42214
+ header?: never;
42215
+ path?: never;
42216
+ cookie?: never;
42217
+ };
42218
+ requestBody?: never;
42219
+ responses: {
42220
+ /** @description OK */
42221
+ 200: {
42222
+ headers: {
42223
+ [name: string]: unknown;
42224
+ };
42225
+ content: {
42226
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42227
+ };
42228
+ };
42229
+ /** @description Invalid layout request */
42230
+ 400: {
42231
+ headers: {
42232
+ [name: string]: unknown;
42233
+ };
42234
+ content: {
42235
+ "application/json": components["schemas"]["ErrorPayload"];
42236
+ };
42237
+ };
42238
+ /** @description Operator or unrestricted agent required */
42239
+ 403: {
42240
+ headers: {
42241
+ [name: string]: unknown;
42242
+ };
42243
+ content: {
42244
+ "application/json": components["schemas"]["ErrorPayload"];
42245
+ };
42246
+ };
42247
+ /** @description Workspace or workspace folder not found */
42248
+ 404: {
42249
+ headers: {
42250
+ [name: string]: unknown;
42251
+ };
42252
+ content: {
42253
+ "application/json": components["schemas"]["ErrorPayload"];
42254
+ };
42255
+ };
42256
+ /** @description Internal server error */
42257
+ 500: {
42258
+ headers: {
42259
+ [name: string]: unknown;
42260
+ };
42261
+ content: {
42262
+ "application/json": components["schemas"]["ErrorPayload"];
42263
+ };
42264
+ };
42265
+ /** @description Workspace layout unavailable */
42266
+ 503: {
42267
+ headers: {
42268
+ [name: string]: unknown;
42269
+ };
42270
+ content: {
42271
+ "application/json": components["schemas"]["ErrorPayload"];
42272
+ };
42273
+ };
42274
+ };
42275
+ };
42276
+ createWorkspaceFolder: {
42277
+ parameters: {
42278
+ query?: {
42279
+ /** @description Act as this profile by name */
42280
+ profile?: string;
42281
+ };
42282
+ header?: never;
42283
+ path?: never;
42284
+ cookie?: never;
42285
+ };
42286
+ /** @description JSON request body */
42287
+ requestBody: {
42288
+ content: {
42289
+ "application/json": components["schemas"]["CreateWorkspaceFolderRequest"];
42290
+ };
42291
+ };
42292
+ responses: {
42293
+ /** @description OK */
42294
+ 201: {
42295
+ headers: {
42296
+ [name: string]: unknown;
42297
+ };
42298
+ content: {
42299
+ "application/json": components["schemas"]["WorkspaceFolderResponse"];
42300
+ };
42301
+ };
42302
+ /** @description Invalid layout request */
42303
+ 400: {
42304
+ headers: {
42305
+ [name: string]: unknown;
42306
+ };
42307
+ content: {
42308
+ "application/json": components["schemas"]["ErrorPayload"];
42309
+ };
42310
+ };
42311
+ /** @description Operator or unrestricted agent required */
42312
+ 403: {
42313
+ headers: {
42314
+ [name: string]: unknown;
42315
+ };
42316
+ content: {
42317
+ "application/json": components["schemas"]["ErrorPayload"];
42318
+ };
42319
+ };
42320
+ /** @description Workspace or workspace folder not found */
42321
+ 404: {
42322
+ headers: {
42323
+ [name: string]: unknown;
42324
+ };
42325
+ content: {
42326
+ "application/json": components["schemas"]["ErrorPayload"];
42327
+ };
42328
+ };
42329
+ /** @description Layout conflict or folder limit */
42330
+ 409: {
42331
+ headers: {
42332
+ [name: string]: unknown;
42333
+ };
42334
+ content: {
42335
+ "application/json": components["schemas"]["ErrorPayload"];
42336
+ };
42337
+ };
42338
+ /** @description Internal server error */
42339
+ 500: {
42340
+ headers: {
42341
+ [name: string]: unknown;
42342
+ };
42343
+ content: {
42344
+ "application/json": components["schemas"]["ErrorPayload"];
42345
+ };
42346
+ };
42347
+ /** @description Workspace layout unavailable */
42348
+ 503: {
42349
+ headers: {
42350
+ [name: string]: unknown;
42351
+ };
42352
+ content: {
42353
+ "application/json": components["schemas"]["ErrorPayload"];
42354
+ };
42355
+ };
42356
+ };
42357
+ };
42358
+ deleteWorkspaceFolder: {
42359
+ parameters: {
42360
+ query?: {
42361
+ /** @description Act as this profile by name */
42362
+ profile?: string;
42363
+ };
42364
+ header?: never;
42365
+ path: {
42366
+ /** @description Workspace folder id */
42367
+ folder_id: string;
42368
+ };
42369
+ cookie?: never;
42370
+ };
42371
+ requestBody?: never;
42372
+ responses: {
42373
+ /** @description OK */
42374
+ 200: {
42375
+ headers: {
42376
+ [name: string]: unknown;
42377
+ };
42378
+ content: {
42379
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42380
+ };
42381
+ };
42382
+ /** @description Invalid layout request */
42383
+ 400: {
42384
+ headers: {
42385
+ [name: string]: unknown;
42386
+ };
42387
+ content: {
42388
+ "application/json": components["schemas"]["ErrorPayload"];
42389
+ };
42390
+ };
42391
+ /** @description Operator or unrestricted agent required */
42392
+ 403: {
42393
+ headers: {
42394
+ [name: string]: unknown;
42395
+ };
42396
+ content: {
42397
+ "application/json": components["schemas"]["ErrorPayload"];
42398
+ };
42399
+ };
42400
+ /** @description Workspace or workspace folder not found */
42401
+ 404: {
42402
+ headers: {
42403
+ [name: string]: unknown;
42404
+ };
42405
+ content: {
42406
+ "application/json": components["schemas"]["ErrorPayload"];
42407
+ };
42408
+ };
42409
+ /** @description Layout conflict or folder limit */
42410
+ 409: {
42411
+ headers: {
42412
+ [name: string]: unknown;
42413
+ };
42414
+ content: {
42415
+ "application/json": components["schemas"]["ErrorPayload"];
42416
+ };
42417
+ };
42418
+ /** @description Internal server error */
42419
+ 500: {
42420
+ headers: {
42421
+ [name: string]: unknown;
42422
+ };
42423
+ content: {
42424
+ "application/json": components["schemas"]["ErrorPayload"];
42425
+ };
42426
+ };
42427
+ /** @description Workspace layout unavailable */
42428
+ 503: {
42429
+ headers: {
42430
+ [name: string]: unknown;
42431
+ };
42432
+ content: {
42433
+ "application/json": components["schemas"]["ErrorPayload"];
42434
+ };
42435
+ };
42436
+ };
42437
+ };
42438
+ renameWorkspaceFolder: {
42439
+ parameters: {
42440
+ query?: {
42441
+ /** @description Act as this profile by name */
42442
+ profile?: string;
42443
+ };
42444
+ header?: never;
42445
+ path: {
42446
+ /** @description Workspace folder id */
42447
+ folder_id: string;
42448
+ };
42449
+ cookie?: never;
42450
+ };
42451
+ /** @description JSON request body */
42452
+ requestBody: {
42453
+ content: {
42454
+ "application/json": components["schemas"]["RenameWorkspaceFolderRequest"];
42455
+ };
42456
+ };
42457
+ responses: {
42458
+ /** @description OK */
42459
+ 200: {
42460
+ headers: {
42461
+ [name: string]: unknown;
42462
+ };
42463
+ content: {
42464
+ "application/json": components["schemas"]["WorkspaceFolderResponse"];
42465
+ };
42466
+ };
42467
+ /** @description Invalid layout request */
42468
+ 400: {
42469
+ headers: {
42470
+ [name: string]: unknown;
42471
+ };
42472
+ content: {
42473
+ "application/json": components["schemas"]["ErrorPayload"];
42474
+ };
42475
+ };
42476
+ /** @description Operator or unrestricted agent required */
42477
+ 403: {
42478
+ headers: {
42479
+ [name: string]: unknown;
42480
+ };
42481
+ content: {
42482
+ "application/json": components["schemas"]["ErrorPayload"];
42483
+ };
42484
+ };
42485
+ /** @description Workspace or workspace folder not found */
42486
+ 404: {
42487
+ headers: {
42488
+ [name: string]: unknown;
42489
+ };
42490
+ content: {
42491
+ "application/json": components["schemas"]["ErrorPayload"];
42492
+ };
42493
+ };
42494
+ /** @description Layout conflict or folder limit */
42495
+ 409: {
42496
+ headers: {
42497
+ [name: string]: unknown;
42498
+ };
42499
+ content: {
42500
+ "application/json": components["schemas"]["ErrorPayload"];
42501
+ };
42502
+ };
42503
+ /** @description Internal server error */
42504
+ 500: {
42505
+ headers: {
42506
+ [name: string]: unknown;
42507
+ };
42508
+ content: {
42509
+ "application/json": components["schemas"]["ErrorPayload"];
42510
+ };
42511
+ };
42512
+ /** @description Workspace layout unavailable */
42513
+ 503: {
42514
+ headers: {
42515
+ [name: string]: unknown;
42516
+ };
42517
+ content: {
42518
+ "application/json": components["schemas"]["ErrorPayload"];
42519
+ };
42520
+ };
42521
+ };
42522
+ };
42523
+ reorderWorkspaceFolders: {
42524
+ parameters: {
42525
+ query?: {
42526
+ /** @description Act as this profile by name */
42527
+ profile?: string;
42528
+ };
42529
+ header?: never;
42530
+ path?: never;
42531
+ cookie?: never;
42532
+ };
42533
+ /** @description JSON request body */
42534
+ requestBody: {
42535
+ content: {
42536
+ "application/json": components["schemas"]["ReorderWorkspaceFoldersRequest"];
42537
+ };
42538
+ };
42539
+ responses: {
42540
+ /** @description OK */
42541
+ 200: {
42542
+ headers: {
42543
+ [name: string]: unknown;
42544
+ };
42545
+ content: {
42546
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42547
+ };
42548
+ };
42549
+ /** @description Invalid layout request */
42550
+ 400: {
42551
+ headers: {
42552
+ [name: string]: unknown;
42553
+ };
42554
+ content: {
42555
+ "application/json": components["schemas"]["ErrorPayload"];
42556
+ };
42557
+ };
42558
+ /** @description Operator or unrestricted agent required */
42559
+ 403: {
42560
+ headers: {
42561
+ [name: string]: unknown;
42562
+ };
42563
+ content: {
42564
+ "application/json": components["schemas"]["ErrorPayload"];
42565
+ };
42566
+ };
42567
+ /** @description Workspace or workspace folder not found */
42568
+ 404: {
42569
+ headers: {
42570
+ [name: string]: unknown;
42571
+ };
42572
+ content: {
42573
+ "application/json": components["schemas"]["ErrorPayload"];
42574
+ };
42575
+ };
42576
+ /** @description Layout conflict or folder limit */
42577
+ 409: {
42578
+ headers: {
42579
+ [name: string]: unknown;
42580
+ };
42581
+ content: {
42582
+ "application/json": components["schemas"]["ErrorPayload"];
42583
+ };
42584
+ };
42585
+ /** @description Internal server error */
42586
+ 500: {
42587
+ headers: {
42588
+ [name: string]: unknown;
42589
+ };
42590
+ content: {
42591
+ "application/json": components["schemas"]["ErrorPayload"];
42592
+ };
42593
+ };
42594
+ /** @description Workspace layout unavailable */
42595
+ 503: {
42596
+ headers: {
42597
+ [name: string]: unknown;
42598
+ };
42599
+ content: {
42600
+ "application/json": components["schemas"]["ErrorPayload"];
42601
+ };
42602
+ };
42603
+ };
42604
+ };
42605
+ moveWorkspace: {
42606
+ parameters: {
42607
+ query?: {
42608
+ /** @description Act as this profile by name */
42609
+ profile?: string;
42610
+ };
42611
+ header?: never;
42612
+ path?: never;
42613
+ cookie?: never;
42614
+ };
42615
+ /** @description JSON request body */
42616
+ requestBody: {
42617
+ content: {
42618
+ "application/json": components["schemas"]["MoveWorkspaceRequest"];
42619
+ };
42620
+ };
42621
+ responses: {
42622
+ /** @description OK */
42623
+ 200: {
42624
+ headers: {
42625
+ [name: string]: unknown;
42626
+ };
42627
+ content: {
42628
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42629
+ };
42630
+ };
42631
+ /** @description Invalid layout request */
42632
+ 400: {
42633
+ headers: {
42634
+ [name: string]: unknown;
42635
+ };
42636
+ content: {
42637
+ "application/json": components["schemas"]["ErrorPayload"];
42638
+ };
42639
+ };
42640
+ /** @description Operator or unrestricted agent required */
42641
+ 403: {
42642
+ headers: {
42643
+ [name: string]: unknown;
42644
+ };
42645
+ content: {
42646
+ "application/json": components["schemas"]["ErrorPayload"];
42647
+ };
42648
+ };
42649
+ /** @description Workspace or workspace folder not found */
42650
+ 404: {
42651
+ headers: {
42652
+ [name: string]: unknown;
42653
+ };
42654
+ content: {
42655
+ "application/json": components["schemas"]["ErrorPayload"];
42656
+ };
42657
+ };
42658
+ /** @description Layout conflict or folder limit */
42659
+ 409: {
42660
+ headers: {
42661
+ [name: string]: unknown;
42662
+ };
42663
+ content: {
42664
+ "application/json": components["schemas"]["ErrorPayload"];
42665
+ };
42666
+ };
42667
+ /** @description Internal server error */
42668
+ 500: {
42669
+ headers: {
42670
+ [name: string]: unknown;
42671
+ };
42672
+ content: {
42673
+ "application/json": components["schemas"]["ErrorPayload"];
42674
+ };
42675
+ };
42676
+ /** @description Workspace layout unavailable */
42677
+ 503: {
42678
+ headers: {
42679
+ [name: string]: unknown;
42680
+ };
42681
+ content: {
42682
+ "application/json": components["schemas"]["ErrorPayload"];
42683
+ };
42684
+ };
42685
+ };
42686
+ };
42687
+ reorderWorkspaces: {
42688
+ parameters: {
42689
+ query?: {
42690
+ /** @description Act as this profile by name */
42691
+ profile?: string;
42692
+ };
42693
+ header?: never;
42694
+ path?: never;
42695
+ cookie?: never;
42696
+ };
42697
+ /** @description JSON request body */
42698
+ requestBody: {
42699
+ content: {
42700
+ "application/json": components["schemas"]["ReorderWorkspacesRequest"];
42701
+ };
42702
+ };
42703
+ responses: {
42704
+ /** @description OK */
42705
+ 200: {
42706
+ headers: {
42707
+ [name: string]: unknown;
42708
+ };
42709
+ content: {
42710
+ "application/json": components["schemas"]["WorkspaceLayoutResponse"];
42711
+ };
42712
+ };
42713
+ /** @description Invalid layout request */
42714
+ 400: {
42715
+ headers: {
42716
+ [name: string]: unknown;
42717
+ };
42718
+ content: {
42719
+ "application/json": components["schemas"]["ErrorPayload"];
42720
+ };
42721
+ };
42722
+ /** @description Operator or unrestricted agent required */
42723
+ 403: {
42724
+ headers: {
42725
+ [name: string]: unknown;
42726
+ };
42727
+ content: {
42728
+ "application/json": components["schemas"]["ErrorPayload"];
42729
+ };
42730
+ };
42731
+ /** @description Workspace or workspace folder not found */
42732
+ 404: {
42733
+ headers: {
42734
+ [name: string]: unknown;
42735
+ };
42736
+ content: {
42737
+ "application/json": components["schemas"]["ErrorPayload"];
42738
+ };
42739
+ };
42740
+ /** @description Layout conflict or folder limit */
42741
+ 409: {
42742
+ headers: {
42743
+ [name: string]: unknown;
42744
+ };
42745
+ content: {
42746
+ "application/json": components["schemas"]["ErrorPayload"];
42747
+ };
42748
+ };
42749
+ /** @description Internal server error */
42750
+ 500: {
42751
+ headers: {
42752
+ [name: string]: unknown;
42753
+ };
42754
+ content: {
42755
+ "application/json": components["schemas"]["ErrorPayload"];
42756
+ };
42757
+ };
42758
+ /** @description Workspace layout unavailable */
42759
+ 503: {
42760
+ headers: {
42761
+ [name: string]: unknown;
42762
+ };
42763
+ content: {
42764
+ "application/json": components["schemas"]["ErrorPayload"];
42765
+ };
42766
+ };
42767
+ };
42768
+ };
41691
42769
  listWorkspaces: {
41692
42770
  parameters: {
41693
42771
  query?: {
@@ -46077,12 +47155,14 @@ export interface operations {
46077
47155
  resumable?: boolean;
46078
47156
  /** @description Only list sessions in the needs-you attention class */
46079
47157
  attention?: boolean;
46080
- /** @description Repeatable board column filter: needs_you, working, in_review, done */
47158
+ /** @description Repeatable board column filter: needs_you, working, waiting, in_review, done */
46081
47159
  board_column?: string[];
46082
47160
  /** @description Filter by comma-separated exact session badges */
46083
47161
  badge?: string;
46084
47162
  /** @description Archived session visibility */
46085
47163
  archive?: "exclude" | "only" | "include";
47164
+ /** @description Visibility of sessions parked in Later; excluded by default */
47165
+ later?: "exclude" | "only" | "include";
46086
47166
  /** @description Stable session ordering */
46087
47167
  sort?:
46088
47168
  | "recent"
@@ -46219,6 +47299,8 @@ export interface operations {
46219
47299
  deleteSession: {
46220
47300
  parameters: {
46221
47301
  query?: {
47302
+ /** @description Keep (default) or terminate attributed session processes */
47303
+ processes?: "keep" | "terminate";
46222
47304
  /** @description Act as this profile by name */
46223
47305
  profile?: string;
46224
47306
  };
@@ -46240,6 +47322,15 @@ export interface operations {
46240
47322
  };
46241
47323
  content?: never;
46242
47324
  };
47325
+ /** @description Invalid process policy */
47326
+ 400: {
47327
+ headers: {
47328
+ [name: string]: unknown;
47329
+ };
47330
+ content: {
47331
+ "application/json": components["schemas"]["ErrorPayload"];
47332
+ };
47333
+ };
46243
47334
  /** @description Session not found */
46244
47335
  404: {
46245
47336
  headers: {
@@ -46249,6 +47340,15 @@ export interface operations {
46249
47340
  "application/json": components["schemas"]["ErrorPayload"];
46250
47341
  };
46251
47342
  };
47343
+ /** @description Process cleanup could not be verified */
47344
+ 409: {
47345
+ headers: {
47346
+ [name: string]: unknown;
47347
+ };
47348
+ content: {
47349
+ "application/json": components["schemas"]["ErrorPayload"];
47350
+ };
47351
+ };
46252
47352
  /** @description Internal server error */
46253
47353
  500: {
46254
47354
  headers: {
@@ -46258,6 +47358,15 @@ export interface operations {
46258
47358
  "application/json": components["schemas"]["ErrorPayload"];
46259
47359
  };
46260
47360
  };
47361
+ /** @description Service unavailable - dependent service missing */
47362
+ 503: {
47363
+ headers: {
47364
+ [name: string]: unknown;
47365
+ };
47366
+ content: {
47367
+ "application/json": components["schemas"]["ErrorPayload"];
47368
+ };
47369
+ };
46261
47370
  };
46262
47371
  };
46263
47372
  renameSession: {
@@ -46389,6 +47498,8 @@ export interface operations {
46389
47498
  archiveSession: {
46390
47499
  parameters: {
46391
47500
  query?: {
47501
+ /** @description Keep (default) or terminate attributed session processes */
47502
+ processes?: "keep" | "terminate";
46392
47503
  /** @description Stop a live session through the normal stop path before archiving it; a failed stop leaves it unarchived */
46393
47504
  stop?: boolean;
46394
47505
  /** @description Act as this profile by name */
@@ -47834,6 +48945,84 @@ export interface operations {
47834
48945
  };
47835
48946
  };
47836
48947
  };
48948
+ moveSessionToLater: {
48949
+ parameters: {
48950
+ query?: {
48951
+ /** @description Act as this profile by name */
48952
+ profile?: string;
48953
+ };
48954
+ header?: never;
48955
+ path: {
48956
+ /** @description Workspace id */
48957
+ workspace_id: string;
48958
+ /** @description Session id */
48959
+ session_id: string;
48960
+ };
48961
+ cookie?: never;
48962
+ };
48963
+ /** @description JSON request body */
48964
+ requestBody?: {
48965
+ content: {
48966
+ "application/json": components["schemas"]["MoveSessionToLaterRequest"];
48967
+ };
48968
+ };
48969
+ responses: {
48970
+ /** @description OK */
48971
+ 200: {
48972
+ headers: {
48973
+ [name: string]: unknown;
48974
+ };
48975
+ content: {
48976
+ "application/json": components["schemas"]["SessionResponse"];
48977
+ };
48978
+ };
48979
+ /** @description Invalid Move to Later request */
48980
+ 400: {
48981
+ headers: {
48982
+ [name: string]: unknown;
48983
+ };
48984
+ content: {
48985
+ "application/json": components["schemas"]["ErrorPayload"];
48986
+ };
48987
+ };
48988
+ /** @description Session not found */
48989
+ 404: {
48990
+ headers: {
48991
+ [name: string]: unknown;
48992
+ };
48993
+ content: {
48994
+ "application/json": components["schemas"]["ErrorPayload"];
48995
+ };
48996
+ };
48997
+ /** @description Subagents move with their parent, or the session tree could not be stopped */
48998
+ 409: {
48999
+ headers: {
49000
+ [name: string]: unknown;
49001
+ };
49002
+ content: {
49003
+ "application/json": components["schemas"]["ErrorPayload"];
49004
+ };
49005
+ };
49006
+ /** @description Internal server error */
49007
+ 500: {
49008
+ headers: {
49009
+ [name: string]: unknown;
49010
+ };
49011
+ content: {
49012
+ "application/json": components["schemas"]["ErrorPayload"];
49013
+ };
49014
+ };
49015
+ /** @description Service unavailable - dependent service missing */
49016
+ 503: {
49017
+ headers: {
49018
+ [name: string]: unknown;
49019
+ };
49020
+ content: {
49021
+ "application/json": components["schemas"]["ErrorPayload"];
49022
+ };
49023
+ };
49024
+ };
49025
+ };
47837
49026
  listSessionMonitors: {
47838
49027
  parameters: {
47839
49028
  query?: {
@@ -48286,6 +49475,159 @@ export interface operations {
48286
49475
  };
48287
49476
  };
48288
49477
  };
49478
+ listSessionProcesses: {
49479
+ parameters: {
49480
+ query?: {
49481
+ /** @description Read one profile's rows by name */
49482
+ profile?: string;
49483
+ /** @description Read the owner-labeled all-profiles aggregate */
49484
+ all_profiles?: boolean;
49485
+ };
49486
+ header?: never;
49487
+ path: {
49488
+ /** @description Workspace id */
49489
+ workspace_id: string;
49490
+ /** @description Session id */
49491
+ session_id: string;
49492
+ };
49493
+ cookie?: never;
49494
+ };
49495
+ requestBody?: never;
49496
+ responses: {
49497
+ /** @description Success */
49498
+ 200: {
49499
+ headers: {
49500
+ [name: string]: unknown;
49501
+ };
49502
+ content: {
49503
+ "application/json": components["schemas"]["SessionProcessesResponse"];
49504
+ };
49505
+ };
49506
+ /** @description Invalid process request */
49507
+ 400: {
49508
+ headers: {
49509
+ [name: string]: unknown;
49510
+ };
49511
+ content: {
49512
+ "application/json": components["schemas"]["ErrorPayload"];
49513
+ };
49514
+ };
49515
+ /** @description Process scope denied */
49516
+ 403: {
49517
+ headers: {
49518
+ [name: string]: unknown;
49519
+ };
49520
+ content: {
49521
+ "application/json": components["schemas"]["ErrorPayload"];
49522
+ };
49523
+ };
49524
+ /** @description Session not found */
49525
+ 404: {
49526
+ headers: {
49527
+ [name: string]: unknown;
49528
+ };
49529
+ content: {
49530
+ "application/json": components["schemas"]["ErrorPayload"];
49531
+ };
49532
+ };
49533
+ /** @description Internal server error */
49534
+ 500: {
49535
+ headers: {
49536
+ [name: string]: unknown;
49537
+ };
49538
+ content: {
49539
+ "application/json": components["schemas"]["ErrorPayload"];
49540
+ };
49541
+ };
49542
+ /** @description Process scanner unavailable */
49543
+ 503: {
49544
+ headers: {
49545
+ [name: string]: unknown;
49546
+ };
49547
+ content: {
49548
+ "application/json": components["schemas"]["ErrorPayload"];
49549
+ };
49550
+ };
49551
+ };
49552
+ };
49553
+ terminateSessionProcesses: {
49554
+ parameters: {
49555
+ query?: {
49556
+ /** @description Act as this profile by name */
49557
+ profile?: string;
49558
+ };
49559
+ header?: never;
49560
+ path: {
49561
+ /** @description Workspace id */
49562
+ workspace_id: string;
49563
+ /** @description Session id */
49564
+ session_id: string;
49565
+ };
49566
+ cookie?: never;
49567
+ };
49568
+ /** @description JSON request body */
49569
+ requestBody: {
49570
+ content: {
49571
+ "application/json": components["schemas"]["TerminateSessionProcessesRequest"];
49572
+ };
49573
+ };
49574
+ responses: {
49575
+ /** @description Success */
49576
+ 200: {
49577
+ headers: {
49578
+ [name: string]: unknown;
49579
+ };
49580
+ content: {
49581
+ "application/json": components["schemas"]["TerminateSessionProcessesResponse"];
49582
+ };
49583
+ };
49584
+ /** @description Invalid process request */
49585
+ 400: {
49586
+ headers: {
49587
+ [name: string]: unknown;
49588
+ };
49589
+ content: {
49590
+ "application/json": components["schemas"]["ErrorPayload"];
49591
+ };
49592
+ };
49593
+ /** @description Process scope denied */
49594
+ 403: {
49595
+ headers: {
49596
+ [name: string]: unknown;
49597
+ };
49598
+ content: {
49599
+ "application/json": components["schemas"]["ErrorPayload"];
49600
+ };
49601
+ };
49602
+ /** @description Session not found */
49603
+ 404: {
49604
+ headers: {
49605
+ [name: string]: unknown;
49606
+ };
49607
+ content: {
49608
+ "application/json": components["schemas"]["ErrorPayload"];
49609
+ };
49610
+ };
49611
+ /** @description Internal server error */
49612
+ 500: {
49613
+ headers: {
49614
+ [name: string]: unknown;
49615
+ };
49616
+ content: {
49617
+ "application/json": components["schemas"]["ErrorPayload"];
49618
+ };
49619
+ };
49620
+ /** @description Process scanner unavailable */
49621
+ 503: {
49622
+ headers: {
49623
+ [name: string]: unknown;
49624
+ };
49625
+ content: {
49626
+ "application/json": components["schemas"]["ErrorPayload"];
49627
+ };
49628
+ };
49629
+ };
49630
+ };
48289
49631
  sendSessionPrompt: {
48290
49632
  parameters: {
48291
49633
  query?: never;
@@ -48483,89 +49825,314 @@ export interface operations {
48483
49825
  };
48484
49826
  };
48485
49827
  };
48486
- clearSessionInputs: {
49828
+ clearSessionInputs: {
49829
+ parameters: {
49830
+ query?: never;
49831
+ header?: never;
49832
+ path: {
49833
+ /** @description Workspace id */
49834
+ workspace_id: string;
49835
+ /** @description Session id */
49836
+ session_id: string;
49837
+ };
49838
+ cookie?: never;
49839
+ };
49840
+ requestBody?: never;
49841
+ responses: {
49842
+ /** @description Per-entry clear outcomes */
49843
+ 200: {
49844
+ headers: {
49845
+ [name: string]: unknown;
49846
+ };
49847
+ content: {
49848
+ "application/json": components["schemas"]["SessionInputClearResponse"];
49849
+ };
49850
+ };
49851
+ /** @description Forbidden */
49852
+ 403: {
49853
+ headers: {
49854
+ [name: string]: unknown;
49855
+ };
49856
+ content: {
49857
+ "application/json": components["schemas"]["ErrorPayload"];
49858
+ };
49859
+ };
49860
+ /** @description Session not found */
49861
+ 404: {
49862
+ headers: {
49863
+ [name: string]: unknown;
49864
+ };
49865
+ content: {
49866
+ "application/json": components["schemas"]["ErrorPayload"];
49867
+ };
49868
+ };
49869
+ /** @description Internal server error */
49870
+ 500: {
49871
+ headers: {
49872
+ [name: string]: unknown;
49873
+ };
49874
+ content: {
49875
+ "application/json": components["schemas"]["ErrorPayload"];
49876
+ };
49877
+ };
49878
+ };
49879
+ };
49880
+ replaceSessionInput: {
49881
+ parameters: {
49882
+ query?: never;
49883
+ header?: never;
49884
+ path: {
49885
+ /** @description Workspace id */
49886
+ workspace_id: string;
49887
+ /** @description Session id */
49888
+ session_id: string;
49889
+ /** @description Queue entry id */
49890
+ queue_entry_id: string;
49891
+ };
49892
+ cookie?: never;
49893
+ };
49894
+ /** @description JSON request body */
49895
+ requestBody: {
49896
+ content: {
49897
+ "application/json": components["schemas"]["ReplaceSessionInputRequest"];
49898
+ };
49899
+ };
49900
+ responses: {
49901
+ /** @description Queued input replaced */
49902
+ 200: {
49903
+ headers: {
49904
+ [name: string]: unknown;
49905
+ };
49906
+ content: {
49907
+ "application/json": components["schemas"]["SessionInputResponse"];
49908
+ };
49909
+ };
49910
+ /** @description Invalid input replacement */
49911
+ 400: {
49912
+ headers: {
49913
+ [name: string]: unknown;
49914
+ };
49915
+ content: {
49916
+ "application/json": components["schemas"]["ErrorPayload"];
49917
+ };
49918
+ };
49919
+ /** @description Session not found */
49920
+ 404: {
49921
+ headers: {
49922
+ [name: string]: unknown;
49923
+ };
49924
+ content: {
49925
+ "application/json": components["schemas"]["ErrorPayload"];
49926
+ };
49927
+ };
49928
+ /** @description Internal server error */
49929
+ 500: {
49930
+ headers: {
49931
+ [name: string]: unknown;
49932
+ };
49933
+ content: {
49934
+ "application/json": components["schemas"]["ErrorPayload"];
49935
+ };
49936
+ };
49937
+ };
49938
+ };
49939
+ cancelQueuedSessionPrompt: {
49940
+ parameters: {
49941
+ query?: never;
49942
+ header?: never;
49943
+ path: {
49944
+ /** @description Workspace id */
49945
+ workspace_id: string;
49946
+ /** @description Session id */
49947
+ session_id: string;
49948
+ /** @description Queue entry id */
49949
+ queue_entry_id: string;
49950
+ };
49951
+ cookie?: never;
49952
+ };
49953
+ requestBody?: never;
49954
+ responses: {
49955
+ /** @description Queued prompt canceled */
49956
+ 200: {
49957
+ headers: {
49958
+ [name: string]: unknown;
49959
+ };
49960
+ content: {
49961
+ "application/json": components["schemas"]["SendPromptResultResponse"];
49962
+ };
49963
+ };
49964
+ /** @description Session not found */
49965
+ 404: {
49966
+ headers: {
49967
+ [name: string]: unknown;
49968
+ };
49969
+ content: {
49970
+ "application/json": components["schemas"]["ErrorPayload"];
49971
+ };
49972
+ };
49973
+ /** @description Internal server error */
49974
+ 500: {
49975
+ headers: {
49976
+ [name: string]: unknown;
49977
+ };
49978
+ content: {
49979
+ "application/json": components["schemas"]["ErrorPayload"];
49980
+ };
49981
+ };
49982
+ };
49983
+ };
49984
+ promoteSessionInput: {
49985
+ parameters: {
49986
+ query?: never;
49987
+ header?: never;
49988
+ path: {
49989
+ /** @description Workspace id */
49990
+ workspace_id: string;
49991
+ /** @description Session id */
49992
+ session_id: string;
49993
+ /** @description Queue entry id */
49994
+ queue_entry_id: string;
49995
+ };
49996
+ cookie?: never;
49997
+ };
49998
+ /** @description JSON request body */
49999
+ requestBody: {
50000
+ content: {
50001
+ "application/json": components["schemas"]["PromoteSessionInputRequest"];
50002
+ };
50003
+ };
50004
+ responses: {
50005
+ /** @description Queued input promoted to steering */
50006
+ 202: {
50007
+ headers: {
50008
+ [name: string]: unknown;
50009
+ };
50010
+ content: {
50011
+ "application/json": components["schemas"]["SendPromptResultResponse"];
50012
+ };
50013
+ };
50014
+ /** @description Invalid steering promotion */
50015
+ 400: {
50016
+ headers: {
50017
+ [name: string]: unknown;
50018
+ };
50019
+ content: {
50020
+ "application/json": components["schemas"]["ErrorPayload"];
50021
+ };
50022
+ };
50023
+ /** @description Session not found */
50024
+ 404: {
50025
+ headers: {
50026
+ [name: string]: unknown;
50027
+ };
50028
+ content: {
50029
+ "application/json": components["schemas"]["ErrorPayload"];
50030
+ };
50031
+ };
50032
+ /** @description Session prompt conflict */
50033
+ 409: {
50034
+ headers: {
50035
+ [name: string]: unknown;
50036
+ };
50037
+ content: {
50038
+ "application/json": components["schemas"]["ErrorPayload"];
50039
+ };
50040
+ };
50041
+ /** @description Internal server error */
50042
+ 500: {
50043
+ headers: {
50044
+ [name: string]: unknown;
50045
+ };
50046
+ content: {
50047
+ "application/json": components["schemas"]["ErrorPayload"];
50048
+ };
50049
+ };
50050
+ };
50051
+ };
50052
+ getSessionRecap: {
50053
+ parameters: {
50054
+ query?: {
50055
+ /** @description Maximum recent messages to include */
50056
+ limit?: number;
50057
+ };
50058
+ header?: never;
50059
+ path: {
50060
+ /** @description Workspace id */
50061
+ workspace_id: string;
50062
+ /** @description Session id */
50063
+ session_id: string;
50064
+ };
50065
+ cookie?: never;
50066
+ };
50067
+ requestBody?: never;
50068
+ responses: {
50069
+ /** @description OK */
50070
+ 200: {
50071
+ headers: {
50072
+ [name: string]: unknown;
50073
+ };
50074
+ content: {
50075
+ "application/json": components["schemas"]["SessionRecapResponse"];
50076
+ };
50077
+ };
50078
+ /** @description Invalid recap query */
50079
+ 400: {
50080
+ headers: {
50081
+ [name: string]: unknown;
50082
+ };
50083
+ content: {
50084
+ "application/json": components["schemas"]["ErrorPayload"];
50085
+ };
50086
+ };
50087
+ /** @description Session not found */
50088
+ 404: {
50089
+ headers: {
50090
+ [name: string]: unknown;
50091
+ };
50092
+ content: {
50093
+ "application/json": components["schemas"]["ErrorPayload"];
50094
+ };
50095
+ };
50096
+ /** @description Internal server error */
50097
+ 500: {
50098
+ headers: {
50099
+ [name: string]: unknown;
50100
+ };
50101
+ content: {
50102
+ "application/json": components["schemas"]["ErrorPayload"];
50103
+ };
50104
+ };
50105
+ };
50106
+ };
50107
+ repairSession: {
48487
50108
  parameters: {
48488
- query?: never;
48489
- header?: never;
48490
- path: {
48491
- /** @description Workspace id */
48492
- workspace_id: string;
48493
- /** @description Session id */
48494
- session_id: string;
48495
- };
48496
- cookie?: never;
48497
- };
48498
- requestBody?: never;
48499
- responses: {
48500
- /** @description Per-entry clear outcomes */
48501
- 200: {
48502
- headers: {
48503
- [name: string]: unknown;
48504
- };
48505
- content: {
48506
- "application/json": components["schemas"]["SessionInputClearResponse"];
48507
- };
48508
- };
48509
- /** @description Forbidden */
48510
- 403: {
48511
- headers: {
48512
- [name: string]: unknown;
48513
- };
48514
- content: {
48515
- "application/json": components["schemas"]["ErrorPayload"];
48516
- };
48517
- };
48518
- /** @description Session not found */
48519
- 404: {
48520
- headers: {
48521
- [name: string]: unknown;
48522
- };
48523
- content: {
48524
- "application/json": components["schemas"]["ErrorPayload"];
48525
- };
48526
- };
48527
- /** @description Internal server error */
48528
- 500: {
48529
- headers: {
48530
- [name: string]: unknown;
48531
- };
48532
- content: {
48533
- "application/json": components["schemas"]["ErrorPayload"];
48534
- };
50109
+ query?: {
50110
+ /** @description Report planned repairs without persisting new events */
50111
+ dry_run?: boolean;
50112
+ /** @description Allow repair for stopped sessions whose stop reason is not crash or error */
50113
+ force?: boolean;
48535
50114
  };
48536
- };
48537
- };
48538
- replaceSessionInput: {
48539
- parameters: {
48540
- query?: never;
48541
50115
  header?: never;
48542
50116
  path: {
48543
50117
  /** @description Workspace id */
48544
50118
  workspace_id: string;
48545
50119
  /** @description Session id */
48546
50120
  session_id: string;
48547
- /** @description Queue entry id */
48548
- queue_entry_id: string;
48549
50121
  };
48550
50122
  cookie?: never;
48551
50123
  };
48552
- /** @description JSON request body */
48553
- requestBody: {
48554
- content: {
48555
- "application/json": components["schemas"]["ReplaceSessionInputRequest"];
48556
- };
48557
- };
50124
+ requestBody?: never;
48558
50125
  responses: {
48559
- /** @description Queued input replaced */
50126
+ /** @description OK */
48560
50127
  200: {
48561
50128
  headers: {
48562
50129
  [name: string]: unknown;
48563
50130
  };
48564
50131
  content: {
48565
- "application/json": components["schemas"]["SessionInputResponse"];
50132
+ "application/json": components["schemas"]["SessionRepairResponse"];
48566
50133
  };
48567
50134
  };
48568
- /** @description Invalid input replacement */
50135
+ /** @description Invalid repair options */
48569
50136
  400: {
48570
50137
  headers: {
48571
50138
  [name: string]: unknown;
@@ -48594,82 +50161,38 @@ export interface operations {
48594
50161
  };
48595
50162
  };
48596
50163
  };
48597
- cancelQueuedSessionPrompt: {
50164
+ resumeSessionFromLater: {
48598
50165
  parameters: {
48599
- query?: never;
48600
- header?: never;
48601
- path: {
48602
- /** @description Workspace id */
48603
- workspace_id: string;
48604
- /** @description Session id */
48605
- session_id: string;
48606
- /** @description Queue entry id */
48607
- queue_entry_id: string;
48608
- };
48609
- cookie?: never;
48610
- };
48611
- requestBody?: never;
48612
- responses: {
48613
- /** @description Queued prompt canceled */
48614
- 200: {
48615
- headers: {
48616
- [name: string]: unknown;
48617
- };
48618
- content: {
48619
- "application/json": components["schemas"]["SendPromptResultResponse"];
48620
- };
48621
- };
48622
- /** @description Session not found */
48623
- 404: {
48624
- headers: {
48625
- [name: string]: unknown;
48626
- };
48627
- content: {
48628
- "application/json": components["schemas"]["ErrorPayload"];
48629
- };
48630
- };
48631
- /** @description Internal server error */
48632
- 500: {
48633
- headers: {
48634
- [name: string]: unknown;
48635
- };
48636
- content: {
48637
- "application/json": components["schemas"]["ErrorPayload"];
48638
- };
50166
+ query?: {
50167
+ /** @description Act as this profile by name */
50168
+ profile?: string;
48639
50169
  };
48640
- };
48641
- };
48642
- promoteSessionInput: {
48643
- parameters: {
48644
- query?: never;
48645
50170
  header?: never;
48646
50171
  path: {
48647
50172
  /** @description Workspace id */
48648
50173
  workspace_id: string;
48649
50174
  /** @description Session id */
48650
50175
  session_id: string;
48651
- /** @description Queue entry id */
48652
- queue_entry_id: string;
48653
50176
  };
48654
50177
  cookie?: never;
48655
50178
  };
48656
50179
  /** @description JSON request body */
48657
- requestBody: {
50180
+ requestBody?: {
48658
50181
  content: {
48659
- "application/json": components["schemas"]["PromoteSessionInputRequest"];
50182
+ "application/json": components["schemas"]["ResumeSessionFromLaterRequest"];
48660
50183
  };
48661
50184
  };
48662
50185
  responses: {
48663
- /** @description Queued input promoted to steering */
48664
- 202: {
50186
+ /** @description OK */
50187
+ 200: {
48665
50188
  headers: {
48666
50189
  [name: string]: unknown;
48667
50190
  };
48668
50191
  content: {
48669
- "application/json": components["schemas"]["SendPromptResultResponse"];
50192
+ "application/json": components["schemas"]["SessionResponse"];
48670
50193
  };
48671
50194
  };
48672
- /** @description Invalid steering promotion */
50195
+ /** @description Invalid Back from Later request */
48673
50196
  400: {
48674
50197
  headers: {
48675
50198
  [name: string]: unknown;
@@ -48687,7 +50210,7 @@ export interface operations {
48687
50210
  "application/json": components["schemas"]["ErrorPayload"];
48688
50211
  };
48689
50212
  };
48690
- /** @description Session prompt conflict */
50213
+ /** @description The session could not leave Later */
48691
50214
  409: {
48692
50215
  headers: {
48693
50216
  [name: string]: unknown;
@@ -48705,111 +50228,8 @@ export interface operations {
48705
50228
  "application/json": components["schemas"]["ErrorPayload"];
48706
50229
  };
48707
50230
  };
48708
- };
48709
- };
48710
- getSessionRecap: {
48711
- parameters: {
48712
- query?: {
48713
- /** @description Maximum recent messages to include */
48714
- limit?: number;
48715
- };
48716
- header?: never;
48717
- path: {
48718
- /** @description Workspace id */
48719
- workspace_id: string;
48720
- /** @description Session id */
48721
- session_id: string;
48722
- };
48723
- cookie?: never;
48724
- };
48725
- requestBody?: never;
48726
- responses: {
48727
- /** @description OK */
48728
- 200: {
48729
- headers: {
48730
- [name: string]: unknown;
48731
- };
48732
- content: {
48733
- "application/json": components["schemas"]["SessionRecapResponse"];
48734
- };
48735
- };
48736
- /** @description Invalid recap query */
48737
- 400: {
48738
- headers: {
48739
- [name: string]: unknown;
48740
- };
48741
- content: {
48742
- "application/json": components["schemas"]["ErrorPayload"];
48743
- };
48744
- };
48745
- /** @description Session not found */
48746
- 404: {
48747
- headers: {
48748
- [name: string]: unknown;
48749
- };
48750
- content: {
48751
- "application/json": components["schemas"]["ErrorPayload"];
48752
- };
48753
- };
48754
- /** @description Internal server error */
48755
- 500: {
48756
- headers: {
48757
- [name: string]: unknown;
48758
- };
48759
- content: {
48760
- "application/json": components["schemas"]["ErrorPayload"];
48761
- };
48762
- };
48763
- };
48764
- };
48765
- repairSession: {
48766
- parameters: {
48767
- query?: {
48768
- /** @description Report planned repairs without persisting new events */
48769
- dry_run?: boolean;
48770
- /** @description Allow repair for stopped sessions whose stop reason is not crash or error */
48771
- force?: boolean;
48772
- };
48773
- header?: never;
48774
- path: {
48775
- /** @description Workspace id */
48776
- workspace_id: string;
48777
- /** @description Session id */
48778
- session_id: string;
48779
- };
48780
- cookie?: never;
48781
- };
48782
- requestBody?: never;
48783
- responses: {
48784
- /** @description OK */
48785
- 200: {
48786
- headers: {
48787
- [name: string]: unknown;
48788
- };
48789
- content: {
48790
- "application/json": components["schemas"]["SessionRepairResponse"];
48791
- };
48792
- };
48793
- /** @description Invalid repair options */
48794
- 400: {
48795
- headers: {
48796
- [name: string]: unknown;
48797
- };
48798
- content: {
48799
- "application/json": components["schemas"]["ErrorPayload"];
48800
- };
48801
- };
48802
- /** @description Session not found */
48803
- 404: {
48804
- headers: {
48805
- [name: string]: unknown;
48806
- };
48807
- content: {
48808
- "application/json": components["schemas"]["ErrorPayload"];
48809
- };
48810
- };
48811
- /** @description Internal server error */
48812
- 500: {
50231
+ /** @description Service unavailable - dependent service missing */
50232
+ 503: {
48813
50233
  headers: {
48814
50234
  [name: string]: unknown;
48815
50235
  };
@@ -49285,6 +50705,15 @@ export interface operations {
49285
50705
  "application/json": components["schemas"]["ErrorPayload"];
49286
50706
  };
49287
50707
  };
50708
+ /** @description Process cleanup could not be verified */
50709
+ 409: {
50710
+ headers: {
50711
+ [name: string]: unknown;
50712
+ };
50713
+ content: {
50714
+ "application/json": components["schemas"]["ErrorPayload"];
50715
+ };
50716
+ };
49288
50717
  /** @description Internal server error */
49289
50718
  500: {
49290
50719
  headers: {
@@ -49294,7 +50723,7 @@ export interface operations {
49294
50723
  "application/json": components["schemas"]["ErrorPayload"];
49295
50724
  };
49296
50725
  };
49297
- /** @description Stop manager unavailable */
50726
+ /** @description Service unavailable - dependent service missing */
49298
50727
  503: {
49299
50728
  headers: {
49300
50729
  [name: string]: unknown;
@@ -50538,7 +51967,16 @@ export interface operations {
50538
51967
  "application/json": components["schemas"]["TerminalErrorResponse"];
50539
51968
  };
50540
51969
  };
50541
- /** @description Terminal limit reached */
51970
+ /** @description Worktree not found */
51971
+ 404: {
51972
+ headers: {
51973
+ [name: string]: unknown;
51974
+ };
51975
+ content: {
51976
+ "application/json": components["schemas"]["TerminalErrorResponse"];
51977
+ };
51978
+ };
51979
+ /** @description Terminal limit reached or worktree unavailable */
50542
51980
  409: {
50543
51981
  headers: {
50544
51982
  [name: string]: unknown;