@compozy/client 0.5.0 → 0.5.2

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;
@@ -502,6 +502,23 @@ export interface paths {
502
502
  patch?: never;
503
503
  trace?: never;
504
504
  };
505
+ "/api/agents/activity": {
506
+ parameters: {
507
+ query?: never;
508
+ header?: never;
509
+ path?: never;
510
+ cookie?: never;
511
+ };
512
+ get?: never;
513
+ put?: never;
514
+ /** Read activity for up to 100 agent and workspace selections in request order */
515
+ post: operations["batchAgentActivity"];
516
+ delete?: never;
517
+ options?: never;
518
+ head?: never;
519
+ patch?: never;
520
+ trace?: never;
521
+ };
505
522
  "/api/agents/aggregate": {
506
523
  parameters: {
507
524
  query?: never;
@@ -659,6 +676,41 @@ export interface paths {
659
676
  patch?: never;
660
677
  trace?: never;
661
678
  };
679
+ "/api/agents/{name}/heartbeat/scripts/{script}/approve": {
680
+ parameters: {
681
+ query?: never;
682
+ header?: never;
683
+ path?: never;
684
+ cookie?: never;
685
+ };
686
+ get?: never;
687
+ put?: never;
688
+ /** Approve exact source script bytes (operator only) */
689
+ post: operations["approveAgentHeartbeatScript"];
690
+ /** Revoke a source script approval (operator only) */
691
+ delete: operations["revokeAgentHeartbeatScript"];
692
+ options?: never;
693
+ head?: never;
694
+ patch?: never;
695
+ trace?: never;
696
+ };
697
+ "/api/agents/{name}/heartbeat/sources": {
698
+ parameters: {
699
+ query?: never;
700
+ header?: never;
701
+ path?: never;
702
+ cookie?: never;
703
+ };
704
+ /** List check-in source kinds, scripts and effective limits */
705
+ get: operations["getAgentHeartbeatSources"];
706
+ put?: never;
707
+ post?: never;
708
+ delete?: never;
709
+ options?: never;
710
+ head?: never;
711
+ patch?: never;
712
+ trace?: never;
713
+ };
662
714
  "/api/agents/{name}/heartbeat/status": {
663
715
  parameters: {
664
716
  query?: never;
@@ -1337,6 +1389,23 @@ export interface paths {
1337
1389
  patch?: never;
1338
1390
  trace?: never;
1339
1391
  };
1392
+ "/api/daemon/profile/{kind}": {
1393
+ parameters: {
1394
+ query?: never;
1395
+ header?: never;
1396
+ path?: never;
1397
+ cookie?: never;
1398
+ };
1399
+ /** Capture a runtime profile over the local socket */
1400
+ get: operations["captureDaemonProfile"];
1401
+ put?: never;
1402
+ post?: never;
1403
+ delete?: never;
1404
+ options?: never;
1405
+ head?: never;
1406
+ patch?: never;
1407
+ trace?: never;
1408
+ };
1340
1409
  "/api/doctor": {
1341
1410
  parameters: {
1342
1411
  query?: never;
@@ -4701,7 +4770,7 @@ export interface paths {
4701
4770
  path?: never;
4702
4771
  cookie?: never;
4703
4772
  };
4704
- /** Stream one profile-scoped terminal catalog */
4773
+ /** Stream the workspace terminal catalog */
4705
4774
  get: operations["streamTerminalsAggregate"];
4706
4775
  put?: never;
4707
4776
  post?: never;
@@ -6332,6 +6401,23 @@ export interface paths {
6332
6401
  patch?: never;
6333
6402
  trace?: never;
6334
6403
  };
6404
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/mark-seen": {
6405
+ parameters: {
6406
+ query?: never;
6407
+ header?: never;
6408
+ path?: never;
6409
+ cookie?: never;
6410
+ };
6411
+ get?: never;
6412
+ put?: never;
6413
+ /** 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 */
6414
+ post: operations["markSessionSeen"];
6415
+ delete?: never;
6416
+ options?: never;
6417
+ head?: never;
6418
+ patch?: never;
6419
+ trace?: never;
6420
+ };
6335
6421
  "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors": {
6336
6422
  parameters: {
6337
6423
  query?: never;
@@ -6383,6 +6469,23 @@ export interface paths {
6383
6469
  patch?: never;
6384
6470
  trace?: never;
6385
6471
  };
6472
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/move-to-profile": {
6473
+ parameters: {
6474
+ query?: never;
6475
+ header?: never;
6476
+ path?: never;
6477
+ cookie?: never;
6478
+ };
6479
+ get?: never;
6480
+ put?: never;
6481
+ /** Copy a stopped user session into another profile and archive the original */
6482
+ post: operations["moveSessionToProfile"];
6483
+ delete?: never;
6484
+ options?: never;
6485
+ head?: never;
6486
+ patch?: never;
6487
+ trace?: never;
6488
+ };
6386
6489
  "/api/workspaces/{workspace_id}/sessions/{session_id}/parent": {
6387
6490
  parameters: {
6388
6491
  query?: never;
@@ -7076,7 +7179,7 @@ export interface paths {
7076
7179
  path?: never;
7077
7180
  cookie?: never;
7078
7181
  };
7079
- /** Stream one profile-scoped terminal catalog */
7182
+ /** Stream the workspace terminal catalog */
7080
7183
  get: operations["streamTerminalCatalog"];
7081
7184
  put?: never;
7082
7185
  post?: never;
@@ -7753,11 +7856,22 @@ export interface components {
7753
7856
  id: string;
7754
7857
  value_id?: string;
7755
7858
  };
7859
+ AgentActivityBatchRequest: {
7860
+ days?: number;
7861
+ items: components["schemas"]["AgentActivitySelection"][];
7862
+ };
7863
+ AgentActivityBatchResponse: {
7864
+ activities: components["schemas"]["AgentActivityResponse"][];
7865
+ };
7756
7866
  AgentActivityResponse: {
7757
7867
  busy_by_hour: components["schemas"]["ActivityHour"][];
7758
7868
  cost_by_project: components["schemas"]["ActivityCost"][];
7759
7869
  reports_by_day: components["schemas"]["ActivityDay"][];
7760
7870
  };
7871
+ AgentActivitySelection: {
7872
+ name: string;
7873
+ workspaces: string[];
7874
+ };
7761
7875
  AgentCapabilityPayload: {
7762
7876
  id: string;
7763
7877
  source?: string;
@@ -7830,6 +7944,7 @@ export interface components {
7830
7944
  AgentEffectiveRuntimePayload: {
7831
7945
  acp_options?: components["schemas"]["AgentACPOptionSelection"][];
7832
7946
  model?: string;
7947
+ permissions?: string;
7833
7948
  provider: string;
7834
7949
  reasoning_effort?: string;
7835
7950
  session_env?: {
@@ -7842,6 +7957,7 @@ export interface components {
7842
7957
  };
7843
7958
  AgentEffectiveRuntimeSources: {
7844
7959
  model?: string;
7960
+ permissions?: string;
7845
7961
  provider: string;
7846
7962
  reasoning_effort?: string;
7847
7963
  speed?: string;
@@ -7876,6 +7992,7 @@ export interface components {
7876
7992
  };
7877
7993
  AgentInstanceCheckDigest: {
7878
7994
  key: string;
7995
+ source?: components["schemas"]["AgentInstanceProposalSource"] | null;
7879
7996
  summary: string;
7880
7997
  };
7881
7998
  AgentInstanceCheckInPayload: {
@@ -7897,6 +8014,7 @@ export interface components {
7897
8014
  digest: components["schemas"]["AgentInstanceCheckDigest"][];
7898
8015
  gate?: string;
7899
8016
  occurrence_id?: string;
8017
+ sources?: components["schemas"]["SourceOutcome"][];
7900
8018
  };
7901
8019
  AgentInstanceCreateRequest: {
7902
8020
  agent: string;
@@ -7943,6 +8061,7 @@ export interface components {
7943
8061
  now: string;
7944
8062
  pause_reason: string;
7945
8063
  profile_id: string;
8064
+ profile_name: string;
7946
8065
  provider: string;
7947
8066
  /** Format: int64 */
7948
8067
  quiet_streak: number;
@@ -7950,6 +8069,7 @@ export interface components {
7950
8069
  [key: string]: unknown;
7951
8070
  };
7952
8071
  scope: string;
8072
+ sources: components["schemas"]["HeartbeatSourceStatus"][];
7953
8073
  state: string;
7954
8074
  /** Format: int64 */
7955
8075
  unattended_turn_limit: number;
@@ -7973,10 +8093,14 @@ export interface components {
7973
8093
  };
7974
8094
  AgentInstanceProposalSource: {
7975
8095
  event_id: string;
8096
+ item_key?: string;
7976
8097
  kind: string;
7977
8098
  received_at: string;
7978
8099
  run_id: string;
8100
+ source_id?: string;
8101
+ source_ref?: string;
7979
8102
  trigger_id: string;
8103
+ url?: string;
7980
8104
  };
7981
8105
  AgentInstanceReportPayload: {
7982
8106
  action?: string;
@@ -7999,9 +8123,13 @@ export interface components {
7999
8123
  };
8000
8124
  AgentInstanceReportSource: {
8001
8125
  event: string;
8126
+ item_key?: string;
8002
8127
  kind: string;
8128
+ source_id?: string;
8129
+ source_ref?: string;
8003
8130
  summary?: string;
8004
8131
  trigger_name: string;
8132
+ url?: string;
8005
8133
  };
8006
8134
  AgentInstanceReportsResponse: {
8007
8135
  next_cursor: string;
@@ -9282,8 +9410,11 @@ export interface components {
9282
9410
  description?: string | null;
9283
9411
  display_name?: string | null;
9284
9412
  fallback_chain?: components["schemas"]["AgentFallbackRoutePayload"][];
9285
- /** @enum {string} */
9286
- kind?: "on_demand" | "stays_on";
9413
+ /**
9414
+ * @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.
9415
+ * @enum {string}
9416
+ */
9417
+ kind?: "on_demand" | "always_on" | "stays_on";
9287
9418
  label?: string;
9288
9419
  model?: string;
9289
9420
  name: string;
@@ -9591,7 +9722,11 @@ export interface components {
9591
9722
  deny_tools?: string[];
9592
9723
  description?: string | null;
9593
9724
  display_name?: string | null;
9594
- kind?: string;
9725
+ /**
9726
+ * @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.
9727
+ * @enum {string}
9728
+ */
9729
+ kind?: "on_demand" | "always_on" | "stays_on";
9595
9730
  model?: string;
9596
9731
  permission_rules?: components["schemas"]["AgentPermissionRulePayload"][];
9597
9732
  /** @enum {string} */
@@ -9611,8 +9746,11 @@ export interface components {
9611
9746
  workspace_access?: string;
9612
9747
  };
9613
9748
  DuplicateAgentRequest: {
9614
- /** @enum {string} */
9615
- kind?: "on_demand" | "stays_on";
9749
+ /**
9750
+ * @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.
9751
+ * @enum {string}
9752
+ */
9753
+ kind?: "on_demand" | "always_on" | "stays_on";
9616
9754
  name: string;
9617
9755
  overrides?: components["schemas"]["DuplicateAgentOverrides"] | null;
9618
9756
  /** @enum {string} */
@@ -9662,6 +9800,10 @@ export interface components {
9662
9800
  /** Format: int64 */
9663
9801
  start_sequence: number;
9664
9802
  };
9803
+ Error: {
9804
+ code: string;
9805
+ detail: string;
9806
+ };
9665
9807
  ErrorPayload: {
9666
9808
  blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
9667
9809
  code?: string;
@@ -10933,6 +11075,7 @@ export interface components {
10933
11075
  };
10934
11076
  HeartbeatContextProjectionPayload: {
10935
11077
  include?: string[];
11078
+ sources?: components["schemas"]["Ref"][];
10936
11079
  };
10937
11080
  HeartbeatDeleteByPathRequest: {
10938
11081
  expected_digest: string;
@@ -11030,6 +11173,54 @@ export interface components {
11030
11173
  target_digest?: string;
11031
11174
  workspace_id?: string;
11032
11175
  };
11176
+ HeartbeatScriptApprovalPayload: {
11177
+ /** Format: date-time */
11178
+ approved_at: string;
11179
+ script: string;
11180
+ sha256: string;
11181
+ };
11182
+ HeartbeatScriptApprovalRequest: {
11183
+ sha256: string;
11184
+ };
11185
+ HeartbeatSourceCatalogPayload: {
11186
+ agent: string;
11187
+ kinds: components["schemas"]["KindDescriptor"][];
11188
+ limits: components["schemas"]["HeartbeatSourceLimitsPayload"];
11189
+ scripts: components["schemas"]["HeartbeatSourceScriptPayload"][];
11190
+ scripts_enabled: boolean;
11191
+ };
11192
+ HeartbeatSourceLimitsPayload: {
11193
+ max_items: number;
11194
+ max_per_agent: number;
11195
+ };
11196
+ HeartbeatSourceScriptPayload: {
11197
+ approved: boolean;
11198
+ approved_sha256: string | null;
11199
+ executable: boolean;
11200
+ /** Format: date-time */
11201
+ last_modified?: string | null;
11202
+ line_count?: number;
11203
+ name: string;
11204
+ path?: string;
11205
+ sha256: string;
11206
+ };
11207
+ HeartbeatSourceStatus: {
11208
+ awaiting_approval?: boolean;
11209
+ error?: components["schemas"]["Error"] | null;
11210
+ /** Format: int64 */
11211
+ failure_streak: number;
11212
+ id: string;
11213
+ kind?: string;
11214
+ /** Format: int64 */
11215
+ last_item_count: number;
11216
+ last_polled_at?: string;
11217
+ last_success_at?: string;
11218
+ next_poll_at?: string;
11219
+ script?: string;
11220
+ script_path?: string;
11221
+ script_sha256?: string;
11222
+ status: string;
11223
+ };
11033
11224
  HeartbeatStatusResponse: {
11034
11225
  active: boolean;
11035
11226
  agent_name: string;
@@ -11074,6 +11265,7 @@ export interface components {
11074
11265
  policy_snapshot_id?: string;
11075
11266
  /** @enum {string} */
11076
11267
  reason:
11268
+ | "source_poll_in_flight"
11077
11269
  | "wake_sent"
11078
11270
  | "heartbeat_disabled"
11079
11271
  | "heartbeat_invalid"
@@ -11105,6 +11297,7 @@ export interface components {
11105
11297
  policy_snapshot_id?: string;
11106
11298
  /** @enum {string} */
11107
11299
  reason:
11300
+ | "source_poll_in_flight"
11108
11301
  | "wake_sent"
11109
11302
  | "heartbeat_disabled"
11110
11303
  | "heartbeat_invalid"
@@ -11136,6 +11329,7 @@ export interface components {
11136
11329
  coalesced_count: number;
11137
11330
  /** @enum {string} */
11138
11331
  last_reason?:
11332
+ | "source_poll_in_flight"
11139
11333
  | "wake_sent"
11140
11334
  | "heartbeat_disabled"
11141
11335
  | "heartbeat_invalid"
@@ -11317,6 +11511,13 @@ export interface components {
11317
11511
  jobs: components["schemas"]["JobPayload"][];
11318
11512
  page: components["schemas"]["CountedCursorPagePayload"];
11319
11513
  };
11514
+ KindDescriptor: {
11515
+ description?: string;
11516
+ extension: string;
11517
+ kind: string;
11518
+ params_schema?: unknown;
11519
+ title: string;
11520
+ };
11320
11521
  LogEventPayload: {
11321
11522
  actor_id?: string;
11322
11523
  actor_kind?: string;
@@ -12636,6 +12837,15 @@ export interface components {
12636
12837
  /** Format: date-time */
12637
12838
  return_at?: string | null;
12638
12839
  };
12840
+ MoveSessionToProfileRequest: {
12841
+ target_profile: string;
12842
+ };
12843
+ MoveSessionToProfileResponse: {
12844
+ branch?: string;
12845
+ original: components["schemas"]["SessionPayload"];
12846
+ session: components["schemas"]["SessionPayload"];
12847
+ worktree_id?: string;
12848
+ };
12639
12849
  MoveWorkspaceRequest: {
12640
12850
  folder_id?: string;
12641
12851
  workspace_id: string;
@@ -13600,6 +13810,12 @@ export interface components {
13600
13810
  | "worktree_not_found"
13601
13811
  | "worktree_not_ready";
13602
13812
  };
13813
+ Ref: {
13814
+ id: string;
13815
+ kind?: string;
13816
+ script?: string;
13817
+ with?: unknown;
13818
+ };
13603
13819
  Reference: {
13604
13820
  effective_paused?: boolean;
13605
13821
  id: string;
@@ -13794,6 +14010,7 @@ export interface components {
13794
14010
  /** Format: date-time */
13795
14011
  old_started_at: string;
13796
14012
  operation_id: string;
14013
+ progress?: components["schemas"]["RestartProgress"] | null;
13797
14014
  /** Format: date-time */
13798
14015
  started_at: string;
13799
14016
  /** @enum {string} */
@@ -13801,6 +14018,17 @@ export interface components {
13801
14018
  /** Format: date-time */
13802
14019
  updated_at: string;
13803
14020
  };
14021
+ RestartProgress: {
14022
+ /** Format: int64 */
14023
+ completed: number;
14024
+ /** @enum {string} */
14025
+ phase: "migrating";
14026
+ stage: string;
14027
+ /** Format: int64 */
14028
+ total: number;
14029
+ /** Format: date-time */
14030
+ updated_at: string;
14031
+ };
13804
14032
  ResumeSessionFromLaterRequest: {
13805
14033
  with_children?: boolean;
13806
14034
  };
@@ -15054,6 +15282,7 @@ export interface components {
15054
15282
  attention?: string;
15055
15283
  /** Format: date-time */
15056
15284
  attention_changed_at?: string | null;
15285
+ attention_dismissible?: boolean;
15057
15286
  available_commands: components["schemas"]["ACPAvailableCommandPayload"][];
15058
15287
  /** @enum {string} */
15059
15288
  badge:
@@ -15137,6 +15366,7 @@ export interface components {
15137
15366
  verified?: boolean | null;
15138
15367
  /** @enum {string} */
15139
15368
  waiting_on?: "sessions" | "monitor";
15369
+ working_dir?: string;
15140
15370
  workspace_id?: string;
15141
15371
  workspace_path?: string;
15142
15372
  worktree_binding?: components["schemas"]["WorktreeBindingAvailability"] | null;
@@ -15267,6 +15497,8 @@ export interface components {
15267
15497
  cause: string;
15268
15498
  /** Format: date-time */
15269
15499
  observed_at: string | null;
15500
+ /** Format: date-time */
15501
+ retry_after?: string | null;
15270
15502
  stale: boolean;
15271
15503
  /** @enum {string} */
15272
15504
  state: "ok" | "pending" | "error" | "incomplete";
@@ -15353,6 +15585,8 @@ export interface components {
15353
15585
  max_attempts: number;
15354
15586
  /** Format: date-time */
15355
15587
  next_attempt_at?: string | null;
15588
+ /** @enum {string} */
15589
+ reason?: "runtime_exit" | "provider_auth";
15356
15590
  /** Format: date-time */
15357
15591
  started_at: string;
15358
15592
  };
@@ -15775,6 +16009,9 @@ export interface components {
15775
16009
  provider?: string;
15776
16010
  reasoning_effort?: string;
15777
16011
  };
16012
+ SettingsDesktopPayload: {
16013
+ editor_command: string;
16014
+ };
15778
16015
  SettingsExtensionDevPayload: {
15779
16016
  watch_interval: string;
15780
16017
  };
@@ -15816,6 +16053,7 @@ export interface components {
15816
16053
  SettingsGeneralConfigPayload: {
15817
16054
  busy_input?: components["schemas"]["SettingsBusyInputPayload"] | null;
15818
16055
  daemon: components["schemas"]["SettingsDaemonPayload"];
16056
+ desktop?: components["schemas"]["SettingsDesktopPayload"] | null;
15819
16057
  http: components["schemas"]["SettingsHTTPPayload"];
15820
16058
  /** @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
16059
  idle_release_after?: string;
@@ -16320,6 +16558,8 @@ export interface components {
16320
16558
  code?: string;
16321
16559
  env_policy: string;
16322
16560
  home_policy: string;
16561
+ /** Format: date-time */
16562
+ last_probe_at?: string | null;
16323
16563
  login: components["schemas"]["ProviderLoginDescriptorPayload"];
16324
16564
  message?: string;
16325
16565
  mode: string;
@@ -17317,6 +17557,15 @@ export interface components {
17317
17557
  exit_slack: number;
17318
17558
  repeat_ratios: number[];
17319
17559
  };
17560
+ SourceOutcome: {
17561
+ /** Format: int64 */
17562
+ duration_ms: number;
17563
+ error?: components["schemas"]["Error"] | null;
17564
+ id: string;
17565
+ items: number;
17566
+ more: boolean;
17567
+ result: string;
17568
+ };
17320
17569
  SourceStatus: {
17321
17570
  reason?: string;
17322
17571
  source: string;
@@ -19028,6 +19277,7 @@ export interface components {
19028
19277
  total: number;
19029
19278
  };
19030
19279
  ToolApprovalGrantPayload: {
19280
+ access_scope?: string;
19031
19281
  agent_name?: string;
19032
19282
  /** Format: date-time */
19033
19283
  created_at: string;
@@ -19213,6 +19463,7 @@ export interface components {
19213
19463
  | "agent_instance_not_found"
19214
19464
  | "agent_instance_starting"
19215
19465
  | "approval_rejected"
19466
+ | "attention_requires_action"
19216
19467
  | "compaction_unsupported"
19217
19468
  | "generation_fenced"
19218
19469
  | "input_request_already_answered"
@@ -19423,6 +19674,7 @@ export interface components {
19423
19674
  | "agent_instance_not_found"
19424
19675
  | "agent_instance_starting"
19425
19676
  | "approval_rejected"
19677
+ | "attention_requires_action"
19426
19678
  | "compaction_unsupported"
19427
19679
  | "generation_fenced"
19428
19680
  | "input_request_already_answered"
@@ -21279,8 +21531,10 @@ export interface operations {
21279
21531
  cursor?: string;
21280
21532
  /** @description Page size */
21281
21533
  limit?: string;
21282
- /** @description Act as this profile by name */
21534
+ /** @description Read one profile's rows by name */
21283
21535
  profile?: string;
21536
+ /** @description Read the owner-labeled all-profiles aggregate */
21537
+ all_profiles?: boolean;
21284
21538
  };
21285
21539
  header?: never;
21286
21540
  path?: never;
@@ -21297,6 +21551,15 @@ export interface operations {
21297
21551
  "application/json": components["schemas"]["AgentInstanceListResponse"];
21298
21552
  };
21299
21553
  };
21554
+ /** @description Invalid profile selection */
21555
+ 400: {
21556
+ headers: {
21557
+ [name: string]: unknown;
21558
+ };
21559
+ content: {
21560
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21561
+ };
21562
+ };
21300
21563
  /** @description Request failed */
21301
21564
  403: {
21302
21565
  headers: {
@@ -21397,95 +21660,13 @@ export interface operations {
21397
21660
  "application/json": components["schemas"]["AgentInstanceResponse"];
21398
21661
  };
21399
21662
  };
21400
- /** @description Request failed */
21401
- 403: {
21402
- headers: {
21403
- [name: string]: unknown;
21404
- };
21405
- content: {
21406
- "application/json": components["schemas"]["ErrorPayload"];
21407
- };
21408
- };
21409
- /** @description Request failed */
21410
- 404: {
21411
- headers: {
21412
- [name: string]: unknown;
21413
- };
21414
- content: {
21415
- "application/json": components["schemas"]["ErrorPayload"];
21416
- };
21417
- };
21418
- /** @description Request failed */
21419
- 409: {
21420
- headers: {
21421
- [name: string]: unknown;
21422
- };
21423
- content: {
21424
- "application/json": components["schemas"]["ErrorPayload"];
21425
- };
21426
- };
21427
- /** @description Request failed */
21428
- 422: {
21429
- headers: {
21430
- [name: string]: unknown;
21431
- };
21432
- content: {
21433
- "application/json": components["schemas"]["ErrorPayload"];
21434
- };
21435
- };
21436
- /** @description Request failed */
21437
- 429: {
21438
- headers: {
21439
- [name: string]: unknown;
21440
- };
21441
- content: {
21442
- "application/json": components["schemas"]["ErrorPayload"];
21443
- };
21444
- };
21445
- /** @description Request failed */
21446
- 500: {
21447
- headers: {
21448
- [name: string]: unknown;
21449
- };
21450
- content: {
21451
- "application/json": components["schemas"]["ErrorPayload"];
21452
- };
21453
- };
21454
- /** @description Request failed */
21455
- 503: {
21456
- headers: {
21457
- [name: string]: unknown;
21458
- };
21459
- content: {
21460
- "application/json": components["schemas"]["ErrorPayload"];
21461
- };
21462
- };
21463
- };
21464
- };
21465
- adoptAgentInstance: {
21466
- parameters: {
21467
- query?: {
21468
- /** @description Act as this profile by name */
21469
- profile?: string;
21470
- };
21471
- header?: never;
21472
- path?: never;
21473
- cookie?: never;
21474
- };
21475
- /** @description JSON request body */
21476
- requestBody: {
21477
- content: {
21478
- "application/json": components["schemas"]["AgentInstanceAdoptRequest"];
21479
- };
21480
- };
21481
- responses: {
21482
- /** @description Created */
21483
- 201: {
21663
+ /** @description Invalid profile selection */
21664
+ 400: {
21484
21665
  headers: {
21485
21666
  [name: string]: unknown;
21486
21667
  };
21487
21668
  content: {
21488
- "application/json": components["schemas"]["AgentInstanceResponse"];
21669
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21489
21670
  };
21490
21671
  };
21491
21672
  /** @description Request failed */
@@ -21553,23 +21734,25 @@ export interface operations {
21553
21734
  };
21554
21735
  };
21555
21736
  };
21556
- getAgentInstance: {
21737
+ adoptAgentInstance: {
21557
21738
  parameters: {
21558
21739
  query?: {
21559
21740
  /** @description Act as this profile by name */
21560
21741
  profile?: string;
21561
21742
  };
21562
21743
  header?: never;
21563
- path: {
21564
- /** @description Instance ID */
21565
- id: string;
21566
- };
21744
+ path?: never;
21567
21745
  cookie?: never;
21568
21746
  };
21569
- requestBody?: never;
21747
+ /** @description JSON request body */
21748
+ requestBody: {
21749
+ content: {
21750
+ "application/json": components["schemas"]["AgentInstanceAdoptRequest"];
21751
+ };
21752
+ };
21570
21753
  responses: {
21571
- /** @description OK */
21572
- 200: {
21754
+ /** @description Created */
21755
+ 201: {
21573
21756
  headers: {
21574
21757
  [name: string]: unknown;
21575
21758
  };
@@ -21577,6 +21760,15 @@ export interface operations {
21577
21760
  "application/json": components["schemas"]["AgentInstanceResponse"];
21578
21761
  };
21579
21762
  };
21763
+ /** @description Invalid profile selection */
21764
+ 400: {
21765
+ headers: {
21766
+ [name: string]: unknown;
21767
+ };
21768
+ content: {
21769
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21770
+ };
21771
+ };
21580
21772
  /** @description Request failed */
21581
21773
  403: {
21582
21774
  headers: {
@@ -21642,11 +21834,13 @@ export interface operations {
21642
21834
  };
21643
21835
  };
21644
21836
  };
21645
- archiveAgentInstance: {
21837
+ getAgentInstance: {
21646
21838
  parameters: {
21647
21839
  query?: {
21648
- /** @description Act as this profile by name */
21840
+ /** @description Read one profile's rows by name */
21649
21841
  profile?: string;
21842
+ /** @description Read the owner-labeled all-profiles aggregate */
21843
+ all_profiles?: boolean;
21650
21844
  };
21651
21845
  header?: never;
21652
21846
  path: {
@@ -21657,12 +21851,23 @@ export interface operations {
21657
21851
  };
21658
21852
  requestBody?: never;
21659
21853
  responses: {
21660
- /** @description Archived */
21661
- 204: {
21854
+ /** @description OK */
21855
+ 200: {
21662
21856
  headers: {
21663
21857
  [name: string]: unknown;
21664
21858
  };
21665
- content?: never;
21859
+ content: {
21860
+ "application/json": components["schemas"]["AgentInstanceResponse"];
21861
+ };
21862
+ };
21863
+ /** @description Invalid profile selection */
21864
+ 400: {
21865
+ headers: {
21866
+ [name: string]: unknown;
21867
+ };
21868
+ content: {
21869
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21870
+ };
21666
21871
  };
21667
21872
  /** @description Request failed */
21668
21873
  403: {
@@ -21729,7 +21934,7 @@ export interface operations {
21729
21934
  };
21730
21935
  };
21731
21936
  };
21732
- updateAgentInstance: {
21937
+ archiveAgentInstance: {
21733
21938
  parameters: {
21734
21939
  query?: {
21735
21940
  /** @description Act as this profile by name */
@@ -21742,20 +21947,22 @@ export interface operations {
21742
21947
  };
21743
21948
  cookie?: never;
21744
21949
  };
21745
- /** @description JSON request body */
21746
- requestBody: {
21747
- content: {
21748
- "application/json": components["schemas"]["AgentInstanceUpdateRequest"];
21749
- };
21750
- };
21950
+ requestBody?: never;
21751
21951
  responses: {
21752
- /** @description Updated */
21753
- 200: {
21952
+ /** @description Archived */
21953
+ 204: {
21954
+ headers: {
21955
+ [name: string]: unknown;
21956
+ };
21957
+ content?: never;
21958
+ };
21959
+ /** @description Invalid profile selection */
21960
+ 400: {
21754
21961
  headers: {
21755
21962
  [name: string]: unknown;
21756
21963
  };
21757
21964
  content: {
21758
- "application/json": components["schemas"]["AgentInstanceResponse"];
21965
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21759
21966
  };
21760
21967
  };
21761
21968
  /** @description Request failed */
@@ -21823,7 +22030,7 @@ export interface operations {
21823
22030
  };
21824
22031
  };
21825
22032
  };
21826
- getAgentInstanceAway: {
22033
+ updateAgentInstance: {
21827
22034
  parameters: {
21828
22035
  query?: {
21829
22036
  /** @description Act as this profile by name */
@@ -21836,15 +22043,29 @@ export interface operations {
21836
22043
  };
21837
22044
  cookie?: never;
21838
22045
  };
21839
- requestBody?: never;
22046
+ /** @description JSON request body */
22047
+ requestBody: {
22048
+ content: {
22049
+ "application/json": components["schemas"]["AgentInstanceUpdateRequest"];
22050
+ };
22051
+ };
21840
22052
  responses: {
21841
- /** @description OK */
22053
+ /** @description Updated */
21842
22054
  200: {
21843
22055
  headers: {
21844
22056
  [name: string]: unknown;
21845
22057
  };
21846
22058
  content: {
21847
- "application/json": components["schemas"]["AgentInstanceAwayResponse"];
22059
+ "application/json": components["schemas"]["AgentInstanceResponse"];
22060
+ };
22061
+ };
22062
+ /** @description Invalid profile selection */
22063
+ 400: {
22064
+ headers: {
22065
+ [name: string]: unknown;
22066
+ };
22067
+ content: {
22068
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21848
22069
  };
21849
22070
  };
21850
22071
  /** @description Request failed */
@@ -21912,11 +22133,13 @@ export interface operations {
21912
22133
  };
21913
22134
  };
21914
22135
  };
21915
- markAgentInstanceSeen: {
22136
+ getAgentInstanceAway: {
21916
22137
  parameters: {
21917
22138
  query?: {
21918
- /** @description Act as this profile by name */
22139
+ /** @description Read one profile's rows by name */
21919
22140
  profile?: string;
22141
+ /** @description Read the owner-labeled all-profiles aggregate */
22142
+ all_profiles?: boolean;
21920
22143
  };
21921
22144
  header?: never;
21922
22145
  path: {
@@ -21933,7 +22156,16 @@ export interface operations {
21933
22156
  [name: string]: unknown;
21934
22157
  };
21935
22158
  content: {
21936
- "application/json": components["schemas"]["AgentInstanceSeenResponse"];
22159
+ "application/json": components["schemas"]["AgentInstanceAwayResponse"];
22160
+ };
22161
+ };
22162
+ /** @description Invalid profile selection */
22163
+ 400: {
22164
+ headers: {
22165
+ [name: string]: unknown;
22166
+ };
22167
+ content: {
22168
+ "application/json": components["schemas"]["ProfileErrorPayload"];
21937
22169
  };
21938
22170
  };
21939
22171
  /** @description Request failed */
@@ -22001,7 +22233,7 @@ export interface operations {
22001
22233
  };
22002
22234
  };
22003
22235
  };
22004
- checkAgentInstance: {
22236
+ markAgentInstanceSeen: {
22005
22237
  parameters: {
22006
22238
  query?: {
22007
22239
  /** @description Act as this profile by name */
@@ -22014,29 +22246,24 @@ export interface operations {
22014
22246
  };
22015
22247
  cookie?: never;
22016
22248
  };
22017
- /** @description JSON request body */
22018
- requestBody: {
22019
- content: {
22020
- "application/json": components["schemas"]["AgentInstanceCheckRequest"];
22021
- };
22022
- };
22249
+ requestBody?: never;
22023
22250
  responses: {
22024
- /** @description Gate or dry-run result */
22251
+ /** @description OK */
22025
22252
  200: {
22026
22253
  headers: {
22027
22254
  [name: string]: unknown;
22028
22255
  };
22029
22256
  content: {
22030
- "application/json": components["schemas"]["AgentInstanceCheckResponse"];
22257
+ "application/json": components["schemas"]["AgentInstanceSeenResponse"];
22031
22258
  };
22032
22259
  };
22033
- /** @description Check admitted */
22034
- 202: {
22260
+ /** @description Invalid profile selection */
22261
+ 400: {
22035
22262
  headers: {
22036
22263
  [name: string]: unknown;
22037
22264
  };
22038
22265
  content: {
22039
- "application/json": components["schemas"]["AgentInstanceCheckResponse"];
22266
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22040
22267
  };
22041
22268
  };
22042
22269
  /** @description Request failed */
@@ -22104,13 +22331,9 @@ export interface operations {
22104
22331
  };
22105
22332
  };
22106
22333
  };
22107
- listAgentInstanceCheckIns: {
22334
+ checkAgentInstance: {
22108
22335
  parameters: {
22109
22336
  query?: {
22110
- /** @description Pagination cursor */
22111
- cursor?: string;
22112
- /** @description Page size from 1 to 100; defaults to 50 */
22113
- limit?: number;
22114
22337
  /** @description Act as this profile by name */
22115
22338
  profile?: string;
22116
22339
  };
@@ -22121,104 +22344,38 @@ export interface operations {
22121
22344
  };
22122
22345
  cookie?: never;
22123
22346
  };
22124
- requestBody?: never;
22347
+ /** @description JSON request body */
22348
+ requestBody: {
22349
+ content: {
22350
+ "application/json": components["schemas"]["AgentInstanceCheckRequest"];
22351
+ };
22352
+ };
22125
22353
  responses: {
22126
- /** @description Wake events, empty when instance wakes are unavailable */
22354
+ /** @description Gate or dry-run result */
22127
22355
  200: {
22128
22356
  headers: {
22129
22357
  [name: string]: unknown;
22130
22358
  };
22131
22359
  content: {
22132
- "application/json": components["schemas"]["AgentInstanceCheckInsResponse"];
22133
- };
22134
- };
22135
- /** @description Request failed */
22136
- 403: {
22137
- headers: {
22138
- [name: string]: unknown;
22139
- };
22140
- content: {
22141
- "application/json": components["schemas"]["ErrorPayload"];
22142
- };
22143
- };
22144
- /** @description Request failed */
22145
- 404: {
22146
- headers: {
22147
- [name: string]: unknown;
22148
- };
22149
- content: {
22150
- "application/json": components["schemas"]["ErrorPayload"];
22151
- };
22152
- };
22153
- /** @description Request failed */
22154
- 409: {
22155
- headers: {
22156
- [name: string]: unknown;
22157
- };
22158
- content: {
22159
- "application/json": components["schemas"]["ErrorPayload"];
22160
- };
22161
- };
22162
- /** @description Request failed */
22163
- 422: {
22164
- headers: {
22165
- [name: string]: unknown;
22166
- };
22167
- content: {
22168
- "application/json": components["schemas"]["ErrorPayload"];
22169
- };
22170
- };
22171
- /** @description Request failed */
22172
- 429: {
22173
- headers: {
22174
- [name: string]: unknown;
22175
- };
22176
- content: {
22177
- "application/json": components["schemas"]["ErrorPayload"];
22178
- };
22179
- };
22180
- /** @description Request failed */
22181
- 500: {
22182
- headers: {
22183
- [name: string]: unknown;
22184
- };
22185
- content: {
22186
- "application/json": components["schemas"]["ErrorPayload"];
22360
+ "application/json": components["schemas"]["AgentInstanceCheckResponse"];
22187
22361
  };
22188
22362
  };
22189
- /** @description Request failed */
22190
- 503: {
22363
+ /** @description Check admitted */
22364
+ 202: {
22191
22365
  headers: {
22192
22366
  [name: string]: unknown;
22193
22367
  };
22194
22368
  content: {
22195
- "application/json": components["schemas"]["ErrorPayload"];
22369
+ "application/json": components["schemas"]["AgentInstanceCheckResponse"];
22196
22370
  };
22197
22371
  };
22198
- };
22199
- };
22200
- ensureAgentInstanceMain: {
22201
- parameters: {
22202
- query?: {
22203
- /** @description Act as this profile by name */
22204
- profile?: string;
22205
- };
22206
- header?: never;
22207
- path: {
22208
- /** @description Instance ID */
22209
- id: string;
22210
- };
22211
- cookie?: never;
22212
- };
22213
- requestBody?: never;
22214
- responses: {
22215
- /** @description OK */
22216
- 200: {
22372
+ /** @description Invalid profile selection */
22373
+ 400: {
22217
22374
  headers: {
22218
22375
  [name: string]: unknown;
22219
22376
  };
22220
22377
  content: {
22221
- "application/json": components["schemas"]["AgentInstanceResponse"];
22378
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22222
22379
  };
22223
22380
  };
22224
22381
  /** @description Request failed */
@@ -22286,30 +22443,43 @@ export interface operations {
22286
22443
  };
22287
22444
  };
22288
22445
  };
22289
- getAgentInstanceOccurrence: {
22446
+ listAgentInstanceCheckIns: {
22290
22447
  parameters: {
22291
22448
  query?: {
22292
- /** @description Act as this profile by name */
22449
+ /** @description Pagination cursor */
22450
+ cursor?: string;
22451
+ /** @description Page size from 1 to 100; defaults to 50 */
22452
+ limit?: number;
22453
+ /** @description Read one profile's rows by name */
22293
22454
  profile?: string;
22455
+ /** @description Read the owner-labeled all-profiles aggregate */
22456
+ all_profiles?: boolean;
22294
22457
  };
22295
22458
  header?: never;
22296
22459
  path: {
22297
22460
  /** @description Instance ID */
22298
22461
  id: string;
22299
- /** @description Occurrence ID */
22300
- occurrence: string;
22301
22462
  };
22302
22463
  cookie?: never;
22303
22464
  };
22304
22465
  requestBody?: never;
22305
22466
  responses: {
22306
- /** @description Occurrence */
22467
+ /** @description Wake events, empty when instance wakes are unavailable */
22307
22468
  200: {
22308
22469
  headers: {
22309
22470
  [name: string]: unknown;
22310
22471
  };
22311
22472
  content: {
22312
- "application/json": components["schemas"]["AgentInstanceOccurrenceResponse"];
22473
+ "application/json": components["schemas"]["AgentInstanceCheckInsResponse"];
22474
+ };
22475
+ };
22476
+ /** @description Invalid profile selection */
22477
+ 400: {
22478
+ headers: {
22479
+ [name: string]: unknown;
22480
+ };
22481
+ content: {
22482
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22313
22483
  };
22314
22484
  };
22315
22485
  /** @description Request failed */
@@ -22377,7 +22547,7 @@ export interface operations {
22377
22547
  };
22378
22548
  };
22379
22549
  };
22380
- pauseAgentInstance: {
22550
+ ensureAgentInstanceMain: {
22381
22551
  parameters: {
22382
22552
  query?: {
22383
22553
  /** @description Act as this profile by name */
@@ -22401,6 +22571,215 @@ export interface operations {
22401
22571
  "application/json": components["schemas"]["AgentInstanceResponse"];
22402
22572
  };
22403
22573
  };
22574
+ /** @description Invalid profile selection */
22575
+ 400: {
22576
+ headers: {
22577
+ [name: string]: unknown;
22578
+ };
22579
+ content: {
22580
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22581
+ };
22582
+ };
22583
+ /** @description Request failed */
22584
+ 403: {
22585
+ headers: {
22586
+ [name: string]: unknown;
22587
+ };
22588
+ content: {
22589
+ "application/json": components["schemas"]["ErrorPayload"];
22590
+ };
22591
+ };
22592
+ /** @description Request failed */
22593
+ 404: {
22594
+ headers: {
22595
+ [name: string]: unknown;
22596
+ };
22597
+ content: {
22598
+ "application/json": components["schemas"]["ErrorPayload"];
22599
+ };
22600
+ };
22601
+ /** @description Request failed */
22602
+ 409: {
22603
+ headers: {
22604
+ [name: string]: unknown;
22605
+ };
22606
+ content: {
22607
+ "application/json": components["schemas"]["ErrorPayload"];
22608
+ };
22609
+ };
22610
+ /** @description Request failed */
22611
+ 422: {
22612
+ headers: {
22613
+ [name: string]: unknown;
22614
+ };
22615
+ content: {
22616
+ "application/json": components["schemas"]["ErrorPayload"];
22617
+ };
22618
+ };
22619
+ /** @description Request failed */
22620
+ 429: {
22621
+ headers: {
22622
+ [name: string]: unknown;
22623
+ };
22624
+ content: {
22625
+ "application/json": components["schemas"]["ErrorPayload"];
22626
+ };
22627
+ };
22628
+ /** @description Request failed */
22629
+ 500: {
22630
+ headers: {
22631
+ [name: string]: unknown;
22632
+ };
22633
+ content: {
22634
+ "application/json": components["schemas"]["ErrorPayload"];
22635
+ };
22636
+ };
22637
+ /** @description Request failed */
22638
+ 503: {
22639
+ headers: {
22640
+ [name: string]: unknown;
22641
+ };
22642
+ content: {
22643
+ "application/json": components["schemas"]["ErrorPayload"];
22644
+ };
22645
+ };
22646
+ };
22647
+ };
22648
+ getAgentInstanceOccurrence: {
22649
+ parameters: {
22650
+ query?: {
22651
+ /** @description Read one profile's rows by name */
22652
+ profile?: string;
22653
+ /** @description Read the owner-labeled all-profiles aggregate */
22654
+ all_profiles?: boolean;
22655
+ };
22656
+ header?: never;
22657
+ path: {
22658
+ /** @description Instance ID */
22659
+ id: string;
22660
+ /** @description Occurrence ID */
22661
+ occurrence: string;
22662
+ };
22663
+ cookie?: never;
22664
+ };
22665
+ requestBody?: never;
22666
+ responses: {
22667
+ /** @description Occurrence */
22668
+ 200: {
22669
+ headers: {
22670
+ [name: string]: unknown;
22671
+ };
22672
+ content: {
22673
+ "application/json": components["schemas"]["AgentInstanceOccurrenceResponse"];
22674
+ };
22675
+ };
22676
+ /** @description Invalid profile selection */
22677
+ 400: {
22678
+ headers: {
22679
+ [name: string]: unknown;
22680
+ };
22681
+ content: {
22682
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22683
+ };
22684
+ };
22685
+ /** @description Request failed */
22686
+ 403: {
22687
+ headers: {
22688
+ [name: string]: unknown;
22689
+ };
22690
+ content: {
22691
+ "application/json": components["schemas"]["ErrorPayload"];
22692
+ };
22693
+ };
22694
+ /** @description Request failed */
22695
+ 404: {
22696
+ headers: {
22697
+ [name: string]: unknown;
22698
+ };
22699
+ content: {
22700
+ "application/json": components["schemas"]["ErrorPayload"];
22701
+ };
22702
+ };
22703
+ /** @description Request failed */
22704
+ 409: {
22705
+ headers: {
22706
+ [name: string]: unknown;
22707
+ };
22708
+ content: {
22709
+ "application/json": components["schemas"]["ErrorPayload"];
22710
+ };
22711
+ };
22712
+ /** @description Request failed */
22713
+ 422: {
22714
+ headers: {
22715
+ [name: string]: unknown;
22716
+ };
22717
+ content: {
22718
+ "application/json": components["schemas"]["ErrorPayload"];
22719
+ };
22720
+ };
22721
+ /** @description Request failed */
22722
+ 429: {
22723
+ headers: {
22724
+ [name: string]: unknown;
22725
+ };
22726
+ content: {
22727
+ "application/json": components["schemas"]["ErrorPayload"];
22728
+ };
22729
+ };
22730
+ /** @description Request failed */
22731
+ 500: {
22732
+ headers: {
22733
+ [name: string]: unknown;
22734
+ };
22735
+ content: {
22736
+ "application/json": components["schemas"]["ErrorPayload"];
22737
+ };
22738
+ };
22739
+ /** @description Request failed */
22740
+ 503: {
22741
+ headers: {
22742
+ [name: string]: unknown;
22743
+ };
22744
+ content: {
22745
+ "application/json": components["schemas"]["ErrorPayload"];
22746
+ };
22747
+ };
22748
+ };
22749
+ };
22750
+ pauseAgentInstance: {
22751
+ parameters: {
22752
+ query?: {
22753
+ /** @description Act as this profile by name */
22754
+ profile?: string;
22755
+ };
22756
+ header?: never;
22757
+ path: {
22758
+ /** @description Instance ID */
22759
+ id: string;
22760
+ };
22761
+ cookie?: never;
22762
+ };
22763
+ requestBody?: never;
22764
+ responses: {
22765
+ /** @description OK */
22766
+ 200: {
22767
+ headers: {
22768
+ [name: string]: unknown;
22769
+ };
22770
+ content: {
22771
+ "application/json": components["schemas"]["AgentInstanceResponse"];
22772
+ };
22773
+ };
22774
+ /** @description Invalid profile selection */
22775
+ 400: {
22776
+ headers: {
22777
+ [name: string]: unknown;
22778
+ };
22779
+ content: {
22780
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22781
+ };
22782
+ };
22404
22783
  /** @description Request failed */
22405
22784
  403: {
22406
22785
  headers: {
@@ -22475,8 +22854,10 @@ export interface operations {
22475
22854
  cursor?: string;
22476
22855
  /** @description Page size */
22477
22856
  limit?: string;
22478
- /** @description Act as this profile by name */
22857
+ /** @description Read one profile's rows by name */
22479
22858
  profile?: string;
22859
+ /** @description Read the owner-labeled all-profiles aggregate */
22860
+ all_profiles?: boolean;
22480
22861
  };
22481
22862
  header?: never;
22482
22863
  path: {
@@ -22496,6 +22877,15 @@ export interface operations {
22496
22877
  "application/json": components["schemas"]["AgentInstanceReportsResponse"];
22497
22878
  };
22498
22879
  };
22880
+ /** @description Invalid profile selection */
22881
+ 400: {
22882
+ headers: {
22883
+ [name: string]: unknown;
22884
+ };
22885
+ content: {
22886
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22887
+ };
22888
+ };
22499
22889
  /** @description Request failed */
22500
22890
  403: {
22501
22891
  headers: {
@@ -22585,6 +22975,15 @@ export interface operations {
22585
22975
  "application/json": components["schemas"]["AgentInstanceResponse"];
22586
22976
  };
22587
22977
  };
22978
+ /** @description Invalid profile selection */
22979
+ 400: {
22980
+ headers: {
22981
+ [name: string]: unknown;
22982
+ };
22983
+ content: {
22984
+ "application/json": components["schemas"]["ProfileErrorPayload"];
22985
+ };
22986
+ };
22588
22987
  /** @description Request failed */
22589
22988
  403: {
22590
22989
  headers: {
@@ -22681,6 +23080,15 @@ export interface operations {
22681
23080
  "application/json": components["schemas"]["AgentSkillReviewsResponse"];
22682
23081
  };
22683
23082
  };
23083
+ /** @description Invalid profile selection */
23084
+ 400: {
23085
+ headers: {
23086
+ [name: string]: unknown;
23087
+ };
23088
+ content: {
23089
+ "application/json": components["schemas"]["ProfileErrorPayload"];
23090
+ };
23091
+ };
22684
23092
  /** @description Request failed */
22685
23093
  403: {
22686
23094
  headers: {
@@ -22770,6 +23178,15 @@ export interface operations {
22770
23178
  "application/json": components["schemas"]["AgentSkillReviewResponse"];
22771
23179
  };
22772
23180
  };
23181
+ /** @description Invalid profile selection */
23182
+ 400: {
23183
+ headers: {
23184
+ [name: string]: unknown;
23185
+ };
23186
+ content: {
23187
+ "application/json": components["schemas"]["ProfileErrorPayload"];
23188
+ };
23189
+ };
22773
23190
  /** @description Request failed */
22774
23191
  403: {
22775
23192
  headers: {
@@ -22864,6 +23281,15 @@ export interface operations {
22864
23281
  "application/json": components["schemas"]["AgentSkillReviewResponse"];
22865
23282
  };
22866
23283
  };
23284
+ /** @description Invalid profile selection */
23285
+ 400: {
23286
+ headers: {
23287
+ [name: string]: unknown;
23288
+ };
23289
+ content: {
23290
+ "application/json": components["schemas"]["ProfileErrorPayload"];
23291
+ };
23292
+ };
22867
23293
  /** @description Request failed */
22868
23294
  403: {
22869
23295
  headers: {
@@ -22958,6 +23384,15 @@ export interface operations {
22958
23384
  "application/json": components["schemas"]["AgentSkillReviewResponse"];
22959
23385
  };
22960
23386
  };
23387
+ /** @description Invalid profile selection */
23388
+ 400: {
23389
+ headers: {
23390
+ [name: string]: unknown;
23391
+ };
23392
+ content: {
23393
+ "application/json": components["schemas"]["ProfileErrorPayload"];
23394
+ };
23395
+ };
22961
23396
  /** @description Request failed */
22962
23397
  403: {
22963
23398
  headers: {
@@ -24236,6 +24671,106 @@ export interface operations {
24236
24671
  };
24237
24672
  };
24238
24673
  };
24674
+ batchAgentActivity: {
24675
+ parameters: {
24676
+ query?: {
24677
+ /** @description Act as this profile by name */
24678
+ profile?: string;
24679
+ };
24680
+ header?: never;
24681
+ path?: never;
24682
+ cookie?: never;
24683
+ };
24684
+ /** @description JSON request body */
24685
+ requestBody: {
24686
+ content: {
24687
+ "application/json": components["schemas"]["AgentActivityBatchRequest"];
24688
+ };
24689
+ };
24690
+ responses: {
24691
+ /** @description Scoped activities in request order */
24692
+ 200: {
24693
+ headers: {
24694
+ [name: string]: unknown;
24695
+ };
24696
+ content: {
24697
+ "application/json": components["schemas"]["AgentActivityBatchResponse"];
24698
+ };
24699
+ };
24700
+ /** @description Invalid profile selection */
24701
+ 400: {
24702
+ headers: {
24703
+ [name: string]: unknown;
24704
+ };
24705
+ content: {
24706
+ "application/json": components["schemas"]["ProfileErrorPayload"];
24707
+ };
24708
+ };
24709
+ /** @description Request failed */
24710
+ 403: {
24711
+ headers: {
24712
+ [name: string]: unknown;
24713
+ };
24714
+ content: {
24715
+ "application/json": components["schemas"]["ErrorPayload"];
24716
+ };
24717
+ };
24718
+ /** @description Request failed */
24719
+ 404: {
24720
+ headers: {
24721
+ [name: string]: unknown;
24722
+ };
24723
+ content: {
24724
+ "application/json": components["schemas"]["ErrorPayload"];
24725
+ };
24726
+ };
24727
+ /** @description Request failed */
24728
+ 409: {
24729
+ headers: {
24730
+ [name: string]: unknown;
24731
+ };
24732
+ content: {
24733
+ "application/json": components["schemas"]["ErrorPayload"];
24734
+ };
24735
+ };
24736
+ /** @description Request failed */
24737
+ 422: {
24738
+ headers: {
24739
+ [name: string]: unknown;
24740
+ };
24741
+ content: {
24742
+ "application/json": components["schemas"]["ErrorPayload"];
24743
+ };
24744
+ };
24745
+ /** @description Request failed */
24746
+ 429: {
24747
+ headers: {
24748
+ [name: string]: unknown;
24749
+ };
24750
+ content: {
24751
+ "application/json": components["schemas"]["ErrorPayload"];
24752
+ };
24753
+ };
24754
+ /** @description Request failed */
24755
+ 500: {
24756
+ headers: {
24757
+ [name: string]: unknown;
24758
+ };
24759
+ content: {
24760
+ "application/json": components["schemas"]["ErrorPayload"];
24761
+ };
24762
+ };
24763
+ /** @description Request failed */
24764
+ 503: {
24765
+ headers: {
24766
+ [name: string]: unknown;
24767
+ };
24768
+ content: {
24769
+ "application/json": components["schemas"]["ErrorPayload"];
24770
+ };
24771
+ };
24772
+ };
24773
+ };
24239
24774
  listAgentsAggregate: {
24240
24775
  parameters: {
24241
24776
  query?: {
@@ -24709,6 +25244,15 @@ export interface operations {
24709
25244
  "application/json": components["schemas"]["AgentActivityResponse"];
24710
25245
  };
24711
25246
  };
25247
+ /** @description Invalid profile selection */
25248
+ 400: {
25249
+ headers: {
25250
+ [name: string]: unknown;
25251
+ };
25252
+ content: {
25253
+ "application/json": components["schemas"]["ProfileErrorPayload"];
25254
+ };
25255
+ };
24712
25256
  /** @description Request failed */
24713
25257
  403: {
24714
25258
  headers: {
@@ -25273,6 +25817,223 @@ export interface operations {
25273
25817
  };
25274
25818
  };
25275
25819
  };
25820
+ approveAgentHeartbeatScript: {
25821
+ parameters: {
25822
+ query?: {
25823
+ /** @description Workspace id */
25824
+ workspace_id?: string;
25825
+ /** @description Act as this profile by name */
25826
+ profile?: string;
25827
+ };
25828
+ header?: never;
25829
+ path: {
25830
+ /** @description Agent name */
25831
+ name: string;
25832
+ /** @description Script name */
25833
+ script: string;
25834
+ };
25835
+ cookie?: never;
25836
+ };
25837
+ /** @description JSON request body */
25838
+ requestBody: {
25839
+ content: {
25840
+ "application/json": components["schemas"]["HeartbeatScriptApprovalRequest"];
25841
+ };
25842
+ };
25843
+ responses: {
25844
+ /** @description Approved */
25845
+ 200: {
25846
+ headers: {
25847
+ [name: string]: unknown;
25848
+ };
25849
+ content: {
25850
+ "application/json": components["schemas"]["HeartbeatScriptApprovalPayload"];
25851
+ };
25852
+ };
25853
+ /** @description Operator required */
25854
+ 403: {
25855
+ headers: {
25856
+ [name: string]: unknown;
25857
+ };
25858
+ content: {
25859
+ "application/json": components["schemas"]["ErrorPayload"];
25860
+ };
25861
+ };
25862
+ /** @description Agent not found */
25863
+ 404: {
25864
+ headers: {
25865
+ [name: string]: unknown;
25866
+ };
25867
+ content: {
25868
+ "application/json": components["schemas"]["ErrorPayload"];
25869
+ };
25870
+ };
25871
+ /** @description Script changed */
25872
+ 409: {
25873
+ headers: {
25874
+ [name: string]: unknown;
25875
+ };
25876
+ content: {
25877
+ "application/json": components["schemas"]["ErrorPayload"];
25878
+ };
25879
+ };
25880
+ /** @description Invalid source script request */
25881
+ 422: {
25882
+ headers: {
25883
+ [name: string]: unknown;
25884
+ };
25885
+ content: {
25886
+ "application/json": components["schemas"]["ErrorPayload"];
25887
+ };
25888
+ };
25889
+ /** @description Internal error */
25890
+ 500: {
25891
+ headers: {
25892
+ [name: string]: unknown;
25893
+ };
25894
+ content: {
25895
+ "application/json": components["schemas"]["ErrorPayload"];
25896
+ };
25897
+ };
25898
+ /** @description Source storage unavailable */
25899
+ 503: {
25900
+ headers: {
25901
+ [name: string]: unknown;
25902
+ };
25903
+ content: {
25904
+ "application/json": components["schemas"]["ErrorPayload"];
25905
+ };
25906
+ };
25907
+ };
25908
+ };
25909
+ revokeAgentHeartbeatScript: {
25910
+ parameters: {
25911
+ query?: {
25912
+ /** @description Workspace id */
25913
+ workspace_id?: string;
25914
+ /** @description Act as this profile by name */
25915
+ profile?: string;
25916
+ };
25917
+ header?: never;
25918
+ path: {
25919
+ /** @description Agent name */
25920
+ name: string;
25921
+ /** @description Script name */
25922
+ script: string;
25923
+ };
25924
+ cookie?: never;
25925
+ };
25926
+ requestBody?: never;
25927
+ responses: {
25928
+ /** @description Script approval revoked */
25929
+ 204: {
25930
+ headers: {
25931
+ [name: string]: unknown;
25932
+ };
25933
+ content?: never;
25934
+ };
25935
+ /** @description Operator required */
25936
+ 403: {
25937
+ headers: {
25938
+ [name: string]: unknown;
25939
+ };
25940
+ content: {
25941
+ "application/json": components["schemas"]["ErrorPayload"];
25942
+ };
25943
+ };
25944
+ /** @description Agent not found */
25945
+ 404: {
25946
+ headers: {
25947
+ [name: string]: unknown;
25948
+ };
25949
+ content: {
25950
+ "application/json": components["schemas"]["ErrorPayload"];
25951
+ };
25952
+ };
25953
+ /** @description Invalid source script request */
25954
+ 422: {
25955
+ headers: {
25956
+ [name: string]: unknown;
25957
+ };
25958
+ content: {
25959
+ "application/json": components["schemas"]["ErrorPayload"];
25960
+ };
25961
+ };
25962
+ /** @description Internal error */
25963
+ 500: {
25964
+ headers: {
25965
+ [name: string]: unknown;
25966
+ };
25967
+ content: {
25968
+ "application/json": components["schemas"]["ErrorPayload"];
25969
+ };
25970
+ };
25971
+ /** @description Source storage unavailable */
25972
+ 503: {
25973
+ headers: {
25974
+ [name: string]: unknown;
25975
+ };
25976
+ content: {
25977
+ "application/json": components["schemas"]["ErrorPayload"];
25978
+ };
25979
+ };
25980
+ };
25981
+ };
25982
+ getAgentHeartbeatSources: {
25983
+ parameters: {
25984
+ query?: {
25985
+ /** @description Workspace id */
25986
+ workspace_id?: string;
25987
+ /** @description Act as this profile by name */
25988
+ profile?: string;
25989
+ };
25990
+ header?: never;
25991
+ path: {
25992
+ /** @description Agent name */
25993
+ name: string;
25994
+ };
25995
+ cookie?: never;
25996
+ };
25997
+ requestBody?: never;
25998
+ responses: {
25999
+ /** @description OK */
26000
+ 200: {
26001
+ headers: {
26002
+ [name: string]: unknown;
26003
+ };
26004
+ content: {
26005
+ "application/json": components["schemas"]["HeartbeatSourceCatalogPayload"];
26006
+ };
26007
+ };
26008
+ /** @description Agent not found */
26009
+ 404: {
26010
+ headers: {
26011
+ [name: string]: unknown;
26012
+ };
26013
+ content: {
26014
+ "application/json": components["schemas"]["ErrorPayload"];
26015
+ };
26016
+ };
26017
+ /** @description Internal error */
26018
+ 500: {
26019
+ headers: {
26020
+ [name: string]: unknown;
26021
+ };
26022
+ content: {
26023
+ "application/json": components["schemas"]["ErrorPayload"];
26024
+ };
26025
+ };
26026
+ /** @description Source storage unavailable */
26027
+ 503: {
26028
+ headers: {
26029
+ [name: string]: unknown;
26030
+ };
26031
+ content: {
26032
+ "application/json": components["schemas"]["ErrorPayload"];
26033
+ };
26034
+ };
26035
+ };
26036
+ };
25276
26037
  getAgentHeartbeatStatus: {
25277
26038
  parameters: {
25278
26039
  query?: {
@@ -25584,7 +26345,7 @@ export interface operations {
25584
26345
  "application/json": components["schemas"]["ErrorPayload"];
25585
26346
  };
25586
26347
  };
25587
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26348
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
25588
26349
  422: {
25589
26350
  headers: {
25590
26351
  [name: string]: unknown;
@@ -25689,7 +26450,7 @@ export interface operations {
25689
26450
  "application/json": components["schemas"]["ErrorPayload"];
25690
26451
  };
25691
26452
  };
25692
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26453
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
25693
26454
  422: {
25694
26455
  headers: {
25695
26456
  [name: string]: unknown;
@@ -25794,7 +26555,7 @@ export interface operations {
25794
26555
  "application/json": components["schemas"]["ErrorPayload"];
25795
26556
  };
25796
26557
  };
25797
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26558
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
25798
26559
  422: {
25799
26560
  headers: {
25800
26561
  [name: string]: unknown;
@@ -25899,7 +26660,7 @@ export interface operations {
25899
26660
  "application/json": components["schemas"]["ErrorPayload"];
25900
26661
  };
25901
26662
  };
25902
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26663
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
25903
26664
  422: {
25904
26665
  headers: {
25905
26666
  [name: string]: unknown;
@@ -26004,7 +26765,7 @@ export interface operations {
26004
26765
  "application/json": components["schemas"]["ErrorPayload"];
26005
26766
  };
26006
26767
  };
26007
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26768
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26008
26769
  422: {
26009
26770
  headers: {
26010
26771
  [name: string]: unknown;
@@ -26104,7 +26865,7 @@ export interface operations {
26104
26865
  "application/json": components["schemas"]["ErrorPayload"];
26105
26866
  };
26106
26867
  };
26107
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26868
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26108
26869
  422: {
26109
26870
  headers: {
26110
26871
  [name: string]: unknown;
@@ -26209,7 +26970,7 @@ export interface operations {
26209
26970
  "application/json": components["schemas"]["ErrorPayload"];
26210
26971
  };
26211
26972
  };
26212
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26973
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26213
26974
  422: {
26214
26975
  headers: {
26215
26976
  [name: string]: unknown;
@@ -26314,7 +27075,7 @@ export interface operations {
26314
27075
  "application/json": components["schemas"]["ErrorPayload"];
26315
27076
  };
26316
27077
  };
26317
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
27078
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26318
27079
  422: {
26319
27080
  headers: {
26320
27081
  [name: string]: unknown;
@@ -26419,7 +27180,7 @@ export interface operations {
26419
27180
  "application/json": components["schemas"]["ErrorPayload"];
26420
27181
  };
26421
27182
  };
26422
- /** @description agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
27183
+ /** @description agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input */
26423
27184
  422: {
26424
27185
  headers: {
26425
27186
  [name: string]: unknown;
@@ -28260,6 +29021,10 @@ export interface operations {
28260
29021
  query: {
28261
29022
  /** @description Workspace id, name, or path */
28262
29023
  workspace: string;
29024
+ /** @description Read one profile's rows by name */
29025
+ profile?: string;
29026
+ /** @description Read the owner-labeled all-profiles aggregate */
29027
+ all_profiles?: boolean;
28263
29028
  };
28264
29029
  header?: never;
28265
29030
  path?: never;
@@ -29153,6 +29918,58 @@ export interface operations {
29153
29918
  };
29154
29919
  };
29155
29920
  };
29921
+ captureDaemonProfile: {
29922
+ parameters: {
29923
+ query?: {
29924
+ /** @description Capture window for cpu, mutex and block only; snapshot profiles reject this parameter */
29925
+ seconds?: number;
29926
+ };
29927
+ header?: never;
29928
+ path: {
29929
+ kind: "cpu" | "heap" | "allocs" | "goroutine" | "mutex" | "block" | "threadcreate";
29930
+ };
29931
+ cookie?: never;
29932
+ };
29933
+ requestBody?: never;
29934
+ responses: {
29935
+ /** @description Raw gzip-compressed pprof protobuf */
29936
+ 200: {
29937
+ headers: {
29938
+ [name: string]: unknown;
29939
+ };
29940
+ content: {
29941
+ "application/octet-stream": string;
29942
+ };
29943
+ };
29944
+ /** @description daemon_profile_invalid: unsupported kind or duration */
29945
+ 400: {
29946
+ headers: {
29947
+ [name: string]: unknown;
29948
+ };
29949
+ content: {
29950
+ "application/json": components["schemas"]["ErrorPayload"];
29951
+ };
29952
+ };
29953
+ /** @description profile_busy: CPU or contention capture already active */
29954
+ 409: {
29955
+ headers: {
29956
+ [name: string]: unknown;
29957
+ };
29958
+ content: {
29959
+ "application/json": components["schemas"]["ErrorPayload"];
29960
+ };
29961
+ };
29962
+ /** @description profile_failed: capture canceled or failed */
29963
+ 500: {
29964
+ headers: {
29965
+ [name: string]: unknown;
29966
+ };
29967
+ content: {
29968
+ "application/json": components["schemas"]["ErrorPayload"];
29969
+ };
29970
+ };
29971
+ };
29972
+ };
29156
29973
  getDoctor: {
29157
29974
  parameters: {
29158
29975
  query?: {
@@ -35122,6 +35939,13 @@ export interface operations {
35122
35939
  };
35123
35940
  requestBody?: never;
35124
35941
  responses: {
35942
+ /** @description WebSocket upgrade; each text message contains one complete SSE frame */
35943
+ 101: {
35944
+ headers: {
35945
+ [name: string]: unknown;
35946
+ };
35947
+ content?: never;
35948
+ };
35125
35949
  /** @description ready and provider_usage_changed revision events */
35126
35950
  200: {
35127
35951
  headers: {
@@ -36700,7 +37524,7 @@ export interface operations {
36700
37524
  include_health?: boolean;
36701
37525
  /** @description Omit the exact catalog count for a bounded cursor read */
36702
37526
  skip_total?: boolean;
36703
- /** @description Exclude stays-on main sessions from the page and its total */
37527
+ /** @description Exclude always-on main sessions from the page and its total */
36704
37528
  exclude_instance_main?: boolean;
36705
37529
  /** @description Exclude settled automation-run sessions; search, type, parent, root, archive=only and later=only reads ignore it */
36706
37530
  exclude_finished_automation?: boolean;
@@ -37186,7 +38010,76 @@ export interface operations {
37186
38010
  [name: string]: unknown;
37187
38011
  };
37188
38012
  content: {
37189
- "application/json": components["schemas"]["SessionEventsResponse"];
38013
+ "application/json": components["schemas"]["SessionEventsResponse"];
38014
+ };
38015
+ };
38016
+ /** @description Invalid filter */
38017
+ 400: {
38018
+ headers: {
38019
+ [name: string]: unknown;
38020
+ };
38021
+ content: {
38022
+ "application/json": components["schemas"]["ErrorPayload"];
38023
+ };
38024
+ };
38025
+ /** @description Session not found */
38026
+ 404: {
38027
+ headers: {
38028
+ [name: string]: unknown;
38029
+ };
38030
+ content: {
38031
+ "application/json": components["schemas"]["ErrorPayload"];
38032
+ };
38033
+ };
38034
+ /** @description Internal server error */
38035
+ 500: {
38036
+ headers: {
38037
+ [name: string]: unknown;
38038
+ };
38039
+ content: {
38040
+ "application/json": components["schemas"]["ErrorPayload"];
38041
+ };
38042
+ };
38043
+ };
38044
+ };
38045
+ getGlobalSessionHistory: {
38046
+ parameters: {
38047
+ query?: {
38048
+ /** @description Only events emitted since this timestamp */
38049
+ since?: string;
38050
+ /** @description Maximum number of turns to return; defaults to the newest 200 and is capped at 1000 */
38051
+ limit?: number;
38052
+ /** @description Only return events after this sequence number */
38053
+ after_sequence?: number;
38054
+ /** @description Event type */
38055
+ type?: string;
38056
+ /** @description Agent name */
38057
+ agent_name?: string;
38058
+ /** @description Turn id */
38059
+ turn_id?: string;
38060
+ /** @description Select active, archived, or all events */
38061
+ archive?: "active" | "archived" | "all";
38062
+ /** @description Read one profile's rows by name */
38063
+ profile?: string;
38064
+ /** @description Read the owner-labeled all-profiles aggregate */
38065
+ all_profiles?: boolean;
38066
+ };
38067
+ header?: never;
38068
+ path: {
38069
+ /** @description Session id */
38070
+ session_id: string;
38071
+ };
38072
+ cookie?: never;
38073
+ };
38074
+ requestBody?: never;
38075
+ responses: {
38076
+ /** @description OK */
38077
+ 200: {
38078
+ headers: {
38079
+ [name: string]: unknown;
38080
+ };
38081
+ content: {
38082
+ "application/json": components["schemas"]["SessionHistoryResponse"];
37190
38083
  };
37191
38084
  };
37192
38085
  /** @description Invalid filter */
@@ -37218,23 +38111,9 @@ export interface operations {
37218
38111
  };
37219
38112
  };
37220
38113
  };
37221
- getGlobalSessionHistory: {
38114
+ getSessionOwner: {
37222
38115
  parameters: {
37223
38116
  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
38117
  /** @description Read one profile's rows by name */
37239
38118
  profile?: string;
37240
38119
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -37248,56 +38127,6 @@ export interface operations {
37248
38127
  cookie?: never;
37249
38128
  };
37250
38129
  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
38130
  responses: {
37302
38131
  /** @description OK */
37303
38132
  200: {
@@ -40363,6 +41192,10 @@ export interface operations {
40363
41192
  scope?: "user" | "workspace";
40364
41193
  /** @description Select the workspace id for workspace scope */
40365
41194
  workspace_id?: string;
41195
+ /** @description Select the shell attachment for shortcut statuses */
41196
+ client_id?: string;
41197
+ /** @description Select the shell profile without changing settings scope */
41198
+ client_profile?: string;
40366
41199
  };
40367
41200
  header?: never;
40368
41201
  path?: never;
@@ -40415,6 +41248,10 @@ export interface operations {
40415
41248
  scope?: "user" | "workspace";
40416
41249
  /** @description Select the workspace id for workspace scope */
40417
41250
  workspace_id?: string;
41251
+ /** @description Select the shell attachment for shortcut statuses */
41252
+ client_id?: string;
41253
+ /** @description Select the shell profile without changing settings scope */
41254
+ client_profile?: string;
40418
41255
  };
40419
41256
  header?: never;
40420
41257
  path?: never;
@@ -44662,8 +45499,12 @@ export interface operations {
44662
45499
  all_workspaces?: boolean;
44663
45500
  /** @description Repeatable project IDs or @user; requires all_workspaces=true */
44664
45501
  workspace_ids?: string[];
44665
- /** @description Act as this profile by name */
45502
+ /** @description Resume cursor when Last-Event-ID cannot be set; the header takes precedence */
45503
+ last_event_id?: string;
45504
+ /** @description Read one profile's rows by name */
44666
45505
  profile?: string;
45506
+ /** @description Read the owner-labeled all-profiles aggregate */
45507
+ all_profiles?: boolean;
44667
45508
  };
44668
45509
  header?: {
44669
45510
  /** @description Resume after the last terminal catalog event */
@@ -44674,6 +45515,13 @@ export interface operations {
44674
45515
  };
44675
45516
  requestBody?: never;
44676
45517
  responses: {
45518
+ /** @description WebSocket upgrade; each text message contains one complete SSE frame */
45519
+ 101: {
45520
+ headers: {
45521
+ [name: string]: unknown;
45522
+ };
45523
+ content?: never;
45524
+ };
44677
45525
  /** @description Terminal catalog event stream */
44678
45526
  200: {
44679
45527
  headers: {
@@ -51164,7 +52012,7 @@ export interface operations {
51164
52012
  include_health?: boolean;
51165
52013
  /** @description Omit the exact catalog count for a bounded cursor read */
51166
52014
  skip_total?: boolean;
51167
- /** @description Exclude stays-on main sessions from the page and its total */
52015
+ /** @description Exclude always-on main sessions from the page and its total */
51168
52016
  exclude_instance_main?: boolean;
51169
52017
  /** @description Exclude settled automation-run sessions; search, type, parent, root, archive=only and later=only reads ignore it */
51170
52018
  exclude_finished_automation?: boolean;
@@ -51479,7 +52327,10 @@ export interface operations {
51479
52327
  };
51480
52328
  approveSession: {
51481
52329
  parameters: {
51482
- query?: never;
52330
+ query?: {
52331
+ /** @description Act as this profile by name */
52332
+ profile?: string;
52333
+ };
51483
52334
  header?: never;
51484
52335
  path: {
51485
52336
  /** @description Workspace id */
@@ -51615,7 +52466,10 @@ export interface operations {
51615
52466
  };
51616
52467
  attachSession: {
51617
52468
  parameters: {
51618
- query?: never;
52469
+ query?: {
52470
+ /** @description Act as this profile by name */
52471
+ profile?: string;
52472
+ };
51619
52473
  header?: never;
51620
52474
  path: {
51621
52475
  /** @description Workspace id */
@@ -51690,7 +52544,10 @@ export interface operations {
51690
52544
  };
51691
52545
  uploadSessionAttachment: {
51692
52546
  parameters: {
51693
- query?: never;
52547
+ query?: {
52548
+ /** @description Act as this profile by name */
52549
+ profile?: string;
52550
+ };
51694
52551
  header?: never;
51695
52552
  path: {
51696
52553
  /** @description Workspace id */
@@ -51777,7 +52634,10 @@ export interface operations {
51777
52634
  };
51778
52635
  deleteSessionAttachment: {
51779
52636
  parameters: {
51780
- query?: never;
52637
+ query?: {
52638
+ /** @description Act as this profile by name */
52639
+ profile?: string;
52640
+ };
51781
52641
  header?: never;
51782
52642
  path: {
51783
52643
  /** @description Workspace id */
@@ -51838,7 +52698,12 @@ export interface operations {
51838
52698
  };
51839
52699
  readSessionAttachmentBytes: {
51840
52700
  parameters: {
51841
- query?: never;
52701
+ query?: {
52702
+ /** @description Read one profile's rows by name */
52703
+ profile?: string;
52704
+ /** @description Read the owner-labeled all-profiles aggregate */
52705
+ all_profiles?: boolean;
52706
+ };
51842
52707
  header?: never;
51843
52708
  path: {
51844
52709
  /** @description Workspace id */
@@ -51901,7 +52766,12 @@ export interface operations {
51901
52766
  };
51902
52767
  listSessionClarifications: {
51903
52768
  parameters: {
51904
- query?: never;
52769
+ query?: {
52770
+ /** @description Read one profile's rows by name */
52771
+ profile?: string;
52772
+ /** @description Read the owner-labeled all-profiles aggregate */
52773
+ all_profiles?: boolean;
52774
+ };
51905
52775
  header?: never;
51906
52776
  path: {
51907
52777
  /** @description Workspace id */
@@ -51944,7 +52814,10 @@ export interface operations {
51944
52814
  };
51945
52815
  answerSessionClarification: {
51946
52816
  parameters: {
51947
- query?: never;
52817
+ query?: {
52818
+ /** @description Act as this profile by name */
52819
+ profile?: string;
52820
+ };
51948
52821
  header?: never;
51949
52822
  path: {
51950
52823
  /** @description Workspace id */
@@ -52012,7 +52885,10 @@ export interface operations {
52012
52885
  };
52013
52886
  clearSessionConversation: {
52014
52887
  parameters: {
52015
- query?: never;
52888
+ query?: {
52889
+ /** @description Act as this profile by name */
52890
+ profile?: string;
52891
+ };
52016
52892
  header?: never;
52017
52893
  path: {
52018
52894
  /** @description Workspace id */
@@ -52073,7 +52949,12 @@ export interface operations {
52073
52949
  };
52074
52950
  getSessionCommands: {
52075
52951
  parameters: {
52076
- query?: never;
52952
+ query?: {
52953
+ /** @description Read one profile's rows by name */
52954
+ profile?: string;
52955
+ /** @description Read the owner-labeled all-profiles aggregate */
52956
+ all_profiles?: boolean;
52957
+ };
52077
52958
  header?: never;
52078
52959
  path: {
52079
52960
  /** @description Workspace id */
@@ -52125,7 +53006,10 @@ export interface operations {
52125
53006
  };
52126
53007
  compactSession: {
52127
53008
  parameters: {
52128
- query?: never;
53009
+ query?: {
53010
+ /** @description Act as this profile by name */
53011
+ profile?: string;
53012
+ };
52129
53013
  header?: never;
52130
53014
  path: {
52131
53015
  /** @description Workspace id */
@@ -52191,7 +53075,10 @@ export interface operations {
52191
53075
  };
52192
53076
  continueSession: {
52193
53077
  parameters: {
52194
- query?: never;
53078
+ query?: {
53079
+ /** @description Act as this profile by name */
53080
+ profile?: string;
53081
+ };
52195
53082
  header?: never;
52196
53083
  path: {
52197
53084
  /** @description Workspace id */
@@ -52287,6 +53174,10 @@ export interface operations {
52287
53174
  query?: {
52288
53175
  /** @description Durable user message to cut through (fork from here) */
52289
53176
  message_id?: string;
53177
+ /** @description Read one profile's rows by name */
53178
+ profile?: string;
53179
+ /** @description Read the owner-labeled all-profiles aggregate */
53180
+ all_profiles?: boolean;
52290
53181
  };
52291
53182
  header?: never;
52292
53183
  path: {
@@ -52420,6 +53311,10 @@ export interface operations {
52420
53311
  turn_id?: string;
52421
53312
  /** @description Select active, archived, or all events */
52422
53313
  archive?: "active" | "archived" | "all";
53314
+ /** @description Read one profile's rows by name */
53315
+ profile?: string;
53316
+ /** @description Read the owner-labeled all-profiles aggregate */
53317
+ all_profiles?: boolean;
52423
53318
  };
52424
53319
  header?: never;
52425
53320
  path: {
@@ -52542,7 +53437,10 @@ export interface operations {
52542
53437
  };
52543
53438
  forkSession: {
52544
53439
  parameters: {
52545
- query?: never;
53440
+ query?: {
53441
+ /** @description Act as this profile by name */
53442
+ profile?: string;
53443
+ };
52546
53444
  header?: never;
52547
53445
  path: {
52548
53446
  /** @description Workspace id */
@@ -52635,7 +53533,12 @@ export interface operations {
52635
53533
  };
52636
53534
  getSessionGoal: {
52637
53535
  parameters: {
52638
- query?: never;
53536
+ query?: {
53537
+ /** @description Read one profile's rows by name */
53538
+ profile?: string;
53539
+ /** @description Read the owner-labeled all-profiles aggregate */
53540
+ all_profiles?: boolean;
53541
+ };
52639
53542
  header?: never;
52640
53543
  path: {
52641
53544
  /** @description Workspace id */
@@ -52696,7 +53599,10 @@ export interface operations {
52696
53599
  };
52697
53600
  mutateSessionGoal: {
52698
53601
  parameters: {
52699
- query?: never;
53602
+ query?: {
53603
+ /** @description Act as this profile by name */
53604
+ profile?: string;
53605
+ };
52700
53606
  header?: never;
52701
53607
  path: {
52702
53608
  /** @description Workspace id */
@@ -52798,7 +53704,12 @@ export interface operations {
52798
53704
  };
52799
53705
  getSessionHealth: {
52800
53706
  parameters: {
52801
- query?: never;
53707
+ query?: {
53708
+ /** @description Read one profile's rows by name */
53709
+ profile?: string;
53710
+ /** @description Read the owner-labeled all-profiles aggregate */
53711
+ all_profiles?: boolean;
53712
+ };
52802
53713
  header?: never;
52803
53714
  path: {
52804
53715
  /** @description Workspace id */
@@ -52865,6 +53776,10 @@ export interface operations {
52865
53776
  turn_id?: string;
52866
53777
  /** @description Select active, archived, or all events */
52867
53778
  archive?: "active" | "archived" | "all";
53779
+ /** @description Read one profile's rows by name */
53780
+ profile?: string;
53781
+ /** @description Read the owner-labeled all-profiles aggregate */
53782
+ all_profiles?: boolean;
52868
53783
  };
52869
53784
  header?: never;
52870
53785
  path: {
@@ -52920,6 +53835,10 @@ export interface operations {
52920
53835
  query?: {
52921
53836
  /** @description Include recent wake audit rows */
52922
53837
  include_recent_wake_events?: boolean;
53838
+ /** @description Read one profile's rows by name */
53839
+ profile?: string;
53840
+ /** @description Read the owner-labeled all-profiles aggregate */
53841
+ all_profiles?: boolean;
52923
53842
  };
52924
53843
  header?: never;
52925
53844
  path: {
@@ -52977,6 +53896,10 @@ export interface operations {
52977
53896
  descendants?: boolean;
52978
53897
  /** @description Filter by interaction status */
52979
53898
  status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
53899
+ /** @description Read one profile's rows by name */
53900
+ profile?: string;
53901
+ /** @description Read the owner-labeled all-profiles aggregate */
53902
+ all_profiles?: boolean;
52980
53903
  };
52981
53904
  header?: never;
52982
53905
  path: {
@@ -53410,7 +54333,76 @@ export interface operations {
53410
54333
  };
53411
54334
  };
53412
54335
  };
53413
- refreshSessionWorkLink: {
54336
+ refreshSessionWorkLink: {
54337
+ parameters: {
54338
+ query?: {
54339
+ /** @description Act as this profile by name */
54340
+ profile?: string;
54341
+ };
54342
+ header?: never;
54343
+ path: {
54344
+ /** @description Workspace id */
54345
+ workspace_id: string;
54346
+ /** @description Session id */
54347
+ session_id: string;
54348
+ };
54349
+ cookie?: never;
54350
+ };
54351
+ /** @description JSON request body */
54352
+ requestBody: {
54353
+ content: {
54354
+ "application/json": components["schemas"]["SessionWorkLinkRequest"];
54355
+ };
54356
+ };
54357
+ responses: {
54358
+ /** @description Linked work */
54359
+ 200: {
54360
+ headers: {
54361
+ [name: string]: unknown;
54362
+ };
54363
+ content: {
54364
+ "application/json": components["schemas"]["SessionLinkedWorkResponse"];
54365
+ };
54366
+ };
54367
+ /** @description Invalid link or repository mismatch */
54368
+ 400: {
54369
+ headers: {
54370
+ [name: string]: unknown;
54371
+ };
54372
+ content: {
54373
+ "application/json": components["schemas"]["ErrorPayload"];
54374
+ };
54375
+ };
54376
+ /** @description Session not found */
54377
+ 404: {
54378
+ headers: {
54379
+ [name: string]: unknown;
54380
+ };
54381
+ content: {
54382
+ "application/json": components["schemas"]["ErrorPayload"];
54383
+ };
54384
+ };
54385
+ /** @description Internal server error */
54386
+ 500: {
54387
+ headers: {
54388
+ [name: string]: unknown;
54389
+ };
54390
+ content: {
54391
+ "application/json": components["schemas"]["ErrorPayload"];
54392
+ };
54393
+ };
54394
+ /** @description Linked work unavailable */
54395
+ 503: {
54396
+ headers: {
54397
+ [name: string]: unknown;
54398
+ };
54399
+ content: {
54400
+ "application/json": components["schemas"]["ErrorPayload"];
54401
+ };
54402
+ };
54403
+ };
54404
+ };
54405
+ markSessionSeen: {
53414
54406
  parameters: {
53415
54407
  query?: {
53416
54408
  /** @description Act as this profile by name */
@@ -53425,23 +54417,18 @@ export interface operations {
53425
54417
  };
53426
54418
  cookie?: never;
53427
54419
  };
53428
- /** @description JSON request body */
53429
- requestBody: {
53430
- content: {
53431
- "application/json": components["schemas"]["SessionWorkLinkRequest"];
53432
- };
53433
- };
54420
+ requestBody?: never;
53434
54421
  responses: {
53435
- /** @description Linked work */
54422
+ /** @description OK */
53436
54423
  200: {
53437
54424
  headers: {
53438
54425
  [name: string]: unknown;
53439
54426
  };
53440
54427
  content: {
53441
- "application/json": components["schemas"]["SessionLinkedWorkResponse"];
54428
+ "application/json": components["schemas"]["SessionResponse"];
53442
54429
  };
53443
54430
  };
53444
- /** @description Invalid link or repository mismatch */
54431
+ /** @description Conflicting profile selectors (profile_selection_conflict) */
53445
54432
  400: {
53446
54433
  headers: {
53447
54434
  [name: string]: unknown;
@@ -53459,6 +54446,15 @@ export interface operations {
53459
54446
  "application/json": components["schemas"]["ErrorPayload"];
53460
54447
  };
53461
54448
  };
54449
+ /** @description The session still waits on an answer, a sign-in, or a stop, or a newer occurrence replaced the one checked */
54450
+ 409: {
54451
+ headers: {
54452
+ [name: string]: unknown;
54453
+ };
54454
+ content: {
54455
+ "application/json": components["schemas"]["ErrorPayload"];
54456
+ };
54457
+ };
53462
54458
  /** @description Internal server error */
53463
54459
  500: {
53464
54460
  headers: {
@@ -53468,7 +54464,7 @@ export interface operations {
53468
54464
  "application/json": components["schemas"]["ErrorPayload"];
53469
54465
  };
53470
54466
  };
53471
- /** @description Linked work unavailable */
54467
+ /** @description Service unavailable - dependent service missing */
53472
54468
  503: {
53473
54469
  headers: {
53474
54470
  [name: string]: unknown;
@@ -53689,6 +54685,93 @@ export interface operations {
53689
54685
  };
53690
54686
  };
53691
54687
  };
54688
+ moveSessionToProfile: {
54689
+ parameters: {
54690
+ query?: {
54691
+ /** @description Act as this profile by name */
54692
+ profile?: string;
54693
+ };
54694
+ header?: never;
54695
+ path: {
54696
+ /** @description Workspace id */
54697
+ workspace_id: string;
54698
+ /** @description Session id */
54699
+ session_id: string;
54700
+ };
54701
+ cookie?: never;
54702
+ };
54703
+ /** @description JSON request body */
54704
+ requestBody: {
54705
+ content: {
54706
+ "application/json": components["schemas"]["MoveSessionToProfileRequest"];
54707
+ };
54708
+ };
54709
+ responses: {
54710
+ /** @description OK */
54711
+ 200: {
54712
+ headers: {
54713
+ [name: string]: unknown;
54714
+ };
54715
+ content: {
54716
+ "application/json": components["schemas"]["MoveSessionToProfileResponse"];
54717
+ };
54718
+ };
54719
+ /** @description Invalid move request or target profile */
54720
+ 400: {
54721
+ headers: {
54722
+ [name: string]: unknown;
54723
+ };
54724
+ content: {
54725
+ "application/json": components["schemas"]["ErrorPayload"];
54726
+ };
54727
+ };
54728
+ /** @description The caller cannot write to the target profile */
54729
+ 403: {
54730
+ headers: {
54731
+ [name: string]: unknown;
54732
+ };
54733
+ content: {
54734
+ "application/json": components["schemas"]["ErrorPayload"];
54735
+ };
54736
+ };
54737
+ /** @description Session not found */
54738
+ 404: {
54739
+ headers: {
54740
+ [name: string]: unknown;
54741
+ };
54742
+ content: {
54743
+ "application/json": components["schemas"]["ErrorPayload"];
54744
+ };
54745
+ };
54746
+ /** @description Move refused by a rule; code names the rule */
54747
+ 409: {
54748
+ headers: {
54749
+ [name: string]: unknown;
54750
+ };
54751
+ content: {
54752
+ "application/json": components["schemas"]["ErrorPayload"];
54753
+ };
54754
+ };
54755
+ /** @description Internal server error */
54756
+ 500: {
54757
+ headers: {
54758
+ [name: string]: unknown;
54759
+ };
54760
+ content: {
54761
+ "application/json": components["schemas"]["ErrorPayload"];
54762
+ };
54763
+ };
54764
+ /** @description Session profile move unavailable */
54765
+ 503: {
54766
+ headers: {
54767
+ [name: string]: unknown;
54768
+ };
54769
+ content: {
54770
+ "application/json": components["schemas"]["ErrorPayload"];
54771
+ };
54772
+ };
54773
+ };
54774
+ };
53692
54775
  setSessionParent: {
53693
54776
  parameters: {
53694
54777
  query?: {
@@ -53847,6 +54930,10 @@ export interface operations {
53847
54930
  descendants?: boolean;
53848
54931
  /** @description Filter by interaction status */
53849
54932
  status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
54933
+ /** @description Read one profile's rows by name */
54934
+ profile?: string;
54935
+ /** @description Read the owner-labeled all-profiles aggregate */
54936
+ all_profiles?: boolean;
53850
54937
  };
53851
54938
  header?: never;
53852
54939
  path: {
@@ -53917,7 +55004,10 @@ export interface operations {
53917
55004
  };
53918
55005
  updateSessionPresence: {
53919
55006
  parameters: {
53920
- query?: never;
55007
+ query?: {
55008
+ /** @description Act as this profile by name */
55009
+ profile?: string;
55010
+ };
53921
55011
  header?: never;
53922
55012
  path: {
53923
55013
  /** @description Workspace id */
@@ -54161,7 +55251,10 @@ export interface operations {
54161
55251
  };
54162
55252
  sendSessionPrompt: {
54163
55253
  parameters: {
54164
- query?: never;
55254
+ query?: {
55255
+ /** @description Act as this profile by name */
55256
+ profile?: string;
55257
+ };
54165
55258
  header?: never;
54166
55259
  path: {
54167
55260
  /** @description Workspace id */
@@ -54272,7 +55365,10 @@ export interface operations {
54272
55365
  };
54273
55366
  cancelSessionPrompt: {
54274
55367
  parameters: {
54275
- query?: never;
55368
+ query?: {
55369
+ /** @description Act as this profile by name */
55370
+ profile?: string;
55371
+ };
54276
55372
  header?: never;
54277
55373
  path: {
54278
55374
  /** @description Workspace id */
@@ -54315,7 +55411,12 @@ export interface operations {
54315
55411
  };
54316
55412
  listSessionInputs: {
54317
55413
  parameters: {
54318
- query?: never;
55414
+ query?: {
55415
+ /** @description Read one profile's rows by name */
55416
+ profile?: string;
55417
+ /** @description Read the owner-labeled all-profiles aggregate */
55418
+ all_profiles?: boolean;
55419
+ };
54319
55420
  header?: never;
54320
55421
  path: {
54321
55422
  /** @description Workspace id */
@@ -54358,7 +55459,10 @@ export interface operations {
54358
55459
  };
54359
55460
  clearSessionInputs: {
54360
55461
  parameters: {
54361
- query?: never;
55462
+ query?: {
55463
+ /** @description Act as this profile by name */
55464
+ profile?: string;
55465
+ };
54362
55466
  header?: never;
54363
55467
  path: {
54364
55468
  /** @description Workspace id */
@@ -54410,7 +55514,10 @@ export interface operations {
54410
55514
  };
54411
55515
  replaceSessionInput: {
54412
55516
  parameters: {
54413
- query?: never;
55517
+ query?: {
55518
+ /** @description Act as this profile by name */
55519
+ profile?: string;
55520
+ };
54414
55521
  header?: never;
54415
55522
  path: {
54416
55523
  /** @description Workspace id */
@@ -54469,7 +55576,10 @@ export interface operations {
54469
55576
  };
54470
55577
  cancelQueuedSessionPrompt: {
54471
55578
  parameters: {
54472
- query?: never;
55579
+ query?: {
55580
+ /** @description Act as this profile by name */
55581
+ profile?: string;
55582
+ };
54473
55583
  header?: never;
54474
55584
  path: {
54475
55585
  /** @description Workspace id */
@@ -54514,7 +55624,10 @@ export interface operations {
54514
55624
  };
54515
55625
  promoteSessionInput: {
54516
55626
  parameters: {
54517
- query?: never;
55627
+ query?: {
55628
+ /** @description Act as this profile by name */
55629
+ profile?: string;
55630
+ };
54518
55631
  header?: never;
54519
55632
  path: {
54520
55633
  /** @description Workspace id */
@@ -54585,6 +55698,10 @@ export interface operations {
54585
55698
  query?: {
54586
55699
  /** @description Maximum recent messages to include */
54587
55700
  limit?: number;
55701
+ /** @description Read one profile's rows by name */
55702
+ profile?: string;
55703
+ /** @description Read the owner-labeled all-profiles aggregate */
55704
+ all_profiles?: boolean;
54588
55705
  };
54589
55706
  header?: never;
54590
55707
  path: {
@@ -54642,6 +55759,8 @@ export interface operations {
54642
55759
  dry_run?: boolean;
54643
55760
  /** @description Allow repair for stopped sessions whose stop reason is not crash or error */
54644
55761
  force?: boolean;
55762
+ /** @description Act as this profile by name */
55763
+ profile?: string;
54645
55764
  };
54646
55765
  header?: never;
54647
55766
  path: {
@@ -54850,7 +55969,10 @@ export interface operations {
54850
55969
  };
54851
55970
  setSessionRuntime: {
54852
55971
  parameters: {
54853
- query?: never;
55972
+ query?: {
55973
+ /** @description Act as this profile by name */
55974
+ profile?: string;
55975
+ };
54854
55976
  header?: never;
54855
55977
  path: {
54856
55978
  /** @description Workspace id */
@@ -54919,6 +56041,8 @@ export interface operations {
54919
56041
  query: {
54920
56042
  /** @description Current runtime selection revision */
54921
56043
  expected_revision: number;
56044
+ /** @description Act as this profile by name */
56045
+ profile?: string;
54922
56046
  };
54923
56047
  header?: never;
54924
56048
  path: {
@@ -54980,7 +56104,10 @@ export interface operations {
54980
56104
  };
54981
56105
  refreshSessionSoul: {
54982
56106
  parameters: {
54983
- query?: never;
56107
+ query?: {
56108
+ /** @description Act as this profile by name */
56109
+ profile?: string;
56110
+ };
54984
56111
  header?: never;
54985
56112
  path: {
54986
56113
  /** @description Workspace id */
@@ -55055,7 +56182,12 @@ export interface operations {
55055
56182
  };
55056
56183
  getSessionStatus: {
55057
56184
  parameters: {
55058
- query?: never;
56185
+ query?: {
56186
+ /** @description Read one profile's rows by name */
56187
+ profile?: string;
56188
+ /** @description Read the owner-labeled all-profiles aggregate */
56189
+ all_profiles?: boolean;
56190
+ };
55059
56191
  header?: never;
55060
56192
  path: {
55061
56193
  /** @description Workspace id */
@@ -55107,7 +56239,10 @@ export interface operations {
55107
56239
  };
55108
56240
  steerSessionPrompt: {
55109
56241
  parameters: {
55110
- query?: never;
56242
+ query?: {
56243
+ /** @description Act as this profile by name */
56244
+ profile?: string;
56245
+ };
55111
56246
  header?: never;
55112
56247
  path: {
55113
56248
  /** @description Workspace id */
@@ -55278,6 +56413,10 @@ export interface operations {
55278
56413
  generation?: number;
55279
56414
  /** @description Maximum entries per transcript snapshot or change batch */
55280
56415
  limit?: number;
56416
+ /** @description Read one profile's rows by name */
56417
+ profile?: string;
56418
+ /** @description Read the owner-labeled all-profiles aggregate */
56419
+ all_profiles?: boolean;
55281
56420
  };
55282
56421
  header?: {
55283
56422
  /** @description Resume after the last applied SSE cursor; transcript reconnects also require epoch and generation */
@@ -55363,6 +56502,10 @@ export interface operations {
55363
56502
  cursor?: string;
55364
56503
  /** @description Row order: newest first (default), or most urgent first (waiting, failed, working, queued, settled) then newest */
55365
56504
  order?: "newest" | "urgency";
56505
+ /** @description Read one profile's rows by name */
56506
+ profile?: string;
56507
+ /** @description Read the owner-labeled all-profiles aggregate */
56508
+ all_profiles?: boolean;
55366
56509
  };
55367
56510
  header?: never;
55368
56511
  path: {
@@ -55436,6 +56579,10 @@ export interface operations {
55436
56579
  query?: {
55437
56580
  /** @description Effective agent name */
55438
56581
  agent_name?: string;
56582
+ /** @description Read one profile's rows by name */
56583
+ profile?: string;
56584
+ /** @description Read the owner-labeled all-profiles aggregate */
56585
+ all_profiles?: boolean;
55439
56586
  };
55440
56587
  header?: never;
55441
56588
  path: {
@@ -55479,7 +56626,10 @@ export interface operations {
55479
56626
  };
55480
56627
  searchSessionTools: {
55481
56628
  parameters: {
55482
- query?: never;
56629
+ query?: {
56630
+ /** @description Act as this profile by name */
56631
+ profile?: string;
56632
+ };
55483
56633
  header?: never;
55484
56634
  path: {
55485
56635
  /** @description Workspace id */
@@ -55541,6 +56691,10 @@ export interface operations {
55541
56691
  limit?: number;
55542
56692
  /** @description Return entries whose stable start sequence is before this cursor */
55543
56693
  before_sequence?: number;
56694
+ /** @description Read one profile's rows by name */
56695
+ profile?: string;
56696
+ /** @description Read the owner-labeled all-profiles aggregate */
56697
+ all_profiles?: boolean;
55544
56698
  };
55545
56699
  header?: never;
55546
56700
  path: {
@@ -55602,7 +56756,12 @@ export interface operations {
55602
56756
  };
55603
56757
  getSessionTranscriptOutline: {
55604
56758
  parameters: {
55605
- query?: never;
56759
+ query?: {
56760
+ /** @description Read one profile's rows by name */
56761
+ profile?: string;
56762
+ /** @description Read the owner-labeled all-profiles aggregate */
56763
+ all_profiles?: boolean;
56764
+ };
55606
56765
  header?: never;
55607
56766
  path: {
55608
56767
  /** @description Workspace id */
@@ -55668,6 +56827,10 @@ export interface operations {
55668
56827
  q: string;
55669
56828
  /** @description Maximum matches; defaults to 200, capped at 1000; truncated reports omitted matches */
55670
56829
  limit?: number;
56830
+ /** @description Read one profile's rows by name */
56831
+ profile?: string;
56832
+ /** @description Read the owner-labeled all-profiles aggregate */
56833
+ all_profiles?: boolean;
55671
56834
  };
55672
56835
  header?: never;
55673
56836
  path: {
@@ -55784,7 +56947,12 @@ export interface operations {
55784
56947
  };
55785
56948
  getSessionUsage: {
55786
56949
  parameters: {
55787
- query?: never;
56950
+ query?: {
56951
+ /** @description Read one profile's rows by name */
56952
+ profile?: string;
56953
+ /** @description Read the owner-labeled all-profiles aggregate */
56954
+ all_profiles?: boolean;
56955
+ };
55788
56956
  header?: never;
55789
56957
  path: {
55790
56958
  /** @description Workspace id */
@@ -55827,7 +56995,12 @@ export interface operations {
55827
56995
  };
55828
56996
  getSessionUsageTurns: {
55829
56997
  parameters: {
55830
- query?: never;
56998
+ query?: {
56999
+ /** @description Read one profile's rows by name */
57000
+ profile?: string;
57001
+ /** @description Read the owner-labeled all-profiles aggregate */
57002
+ all_profiles?: boolean;
57003
+ };
55831
57004
  header?: never;
55832
57005
  path: {
55833
57006
  /** @description Workspace id */
@@ -55870,7 +57043,10 @@ export interface operations {
55870
57043
  };
55871
57044
  waitForSession: {
55872
57045
  parameters: {
55873
- query?: never;
57046
+ query?: {
57047
+ /** @description Act as this profile by name */
57048
+ profile?: string;
57049
+ };
55874
57050
  header?: never;
55875
57051
  path: {
55876
57052
  /** @description Workspace id */
@@ -56116,7 +57292,10 @@ export interface operations {
56116
57292
  };
56117
57293
  forkSessionToWorktree: {
56118
57294
  parameters: {
56119
- query?: never;
57295
+ query?: {
57296
+ /** @description Act as this profile by name */
57297
+ profile?: string;
57298
+ };
56120
57299
  header?: never;
56121
57300
  path: {
56122
57301
  /** @description Workspace id */
@@ -56548,8 +57727,10 @@ export interface operations {
56548
57727
  downloadTerminalArtifact: {
56549
57728
  parameters: {
56550
57729
  query?: {
56551
- /** @description Act as this profile by name */
57730
+ /** @description Read one profile's rows by name */
56552
57731
  profile?: string;
57732
+ /** @description Read the owner-labeled all-profiles aggregate */
57733
+ all_profiles?: boolean;
56553
57734
  };
56554
57735
  header?: never;
56555
57736
  path: {
@@ -56938,8 +58119,10 @@ export interface operations {
56938
58119
  downloadTerminalRecording: {
56939
58120
  parameters: {
56940
58121
  query?: {
56941
- /** @description Act as this profile by name */
58122
+ /** @description Read one profile's rows by name */
56942
58123
  profile?: string;
58124
+ /** @description Read the owner-labeled all-profiles aggregate */
58125
+ all_profiles?: boolean;
56943
58126
  };
56944
58127
  header?: never;
56945
58128
  path: {
@@ -57029,8 +58212,12 @@ export interface operations {
57029
58212
  streamTerminalCatalog: {
57030
58213
  parameters: {
57031
58214
  query?: {
57032
- /** @description Act as this profile by name */
58215
+ /** @description Resume cursor when Last-Event-ID cannot be set; the header takes precedence */
58216
+ last_event_id?: string;
58217
+ /** @description Read one profile's rows by name */
57033
58218
  profile?: string;
58219
+ /** @description Read the owner-labeled all-profiles aggregate */
58220
+ all_profiles?: boolean;
57034
58221
  };
57035
58222
  header?: {
57036
58223
  /** @description Resume after the last terminal catalog event */
@@ -57044,6 +58231,13 @@ export interface operations {
57044
58231
  };
57045
58232
  requestBody?: never;
57046
58233
  responses: {
58234
+ /** @description WebSocket upgrade; each text message contains one complete SSE frame */
58235
+ 101: {
58236
+ headers: {
58237
+ [name: string]: unknown;
58238
+ };
58239
+ content?: never;
58240
+ };
57047
58241
  /** @description Terminal catalog event stream */
57048
58242
  200: {
57049
58243
  headers: {
@@ -57121,8 +58315,10 @@ export interface operations {
57121
58315
  getTerminal: {
57122
58316
  parameters: {
57123
58317
  query?: {
57124
- /** @description Act as this profile by name */
58318
+ /** @description Read one profile's rows by name */
57125
58319
  profile?: string;
58320
+ /** @description Read the owner-labeled all-profiles aggregate */
58321
+ all_profiles?: boolean;
57126
58322
  };
57127
58323
  header?: never;
57128
58324
  path: {