@compozy/client 0.4.5 → 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;
@@ -5778,6 +5899,40 @@ export interface paths {
5778
5899
  patch?: never;
5779
5900
  trace?: never;
5780
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
+ };
5781
5936
  "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt": {
5782
5937
  parameters: {
5783
5938
  query?: never;
@@ -7125,10 +7280,14 @@ export interface components {
7125
7280
  session_id: string;
7126
7281
  };
7127
7282
  AgentLimitsPayload: {
7283
+ can_spawn_children: boolean;
7128
7284
  context_section_limit: number;
7285
+ governed_spawn_depth: number;
7286
+ max_active_per_workspace?: number;
7129
7287
  max_active_task_leases: number;
7130
7288
  max_children: number;
7131
7289
  max_spawn_depth: number;
7290
+ spawn_blocked_reason?: string;
7132
7291
  };
7133
7292
  AgentMCPServerJSON: {
7134
7293
  args?: string[];
@@ -8404,6 +8563,9 @@ export interface components {
8404
8563
  webhook_secret_value?: string;
8405
8564
  workspace_id?: string;
8406
8565
  };
8566
+ CreateWorkspaceFolderRequest: {
8567
+ name: string;
8568
+ };
8407
8569
  CreateWorkspaceRequest: {
8408
8570
  add_dirs?: string[];
8409
8571
  default_agent?: string;
@@ -11553,6 +11715,10 @@ export interface components {
11553
11715
  MoveSessionRequest: {
11554
11716
  folder_id?: string;
11555
11717
  };
11718
+ MoveWorkspaceRequest: {
11719
+ folder_id?: string;
11720
+ workspace_id: string;
11721
+ };
11556
11722
  NewSessionWorktreeRequest: {
11557
11723
  name?: string;
11558
11724
  };
@@ -11903,6 +12069,12 @@ export interface components {
11903
12069
  reason?: string;
11904
12070
  value: unknown;
11905
12071
  };
12072
+ ProcessesResponse: {
12073
+ groups: components["schemas"]["SessionProcessGroupPayload"][];
12074
+ /** Format: date-time */
12075
+ scanned_at: string;
12076
+ supported: boolean;
12077
+ };
11906
12078
  Profile: {
11907
12079
  /** Format: date-time */
11908
12080
  archived_at?: string | null;
@@ -12525,6 +12697,9 @@ export interface components {
12525
12697
  RenameSessionRequest: {
12526
12698
  name: string;
12527
12699
  };
12700
+ RenameWorkspaceFolderRequest: {
12701
+ name: string;
12702
+ };
12528
12703
  ReorderSessionFoldersRequest: {
12529
12704
  folder_ids: string[];
12530
12705
  };
@@ -12532,6 +12707,13 @@ export interface components {
12532
12707
  folder_id?: string;
12533
12708
  session_ids: string[];
12534
12709
  };
12710
+ ReorderWorkspaceFoldersRequest: {
12711
+ folder_ids: string[];
12712
+ };
12713
+ ReorderWorkspacesRequest: {
12714
+ folder_id?: string;
12715
+ workspace_ids: string[];
12716
+ };
12535
12717
  ReplaceSessionInputRequest: {
12536
12718
  idempotency_key: string;
12537
12719
  message_id: string;
@@ -13295,6 +13477,7 @@ export interface components {
13295
13477
  by_workspace: components["schemas"]["WorkspaceAttentionSummaryPayload"][];
13296
13478
  finished: number;
13297
13479
  needs_you: number;
13480
+ terminal_approvals?: components["schemas"]["TerminalApprovalCountPayload"][];
13298
13481
  };
13299
13482
  SessionBoardCountsPayload: {
13300
13483
  done: number;
@@ -13890,6 +14073,7 @@ export interface components {
13890
14073
  name?: string;
13891
14074
  parent_title?: string;
13892
14075
  pending_interactions: components["schemas"]["PendingInteractionPayload"][];
14076
+ process_summary?: components["schemas"]["SessionProcessSummaryPayload"] | null;
13893
14077
  profile_archived?: boolean;
13894
14078
  profile_color?: string;
13895
14079
  profile_emoji?: string;
@@ -13942,6 +14126,62 @@ export interface components {
13942
14126
  SessionPresenceResponse: {
13943
14127
  lease_id: string;
13944
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
+ };
13945
14185
  SessionProfileFacetsPayload: {
13946
14186
  facets: components["schemas"]["SessionCatalogFacetsPayload"];
13947
14187
  profile_id: string;
@@ -16107,6 +16347,8 @@ export interface components {
16107
16347
  steps_total: number;
16108
16348
  };
16109
16349
  StopSessionRequest: {
16350
+ /** @enum {string} */
16351
+ processes?: "keep" | "terminate";
16110
16352
  wait?: boolean | null;
16111
16353
  };
16112
16354
  StopWhenSpec:
@@ -17336,6 +17578,11 @@ export interface components {
17336
17578
  TerminalAnswerInputRequest: {
17337
17579
  input: string;
17338
17580
  };
17581
+ TerminalApprovalCountPayload: {
17582
+ count: number;
17583
+ profile_id: string;
17584
+ workspace_id: string;
17585
+ };
17339
17586
  TerminalAttachTicketRequest: {
17340
17587
  client_id?: string;
17341
17588
  /** @enum {string} */
@@ -17595,6 +17842,17 @@ export interface components {
17595
17842
  screen: string;
17596
17843
  untrusted: boolean;
17597
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
+ };
17598
17856
  TimelineEntry: {
17599
17857
  /** Format: date-time */
17600
17858
  at: string;
@@ -19652,6 +19910,24 @@ export interface components {
19652
19910
  skills?: components["schemas"]["WorkspaceSkillPayload"][];
19653
19911
  workspace: components["schemas"]["WorkspacePayload"];
19654
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
+ };
19655
19931
  WorkspacePayload: {
19656
19932
  add_dirs: string[];
19657
19933
  /** Format: date-time */
@@ -19666,6 +19942,11 @@ export interface components {
19666
19942
  /** Format: date-time */
19667
19943
  updated_at: string;
19668
19944
  };
19945
+ WorkspacePlacementPayload: {
19946
+ folder_id?: string;
19947
+ position: number;
19948
+ workspace_id: string;
19949
+ };
19669
19950
  WorkspaceProfileHintPayload: {
19670
19951
  action: string;
19671
19952
  message: string;
@@ -29345,49 +29626,60 @@ export interface operations {
29345
29626
  };
29346
29627
  };
29347
29628
  };
29348
- listProfiles: {
29629
+ listProcesses: {
29349
29630
  parameters: {
29350
- 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
+ };
29351
29643
  header?: never;
29352
29644
  path?: never;
29353
29645
  cookie?: never;
29354
29646
  };
29355
29647
  requestBody?: never;
29356
29648
  responses: {
29357
- /** @description OK */
29649
+ /** @description Success */
29358
29650
  200: {
29359
29651
  headers: {
29360
29652
  [name: string]: unknown;
29361
29653
  };
29362
29654
  content: {
29363
- "application/json": components["schemas"]["Profile"][];
29655
+ "application/json": components["schemas"]["ProcessesResponse"];
29364
29656
  };
29365
29657
  };
29366
- /** @description Invalid profile request */
29658
+ /** @description Invalid process request */
29367
29659
  400: {
29368
29660
  headers: {
29369
29661
  [name: string]: unknown;
29370
29662
  };
29371
29663
  content: {
29372
- "application/json": components["schemas"]["ProfileErrorPayload"];
29664
+ "application/json": components["schemas"]["ErrorPayload"];
29373
29665
  };
29374
29666
  };
29375
- /** @description Profile not found */
29376
- 404: {
29667
+ /** @description Process scope denied */
29668
+ 403: {
29377
29669
  headers: {
29378
29670
  [name: string]: unknown;
29379
29671
  };
29380
29672
  content: {
29381
- "application/json": components["schemas"]["ProfileErrorPayload"];
29673
+ "application/json": components["schemas"]["ErrorPayload"];
29382
29674
  };
29383
29675
  };
29384
- /** @description Profile conflict */
29385
- 409: {
29676
+ /** @description Session not found */
29677
+ 404: {
29386
29678
  headers: {
29387
29679
  [name: string]: unknown;
29388
29680
  };
29389
29681
  content: {
29390
- "application/json": components["schemas"]["ProfileErrorPayload"];
29682
+ "application/json": components["schemas"]["ErrorPayload"];
29391
29683
  };
29392
29684
  };
29393
29685
  /** @description Internal server error */
@@ -29396,14 +29688,26 @@ export interface operations {
29396
29688
  [name: string]: unknown;
29397
29689
  };
29398
29690
  content: {
29399
- "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"];
29400
29701
  };
29401
29702
  };
29402
29703
  };
29403
29704
  };
29404
- createProfile: {
29705
+ terminateProcesses: {
29405
29706
  parameters: {
29406
- query?: never;
29707
+ query?: {
29708
+ /** @description Act as this profile by name */
29709
+ profile?: string;
29710
+ };
29407
29711
  header?: never;
29408
29712
  path?: never;
29409
29713
  cookie?: never;
@@ -29411,67 +29715,67 @@ export interface operations {
29411
29715
  /** @description JSON request body */
29412
29716
  requestBody: {
29413
29717
  content: {
29414
- "application/json": components["schemas"]["CreateProfileRequest"];
29718
+ "application/json": components["schemas"]["TerminateProcessesRequest"];
29415
29719
  };
29416
29720
  };
29417
29721
  responses: {
29418
- /** @description OK */
29419
- 201: {
29722
+ /** @description Success */
29723
+ 200: {
29420
29724
  headers: {
29421
29725
  [name: string]: unknown;
29422
29726
  };
29423
29727
  content: {
29424
- "application/json": components["schemas"]["Profile"];
29728
+ "application/json": components["schemas"]["TerminateSessionProcessesResponse"];
29425
29729
  };
29426
29730
  };
29427
- /** @description Invalid profile request */
29731
+ /** @description Invalid process request */
29428
29732
  400: {
29429
29733
  headers: {
29430
29734
  [name: string]: unknown;
29431
29735
  };
29432
29736
  content: {
29433
- "application/json": components["schemas"]["ProfileErrorPayload"];
29737
+ "application/json": components["schemas"]["ErrorPayload"];
29434
29738
  };
29435
29739
  };
29436
- /** @description Remote profile management is forbidden */
29740
+ /** @description Process scope denied */
29437
29741
  403: {
29438
29742
  headers: {
29439
29743
  [name: string]: unknown;
29440
29744
  };
29441
29745
  content: {
29442
- "application/json": components["schemas"]["ProfileErrorPayload"];
29746
+ "application/json": components["schemas"]["ErrorPayload"];
29443
29747
  };
29444
29748
  };
29445
- /** @description Profile not found */
29749
+ /** @description Session not found */
29446
29750
  404: {
29447
29751
  headers: {
29448
29752
  [name: string]: unknown;
29449
29753
  };
29450
29754
  content: {
29451
- "application/json": components["schemas"]["ProfileErrorPayload"];
29755
+ "application/json": components["schemas"]["ErrorPayload"];
29452
29756
  };
29453
29757
  };
29454
- /** @description Profile conflict */
29455
- 409: {
29758
+ /** @description Internal server error */
29759
+ 500: {
29456
29760
  headers: {
29457
29761
  [name: string]: unknown;
29458
29762
  };
29459
29763
  content: {
29460
- "application/json": components["schemas"]["ProfileErrorPayload"];
29764
+ "application/json": components["schemas"]["ErrorPayload"];
29461
29765
  };
29462
29766
  };
29463
- /** @description Internal server error */
29464
- 500: {
29767
+ /** @description Process scanner unavailable */
29768
+ 503: {
29465
29769
  headers: {
29466
29770
  [name: string]: unknown;
29467
29771
  };
29468
29772
  content: {
29469
- "application/json": components["schemas"]["ProfileErrorPayload"];
29773
+ "application/json": components["schemas"]["ErrorPayload"];
29470
29774
  };
29471
29775
  };
29472
29776
  };
29473
29777
  };
29474
- listProfileOperations: {
29778
+ listProfiles: {
29475
29779
  parameters: {
29476
29780
  query?: never;
29477
29781
  header?: never;
@@ -29486,7 +29790,133 @@ export interface operations {
29486
29790
  [name: string]: unknown;
29487
29791
  };
29488
29792
  content: {
29489
- "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"][];
29490
29920
  };
29491
29921
  };
29492
29922
  /** @description Invalid profile request */
@@ -41688,6 +42118,567 @@ export interface operations {
41688
42118
  };
41689
42119
  };
41690
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
+ };
41691
42682
  listWorkspaces: {
41692
42683
  parameters: {
41693
42684
  query?: {
@@ -46219,6 +47210,8 @@ export interface operations {
46219
47210
  deleteSession: {
46220
47211
  parameters: {
46221
47212
  query?: {
47213
+ /** @description Keep (default) or terminate attributed session processes */
47214
+ processes?: "keep" | "terminate";
46222
47215
  /** @description Act as this profile by name */
46223
47216
  profile?: string;
46224
47217
  };
@@ -46240,6 +47233,15 @@ export interface operations {
46240
47233
  };
46241
47234
  content?: never;
46242
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
+ };
46243
47245
  /** @description Session not found */
46244
47246
  404: {
46245
47247
  headers: {
@@ -46249,6 +47251,15 @@ export interface operations {
46249
47251
  "application/json": components["schemas"]["ErrorPayload"];
46250
47252
  };
46251
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
+ };
46252
47263
  /** @description Internal server error */
46253
47264
  500: {
46254
47265
  headers: {
@@ -46258,6 +47269,15 @@ export interface operations {
46258
47269
  "application/json": components["schemas"]["ErrorPayload"];
46259
47270
  };
46260
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
+ };
46261
47281
  };
46262
47282
  };
46263
47283
  renameSession: {
@@ -46389,6 +47409,8 @@ export interface operations {
46389
47409
  archiveSession: {
46390
47410
  parameters: {
46391
47411
  query?: {
47412
+ /** @description Keep (default) or terminate attributed session processes */
47413
+ processes?: "keep" | "terminate";
46392
47414
  /** @description Stop a live session through the normal stop path before archiving it; a failed stop leaves it unarchived */
46393
47415
  stop?: boolean;
46394
47416
  /** @description Act as this profile by name */
@@ -47834,7 +48856,459 @@ export interface operations {
47834
48856
  };
47835
48857
  };
47836
48858
  };
47837
- listSessionMonitors: {
48859
+ listSessionMonitors: {
48860
+ parameters: {
48861
+ query?: {
48862
+ /** @description Read one profile's rows by name */
48863
+ profile?: string;
48864
+ /** @description Read the owner-labeled all-profiles aggregate */
48865
+ all_profiles?: boolean;
48866
+ };
48867
+ header?: never;
48868
+ path: {
48869
+ /** @description Workspace id */
48870
+ workspace_id: string;
48871
+ /** @description Session id */
48872
+ session_id: string;
48873
+ };
48874
+ cookie?: never;
48875
+ };
48876
+ requestBody?: never;
48877
+ responses: {
48878
+ /** @description Success */
48879
+ 200: {
48880
+ headers: {
48881
+ [name: string]: unknown;
48882
+ };
48883
+ content: {
48884
+ "application/json": components["schemas"]["SessionMonitorsResponse"];
48885
+ };
48886
+ };
48887
+ /** @description Invalid profile selection */
48888
+ 400: {
48889
+ headers: {
48890
+ [name: string]: unknown;
48891
+ };
48892
+ content: {
48893
+ "application/json": components["schemas"]["ProfileErrorPayload"];
48894
+ };
48895
+ };
48896
+ /** @description Session or monitor not found */
48897
+ 404: {
48898
+ headers: {
48899
+ [name: string]: unknown;
48900
+ };
48901
+ content: {
48902
+ "application/json": components["schemas"]["ErrorPayload"];
48903
+ };
48904
+ };
48905
+ /** @description Internal server error */
48906
+ 500: {
48907
+ headers: {
48908
+ [name: string]: unknown;
48909
+ };
48910
+ content: {
48911
+ "application/json": components["schemas"]["ErrorPayload"];
48912
+ };
48913
+ };
48914
+ /** @description Session monitors unavailable */
48915
+ 503: {
48916
+ headers: {
48917
+ [name: string]: unknown;
48918
+ };
48919
+ content: {
48920
+ "application/json": components["schemas"]["ErrorPayload"];
48921
+ };
48922
+ };
48923
+ };
48924
+ };
48925
+ cancelSessionMonitor: {
48926
+ parameters: {
48927
+ query?: {
48928
+ /** @description Act as this profile by name */
48929
+ profile?: string;
48930
+ };
48931
+ header?: never;
48932
+ path: {
48933
+ /** @description Workspace id */
48934
+ workspace_id: string;
48935
+ /** @description Session id */
48936
+ session_id: string;
48937
+ /** @description Monitor id */
48938
+ monitor_id: string;
48939
+ };
48940
+ cookie?: never;
48941
+ };
48942
+ requestBody?: never;
48943
+ responses: {
48944
+ /** @description Success */
48945
+ 200: {
48946
+ headers: {
48947
+ [name: string]: unknown;
48948
+ };
48949
+ content: {
48950
+ "application/json": components["schemas"]["SessionMonitorResponse"];
48951
+ };
48952
+ };
48953
+ /** @description Invalid profile selection */
48954
+ 400: {
48955
+ headers: {
48956
+ [name: string]: unknown;
48957
+ };
48958
+ content: {
48959
+ "application/json": components["schemas"]["ProfileErrorPayload"];
48960
+ };
48961
+ };
48962
+ /** @description Session or monitor not found */
48963
+ 404: {
48964
+ headers: {
48965
+ [name: string]: unknown;
48966
+ };
48967
+ content: {
48968
+ "application/json": components["schemas"]["ErrorPayload"];
48969
+ };
48970
+ };
48971
+ /** @description Internal server error */
48972
+ 500: {
48973
+ headers: {
48974
+ [name: string]: unknown;
48975
+ };
48976
+ content: {
48977
+ "application/json": components["schemas"]["ErrorPayload"];
48978
+ };
48979
+ };
48980
+ /** @description Session monitors unavailable */
48981
+ 503: {
48982
+ headers: {
48983
+ [name: string]: unknown;
48984
+ };
48985
+ content: {
48986
+ "application/json": components["schemas"]["ErrorPayload"];
48987
+ };
48988
+ };
48989
+ };
48990
+ };
48991
+ moveSession: {
48992
+ parameters: {
48993
+ query?: {
48994
+ /** @description Act as this profile by name */
48995
+ profile?: string;
48996
+ };
48997
+ header?: never;
48998
+ path: {
48999
+ /** @description Workspace id */
49000
+ workspace_id: string;
49001
+ /** @description Session id */
49002
+ session_id: string;
49003
+ };
49004
+ cookie?: never;
49005
+ };
49006
+ /** @description JSON request body */
49007
+ requestBody: {
49008
+ content: {
49009
+ "application/json": components["schemas"]["MoveSessionRequest"];
49010
+ };
49011
+ };
49012
+ responses: {
49013
+ /** @description OK */
49014
+ 200: {
49015
+ headers: {
49016
+ [name: string]: unknown;
49017
+ };
49018
+ content: {
49019
+ "application/json": components["schemas"]["SessionFoldersResponse"];
49020
+ };
49021
+ };
49022
+ /** @description Invalid layout request */
49023
+ 400: {
49024
+ headers: {
49025
+ [name: string]: unknown;
49026
+ };
49027
+ content: {
49028
+ "application/json": components["schemas"]["ErrorPayload"];
49029
+ };
49030
+ };
49031
+ /** @description Workspace, session, or folder not found */
49032
+ 404: {
49033
+ headers: {
49034
+ [name: string]: unknown;
49035
+ };
49036
+ content: {
49037
+ "application/json": components["schemas"]["ErrorPayload"];
49038
+ };
49039
+ };
49040
+ /** @description Layout conflict, folder limit, or subagent session */
49041
+ 409: {
49042
+ headers: {
49043
+ [name: string]: unknown;
49044
+ };
49045
+ content: {
49046
+ "application/json": components["schemas"]["ErrorPayload"];
49047
+ };
49048
+ };
49049
+ /** @description Internal server error */
49050
+ 500: {
49051
+ headers: {
49052
+ [name: string]: unknown;
49053
+ };
49054
+ content: {
49055
+ "application/json": components["schemas"]["ErrorPayload"];
49056
+ };
49057
+ };
49058
+ /** @description Session layout unavailable */
49059
+ 503: {
49060
+ headers: {
49061
+ [name: string]: unknown;
49062
+ };
49063
+ content: {
49064
+ "application/json": components["schemas"]["ErrorPayload"];
49065
+ };
49066
+ };
49067
+ };
49068
+ };
49069
+ setSessionParent: {
49070
+ parameters: {
49071
+ query?: {
49072
+ /** @description Act as this profile by name */
49073
+ profile?: string;
49074
+ };
49075
+ header?: never;
49076
+ path: {
49077
+ /** @description Workspace id */
49078
+ workspace_id: string;
49079
+ /** @description Session id */
49080
+ session_id: string;
49081
+ };
49082
+ cookie?: never;
49083
+ };
49084
+ /** @description JSON request body */
49085
+ requestBody: {
49086
+ content: {
49087
+ "application/json": components["schemas"]["SetSessionParentRequest"];
49088
+ };
49089
+ };
49090
+ responses: {
49091
+ /** @description OK */
49092
+ 200: {
49093
+ headers: {
49094
+ [name: string]: unknown;
49095
+ };
49096
+ content: {
49097
+ "application/json": components["schemas"]["SessionResponse"];
49098
+ };
49099
+ };
49100
+ /** @description Invalid reparent request */
49101
+ 400: {
49102
+ headers: {
49103
+ [name: string]: unknown;
49104
+ };
49105
+ content: {
49106
+ "application/json": components["schemas"]["ErrorPayload"];
49107
+ };
49108
+ };
49109
+ /** @description Session not found */
49110
+ 404: {
49111
+ headers: {
49112
+ [name: string]: unknown;
49113
+ };
49114
+ content: {
49115
+ "application/json": components["schemas"]["ErrorPayload"];
49116
+ };
49117
+ };
49118
+ /** @description Reparent refused by a lineage rule; code names the rule */
49119
+ 409: {
49120
+ headers: {
49121
+ [name: string]: unknown;
49122
+ };
49123
+ content: {
49124
+ "application/json": components["schemas"]["ErrorPayload"];
49125
+ };
49126
+ };
49127
+ /** @description Internal server error */
49128
+ 500: {
49129
+ headers: {
49130
+ [name: string]: unknown;
49131
+ };
49132
+ content: {
49133
+ "application/json": components["schemas"]["ErrorPayload"];
49134
+ };
49135
+ };
49136
+ /** @description Session reparent unavailable */
49137
+ 503: {
49138
+ headers: {
49139
+ [name: string]: unknown;
49140
+ };
49141
+ content: {
49142
+ "application/json": components["schemas"]["ErrorPayload"];
49143
+ };
49144
+ };
49145
+ };
49146
+ };
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: {
49221
+ parameters: {
49222
+ query?: never;
49223
+ header?: never;
49224
+ path: {
49225
+ /** @description Workspace id */
49226
+ workspace_id: string;
49227
+ /** @description Session id */
49228
+ session_id: string;
49229
+ };
49230
+ cookie?: never;
49231
+ };
49232
+ /** @description JSON request body */
49233
+ requestBody: {
49234
+ content: {
49235
+ "application/json": components["schemas"]["SessionPresenceRequest"];
49236
+ };
49237
+ };
49238
+ responses: {
49239
+ /** @description Presence lease acquired */
49240
+ 200: {
49241
+ headers: {
49242
+ [name: string]: unknown;
49243
+ };
49244
+ content: {
49245
+ "application/json": components["schemas"]["SessionPresenceResponse"];
49246
+ };
49247
+ };
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 */
49256
+ 400: {
49257
+ headers: {
49258
+ [name: string]: unknown;
49259
+ };
49260
+ content: {
49261
+ "application/json": components["schemas"]["ErrorPayload"];
49262
+ };
49263
+ };
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 */
49274
+ 404: {
49275
+ headers: {
49276
+ [name: string]: unknown;
49277
+ };
49278
+ content: {
49279
+ "application/json": components["schemas"]["ErrorPayload"];
49280
+ };
49281
+ };
49282
+ /** @description Presence lease ownership mismatch */
49283
+ 409: {
49284
+ headers: {
49285
+ [name: string]: unknown;
49286
+ };
49287
+ content: {
49288
+ "application/json": components["schemas"]["ErrorPayload"];
49289
+ };
49290
+ };
49291
+ /** @description Internal server error */
49292
+ 500: {
49293
+ headers: {
49294
+ [name: string]: unknown;
49295
+ };
49296
+ content: {
49297
+ "application/json": components["schemas"]["ErrorPayload"];
49298
+ };
49299
+ };
49300
+ /** @description Session attention is unavailable */
49301
+ 503: {
49302
+ headers: {
49303
+ [name: string]: unknown;
49304
+ };
49305
+ content: {
49306
+ "application/json": components["schemas"]["ErrorPayload"];
49307
+ };
49308
+ };
49309
+ };
49310
+ };
49311
+ listSessionProcesses: {
47838
49312
  parameters: {
47839
49313
  query?: {
47840
49314
  /** @description Read one profile's rows by name */
@@ -47859,86 +49333,11 @@ export interface operations {
47859
49333
  [name: string]: unknown;
47860
49334
  };
47861
49335
  content: {
47862
- "application/json": components["schemas"]["SessionMonitorsResponse"];
47863
- };
47864
- };
47865
- /** @description Invalid profile selection */
47866
- 400: {
47867
- headers: {
47868
- [name: string]: unknown;
47869
- };
47870
- content: {
47871
- "application/json": components["schemas"]["ProfileErrorPayload"];
47872
- };
47873
- };
47874
- /** @description Session or monitor not found */
47875
- 404: {
47876
- headers: {
47877
- [name: string]: unknown;
47878
- };
47879
- content: {
47880
- "application/json": components["schemas"]["ErrorPayload"];
47881
- };
47882
- };
47883
- /** @description Internal server error */
47884
- 500: {
47885
- headers: {
47886
- [name: string]: unknown;
47887
- };
47888
- content: {
47889
- "application/json": components["schemas"]["ErrorPayload"];
47890
- };
47891
- };
47892
- /** @description Session monitors unavailable */
47893
- 503: {
47894
- headers: {
47895
- [name: string]: unknown;
47896
- };
47897
- content: {
47898
- "application/json": components["schemas"]["ErrorPayload"];
47899
- };
47900
- };
47901
- };
47902
- };
47903
- cancelSessionMonitor: {
47904
- parameters: {
47905
- query?: {
47906
- /** @description Act as this profile by name */
47907
- profile?: string;
47908
- };
47909
- header?: never;
47910
- path: {
47911
- /** @description Workspace id */
47912
- workspace_id: string;
47913
- /** @description Session id */
47914
- session_id: string;
47915
- /** @description Monitor id */
47916
- monitor_id: string;
47917
- };
47918
- cookie?: never;
47919
- };
47920
- requestBody?: never;
47921
- responses: {
47922
- /** @description Success */
47923
- 200: {
47924
- headers: {
47925
- [name: string]: unknown;
47926
- };
47927
- content: {
47928
- "application/json": components["schemas"]["SessionMonitorResponse"];
49336
+ "application/json": components["schemas"]["SessionProcessesResponse"];
47929
49337
  };
47930
49338
  };
47931
- /** @description Invalid profile selection */
49339
+ /** @description Invalid process request */
47932
49340
  400: {
47933
- headers: {
47934
- [name: string]: unknown;
47935
- };
47936
- content: {
47937
- "application/json": components["schemas"]["ProfileErrorPayload"];
47938
- };
47939
- };
47940
- /** @description Session or monitor not found */
47941
- 404: {
47942
49341
  headers: {
47943
49342
  [name: string]: unknown;
47944
49343
  };
@@ -47946,137 +49345,8 @@ export interface operations {
47946
49345
  "application/json": components["schemas"]["ErrorPayload"];
47947
49346
  };
47948
49347
  };
47949
- /** @description Internal server error */
47950
- 500: {
47951
- headers: {
47952
- [name: string]: unknown;
47953
- };
47954
- content: {
47955
- "application/json": components["schemas"]["ErrorPayload"];
47956
- };
47957
- };
47958
- /** @description Session monitors unavailable */
47959
- 503: {
47960
- headers: {
47961
- [name: string]: unknown;
47962
- };
47963
- content: {
47964
- "application/json": components["schemas"]["ErrorPayload"];
47965
- };
47966
- };
47967
- };
47968
- };
47969
- moveSession: {
47970
- parameters: {
47971
- query?: {
47972
- /** @description Act as this profile by name */
47973
- profile?: string;
47974
- };
47975
- header?: never;
47976
- path: {
47977
- /** @description Workspace id */
47978
- workspace_id: string;
47979
- /** @description Session id */
47980
- session_id: string;
47981
- };
47982
- cookie?: never;
47983
- };
47984
- /** @description JSON request body */
47985
- requestBody: {
47986
- content: {
47987
- "application/json": components["schemas"]["MoveSessionRequest"];
47988
- };
47989
- };
47990
- responses: {
47991
- /** @description OK */
47992
- 200: {
47993
- headers: {
47994
- [name: string]: unknown;
47995
- };
47996
- content: {
47997
- "application/json": components["schemas"]["SessionFoldersResponse"];
47998
- };
47999
- };
48000
- /** @description Invalid layout request */
48001
- 400: {
48002
- headers: {
48003
- [name: string]: unknown;
48004
- };
48005
- content: {
48006
- "application/json": components["schemas"]["ErrorPayload"];
48007
- };
48008
- };
48009
- /** @description Workspace, session, or folder not found */
48010
- 404: {
48011
- headers: {
48012
- [name: string]: unknown;
48013
- };
48014
- content: {
48015
- "application/json": components["schemas"]["ErrorPayload"];
48016
- };
48017
- };
48018
- /** @description Layout conflict, folder limit, or subagent session */
48019
- 409: {
48020
- headers: {
48021
- [name: string]: unknown;
48022
- };
48023
- content: {
48024
- "application/json": components["schemas"]["ErrorPayload"];
48025
- };
48026
- };
48027
- /** @description Internal server error */
48028
- 500: {
48029
- headers: {
48030
- [name: string]: unknown;
48031
- };
48032
- content: {
48033
- "application/json": components["schemas"]["ErrorPayload"];
48034
- };
48035
- };
48036
- /** @description Session layout unavailable */
48037
- 503: {
48038
- headers: {
48039
- [name: string]: unknown;
48040
- };
48041
- content: {
48042
- "application/json": components["schemas"]["ErrorPayload"];
48043
- };
48044
- };
48045
- };
48046
- };
48047
- setSessionParent: {
48048
- parameters: {
48049
- query?: {
48050
- /** @description Act as this profile by name */
48051
- profile?: string;
48052
- };
48053
- header?: never;
48054
- path: {
48055
- /** @description Workspace id */
48056
- workspace_id: string;
48057
- /** @description Session id */
48058
- session_id: string;
48059
- };
48060
- cookie?: never;
48061
- };
48062
- /** @description JSON request body */
48063
- requestBody: {
48064
- content: {
48065
- "application/json": components["schemas"]["SetSessionParentRequest"];
48066
- };
48067
- };
48068
- responses: {
48069
- /** @description OK */
48070
- 200: {
48071
- headers: {
48072
- [name: string]: unknown;
48073
- };
48074
- content: {
48075
- "application/json": components["schemas"]["SessionResponse"];
48076
- };
48077
- };
48078
- /** @description Invalid reparent request */
48079
- 400: {
49348
+ /** @description Process scope denied */
49349
+ 403: {
48080
49350
  headers: {
48081
49351
  [name: string]: unknown;
48082
49352
  };
@@ -48093,15 +49363,6 @@ export interface operations {
48093
49363
  "application/json": components["schemas"]["ErrorPayload"];
48094
49364
  };
48095
49365
  };
48096
- /** @description Reparent refused by a lineage rule; code names the rule */
48097
- 409: {
48098
- headers: {
48099
- [name: string]: unknown;
48100
- };
48101
- content: {
48102
- "application/json": components["schemas"]["ErrorPayload"];
48103
- };
48104
- };
48105
49366
  /** @description Internal server error */
48106
49367
  500: {
48107
49368
  headers: {
@@ -48111,7 +49372,7 @@ export interface operations {
48111
49372
  "application/json": components["schemas"]["ErrorPayload"];
48112
49373
  };
48113
49374
  };
48114
- /** @description Session reparent unavailable */
49375
+ /** @description Process scanner unavailable */
48115
49376
  503: {
48116
49377
  headers: {
48117
49378
  [name: string]: unknown;
@@ -48122,7 +49383,7 @@ export interface operations {
48122
49383
  };
48123
49384
  };
48124
49385
  };
48125
- clearSessionParent: {
49386
+ terminateSessionProcesses: {
48126
49387
  parameters: {
48127
49388
  query?: {
48128
49389
  /** @description Act as this profile by name */
@@ -48137,100 +49398,23 @@ export interface operations {
48137
49398
  };
48138
49399
  cookie?: never;
48139
49400
  };
48140
- requestBody?: never;
48141
- responses: {
48142
- /** @description OK */
48143
- 200: {
48144
- headers: {
48145
- [name: string]: unknown;
48146
- };
48147
- content: {
48148
- "application/json": components["schemas"]["SessionResponse"];
48149
- };
48150
- };
48151
- /** @description Invalid reparent request */
48152
- 400: {
48153
- headers: {
48154
- [name: string]: unknown;
48155
- };
48156
- content: {
48157
- "application/json": components["schemas"]["ErrorPayload"];
48158
- };
48159
- };
48160
- /** @description Session not found */
48161
- 404: {
48162
- headers: {
48163
- [name: string]: unknown;
48164
- };
48165
- content: {
48166
- "application/json": components["schemas"]["ErrorPayload"];
48167
- };
48168
- };
48169
- /** @description Reparent refused by a lineage rule; code names the rule */
48170
- 409: {
48171
- headers: {
48172
- [name: string]: unknown;
48173
- };
48174
- content: {
48175
- "application/json": components["schemas"]["ErrorPayload"];
48176
- };
48177
- };
48178
- /** @description Internal server error */
48179
- 500: {
48180
- headers: {
48181
- [name: string]: unknown;
48182
- };
48183
- content: {
48184
- "application/json": components["schemas"]["ErrorPayload"];
48185
- };
48186
- };
48187
- /** @description Session reparent unavailable */
48188
- 503: {
48189
- headers: {
48190
- [name: string]: unknown;
48191
- };
48192
- content: {
48193
- "application/json": components["schemas"]["ErrorPayload"];
48194
- };
48195
- };
48196
- };
48197
- };
48198
- updateSessionPresence: {
48199
- parameters: {
48200
- query?: never;
48201
- header?: never;
48202
- path: {
48203
- /** @description Workspace id */
48204
- workspace_id: string;
48205
- /** @description Session id */
48206
- session_id: string;
48207
- };
48208
- cookie?: never;
48209
- };
48210
49401
  /** @description JSON request body */
48211
49402
  requestBody: {
48212
49403
  content: {
48213
- "application/json": components["schemas"]["SessionPresenceRequest"];
49404
+ "application/json": components["schemas"]["TerminateSessionProcessesRequest"];
48214
49405
  };
48215
49406
  };
48216
49407
  responses: {
48217
- /** @description Presence lease acquired */
49408
+ /** @description Success */
48218
49409
  200: {
48219
49410
  headers: {
48220
49411
  [name: string]: unknown;
48221
49412
  };
48222
49413
  content: {
48223
- "application/json": components["schemas"]["SessionPresenceResponse"];
49414
+ "application/json": components["schemas"]["TerminateSessionProcessesResponse"];
48224
49415
  };
48225
49416
  };
48226
- /** @description Presence lease renewed or released */
48227
- 204: {
48228
- headers: {
48229
- [name: string]: unknown;
48230
- };
48231
- content?: never;
48232
- };
48233
- /** @description Invalid presence request */
49417
+ /** @description Invalid process request */
48234
49418
  400: {
48235
49419
  headers: {
48236
49420
  [name: string]: unknown;
@@ -48239,7 +49423,7 @@ export interface operations {
48239
49423
  "application/json": components["schemas"]["ErrorPayload"];
48240
49424
  };
48241
49425
  };
48242
- /** @description Agent identity is denied */
49426
+ /** @description Process scope denied */
48243
49427
  403: {
48244
49428
  headers: {
48245
49429
  [name: string]: unknown;
@@ -48248,7 +49432,7 @@ export interface operations {
48248
49432
  "application/json": components["schemas"]["ErrorPayload"];
48249
49433
  };
48250
49434
  };
48251
- /** @description Session or lease not found */
49435
+ /** @description Session not found */
48252
49436
  404: {
48253
49437
  headers: {
48254
49438
  [name: string]: unknown;
@@ -48257,15 +49441,6 @@ export interface operations {
48257
49441
  "application/json": components["schemas"]["ErrorPayload"];
48258
49442
  };
48259
49443
  };
48260
- /** @description Presence lease ownership mismatch */
48261
- 409: {
48262
- headers: {
48263
- [name: string]: unknown;
48264
- };
48265
- content: {
48266
- "application/json": components["schemas"]["ErrorPayload"];
48267
- };
48268
- };
48269
49444
  /** @description Internal server error */
48270
49445
  500: {
48271
49446
  headers: {
@@ -48275,7 +49450,7 @@ export interface operations {
48275
49450
  "application/json": components["schemas"]["ErrorPayload"];
48276
49451
  };
48277
49452
  };
48278
- /** @description Session attention is unavailable */
49453
+ /** @description Process scanner unavailable */
48279
49454
  503: {
48280
49455
  headers: {
48281
49456
  [name: string]: unknown;
@@ -49285,6 +50460,15 @@ export interface operations {
49285
50460
  "application/json": components["schemas"]["ErrorPayload"];
49286
50461
  };
49287
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
+ };
49288
50472
  /** @description Internal server error */
49289
50473
  500: {
49290
50474
  headers: {
@@ -49294,7 +50478,7 @@ export interface operations {
49294
50478
  "application/json": components["schemas"]["ErrorPayload"];
49295
50479
  };
49296
50480
  };
49297
- /** @description Stop manager unavailable */
50481
+ /** @description Service unavailable - dependent service missing */
49298
50482
  503: {
49299
50483
  headers: {
49300
50484
  [name: string]: unknown;