@compozy/client 0.5.0 → 0.5.1

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.
@@ -14,7 +14,7 @@ export interface paths {
14
14
  /** List agent instances */
15
15
  get: operations["listAgentInstances"];
16
16
  put?: never;
17
- /** Create a stays-on agent instance */
17
+ /** Create an always-on agent instance */
18
18
  post: operations["createAgentInstance"];
19
19
  delete?: never;
20
20
  options?: never;
@@ -659,6 +659,41 @@ export interface paths {
659
659
  patch?: never;
660
660
  trace?: never;
661
661
  };
662
+ "/api/agents/{name}/heartbeat/scripts/{script}/approve": {
663
+ parameters: {
664
+ query?: never;
665
+ header?: never;
666
+ path?: never;
667
+ cookie?: never;
668
+ };
669
+ get?: never;
670
+ put?: never;
671
+ /** Approve exact source script bytes (operator only) */
672
+ post: operations["approveAgentHeartbeatScript"];
673
+ /** Revoke a source script approval (operator only) */
674
+ delete: operations["revokeAgentHeartbeatScript"];
675
+ options?: never;
676
+ head?: never;
677
+ patch?: never;
678
+ trace?: never;
679
+ };
680
+ "/api/agents/{name}/heartbeat/sources": {
681
+ parameters: {
682
+ query?: never;
683
+ header?: never;
684
+ path?: never;
685
+ cookie?: never;
686
+ };
687
+ /** List check-in source kinds, scripts and effective limits */
688
+ get: operations["getAgentHeartbeatSources"];
689
+ put?: never;
690
+ post?: never;
691
+ delete?: never;
692
+ options?: never;
693
+ head?: never;
694
+ patch?: never;
695
+ trace?: never;
696
+ };
662
697
  "/api/agents/{name}/heartbeat/status": {
663
698
  parameters: {
664
699
  query?: never;
@@ -1337,6 +1372,23 @@ export interface paths {
1337
1372
  patch?: never;
1338
1373
  trace?: never;
1339
1374
  };
1375
+ "/api/daemon/profile/{kind}": {
1376
+ parameters: {
1377
+ query?: never;
1378
+ header?: never;
1379
+ path?: never;
1380
+ cookie?: never;
1381
+ };
1382
+ /** Capture a runtime profile over the local socket */
1383
+ get: operations["captureDaemonProfile"];
1384
+ put?: never;
1385
+ post?: never;
1386
+ delete?: never;
1387
+ options?: never;
1388
+ head?: never;
1389
+ patch?: never;
1390
+ trace?: never;
1391
+ };
1340
1392
  "/api/doctor": {
1341
1393
  parameters: {
1342
1394
  query?: never;
@@ -4701,7 +4753,7 @@ export interface paths {
4701
4753
  path?: never;
4702
4754
  cookie?: never;
4703
4755
  };
4704
- /** Stream one profile-scoped terminal catalog */
4756
+ /** Stream the workspace terminal catalog */
4705
4757
  get: operations["streamTerminalsAggregate"];
4706
4758
  put?: never;
4707
4759
  post?: never;
@@ -6332,6 +6384,23 @@ export interface paths {
6332
6384
  patch?: never;
6333
6385
  trace?: never;
6334
6386
  };
6387
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/mark-seen": {
6388
+ parameters: {
6389
+ query?: never;
6390
+ header?: never;
6391
+ path?: never;
6392
+ cookie?: never;
6393
+ };
6394
+ get?: never;
6395
+ put?: never;
6396
+ /** Mark a session's Needs you as seen until its next occurrence; a session waiting on an answer, a sign-in, or a stop is refused */
6397
+ post: operations["markSessionSeen"];
6398
+ delete?: never;
6399
+ options?: never;
6400
+ head?: never;
6401
+ patch?: never;
6402
+ trace?: never;
6403
+ };
6335
6404
  "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors": {
6336
6405
  parameters: {
6337
6406
  query?: never;
@@ -6383,6 +6452,23 @@ export interface paths {
6383
6452
  patch?: never;
6384
6453
  trace?: never;
6385
6454
  };
6455
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/move-to-profile": {
6456
+ parameters: {
6457
+ query?: never;
6458
+ header?: never;
6459
+ path?: never;
6460
+ cookie?: never;
6461
+ };
6462
+ get?: never;
6463
+ put?: never;
6464
+ /** Copy a stopped user session into another profile and archive the original */
6465
+ post: operations["moveSessionToProfile"];
6466
+ delete?: never;
6467
+ options?: never;
6468
+ head?: never;
6469
+ patch?: never;
6470
+ trace?: never;
6471
+ };
6386
6472
  "/api/workspaces/{workspace_id}/sessions/{session_id}/parent": {
6387
6473
  parameters: {
6388
6474
  query?: never;
@@ -7076,7 +7162,7 @@ export interface paths {
7076
7162
  path?: never;
7077
7163
  cookie?: never;
7078
7164
  };
7079
- /** Stream one profile-scoped terminal catalog */
7165
+ /** Stream the workspace terminal catalog */
7080
7166
  get: operations["streamTerminalCatalog"];
7081
7167
  put?: never;
7082
7168
  post?: never;
@@ -7876,6 +7962,7 @@ export interface components {
7876
7962
  };
7877
7963
  AgentInstanceCheckDigest: {
7878
7964
  key: string;
7965
+ source?: components["schemas"]["AgentInstanceProposalSource"] | null;
7879
7966
  summary: string;
7880
7967
  };
7881
7968
  AgentInstanceCheckInPayload: {
@@ -7897,6 +7984,7 @@ export interface components {
7897
7984
  digest: components["schemas"]["AgentInstanceCheckDigest"][];
7898
7985
  gate?: string;
7899
7986
  occurrence_id?: string;
7987
+ sources?: components["schemas"]["SourceOutcome"][];
7900
7988
  };
7901
7989
  AgentInstanceCreateRequest: {
7902
7990
  agent: string;
@@ -7943,6 +8031,7 @@ export interface components {
7943
8031
  now: string;
7944
8032
  pause_reason: string;
7945
8033
  profile_id: string;
8034
+ profile_name: string;
7946
8035
  provider: string;
7947
8036
  /** Format: int64 */
7948
8037
  quiet_streak: number;
@@ -7950,6 +8039,7 @@ export interface components {
7950
8039
  [key: string]: unknown;
7951
8040
  };
7952
8041
  scope: string;
8042
+ sources: components["schemas"]["HeartbeatSourceStatus"][];
7953
8043
  state: string;
7954
8044
  /** Format: int64 */
7955
8045
  unattended_turn_limit: number;
@@ -7973,10 +8063,14 @@ export interface components {
7973
8063
  };
7974
8064
  AgentInstanceProposalSource: {
7975
8065
  event_id: string;
8066
+ item_key?: string;
7976
8067
  kind: string;
7977
8068
  received_at: string;
7978
8069
  run_id: string;
8070
+ source_id?: string;
8071
+ source_ref?: string;
7979
8072
  trigger_id: string;
8073
+ url?: string;
7980
8074
  };
7981
8075
  AgentInstanceReportPayload: {
7982
8076
  action?: string;
@@ -7999,9 +8093,13 @@ export interface components {
7999
8093
  };
8000
8094
  AgentInstanceReportSource: {
8001
8095
  event: string;
8096
+ item_key?: string;
8002
8097
  kind: string;
8098
+ source_id?: string;
8099
+ source_ref?: string;
8003
8100
  summary?: string;
8004
8101
  trigger_name: string;
8102
+ url?: string;
8005
8103
  };
8006
8104
  AgentInstanceReportsResponse: {
8007
8105
  next_cursor: string;
@@ -9282,8 +9380,11 @@ export interface components {
9282
9380
  description?: string | null;
9283
9381
  display_name?: string | null;
9284
9382
  fallback_chain?: components["schemas"]["AgentFallbackRoutePayload"][];
9285
- /** @enum {string} */
9286
- kind?: "on_demand" | "stays_on";
9383
+ /**
9384
+ * @description Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
9385
+ * @enum {string}
9386
+ */
9387
+ kind?: "on_demand" | "always_on" | "stays_on";
9287
9388
  label?: string;
9288
9389
  model?: string;
9289
9390
  name: string;
@@ -9591,7 +9692,11 @@ export interface components {
9591
9692
  deny_tools?: string[];
9592
9693
  description?: string | null;
9593
9694
  display_name?: string | null;
9594
- kind?: string;
9695
+ /**
9696
+ * @description Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
9697
+ * @enum {string}
9698
+ */
9699
+ kind?: "on_demand" | "always_on" | "stays_on";
9595
9700
  model?: string;
9596
9701
  permission_rules?: components["schemas"]["AgentPermissionRulePayload"][];
9597
9702
  /** @enum {string} */
@@ -9611,8 +9716,11 @@ export interface components {
9611
9716
  workspace_access?: string;
9612
9717
  };
9613
9718
  DuplicateAgentRequest: {
9614
- /** @enum {string} */
9615
- kind?: "on_demand" | "stays_on";
9719
+ /**
9720
+ * @description Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
9721
+ * @enum {string}
9722
+ */
9723
+ kind?: "on_demand" | "always_on" | "stays_on";
9616
9724
  name: string;
9617
9725
  overrides?: components["schemas"]["DuplicateAgentOverrides"] | null;
9618
9726
  /** @enum {string} */
@@ -9662,6 +9770,10 @@ export interface components {
9662
9770
  /** Format: int64 */
9663
9771
  start_sequence: number;
9664
9772
  };
9773
+ Error: {
9774
+ code: string;
9775
+ detail: string;
9776
+ };
9665
9777
  ErrorPayload: {
9666
9778
  blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
9667
9779
  code?: string;
@@ -10933,6 +11045,7 @@ export interface components {
10933
11045
  };
10934
11046
  HeartbeatContextProjectionPayload: {
10935
11047
  include?: string[];
11048
+ sources?: components["schemas"]["Ref"][];
10936
11049
  };
10937
11050
  HeartbeatDeleteByPathRequest: {
10938
11051
  expected_digest: string;
@@ -11030,6 +11143,50 @@ export interface components {
11030
11143
  target_digest?: string;
11031
11144
  workspace_id?: string;
11032
11145
  };
11146
+ HeartbeatScriptApprovalPayload: {
11147
+ /** Format: date-time */
11148
+ approved_at: string;
11149
+ script: string;
11150
+ sha256: string;
11151
+ };
11152
+ HeartbeatScriptApprovalRequest: {
11153
+ sha256: string;
11154
+ };
11155
+ HeartbeatSourceCatalogPayload: {
11156
+ agent: string;
11157
+ kinds: components["schemas"]["KindDescriptor"][];
11158
+ limits: components["schemas"]["HeartbeatSourceLimitsPayload"];
11159
+ scripts: components["schemas"]["HeartbeatSourceScriptPayload"][];
11160
+ scripts_enabled: boolean;
11161
+ };
11162
+ HeartbeatSourceLimitsPayload: {
11163
+ max_items: number;
11164
+ max_per_agent: number;
11165
+ };
11166
+ HeartbeatSourceScriptPayload: {
11167
+ approved: boolean;
11168
+ approved_sha256: string | null;
11169
+ executable: boolean;
11170
+ /** Format: date-time */
11171
+ last_modified?: string | null;
11172
+ line_count?: number;
11173
+ name: string;
11174
+ sha256: string;
11175
+ };
11176
+ HeartbeatSourceStatus: {
11177
+ error?: components["schemas"]["Error"] | null;
11178
+ /** Format: int64 */
11179
+ failure_streak: number;
11180
+ id: string;
11181
+ kind?: string;
11182
+ /** Format: int64 */
11183
+ last_item_count: number;
11184
+ last_polled_at?: string;
11185
+ last_success_at?: string;
11186
+ next_poll_at?: string;
11187
+ script?: string;
11188
+ status: string;
11189
+ };
11033
11190
  HeartbeatStatusResponse: {
11034
11191
  active: boolean;
11035
11192
  agent_name: string;
@@ -11074,6 +11231,7 @@ export interface components {
11074
11231
  policy_snapshot_id?: string;
11075
11232
  /** @enum {string} */
11076
11233
  reason:
11234
+ | "source_poll_in_flight"
11077
11235
  | "wake_sent"
11078
11236
  | "heartbeat_disabled"
11079
11237
  | "heartbeat_invalid"
@@ -11105,6 +11263,7 @@ export interface components {
11105
11263
  policy_snapshot_id?: string;
11106
11264
  /** @enum {string} */
11107
11265
  reason:
11266
+ | "source_poll_in_flight"
11108
11267
  | "wake_sent"
11109
11268
  | "heartbeat_disabled"
11110
11269
  | "heartbeat_invalid"
@@ -11136,6 +11295,7 @@ export interface components {
11136
11295
  coalesced_count: number;
11137
11296
  /** @enum {string} */
11138
11297
  last_reason?:
11298
+ | "source_poll_in_flight"
11139
11299
  | "wake_sent"
11140
11300
  | "heartbeat_disabled"
11141
11301
  | "heartbeat_invalid"
@@ -11317,6 +11477,13 @@ export interface components {
11317
11477
  jobs: components["schemas"]["JobPayload"][];
11318
11478
  page: components["schemas"]["CountedCursorPagePayload"];
11319
11479
  };
11480
+ KindDescriptor: {
11481
+ description?: string;
11482
+ extension: string;
11483
+ kind: string;
11484
+ params_schema?: unknown;
11485
+ title: string;
11486
+ };
11320
11487
  LogEventPayload: {
11321
11488
  actor_id?: string;
11322
11489
  actor_kind?: string;
@@ -12636,6 +12803,15 @@ export interface components {
12636
12803
  /** Format: date-time */
12637
12804
  return_at?: string | null;
12638
12805
  };
12806
+ MoveSessionToProfileRequest: {
12807
+ target_profile: string;
12808
+ };
12809
+ MoveSessionToProfileResponse: {
12810
+ branch?: string;
12811
+ original: components["schemas"]["SessionPayload"];
12812
+ session: components["schemas"]["SessionPayload"];
12813
+ worktree_id?: string;
12814
+ };
12639
12815
  MoveWorkspaceRequest: {
12640
12816
  folder_id?: string;
12641
12817
  workspace_id: string;
@@ -13600,6 +13776,12 @@ export interface components {
13600
13776
  | "worktree_not_found"
13601
13777
  | "worktree_not_ready";
13602
13778
  };
13779
+ Ref: {
13780
+ id: string;
13781
+ kind?: string;
13782
+ script?: string;
13783
+ with?: unknown;
13784
+ };
13603
13785
  Reference: {
13604
13786
  effective_paused?: boolean;
13605
13787
  id: string;
@@ -15054,6 +15236,7 @@ export interface components {
15054
15236
  attention?: string;
15055
15237
  /** Format: date-time */
15056
15238
  attention_changed_at?: string | null;
15239
+ attention_dismissible?: boolean;
15057
15240
  available_commands: components["schemas"]["ACPAvailableCommandPayload"][];
15058
15241
  /** @enum {string} */
15059
15242
  badge:
@@ -15137,6 +15320,7 @@ export interface components {
15137
15320
  verified?: boolean | null;
15138
15321
  /** @enum {string} */
15139
15322
  waiting_on?: "sessions" | "monitor";
15323
+ working_dir?: string;
15140
15324
  workspace_id?: string;
15141
15325
  workspace_path?: string;
15142
15326
  worktree_binding?: components["schemas"]["WorktreeBindingAvailability"] | null;
@@ -15353,6 +15537,8 @@ export interface components {
15353
15537
  max_attempts: number;
15354
15538
  /** Format: date-time */
15355
15539
  next_attempt_at?: string | null;
15540
+ /** @enum {string} */
15541
+ reason?: "runtime_exit" | "provider_auth";
15356
15542
  /** Format: date-time */
15357
15543
  started_at: string;
15358
15544
  };
@@ -15775,6 +15961,9 @@ export interface components {
15775
15961
  provider?: string;
15776
15962
  reasoning_effort?: string;
15777
15963
  };
15964
+ SettingsDesktopPayload: {
15965
+ editor_command: string;
15966
+ };
15778
15967
  SettingsExtensionDevPayload: {
15779
15968
  watch_interval: string;
15780
15969
  };
@@ -15816,6 +16005,7 @@ export interface components {
15816
16005
  SettingsGeneralConfigPayload: {
15817
16006
  busy_input?: components["schemas"]["SettingsBusyInputPayload"] | null;
15818
16007
  daemon: components["schemas"]["SettingsDaemonPayload"];
16008
+ desktop?: components["schemas"]["SettingsDesktopPayload"] | null;
15819
16009
  http: components["schemas"]["SettingsHTTPPayload"];
15820
16010
  /** @description Idle time before a resumable idle session's agent process is released (session.supervision.idle_release_after); 0s disables it. Omit on update to keep the current value. */
15821
16011
  idle_release_after?: string;
@@ -16320,6 +16510,8 @@ export interface components {
16320
16510
  code?: string;
16321
16511
  env_policy: string;
16322
16512
  home_policy: string;
16513
+ /** Format: date-time */
16514
+ last_probe_at?: string | null;
16323
16515
  login: components["schemas"]["ProviderLoginDescriptorPayload"];
16324
16516
  message?: string;
16325
16517
  mode: string;
@@ -17317,6 +17509,15 @@ export interface components {
17317
17509
  exit_slack: number;
17318
17510
  repeat_ratios: number[];
17319
17511
  };
17512
+ SourceOutcome: {
17513
+ /** Format: int64 */
17514
+ duration_ms: number;
17515
+ error?: components["schemas"]["Error"] | null;
17516
+ id: string;
17517
+ items: number;
17518
+ more: boolean;
17519
+ result: string;
17520
+ };
17320
17521
  SourceStatus: {
17321
17522
  reason?: string;
17322
17523
  source: string;
@@ -19213,6 +19414,7 @@ export interface components {
19213
19414
  | "agent_instance_not_found"
19214
19415
  | "agent_instance_starting"
19215
19416
  | "approval_rejected"
19417
+ | "attention_requires_action"
19216
19418
  | "compaction_unsupported"
19217
19419
  | "generation_fenced"
19218
19420
  | "input_request_already_answered"
@@ -19423,6 +19625,7 @@ export interface components {
19423
19625
  | "agent_instance_not_found"
19424
19626
  | "agent_instance_starting"
19425
19627
  | "approval_rejected"
19628
+ | "attention_requires_action"
19426
19629
  | "compaction_unsupported"
19427
19630
  | "generation_fenced"
19428
19631
  | "input_request_already_answered"
@@ -21279,8 +21482,10 @@ export interface operations {
21279
21482
  cursor?: string;
21280
21483
  /** @description Page size */
21281
21484
  limit?: string;
21282
- /** @description Act as this profile by name */
21485
+ /** @description Read one profile's rows by name */
21283
21486
  profile?: string;
21487
+ /** @description Read the owner-labeled all-profiles aggregate */
21488
+ all_profiles?: boolean;
21284
21489
  };
21285
21490
  header?: never;
21286
21491
  path?: never;
@@ -21297,6 +21502,15 @@ export interface operations {
21297
21502
  "application/json": components["schemas"]["AgentInstanceListResponse"];
21298
21503
  };
21299
21504
  };
21505
+ /** @description Invalid profile selection */
21506
+ 400: {
21507
+ headers: {
21508
+ [name: string]: unknown;
21509
+ };
21510
+ content: {
21511
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21512
+ };
21513
+ };
21300
21514
  /** @description Request failed */
21301
21515
  403: {
21302
21516
  headers: {
@@ -21397,6 +21611,15 @@ export interface operations {
21397
21611
  "application/json": components["schemas"]["AgentInstanceResponse"];
21398
21612
  };
21399
21613
  };
21614
+ /** @description Invalid profile selection */
21615
+ 400: {
21616
+ headers: {
21617
+ [name: string]: unknown;
21618
+ };
21619
+ content: {
21620
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21621
+ };
21622
+ };
21400
21623
  /** @description Request failed */
21401
21624
  403: {
21402
21625
  headers: {
@@ -21488,6 +21711,15 @@ export interface operations {
21488
21711
  "application/json": components["schemas"]["AgentInstanceResponse"];
21489
21712
  };
21490
21713
  };
21714
+ /** @description Invalid profile selection */
21715
+ 400: {
21716
+ headers: {
21717
+ [name: string]: unknown;
21718
+ };
21719
+ content: {
21720
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21721
+ };
21722
+ };
21491
21723
  /** @description Request failed */
21492
21724
  403: {
21493
21725
  headers: {
@@ -21556,8 +21788,10 @@ export interface operations {
21556
21788
  getAgentInstance: {
21557
21789
  parameters: {
21558
21790
  query?: {
21559
- /** @description Act as this profile by name */
21791
+ /** @description Read one profile's rows by name */
21560
21792
  profile?: string;
21793
+ /** @description Read the owner-labeled all-profiles aggregate */
21794
+ all_profiles?: boolean;
21561
21795
  };
21562
21796
  header?: never;
21563
21797
  path: {
@@ -21577,6 +21811,15 @@ export interface operations {
21577
21811
  "application/json": components["schemas"]["AgentInstanceResponse"];
21578
21812
  };
21579
21813
  };
21814
+ /** @description Invalid profile selection */
21815
+ 400: {
21816
+ headers: {
21817
+ [name: string]: unknown;
21818
+ };
21819
+ content: {
21820
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21821
+ };
21822
+ };
21580
21823
  /** @description Request failed */
21581
21824
  403: {
21582
21825
  headers: {
@@ -21664,6 +21907,15 @@ export interface operations {
21664
21907
  };
21665
21908
  content?: never;
21666
21909
  };
21910
+ /** @description Invalid profile selection */
21911
+ 400: {
21912
+ headers: {
21913
+ [name: string]: unknown;
21914
+ };
21915
+ content: {
21916
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21917
+ };
21918
+ };
21667
21919
  /** @description Request failed */
21668
21920
  403: {
21669
21921
  headers: {
@@ -21758,6 +22010,15 @@ export interface operations {
21758
22010
  "application/json": components["schemas"]["AgentInstanceResponse"];
21759
22011
  };
21760
22012
  };
22013
+ /** @description Invalid profile selection */
22014
+ 400: {
22015
+ headers: {
22016
+ [name: string]: unknown;
22017
+ };
22018
+ content: {
22019
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22020
+ };
22021
+ };
21761
22022
  /** @description Request failed */
21762
22023
  403: {
21763
22024
  headers: {
@@ -21826,8 +22087,10 @@ export interface operations {
21826
22087
  getAgentInstanceAway: {
21827
22088
  parameters: {
21828
22089
  query?: {
21829
- /** @description Act as this profile by name */
22090
+ /** @description Read one profile's rows by name */
21830
22091
  profile?: string;
22092
+ /** @description Read the owner-labeled all-profiles aggregate */
22093
+ all_profiles?: boolean;
21831
22094
  };
21832
22095
  header?: never;
21833
22096
  path: {
@@ -21847,6 +22110,15 @@ export interface operations {
21847
22110
  "application/json": components["schemas"]["AgentInstanceAwayResponse"];
21848
22111
  };
21849
22112
  };
22113
+ /** @description Invalid profile selection */
22114
+ 400: {
22115
+ headers: {
22116
+ [name: string]: unknown;
22117
+ };
22118
+ content: {
22119
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22120
+ };
22121
+ };
21850
22122
  /** @description Request failed */
21851
22123
  403: {
21852
22124
  headers: {
@@ -21936,6 +22208,15 @@ export interface operations {
21936
22208
  "application/json": components["schemas"]["AgentInstanceSeenResponse"];
21937
22209
  };
21938
22210
  };
22211
+ /** @description Invalid profile selection */
22212
+ 400: {
22213
+ headers: {
22214
+ [name: string]: unknown;
22215
+ };
22216
+ content: {
22217
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22218
+ };
22219
+ };
21939
22220
  /** @description Request failed */
21940
22221
  403: {
21941
22222
  headers: {
@@ -22039,6 +22320,15 @@ export interface operations {
22039
22320
  "application/json": components["schemas"]["AgentInstanceCheckResponse"];
22040
22321
  };
22041
22322
  };
22323
+ /** @description Invalid profile selection */
22324
+ 400: {
22325
+ headers: {
22326
+ [name: string]: unknown;
22327
+ };
22328
+ content: {
22329
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22330
+ };
22331
+ };
22042
22332
  /** @description Request failed */
22043
22333
  403: {
22044
22334
  headers: {
@@ -22111,8 +22401,10 @@ export interface operations {
22111
22401
  cursor?: string;
22112
22402
  /** @description Page size from 1 to 100; defaults to 50 */
22113
22403
  limit?: number;
22114
- /** @description Act as this profile by name */
22404
+ /** @description Read one profile's rows by name */
22115
22405
  profile?: string;
22406
+ /** @description Read the owner-labeled all-profiles aggregate */
22407
+ all_profiles?: boolean;
22116
22408
  };
22117
22409
  header?: never;
22118
22410
  path: {
@@ -22132,6 +22424,15 @@ export interface operations {
22132
22424
  "application/json": components["schemas"]["AgentInstanceCheckInsResponse"];
22133
22425
  };
22134
22426
  };
22427
+ /** @description Invalid profile selection */
22428
+ 400: {
22429
+ headers: {
22430
+ [name: string]: unknown;
22431
+ };
22432
+ content: {
22433
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22434
+ };
22435
+ };
22135
22436
  /** @description Request failed */
22136
22437
  403: {
22137
22438
  headers: {
@@ -22221,6 +22522,15 @@ export interface operations {
22221
22522
  "application/json": components["schemas"]["AgentInstanceResponse"];
22222
22523
  };
22223
22524
  };
22525
+ /** @description Invalid profile selection */
22526
+ 400: {
22527
+ headers: {
22528
+ [name: string]: unknown;
22529
+ };
22530
+ content: {
22531
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22532
+ };
22533
+ };
22224
22534
  /** @description Request failed */
22225
22535
  403: {
22226
22536
  headers: {
@@ -22289,8 +22599,10 @@ export interface operations {
22289
22599
  getAgentInstanceOccurrence: {
22290
22600
  parameters: {
22291
22601
  query?: {
22292
- /** @description Act as this profile by name */
22602
+ /** @description Read one profile's rows by name */
22293
22603
  profile?: string;
22604
+ /** @description Read the owner-labeled all-profiles aggregate */
22605
+ all_profiles?: boolean;
22294
22606
  };
22295
22607
  header?: never;
22296
22608
  path: {
@@ -22312,6 +22624,15 @@ export interface operations {
22312
22624
  "application/json": components["schemas"]["AgentInstanceOccurrenceResponse"];
22313
22625
  };
22314
22626
  };
22627
+ /** @description Invalid profile selection */
22628
+ 400: {
22629
+ headers: {
22630
+ [name: string]: unknown;
22631
+ };
22632
+ content: {
22633
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22634
+ };
22635
+ };
22315
22636
  /** @description Request failed */
22316
22637
  403: {
22317
22638
  headers: {
@@ -22401,6 +22722,15 @@ export interface operations {
22401
22722
  "application/json": components["schemas"]["AgentInstanceResponse"];
22402
22723
  };
22403
22724
  };
22725
+ /** @description Invalid profile selection */
22726
+ 400: {
22727
+ headers: {
22728
+ [name: string]: unknown;
22729
+ };
22730
+ content: {
22731
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22732
+ };
22733
+ };
22404
22734
  /** @description Request failed */
22405
22735
  403: {
22406
22736
  headers: {
@@ -22475,8 +22805,10 @@ export interface operations {
22475
22805
  cursor?: string;
22476
22806
  /** @description Page size */
22477
22807
  limit?: string;
22478
- /** @description Act as this profile by name */
22808
+ /** @description Read one profile's rows by name */
22479
22809
  profile?: string;
22810
+ /** @description Read the owner-labeled all-profiles aggregate */
22811
+ all_profiles?: boolean;
22480
22812
  };
22481
22813
  header?: never;
22482
22814
  path: {
@@ -22496,6 +22828,15 @@ export interface operations {
22496
22828
  "application/json": components["schemas"]["AgentInstanceReportsResponse"];
22497
22829
  };
22498
22830
  };
22831
+ /** @description Invalid profile selection */
22832
+ 400: {
22833
+ headers: {
22834
+ [name: string]: unknown;
22835
+ };
22836
+ content: {
22837
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22838
+ };
22839
+ };
22499
22840
  /** @description Request failed */
22500
22841
  403: {
22501
22842
  headers: {
@@ -22585,6 +22926,15 @@ export interface operations {
22585
22926
  "application/json": components["schemas"]["AgentInstanceResponse"];
22586
22927
  };
22587
22928
  };
22929
+ /** @description Invalid profile selection */
22930
+ 400: {
22931
+ headers: {
22932
+ [name: string]: unknown;
22933
+ };
22934
+ content: {
22935
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22936
+ };
22937
+ };
22588
22938
  /** @description Request failed */
22589
22939
  403: {
22590
22940
  headers: {
@@ -22681,6 +23031,15 @@ export interface operations {
22681
23031
  "application/json": components["schemas"]["AgentSkillReviewsResponse"];
22682
23032
  };
22683
23033
  };
23034
+ /** @description Invalid profile selection */
23035
+ 400: {
23036
+ headers: {
23037
+ [name: string]: unknown;
23038
+ };
23039
+ content: {
23040
+ "application/json": components["schemas"]["ProfileErrorPayload"];
23041
+ };
23042
+ };
22684
23043
  /** @description Request failed */
22685
23044
  403: {
22686
23045
  headers: {
@@ -22770,6 +23129,15 @@ export interface operations {
22770
23129
  "application/json": components["schemas"]["AgentSkillReviewResponse"];
22771
23130
  };
22772
23131
  };
23132
+ /** @description Invalid profile selection */
23133
+ 400: {
23134
+ headers: {
23135
+ [name: string]: unknown;
23136
+ };
23137
+ content: {
23138
+ "application/json": components["schemas"]["ProfileErrorPayload"];
23139
+ };
23140
+ };
22773
23141
  /** @description Request failed */
22774
23142
  403: {
22775
23143
  headers: {
@@ -22864,6 +23232,15 @@ export interface operations {
22864
23232
  "application/json": components["schemas"]["AgentSkillReviewResponse"];
22865
23233
  };
22866
23234
  };
23235
+ /** @description Invalid profile selection */
23236
+ 400: {
23237
+ headers: {
23238
+ [name: string]: unknown;
23239
+ };
23240
+ content: {
23241
+ "application/json": components["schemas"]["ProfileErrorPayload"];
23242
+ };
23243
+ };
22867
23244
  /** @description Request failed */
22868
23245
  403: {
22869
23246
  headers: {
@@ -22958,6 +23335,15 @@ export interface operations {
22958
23335
  "application/json": components["schemas"]["AgentSkillReviewResponse"];
22959
23336
  };
22960
23337
  };
23338
+ /** @description Invalid profile selection */
23339
+ 400: {
23340
+ headers: {
23341
+ [name: string]: unknown;
23342
+ };
23343
+ content: {
23344
+ "application/json": components["schemas"]["ProfileErrorPayload"];
23345
+ };
23346
+ };
22961
23347
  /** @description Request failed */
22962
23348
  403: {
22963
23349
  headers: {
@@ -24709,6 +25095,15 @@ export interface operations {
24709
25095
  "application/json": components["schemas"]["AgentActivityResponse"];
24710
25096
  };
24711
25097
  };
25098
+ /** @description Invalid profile selection */
25099
+ 400: {
25100
+ headers: {
25101
+ [name: string]: unknown;
25102
+ };
25103
+ content: {
25104
+ "application/json": components["schemas"]["ProfileErrorPayload"];
25105
+ };
25106
+ };
24712
25107
  /** @description Request failed */
24713
25108
  403: {
24714
25109
  headers: {
@@ -25273,6 +25668,223 @@ export interface operations {
25273
25668
  };
25274
25669
  };
25275
25670
  };
25671
+ approveAgentHeartbeatScript: {
25672
+ parameters: {
25673
+ query?: {
25674
+ /** @description Workspace id */
25675
+ workspace_id?: string;
25676
+ /** @description Act as this profile by name */
25677
+ profile?: string;
25678
+ };
25679
+ header?: never;
25680
+ path: {
25681
+ /** @description Agent name */
25682
+ name: string;
25683
+ /** @description Script name */
25684
+ script: string;
25685
+ };
25686
+ cookie?: never;
25687
+ };
25688
+ /** @description JSON request body */
25689
+ requestBody: {
25690
+ content: {
25691
+ "application/json": components["schemas"]["HeartbeatScriptApprovalRequest"];
25692
+ };
25693
+ };
25694
+ responses: {
25695
+ /** @description Approved */
25696
+ 200: {
25697
+ headers: {
25698
+ [name: string]: unknown;
25699
+ };
25700
+ content: {
25701
+ "application/json": components["schemas"]["HeartbeatScriptApprovalPayload"];
25702
+ };
25703
+ };
25704
+ /** @description Operator required */
25705
+ 403: {
25706
+ headers: {
25707
+ [name: string]: unknown;
25708
+ };
25709
+ content: {
25710
+ "application/json": components["schemas"]["ErrorPayload"];
25711
+ };
25712
+ };
25713
+ /** @description Agent not found */
25714
+ 404: {
25715
+ headers: {
25716
+ [name: string]: unknown;
25717
+ };
25718
+ content: {
25719
+ "application/json": components["schemas"]["ErrorPayload"];
25720
+ };
25721
+ };
25722
+ /** @description Script changed */
25723
+ 409: {
25724
+ headers: {
25725
+ [name: string]: unknown;
25726
+ };
25727
+ content: {
25728
+ "application/json": components["schemas"]["ErrorPayload"];
25729
+ };
25730
+ };
25731
+ /** @description Invalid source script request */
25732
+ 422: {
25733
+ headers: {
25734
+ [name: string]: unknown;
25735
+ };
25736
+ content: {
25737
+ "application/json": components["schemas"]["ErrorPayload"];
25738
+ };
25739
+ };
25740
+ /** @description Internal error */
25741
+ 500: {
25742
+ headers: {
25743
+ [name: string]: unknown;
25744
+ };
25745
+ content: {
25746
+ "application/json": components["schemas"]["ErrorPayload"];
25747
+ };
25748
+ };
25749
+ /** @description Source storage unavailable */
25750
+ 503: {
25751
+ headers: {
25752
+ [name: string]: unknown;
25753
+ };
25754
+ content: {
25755
+ "application/json": components["schemas"]["ErrorPayload"];
25756
+ };
25757
+ };
25758
+ };
25759
+ };
25760
+ revokeAgentHeartbeatScript: {
25761
+ parameters: {
25762
+ query?: {
25763
+ /** @description Workspace id */
25764
+ workspace_id?: string;
25765
+ /** @description Act as this profile by name */
25766
+ profile?: string;
25767
+ };
25768
+ header?: never;
25769
+ path: {
25770
+ /** @description Agent name */
25771
+ name: string;
25772
+ /** @description Script name */
25773
+ script: string;
25774
+ };
25775
+ cookie?: never;
25776
+ };
25777
+ requestBody?: never;
25778
+ responses: {
25779
+ /** @description Script approval revoked */
25780
+ 204: {
25781
+ headers: {
25782
+ [name: string]: unknown;
25783
+ };
25784
+ content?: never;
25785
+ };
25786
+ /** @description Operator required */
25787
+ 403: {
25788
+ headers: {
25789
+ [name: string]: unknown;
25790
+ };
25791
+ content: {
25792
+ "application/json": components["schemas"]["ErrorPayload"];
25793
+ };
25794
+ };
25795
+ /** @description Agent not found */
25796
+ 404: {
25797
+ headers: {
25798
+ [name: string]: unknown;
25799
+ };
25800
+ content: {
25801
+ "application/json": components["schemas"]["ErrorPayload"];
25802
+ };
25803
+ };
25804
+ /** @description Invalid source script request */
25805
+ 422: {
25806
+ headers: {
25807
+ [name: string]: unknown;
25808
+ };
25809
+ content: {
25810
+ "application/json": components["schemas"]["ErrorPayload"];
25811
+ };
25812
+ };
25813
+ /** @description Internal error */
25814
+ 500: {
25815
+ headers: {
25816
+ [name: string]: unknown;
25817
+ };
25818
+ content: {
25819
+ "application/json": components["schemas"]["ErrorPayload"];
25820
+ };
25821
+ };
25822
+ /** @description Source storage unavailable */
25823
+ 503: {
25824
+ headers: {
25825
+ [name: string]: unknown;
25826
+ };
25827
+ content: {
25828
+ "application/json": components["schemas"]["ErrorPayload"];
25829
+ };
25830
+ };
25831
+ };
25832
+ };
25833
+ getAgentHeartbeatSources: {
25834
+ parameters: {
25835
+ query?: {
25836
+ /** @description Workspace id */
25837
+ workspace_id?: string;
25838
+ /** @description Act as this profile by name */
25839
+ profile?: string;
25840
+ };
25841
+ header?: never;
25842
+ path: {
25843
+ /** @description Agent name */
25844
+ name: string;
25845
+ };
25846
+ cookie?: never;
25847
+ };
25848
+ requestBody?: never;
25849
+ responses: {
25850
+ /** @description OK */
25851
+ 200: {
25852
+ headers: {
25853
+ [name: string]: unknown;
25854
+ };
25855
+ content: {
25856
+ "application/json": components["schemas"]["HeartbeatSourceCatalogPayload"];
25857
+ };
25858
+ };
25859
+ /** @description Agent not found */
25860
+ 404: {
25861
+ headers: {
25862
+ [name: string]: unknown;
25863
+ };
25864
+ content: {
25865
+ "application/json": components["schemas"]["ErrorPayload"];
25866
+ };
25867
+ };
25868
+ /** @description Internal error */
25869
+ 500: {
25870
+ headers: {
25871
+ [name: string]: unknown;
25872
+ };
25873
+ content: {
25874
+ "application/json": components["schemas"]["ErrorPayload"];
25875
+ };
25876
+ };
25877
+ /** @description Source storage unavailable */
25878
+ 503: {
25879
+ headers: {
25880
+ [name: string]: unknown;
25881
+ };
25882
+ content: {
25883
+ "application/json": components["schemas"]["ErrorPayload"];
25884
+ };
25885
+ };
25886
+ };
25887
+ };
25276
25888
  getAgentHeartbeatStatus: {
25277
25889
  parameters: {
25278
25890
  query?: {
@@ -25584,7 +26196,7 @@ export interface operations {
25584
26196
  "application/json": components["schemas"]["ErrorPayload"];
25585
26197
  };
25586
26198
  };
25587
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26199
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
25588
26200
  422: {
25589
26201
  headers: {
25590
26202
  [name: string]: unknown;
@@ -25689,7 +26301,7 @@ export interface operations {
25689
26301
  "application/json": components["schemas"]["ErrorPayload"];
25690
26302
  };
25691
26303
  };
25692
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26304
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
25693
26305
  422: {
25694
26306
  headers: {
25695
26307
  [name: string]: unknown;
@@ -25794,7 +26406,7 @@ export interface operations {
25794
26406
  "application/json": components["schemas"]["ErrorPayload"];
25795
26407
  };
25796
26408
  };
25797
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26409
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
25798
26410
  422: {
25799
26411
  headers: {
25800
26412
  [name: string]: unknown;
@@ -25899,7 +26511,7 @@ export interface operations {
25899
26511
  "application/json": components["schemas"]["ErrorPayload"];
25900
26512
  };
25901
26513
  };
25902
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26514
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
25903
26515
  422: {
25904
26516
  headers: {
25905
26517
  [name: string]: unknown;
@@ -26004,7 +26616,7 @@ export interface operations {
26004
26616
  "application/json": components["schemas"]["ErrorPayload"];
26005
26617
  };
26006
26618
  };
26007
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26619
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26008
26620
  422: {
26009
26621
  headers: {
26010
26622
  [name: string]: unknown;
@@ -26104,7 +26716,7 @@ export interface operations {
26104
26716
  "application/json": components["schemas"]["ErrorPayload"];
26105
26717
  };
26106
26718
  };
26107
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26719
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26108
26720
  422: {
26109
26721
  headers: {
26110
26722
  [name: string]: unknown;
@@ -26209,7 +26821,7 @@ export interface operations {
26209
26821
  "application/json": components["schemas"]["ErrorPayload"];
26210
26822
  };
26211
26823
  };
26212
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26824
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26213
26825
  422: {
26214
26826
  headers: {
26215
26827
  [name: string]: unknown;
@@ -26314,7 +26926,7 @@ export interface operations {
26314
26926
  "application/json": components["schemas"]["ErrorPayload"];
26315
26927
  };
26316
26928
  };
26317
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26929
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26318
26930
  422: {
26319
26931
  headers: {
26320
26932
  [name: string]: unknown;
@@ -26419,7 +27031,7 @@ export interface operations {
26419
27031
  "application/json": components["schemas"]["ErrorPayload"];
26420
27032
  };
26421
27033
  };
26422
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
27034
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26423
27035
  422: {
26424
27036
  headers: {
26425
27037
  [name: string]: unknown;
@@ -28260,6 +28872,10 @@ export interface operations {
28260
28872
  query: {
28261
28873
  /** @description Workspace id, name, or path */
28262
28874
  workspace: string;
28875
+ /** @description Read one profile's rows by name */
28876
+ profile?: string;
28877
+ /** @description Read the owner-labeled all-profiles aggregate */
28878
+ all_profiles?: boolean;
28263
28879
  };
28264
28880
  header?: never;
28265
28881
  path?: never;
@@ -29153,6 +29769,58 @@ export interface operations {
29153
29769
  };
29154
29770
  };
29155
29771
  };
29772
+ captureDaemonProfile: {
29773
+ parameters: {
29774
+ query?: {
29775
+ /** @description Capture window for cpu, mutex and block only; snapshot profiles reject this parameter */
29776
+ seconds?: number;
29777
+ };
29778
+ header?: never;
29779
+ path: {
29780
+ kind: "cpu" | "heap" | "allocs" | "goroutine" | "mutex" | "block" | "threadcreate";
29781
+ };
29782
+ cookie?: never;
29783
+ };
29784
+ requestBody?: never;
29785
+ responses: {
29786
+ /** @description Raw gzip-compressed pprof protobuf */
29787
+ 200: {
29788
+ headers: {
29789
+ [name: string]: unknown;
29790
+ };
29791
+ content: {
29792
+ "application/octet-stream": string;
29793
+ };
29794
+ };
29795
+ /** @description daemon_profile_invalid: unsupported kind or duration */
29796
+ 400: {
29797
+ headers: {
29798
+ [name: string]: unknown;
29799
+ };
29800
+ content: {
29801
+ "application/json": components["schemas"]["ErrorPayload"];
29802
+ };
29803
+ };
29804
+ /** @description profile_busy: CPU or contention capture already active */
29805
+ 409: {
29806
+ headers: {
29807
+ [name: string]: unknown;
29808
+ };
29809
+ content: {
29810
+ "application/json": components["schemas"]["ErrorPayload"];
29811
+ };
29812
+ };
29813
+ /** @description profile_failed: capture canceled or failed */
29814
+ 500: {
29815
+ headers: {
29816
+ [name: string]: unknown;
29817
+ };
29818
+ content: {
29819
+ "application/json": components["schemas"]["ErrorPayload"];
29820
+ };
29821
+ };
29822
+ };
29823
+ };
29156
29824
  getDoctor: {
29157
29825
  parameters: {
29158
29826
  query?: {
@@ -35122,6 +35790,13 @@ export interface operations {
35122
35790
  };
35123
35791
  requestBody?: never;
35124
35792
  responses: {
35793
+ /** @description WebSocket upgrade; each text message contains one complete SSE frame */
35794
+ 101: {
35795
+ headers: {
35796
+ [name: string]: unknown;
35797
+ };
35798
+ content?: never;
35799
+ };
35125
35800
  /** @description ready and provider_usage_changed revision events */
35126
35801
  200: {
35127
35802
  headers: {
@@ -36700,7 +37375,7 @@ export interface operations {
36700
37375
  include_health?: boolean;
36701
37376
  /** @description Omit the exact catalog count for a bounded cursor read */
36702
37377
  skip_total?: boolean;
36703
- /** @description Exclude stays-on main sessions from the page and its total */
37378
+ /** @description Exclude always-on main sessions from the page and its total */
36704
37379
  exclude_instance_main?: boolean;
36705
37380
  /** @description Exclude settled automation-run sessions; search, type, parent, root, archive=only and later=only reads ignore it */
36706
37381
  exclude_finished_automation?: boolean;
@@ -37186,7 +37861,76 @@ export interface operations {
37186
37861
  [name: string]: unknown;
37187
37862
  };
37188
37863
  content: {
37189
- "application/json": components["schemas"]["SessionEventsResponse"];
37864
+ "application/json": components["schemas"]["SessionEventsResponse"];
37865
+ };
37866
+ };
37867
+ /** @description Invalid filter */
37868
+ 400: {
37869
+ headers: {
37870
+ [name: string]: unknown;
37871
+ };
37872
+ content: {
37873
+ "application/json": components["schemas"]["ErrorPayload"];
37874
+ };
37875
+ };
37876
+ /** @description Session not found */
37877
+ 404: {
37878
+ headers: {
37879
+ [name: string]: unknown;
37880
+ };
37881
+ content: {
37882
+ "application/json": components["schemas"]["ErrorPayload"];
37883
+ };
37884
+ };
37885
+ /** @description Internal server error */
37886
+ 500: {
37887
+ headers: {
37888
+ [name: string]: unknown;
37889
+ };
37890
+ content: {
37891
+ "application/json": components["schemas"]["ErrorPayload"];
37892
+ };
37893
+ };
37894
+ };
37895
+ };
37896
+ getGlobalSessionHistory: {
37897
+ parameters: {
37898
+ query?: {
37899
+ /** @description Only events emitted since this timestamp */
37900
+ since?: string;
37901
+ /** @description Maximum number of turns to return; defaults to the newest 200 and is capped at 1000 */
37902
+ limit?: number;
37903
+ /** @description Only return events after this sequence number */
37904
+ after_sequence?: number;
37905
+ /** @description Event type */
37906
+ type?: string;
37907
+ /** @description Agent name */
37908
+ agent_name?: string;
37909
+ /** @description Turn id */
37910
+ turn_id?: string;
37911
+ /** @description Select active, archived, or all events */
37912
+ archive?: "active" | "archived" | "all";
37913
+ /** @description Read one profile's rows by name */
37914
+ profile?: string;
37915
+ /** @description Read the owner-labeled all-profiles aggregate */
37916
+ all_profiles?: boolean;
37917
+ };
37918
+ header?: never;
37919
+ path: {
37920
+ /** @description Session id */
37921
+ session_id: string;
37922
+ };
37923
+ cookie?: never;
37924
+ };
37925
+ requestBody?: never;
37926
+ responses: {
37927
+ /** @description OK */
37928
+ 200: {
37929
+ headers: {
37930
+ [name: string]: unknown;
37931
+ };
37932
+ content: {
37933
+ "application/json": components["schemas"]["SessionHistoryResponse"];
37190
37934
  };
37191
37935
  };
37192
37936
  /** @description Invalid filter */
@@ -37218,23 +37962,9 @@ export interface operations {
37218
37962
  };
37219
37963
  };
37220
37964
  };
37221
- getGlobalSessionHistory: {
37965
+ getSessionOwner: {
37222
37966
  parameters: {
37223
37967
  query?: {
37224
- /** @description Only events emitted since this timestamp */
37225
- since?: string;
37226
- /** @description Maximum number of turns to return; defaults to the newest 200 and is capped at 1000 */
37227
- limit?: number;
37228
- /** @description Only return events after this sequence number */
37229
- after_sequence?: number;
37230
- /** @description Event type */
37231
- type?: string;
37232
- /** @description Agent name */
37233
- agent_name?: string;
37234
- /** @description Turn id */
37235
- turn_id?: string;
37236
- /** @description Select active, archived, or all events */
37237
- archive?: "active" | "archived" | "all";
37238
37968
  /** @description Read one profile's rows by name */
37239
37969
  profile?: string;
37240
37970
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -37248,56 +37978,6 @@ export interface operations {
37248
37978
  cookie?: never;
37249
37979
  };
37250
37980
  requestBody?: never;
37251
- responses: {
37252
- /** @description OK */
37253
- 200: {
37254
- headers: {
37255
- [name: string]: unknown;
37256
- };
37257
- content: {
37258
- "application/json": components["schemas"]["SessionHistoryResponse"];
37259
- };
37260
- };
37261
- /** @description Invalid filter */
37262
- 400: {
37263
- headers: {
37264
- [name: string]: unknown;
37265
- };
37266
- content: {
37267
- "application/json": components["schemas"]["ErrorPayload"];
37268
- };
37269
- };
37270
- /** @description Session not found */
37271
- 404: {
37272
- headers: {
37273
- [name: string]: unknown;
37274
- };
37275
- content: {
37276
- "application/json": components["schemas"]["ErrorPayload"];
37277
- };
37278
- };
37279
- /** @description Internal server error */
37280
- 500: {
37281
- headers: {
37282
- [name: string]: unknown;
37283
- };
37284
- content: {
37285
- "application/json": components["schemas"]["ErrorPayload"];
37286
- };
37287
- };
37288
- };
37289
- };
37290
- getSessionOwner: {
37291
- parameters: {
37292
- query?: never;
37293
- header?: never;
37294
- path: {
37295
- /** @description Session id */
37296
- session_id: string;
37297
- };
37298
- cookie?: never;
37299
- };
37300
- requestBody?: never;
37301
37981
  responses: {
37302
37982
  /** @description OK */
37303
37983
  200: {
@@ -40363,6 +41043,10 @@ export interface operations {
40363
41043
  scope?: "user" | "workspace";
40364
41044
  /** @description Select the workspace id for workspace scope */
40365
41045
  workspace_id?: string;
41046
+ /** @description Select the shell attachment for shortcut statuses */
41047
+ client_id?: string;
41048
+ /** @description Select the shell profile without changing settings scope */
41049
+ client_profile?: string;
40366
41050
  };
40367
41051
  header?: never;
40368
41052
  path?: never;
@@ -40415,6 +41099,10 @@ export interface operations {
40415
41099
  scope?: "user" | "workspace";
40416
41100
  /** @description Select the workspace id for workspace scope */
40417
41101
  workspace_id?: string;
41102
+ /** @description Select the shell attachment for shortcut statuses */
41103
+ client_id?: string;
41104
+ /** @description Select the shell profile without changing settings scope */
41105
+ client_profile?: string;
40418
41106
  };
40419
41107
  header?: never;
40420
41108
  path?: never;
@@ -44662,8 +45350,12 @@ export interface operations {
44662
45350
  all_workspaces?: boolean;
44663
45351
  /** @description Repeatable project IDs or @user; requires all_workspaces=true */
44664
45352
  workspace_ids?: string[];
44665
- /** @description Act as this profile by name */
45353
+ /** @description Resume cursor when Last-Event-ID cannot be set; the header takes precedence */
45354
+ last_event_id?: string;
45355
+ /** @description Read one profile's rows by name */
44666
45356
  profile?: string;
45357
+ /** @description Read the owner-labeled all-profiles aggregate */
45358
+ all_profiles?: boolean;
44667
45359
  };
44668
45360
  header?: {
44669
45361
  /** @description Resume after the last terminal catalog event */
@@ -44674,6 +45366,13 @@ export interface operations {
44674
45366
  };
44675
45367
  requestBody?: never;
44676
45368
  responses: {
45369
+ /** @description WebSocket upgrade; each text message contains one complete SSE frame */
45370
+ 101: {
45371
+ headers: {
45372
+ [name: string]: unknown;
45373
+ };
45374
+ content?: never;
45375
+ };
44677
45376
  /** @description Terminal catalog event stream */
44678
45377
  200: {
44679
45378
  headers: {
@@ -51164,7 +51863,7 @@ export interface operations {
51164
51863
  include_health?: boolean;
51165
51864
  /** @description Omit the exact catalog count for a bounded cursor read */
51166
51865
  skip_total?: boolean;
51167
- /** @description Exclude stays-on main sessions from the page and its total */
51866
+ /** @description Exclude always-on main sessions from the page and its total */
51168
51867
  exclude_instance_main?: boolean;
51169
51868
  /** @description Exclude settled automation-run sessions; search, type, parent, root, archive=only and later=only reads ignore it */
51170
51869
  exclude_finished_automation?: boolean;
@@ -51479,7 +52178,10 @@ export interface operations {
51479
52178
  };
51480
52179
  approveSession: {
51481
52180
  parameters: {
51482
- query?: never;
52181
+ query?: {
52182
+ /** @description Act as this profile by name */
52183
+ profile?: string;
52184
+ };
51483
52185
  header?: never;
51484
52186
  path: {
51485
52187
  /** @description Workspace id */
@@ -51615,7 +52317,10 @@ export interface operations {
51615
52317
  };
51616
52318
  attachSession: {
51617
52319
  parameters: {
51618
- query?: never;
52320
+ query?: {
52321
+ /** @description Act as this profile by name */
52322
+ profile?: string;
52323
+ };
51619
52324
  header?: never;
51620
52325
  path: {
51621
52326
  /** @description Workspace id */
@@ -51690,7 +52395,10 @@ export interface operations {
51690
52395
  };
51691
52396
  uploadSessionAttachment: {
51692
52397
  parameters: {
51693
- query?: never;
52398
+ query?: {
52399
+ /** @description Act as this profile by name */
52400
+ profile?: string;
52401
+ };
51694
52402
  header?: never;
51695
52403
  path: {
51696
52404
  /** @description Workspace id */
@@ -51777,7 +52485,10 @@ export interface operations {
51777
52485
  };
51778
52486
  deleteSessionAttachment: {
51779
52487
  parameters: {
51780
- query?: never;
52488
+ query?: {
52489
+ /** @description Act as this profile by name */
52490
+ profile?: string;
52491
+ };
51781
52492
  header?: never;
51782
52493
  path: {
51783
52494
  /** @description Workspace id */
@@ -51838,7 +52549,12 @@ export interface operations {
51838
52549
  };
51839
52550
  readSessionAttachmentBytes: {
51840
52551
  parameters: {
51841
- query?: never;
52552
+ query?: {
52553
+ /** @description Read one profile's rows by name */
52554
+ profile?: string;
52555
+ /** @description Read the owner-labeled all-profiles aggregate */
52556
+ all_profiles?: boolean;
52557
+ };
51842
52558
  header?: never;
51843
52559
  path: {
51844
52560
  /** @description Workspace id */
@@ -51901,7 +52617,12 @@ export interface operations {
51901
52617
  };
51902
52618
  listSessionClarifications: {
51903
52619
  parameters: {
51904
- query?: never;
52620
+ query?: {
52621
+ /** @description Read one profile's rows by name */
52622
+ profile?: string;
52623
+ /** @description Read the owner-labeled all-profiles aggregate */
52624
+ all_profiles?: boolean;
52625
+ };
51905
52626
  header?: never;
51906
52627
  path: {
51907
52628
  /** @description Workspace id */
@@ -51944,7 +52665,10 @@ export interface operations {
51944
52665
  };
51945
52666
  answerSessionClarification: {
51946
52667
  parameters: {
51947
- query?: never;
52668
+ query?: {
52669
+ /** @description Act as this profile by name */
52670
+ profile?: string;
52671
+ };
51948
52672
  header?: never;
51949
52673
  path: {
51950
52674
  /** @description Workspace id */
@@ -52012,7 +52736,10 @@ export interface operations {
52012
52736
  };
52013
52737
  clearSessionConversation: {
52014
52738
  parameters: {
52015
- query?: never;
52739
+ query?: {
52740
+ /** @description Act as this profile by name */
52741
+ profile?: string;
52742
+ };
52016
52743
  header?: never;
52017
52744
  path: {
52018
52745
  /** @description Workspace id */
@@ -52073,7 +52800,12 @@ export interface operations {
52073
52800
  };
52074
52801
  getSessionCommands: {
52075
52802
  parameters: {
52076
- query?: never;
52803
+ query?: {
52804
+ /** @description Read one profile's rows by name */
52805
+ profile?: string;
52806
+ /** @description Read the owner-labeled all-profiles aggregate */
52807
+ all_profiles?: boolean;
52808
+ };
52077
52809
  header?: never;
52078
52810
  path: {
52079
52811
  /** @description Workspace id */
@@ -52125,7 +52857,10 @@ export interface operations {
52125
52857
  };
52126
52858
  compactSession: {
52127
52859
  parameters: {
52128
- query?: never;
52860
+ query?: {
52861
+ /** @description Act as this profile by name */
52862
+ profile?: string;
52863
+ };
52129
52864
  header?: never;
52130
52865
  path: {
52131
52866
  /** @description Workspace id */
@@ -52191,7 +52926,10 @@ export interface operations {
52191
52926
  };
52192
52927
  continueSession: {
52193
52928
  parameters: {
52194
- query?: never;
52929
+ query?: {
52930
+ /** @description Act as this profile by name */
52931
+ profile?: string;
52932
+ };
52195
52933
  header?: never;
52196
52934
  path: {
52197
52935
  /** @description Workspace id */
@@ -52287,6 +53025,10 @@ export interface operations {
52287
53025
  query?: {
52288
53026
  /** @description Durable user message to cut through (fork from here) */
52289
53027
  message_id?: string;
53028
+ /** @description Read one profile's rows by name */
53029
+ profile?: string;
53030
+ /** @description Read the owner-labeled all-profiles aggregate */
53031
+ all_profiles?: boolean;
52290
53032
  };
52291
53033
  header?: never;
52292
53034
  path: {
@@ -52420,6 +53162,10 @@ export interface operations {
52420
53162
  turn_id?: string;
52421
53163
  /** @description Select active, archived, or all events */
52422
53164
  archive?: "active" | "archived" | "all";
53165
+ /** @description Read one profile's rows by name */
53166
+ profile?: string;
53167
+ /** @description Read the owner-labeled all-profiles aggregate */
53168
+ all_profiles?: boolean;
52423
53169
  };
52424
53170
  header?: never;
52425
53171
  path: {
@@ -52542,7 +53288,10 @@ export interface operations {
52542
53288
  };
52543
53289
  forkSession: {
52544
53290
  parameters: {
52545
- query?: never;
53291
+ query?: {
53292
+ /** @description Act as this profile by name */
53293
+ profile?: string;
53294
+ };
52546
53295
  header?: never;
52547
53296
  path: {
52548
53297
  /** @description Workspace id */
@@ -52635,7 +53384,12 @@ export interface operations {
52635
53384
  };
52636
53385
  getSessionGoal: {
52637
53386
  parameters: {
52638
- query?: never;
53387
+ query?: {
53388
+ /** @description Read one profile's rows by name */
53389
+ profile?: string;
53390
+ /** @description Read the owner-labeled all-profiles aggregate */
53391
+ all_profiles?: boolean;
53392
+ };
52639
53393
  header?: never;
52640
53394
  path: {
52641
53395
  /** @description Workspace id */
@@ -52696,7 +53450,10 @@ export interface operations {
52696
53450
  };
52697
53451
  mutateSessionGoal: {
52698
53452
  parameters: {
52699
- query?: never;
53453
+ query?: {
53454
+ /** @description Act as this profile by name */
53455
+ profile?: string;
53456
+ };
52700
53457
  header?: never;
52701
53458
  path: {
52702
53459
  /** @description Workspace id */
@@ -52798,7 +53555,12 @@ export interface operations {
52798
53555
  };
52799
53556
  getSessionHealth: {
52800
53557
  parameters: {
52801
- query?: never;
53558
+ query?: {
53559
+ /** @description Read one profile's rows by name */
53560
+ profile?: string;
53561
+ /** @description Read the owner-labeled all-profiles aggregate */
53562
+ all_profiles?: boolean;
53563
+ };
52802
53564
  header?: never;
52803
53565
  path: {
52804
53566
  /** @description Workspace id */
@@ -52865,6 +53627,10 @@ export interface operations {
52865
53627
  turn_id?: string;
52866
53628
  /** @description Select active, archived, or all events */
52867
53629
  archive?: "active" | "archived" | "all";
53630
+ /** @description Read one profile's rows by name */
53631
+ profile?: string;
53632
+ /** @description Read the owner-labeled all-profiles aggregate */
53633
+ all_profiles?: boolean;
52868
53634
  };
52869
53635
  header?: never;
52870
53636
  path: {
@@ -52920,6 +53686,10 @@ export interface operations {
52920
53686
  query?: {
52921
53687
  /** @description Include recent wake audit rows */
52922
53688
  include_recent_wake_events?: boolean;
53689
+ /** @description Read one profile's rows by name */
53690
+ profile?: string;
53691
+ /** @description Read the owner-labeled all-profiles aggregate */
53692
+ all_profiles?: boolean;
52923
53693
  };
52924
53694
  header?: never;
52925
53695
  path: {
@@ -52977,6 +53747,10 @@ export interface operations {
52977
53747
  descendants?: boolean;
52978
53748
  /** @description Filter by interaction status */
52979
53749
  status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
53750
+ /** @description Read one profile's rows by name */
53751
+ profile?: string;
53752
+ /** @description Read the owner-labeled all-profiles aggregate */
53753
+ all_profiles?: boolean;
52980
53754
  };
52981
53755
  header?: never;
52982
53756
  path: {
@@ -53410,7 +54184,76 @@ export interface operations {
53410
54184
  };
53411
54185
  };
53412
54186
  };
53413
- refreshSessionWorkLink: {
54187
+ refreshSessionWorkLink: {
54188
+ parameters: {
54189
+ query?: {
54190
+ /** @description Act as this profile by name */
54191
+ profile?: string;
54192
+ };
54193
+ header?: never;
54194
+ path: {
54195
+ /** @description Workspace id */
54196
+ workspace_id: string;
54197
+ /** @description Session id */
54198
+ session_id: string;
54199
+ };
54200
+ cookie?: never;
54201
+ };
54202
+ /** @description JSON request body */
54203
+ requestBody: {
54204
+ content: {
54205
+ "application/json": components["schemas"]["SessionWorkLinkRequest"];
54206
+ };
54207
+ };
54208
+ responses: {
54209
+ /** @description Linked work */
54210
+ 200: {
54211
+ headers: {
54212
+ [name: string]: unknown;
54213
+ };
54214
+ content: {
54215
+ "application/json": components["schemas"]["SessionLinkedWorkResponse"];
54216
+ };
54217
+ };
54218
+ /** @description Invalid link or repository mismatch */
54219
+ 400: {
54220
+ headers: {
54221
+ [name: string]: unknown;
54222
+ };
54223
+ content: {
54224
+ "application/json": components["schemas"]["ErrorPayload"];
54225
+ };
54226
+ };
54227
+ /** @description Session not found */
54228
+ 404: {
54229
+ headers: {
54230
+ [name: string]: unknown;
54231
+ };
54232
+ content: {
54233
+ "application/json": components["schemas"]["ErrorPayload"];
54234
+ };
54235
+ };
54236
+ /** @description Internal server error */
54237
+ 500: {
54238
+ headers: {
54239
+ [name: string]: unknown;
54240
+ };
54241
+ content: {
54242
+ "application/json": components["schemas"]["ErrorPayload"];
54243
+ };
54244
+ };
54245
+ /** @description Linked work unavailable */
54246
+ 503: {
54247
+ headers: {
54248
+ [name: string]: unknown;
54249
+ };
54250
+ content: {
54251
+ "application/json": components["schemas"]["ErrorPayload"];
54252
+ };
54253
+ };
54254
+ };
54255
+ };
54256
+ markSessionSeen: {
53414
54257
  parameters: {
53415
54258
  query?: {
53416
54259
  /** @description Act as this profile by name */
@@ -53425,23 +54268,18 @@ export interface operations {
53425
54268
  };
53426
54269
  cookie?: never;
53427
54270
  };
53428
- /** @description JSON request body */
53429
- requestBody: {
53430
- content: {
53431
- "application/json": components["schemas"]["SessionWorkLinkRequest"];
53432
- };
53433
- };
54271
+ requestBody?: never;
53434
54272
  responses: {
53435
- /** @description Linked work */
54273
+ /** @description OK */
53436
54274
  200: {
53437
54275
  headers: {
53438
54276
  [name: string]: unknown;
53439
54277
  };
53440
54278
  content: {
53441
- "application/json": components["schemas"]["SessionLinkedWorkResponse"];
54279
+ "application/json": components["schemas"]["SessionResponse"];
53442
54280
  };
53443
54281
  };
53444
- /** @description Invalid link or repository mismatch */
54282
+ /** @description Conflicting profile selectors (profile_selection_conflict) */
53445
54283
  400: {
53446
54284
  headers: {
53447
54285
  [name: string]: unknown;
@@ -53459,6 +54297,15 @@ export interface operations {
53459
54297
  "application/json": components["schemas"]["ErrorPayload"];
53460
54298
  };
53461
54299
  };
54300
+ /** @description The session still waits on an answer, a sign-in, or a stop, or a newer occurrence replaced the one checked */
54301
+ 409: {
54302
+ headers: {
54303
+ [name: string]: unknown;
54304
+ };
54305
+ content: {
54306
+ "application/json": components["schemas"]["ErrorPayload"];
54307
+ };
54308
+ };
53462
54309
  /** @description Internal server error */
53463
54310
  500: {
53464
54311
  headers: {
@@ -53468,7 +54315,7 @@ export interface operations {
53468
54315
  "application/json": components["schemas"]["ErrorPayload"];
53469
54316
  };
53470
54317
  };
53471
- /** @description Linked work unavailable */
54318
+ /** @description Service unavailable - dependent service missing */
53472
54319
  503: {
53473
54320
  headers: {
53474
54321
  [name: string]: unknown;
@@ -53689,6 +54536,93 @@ export interface operations {
53689
54536
  };
53690
54537
  };
53691
54538
  };
54539
+ moveSessionToProfile: {
54540
+ parameters: {
54541
+ query?: {
54542
+ /** @description Act as this profile by name */
54543
+ profile?: string;
54544
+ };
54545
+ header?: never;
54546
+ path: {
54547
+ /** @description Workspace id */
54548
+ workspace_id: string;
54549
+ /** @description Session id */
54550
+ session_id: string;
54551
+ };
54552
+ cookie?: never;
54553
+ };
54554
+ /** @description JSON request body */
54555
+ requestBody: {
54556
+ content: {
54557
+ "application/json": components["schemas"]["MoveSessionToProfileRequest"];
54558
+ };
54559
+ };
54560
+ responses: {
54561
+ /** @description OK */
54562
+ 200: {
54563
+ headers: {
54564
+ [name: string]: unknown;
54565
+ };
54566
+ content: {
54567
+ "application/json": components["schemas"]["MoveSessionToProfileResponse"];
54568
+ };
54569
+ };
54570
+ /** @description Invalid move request or target profile */
54571
+ 400: {
54572
+ headers: {
54573
+ [name: string]: unknown;
54574
+ };
54575
+ content: {
54576
+ "application/json": components["schemas"]["ErrorPayload"];
54577
+ };
54578
+ };
54579
+ /** @description The caller cannot write to the target profile */
54580
+ 403: {
54581
+ headers: {
54582
+ [name: string]: unknown;
54583
+ };
54584
+ content: {
54585
+ "application/json": components["schemas"]["ErrorPayload"];
54586
+ };
54587
+ };
54588
+ /** @description Session not found */
54589
+ 404: {
54590
+ headers: {
54591
+ [name: string]: unknown;
54592
+ };
54593
+ content: {
54594
+ "application/json": components["schemas"]["ErrorPayload"];
54595
+ };
54596
+ };
54597
+ /** @description Move refused by a rule; code names the rule */
54598
+ 409: {
54599
+ headers: {
54600
+ [name: string]: unknown;
54601
+ };
54602
+ content: {
54603
+ "application/json": components["schemas"]["ErrorPayload"];
54604
+ };
54605
+ };
54606
+ /** @description Internal server error */
54607
+ 500: {
54608
+ headers: {
54609
+ [name: string]: unknown;
54610
+ };
54611
+ content: {
54612
+ "application/json": components["schemas"]["ErrorPayload"];
54613
+ };
54614
+ };
54615
+ /** @description Session profile move unavailable */
54616
+ 503: {
54617
+ headers: {
54618
+ [name: string]: unknown;
54619
+ };
54620
+ content: {
54621
+ "application/json": components["schemas"]["ErrorPayload"];
54622
+ };
54623
+ };
54624
+ };
54625
+ };
53692
54626
  setSessionParent: {
53693
54627
  parameters: {
53694
54628
  query?: {
@@ -53847,6 +54781,10 @@ export interface operations {
53847
54781
  descendants?: boolean;
53848
54782
  /** @description Filter by interaction status */
53849
54783
  status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
54784
+ /** @description Read one profile's rows by name */
54785
+ profile?: string;
54786
+ /** @description Read the owner-labeled all-profiles aggregate */
54787
+ all_profiles?: boolean;
53850
54788
  };
53851
54789
  header?: never;
53852
54790
  path: {
@@ -53917,7 +54855,10 @@ export interface operations {
53917
54855
  };
53918
54856
  updateSessionPresence: {
53919
54857
  parameters: {
53920
- query?: never;
54858
+ query?: {
54859
+ /** @description Act as this profile by name */
54860
+ profile?: string;
54861
+ };
53921
54862
  header?: never;
53922
54863
  path: {
53923
54864
  /** @description Workspace id */
@@ -54161,7 +55102,10 @@ export interface operations {
54161
55102
  };
54162
55103
  sendSessionPrompt: {
54163
55104
  parameters: {
54164
- query?: never;
55105
+ query?: {
55106
+ /** @description Act as this profile by name */
55107
+ profile?: string;
55108
+ };
54165
55109
  header?: never;
54166
55110
  path: {
54167
55111
  /** @description Workspace id */
@@ -54272,7 +55216,10 @@ export interface operations {
54272
55216
  };
54273
55217
  cancelSessionPrompt: {
54274
55218
  parameters: {
54275
- query?: never;
55219
+ query?: {
55220
+ /** @description Act as this profile by name */
55221
+ profile?: string;
55222
+ };
54276
55223
  header?: never;
54277
55224
  path: {
54278
55225
  /** @description Workspace id */
@@ -54315,7 +55262,12 @@ export interface operations {
54315
55262
  };
54316
55263
  listSessionInputs: {
54317
55264
  parameters: {
54318
- query?: never;
55265
+ query?: {
55266
+ /** @description Read one profile's rows by name */
55267
+ profile?: string;
55268
+ /** @description Read the owner-labeled all-profiles aggregate */
55269
+ all_profiles?: boolean;
55270
+ };
54319
55271
  header?: never;
54320
55272
  path: {
54321
55273
  /** @description Workspace id */
@@ -54358,7 +55310,10 @@ export interface operations {
54358
55310
  };
54359
55311
  clearSessionInputs: {
54360
55312
  parameters: {
54361
- query?: never;
55313
+ query?: {
55314
+ /** @description Act as this profile by name */
55315
+ profile?: string;
55316
+ };
54362
55317
  header?: never;
54363
55318
  path: {
54364
55319
  /** @description Workspace id */
@@ -54410,7 +55365,10 @@ export interface operations {
54410
55365
  };
54411
55366
  replaceSessionInput: {
54412
55367
  parameters: {
54413
- query?: never;
55368
+ query?: {
55369
+ /** @description Act as this profile by name */
55370
+ profile?: string;
55371
+ };
54414
55372
  header?: never;
54415
55373
  path: {
54416
55374
  /** @description Workspace id */
@@ -54469,7 +55427,10 @@ export interface operations {
54469
55427
  };
54470
55428
  cancelQueuedSessionPrompt: {
54471
55429
  parameters: {
54472
- query?: never;
55430
+ query?: {
55431
+ /** @description Act as this profile by name */
55432
+ profile?: string;
55433
+ };
54473
55434
  header?: never;
54474
55435
  path: {
54475
55436
  /** @description Workspace id */
@@ -54514,7 +55475,10 @@ export interface operations {
54514
55475
  };
54515
55476
  promoteSessionInput: {
54516
55477
  parameters: {
54517
- query?: never;
55478
+ query?: {
55479
+ /** @description Act as this profile by name */
55480
+ profile?: string;
55481
+ };
54518
55482
  header?: never;
54519
55483
  path: {
54520
55484
  /** @description Workspace id */
@@ -54585,6 +55549,10 @@ export interface operations {
54585
55549
  query?: {
54586
55550
  /** @description Maximum recent messages to include */
54587
55551
  limit?: number;
55552
+ /** @description Read one profile's rows by name */
55553
+ profile?: string;
55554
+ /** @description Read the owner-labeled all-profiles aggregate */
55555
+ all_profiles?: boolean;
54588
55556
  };
54589
55557
  header?: never;
54590
55558
  path: {
@@ -54642,6 +55610,8 @@ export interface operations {
54642
55610
  dry_run?: boolean;
54643
55611
  /** @description Allow repair for stopped sessions whose stop reason is not crash or error */
54644
55612
  force?: boolean;
55613
+ /** @description Act as this profile by name */
55614
+ profile?: string;
54645
55615
  };
54646
55616
  header?: never;
54647
55617
  path: {
@@ -54850,7 +55820,10 @@ export interface operations {
54850
55820
  };
54851
55821
  setSessionRuntime: {
54852
55822
  parameters: {
54853
- query?: never;
55823
+ query?: {
55824
+ /** @description Act as this profile by name */
55825
+ profile?: string;
55826
+ };
54854
55827
  header?: never;
54855
55828
  path: {
54856
55829
  /** @description Workspace id */
@@ -54919,6 +55892,8 @@ export interface operations {
54919
55892
  query: {
54920
55893
  /** @description Current runtime selection revision */
54921
55894
  expected_revision: number;
55895
+ /** @description Act as this profile by name */
55896
+ profile?: string;
54922
55897
  };
54923
55898
  header?: never;
54924
55899
  path: {
@@ -54980,7 +55955,10 @@ export interface operations {
54980
55955
  };
54981
55956
  refreshSessionSoul: {
54982
55957
  parameters: {
54983
- query?: never;
55958
+ query?: {
55959
+ /** @description Act as this profile by name */
55960
+ profile?: string;
55961
+ };
54984
55962
  header?: never;
54985
55963
  path: {
54986
55964
  /** @description Workspace id */
@@ -55055,7 +56033,12 @@ export interface operations {
55055
56033
  };
55056
56034
  getSessionStatus: {
55057
56035
  parameters: {
55058
- query?: never;
56036
+ query?: {
56037
+ /** @description Read one profile's rows by name */
56038
+ profile?: string;
56039
+ /** @description Read the owner-labeled all-profiles aggregate */
56040
+ all_profiles?: boolean;
56041
+ };
55059
56042
  header?: never;
55060
56043
  path: {
55061
56044
  /** @description Workspace id */
@@ -55107,7 +56090,10 @@ export interface operations {
55107
56090
  };
55108
56091
  steerSessionPrompt: {
55109
56092
  parameters: {
55110
- query?: never;
56093
+ query?: {
56094
+ /** @description Act as this profile by name */
56095
+ profile?: string;
56096
+ };
55111
56097
  header?: never;
55112
56098
  path: {
55113
56099
  /** @description Workspace id */
@@ -55278,6 +56264,10 @@ export interface operations {
55278
56264
  generation?: number;
55279
56265
  /** @description Maximum entries per transcript snapshot or change batch */
55280
56266
  limit?: number;
56267
+ /** @description Read one profile's rows by name */
56268
+ profile?: string;
56269
+ /** @description Read the owner-labeled all-profiles aggregate */
56270
+ all_profiles?: boolean;
55281
56271
  };
55282
56272
  header?: {
55283
56273
  /** @description Resume after the last applied SSE cursor; transcript reconnects also require epoch and generation */
@@ -55363,6 +56353,10 @@ export interface operations {
55363
56353
  cursor?: string;
55364
56354
  /** @description Row order: newest first (default), or most urgent first (waiting, failed, working, queued, settled) then newest */
55365
56355
  order?: "newest" | "urgency";
56356
+ /** @description Read one profile's rows by name */
56357
+ profile?: string;
56358
+ /** @description Read the owner-labeled all-profiles aggregate */
56359
+ all_profiles?: boolean;
55366
56360
  };
55367
56361
  header?: never;
55368
56362
  path: {
@@ -55436,6 +56430,10 @@ export interface operations {
55436
56430
  query?: {
55437
56431
  /** @description Effective agent name */
55438
56432
  agent_name?: string;
56433
+ /** @description Read one profile's rows by name */
56434
+ profile?: string;
56435
+ /** @description Read the owner-labeled all-profiles aggregate */
56436
+ all_profiles?: boolean;
55439
56437
  };
55440
56438
  header?: never;
55441
56439
  path: {
@@ -55479,7 +56477,10 @@ export interface operations {
55479
56477
  };
55480
56478
  searchSessionTools: {
55481
56479
  parameters: {
55482
- query?: never;
56480
+ query?: {
56481
+ /** @description Act as this profile by name */
56482
+ profile?: string;
56483
+ };
55483
56484
  header?: never;
55484
56485
  path: {
55485
56486
  /** @description Workspace id */
@@ -55541,6 +56542,10 @@ export interface operations {
55541
56542
  limit?: number;
55542
56543
  /** @description Return entries whose stable start sequence is before this cursor */
55543
56544
  before_sequence?: number;
56545
+ /** @description Read one profile's rows by name */
56546
+ profile?: string;
56547
+ /** @description Read the owner-labeled all-profiles aggregate */
56548
+ all_profiles?: boolean;
55544
56549
  };
55545
56550
  header?: never;
55546
56551
  path: {
@@ -55602,7 +56607,12 @@ export interface operations {
55602
56607
  };
55603
56608
  getSessionTranscriptOutline: {
55604
56609
  parameters: {
55605
- query?: never;
56610
+ query?: {
56611
+ /** @description Read one profile's rows by name */
56612
+ profile?: string;
56613
+ /** @description Read the owner-labeled all-profiles aggregate */
56614
+ all_profiles?: boolean;
56615
+ };
55606
56616
  header?: never;
55607
56617
  path: {
55608
56618
  /** @description Workspace id */
@@ -55668,6 +56678,10 @@ export interface operations {
55668
56678
  q: string;
55669
56679
  /** @description Maximum matches; defaults to 200, capped at 1000; truncated reports omitted matches */
55670
56680
  limit?: number;
56681
+ /** @description Read one profile's rows by name */
56682
+ profile?: string;
56683
+ /** @description Read the owner-labeled all-profiles aggregate */
56684
+ all_profiles?: boolean;
55671
56685
  };
55672
56686
  header?: never;
55673
56687
  path: {
@@ -55784,7 +56798,12 @@ export interface operations {
55784
56798
  };
55785
56799
  getSessionUsage: {
55786
56800
  parameters: {
55787
- query?: never;
56801
+ query?: {
56802
+ /** @description Read one profile's rows by name */
56803
+ profile?: string;
56804
+ /** @description Read the owner-labeled all-profiles aggregate */
56805
+ all_profiles?: boolean;
56806
+ };
55788
56807
  header?: never;
55789
56808
  path: {
55790
56809
  /** @description Workspace id */
@@ -55827,7 +56846,12 @@ export interface operations {
55827
56846
  };
55828
56847
  getSessionUsageTurns: {
55829
56848
  parameters: {
55830
- query?: never;
56849
+ query?: {
56850
+ /** @description Read one profile's rows by name */
56851
+ profile?: string;
56852
+ /** @description Read the owner-labeled all-profiles aggregate */
56853
+ all_profiles?: boolean;
56854
+ };
55831
56855
  header?: never;
55832
56856
  path: {
55833
56857
  /** @description Workspace id */
@@ -55870,7 +56894,10 @@ export interface operations {
55870
56894
  };
55871
56895
  waitForSession: {
55872
56896
  parameters: {
55873
- query?: never;
56897
+ query?: {
56898
+ /** @description Act as this profile by name */
56899
+ profile?: string;
56900
+ };
55874
56901
  header?: never;
55875
56902
  path: {
55876
56903
  /** @description Workspace id */
@@ -56116,7 +57143,10 @@ export interface operations {
56116
57143
  };
56117
57144
  forkSessionToWorktree: {
56118
57145
  parameters: {
56119
- query?: never;
57146
+ query?: {
57147
+ /** @description Act as this profile by name */
57148
+ profile?: string;
57149
+ };
56120
57150
  header?: never;
56121
57151
  path: {
56122
57152
  /** @description Workspace id */
@@ -56548,8 +57578,10 @@ export interface operations {
56548
57578
  downloadTerminalArtifact: {
56549
57579
  parameters: {
56550
57580
  query?: {
56551
- /** @description Act as this profile by name */
57581
+ /** @description Read one profile's rows by name */
56552
57582
  profile?: string;
57583
+ /** @description Read the owner-labeled all-profiles aggregate */
57584
+ all_profiles?: boolean;
56553
57585
  };
56554
57586
  header?: never;
56555
57587
  path: {
@@ -56938,8 +57970,10 @@ export interface operations {
56938
57970
  downloadTerminalRecording: {
56939
57971
  parameters: {
56940
57972
  query?: {
56941
- /** @description Act as this profile by name */
57973
+ /** @description Read one profile's rows by name */
56942
57974
  profile?: string;
57975
+ /** @description Read the owner-labeled all-profiles aggregate */
57976
+ all_profiles?: boolean;
56943
57977
  };
56944
57978
  header?: never;
56945
57979
  path: {
@@ -57029,8 +58063,12 @@ export interface operations {
57029
58063
  streamTerminalCatalog: {
57030
58064
  parameters: {
57031
58065
  query?: {
57032
- /** @description Act as this profile by name */
58066
+ /** @description Resume cursor when Last-Event-ID cannot be set; the header takes precedence */
58067
+ last_event_id?: string;
58068
+ /** @description Read one profile's rows by name */
57033
58069
  profile?: string;
58070
+ /** @description Read the owner-labeled all-profiles aggregate */
58071
+ all_profiles?: boolean;
57034
58072
  };
57035
58073
  header?: {
57036
58074
  /** @description Resume after the last terminal catalog event */
@@ -57044,6 +58082,13 @@ export interface operations {
57044
58082
  };
57045
58083
  requestBody?: never;
57046
58084
  responses: {
58085
+ /** @description WebSocket upgrade; each text message contains one complete SSE frame */
58086
+ 101: {
58087
+ headers: {
58088
+ [name: string]: unknown;
58089
+ };
58090
+ content?: never;
58091
+ };
57047
58092
  /** @description Terminal catalog event stream */
57048
58093
  200: {
57049
58094
  headers: {
@@ -57121,8 +58166,10 @@ export interface operations {
57121
58166
  getTerminal: {
57122
58167
  parameters: {
57123
58168
  query?: {
57124
- /** @description Act as this profile by name */
58169
+ /** @description Read one profile's rows by name */
57125
58170
  profile?: string;
58171
+ /** @description Read the owner-labeled all-profiles aggregate */
58172
+ all_profiles?: boolean;
57126
58173
  };
57127
58174
  header?: never;
57128
58175
  path: {