@compozy/client 0.7.5 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,7 +54,7 @@ export interface paths {
54
54
  delete: operations["archiveAgentInstance"];
55
55
  options?: never;
56
56
  head?: never;
57
- /** Update instance checks */
57
+ /** Update instance checks or operator-owned daily spend limits */
58
58
  patch: operations["updateAgentInstance"];
59
59
  trace?: never;
60
60
  };
@@ -1578,6 +1578,23 @@ export interface paths {
1578
1578
  patch?: never;
1579
1579
  trace?: never;
1580
1580
  };
1581
+ "/api/extensions/removed-builtins": {
1582
+ parameters: {
1583
+ query?: never;
1584
+ header?: never;
1585
+ path?: never;
1586
+ cookie?: never;
1587
+ };
1588
+ /** List permanently removed built-in extensions */
1589
+ get: operations["listRemovedBuiltinExtensions"];
1590
+ put?: never;
1591
+ post?: never;
1592
+ delete?: never;
1593
+ options?: never;
1594
+ head?: never;
1595
+ patch?: never;
1596
+ trace?: never;
1597
+ };
1581
1598
  "/api/extensions/update": {
1582
1599
  parameters: {
1583
1600
  query?: never;
@@ -1717,6 +1734,23 @@ export interface paths {
1717
1734
  patch?: never;
1718
1735
  trace?: never;
1719
1736
  };
1737
+ "/api/extensions/{name}/restore": {
1738
+ parameters: {
1739
+ query?: never;
1740
+ header?: never;
1741
+ path?: never;
1742
+ cookie?: never;
1743
+ };
1744
+ get?: never;
1745
+ put?: never;
1746
+ /** Restore one permanently removed built-in extension */
1747
+ post: operations["restoreExtension"];
1748
+ delete?: never;
1749
+ options?: never;
1750
+ head?: never;
1751
+ patch?: never;
1752
+ trace?: never;
1753
+ };
1720
1754
  "/api/extensions/{name}/secrets": {
1721
1755
  parameters: {
1722
1756
  query?: never;
@@ -1821,6 +1855,23 @@ export interface paths {
1821
1855
  patch: operations["renameGatewayDevice"];
1822
1856
  trace?: never;
1823
1857
  };
1858
+ "/api/gateway/devices/{id}/record": {
1859
+ parameters: {
1860
+ query?: never;
1861
+ header?: never;
1862
+ path?: never;
1863
+ cookie?: never;
1864
+ };
1865
+ get?: never;
1866
+ put?: never;
1867
+ post?: never;
1868
+ /** Remove one paired gateway device record */
1869
+ delete: operations["removeGatewayDevice"];
1870
+ options?: never;
1871
+ head?: never;
1872
+ patch?: never;
1873
+ trace?: never;
1874
+ };
1824
1875
  "/api/gateway/ingress-bindings": {
1825
1876
  parameters: {
1826
1877
  query?: never;
@@ -3413,6 +3464,23 @@ export interface paths {
3413
3464
  patch?: never;
3414
3465
  trace?: never;
3415
3466
  };
3467
+ "/api/sessions/{session_id}/transcript/inherited": {
3468
+ parameters: {
3469
+ query?: never;
3470
+ header?: never;
3471
+ path?: never;
3472
+ cookie?: never;
3473
+ };
3474
+ /** Get a bounded page of a derived session's source transcript through the derive cut for a Global session */
3475
+ get: operations["getGlobalSessionInheritedTranscript"];
3476
+ put?: never;
3477
+ post?: never;
3478
+ delete?: never;
3479
+ options?: never;
3480
+ head?: never;
3481
+ patch?: never;
3482
+ trace?: never;
3483
+ };
3416
3484
  "/api/sessions/{session_id}/transcript/outline": {
3417
3485
  parameters: {
3418
3486
  query?: never;
@@ -3780,6 +3848,23 @@ export interface paths {
3780
3848
  patch?: never;
3781
3849
  trace?: never;
3782
3850
  };
3851
+ "/api/settings/mcp-servers/{name}/enabled": {
3852
+ parameters: {
3853
+ query?: never;
3854
+ header?: never;
3855
+ path?: never;
3856
+ cookie?: never;
3857
+ };
3858
+ get?: never;
3859
+ /** Turn one scoped MCP server on or off */
3860
+ put: operations["setSettingsMCPServerEnabled"];
3861
+ post?: never;
3862
+ delete?: never;
3863
+ options?: never;
3864
+ head?: never;
3865
+ patch?: never;
3866
+ trace?: never;
3867
+ };
3783
3868
  "/api/settings/observability": {
3784
3869
  parameters: {
3785
3870
  query?: never;
@@ -6203,7 +6288,7 @@ export interface paths {
6203
6288
  cookie?: never;
6204
6289
  };
6205
6290
  get?: never;
6206
- /** Set the manual session order in a folder or the workspace root */
6291
+ /** Set the manual session order in a folder, the workspace root, or Pinned */
6207
6292
  put: operations["reorderSessions"];
6208
6293
  post?: never;
6209
6294
  delete?: never;
@@ -7000,6 +7085,24 @@ export interface paths {
7000
7085
  patch?: never;
7001
7086
  trace?: never;
7002
7087
  };
7088
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/pin": {
7089
+ parameters: {
7090
+ query?: never;
7091
+ header?: never;
7092
+ path?: never;
7093
+ cookie?: never;
7094
+ };
7095
+ get?: never;
7096
+ put?: never;
7097
+ /** Pin a session above the session list; pinning a pinned session changes nothing */
7098
+ post: operations["pinSession"];
7099
+ /** Unpin a session so it returns to its place in the list; an unpinned session is unchanged */
7100
+ delete: operations["unpinSession"];
7101
+ options?: never;
7102
+ head?: never;
7103
+ patch?: never;
7104
+ trace?: never;
7105
+ };
7003
7106
  "/api/workspaces/{workspace_id}/sessions/{session_id}/presence": {
7004
7107
  parameters: {
7005
7108
  query?: never;
@@ -7224,6 +7327,24 @@ export interface paths {
7224
7327
  patch?: never;
7225
7328
  trace?: never;
7226
7329
  };
7330
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/sides": {
7331
+ parameters: {
7332
+ query?: never;
7333
+ header?: never;
7334
+ path?: never;
7335
+ cookie?: never;
7336
+ };
7337
+ /** List all side chats attached to a session, newest updated first */
7338
+ get: operations["listSessionSides"];
7339
+ put?: never;
7340
+ /** Open a side chat without changing its source session */
7341
+ post: operations["openSessionSide"];
7342
+ delete?: never;
7343
+ options?: never;
7344
+ head?: never;
7345
+ patch?: never;
7346
+ trace?: never;
7347
+ };
7227
7348
  "/api/workspaces/{workspace_id}/sessions/{session_id}/soul/refresh": {
7228
7349
  parameters: {
7229
7350
  query?: never;
@@ -7377,6 +7498,23 @@ export interface paths {
7377
7498
  patch?: never;
7378
7499
  trace?: never;
7379
7500
  };
7501
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/inherited": {
7502
+ parameters: {
7503
+ query?: never;
7504
+ header?: never;
7505
+ path?: never;
7506
+ cookie?: never;
7507
+ };
7508
+ /** Get a bounded page of a derived session's source transcript through the derive cut */
7509
+ get: operations["getSessionInheritedTranscript"];
7510
+ put?: never;
7511
+ post?: never;
7512
+ delete?: never;
7513
+ options?: never;
7514
+ head?: never;
7515
+ patch?: never;
7516
+ trace?: never;
7517
+ };
7380
7518
  "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/outline": {
7381
7519
  parameters: {
7382
7520
  query?: never;
@@ -8565,6 +8703,25 @@ export interface components {
8565
8703
  agent: string;
8566
8704
  workspace: string;
8567
8705
  };
8706
+ AgentInstanceDailyBudgetInput: {
8707
+ /** Format: int64 */
8708
+ tokens?: number | null;
8709
+ /** Format: double */
8710
+ usd?: number | null;
8711
+ };
8712
+ AgentInstanceDailyBudgetLimits: {
8713
+ /** Format: int64 */
8714
+ tokens?: number | null;
8715
+ /** Format: double */
8716
+ usd?: number | null;
8717
+ };
8718
+ AgentInstanceDailyBudgetUsage: {
8719
+ day: string;
8720
+ has_unpriced_usage: boolean;
8721
+ known_usd: string;
8722
+ /** Format: int64 */
8723
+ tokens: number;
8724
+ };
8568
8725
  AgentInstanceListResponse: {
8569
8726
  /** Format: int64 */
8570
8727
  active_count: number;
@@ -8593,6 +8750,8 @@ export interface components {
8593
8750
  created: boolean;
8594
8751
  /** Format: date-time */
8595
8752
  created_at: string;
8753
+ daily_budget?: components["schemas"]["AgentInstanceDailyBudgetLimits"] | null;
8754
+ daily_budget_usage?: components["schemas"]["AgentInstanceDailyBudgetUsage"] | null;
8596
8755
  /** Format: int64 */
8597
8756
  failure_streak: number;
8598
8757
  fatigue_limit: number;
@@ -8716,9 +8875,22 @@ export interface components {
8716
8875
  /** Format: date-time */
8717
8876
  last_seen_at: string;
8718
8877
  };
8878
+ /** @description Set either checks_enabled or daily_budget. An empty daily_budget object removes both caps. */
8719
8879
  AgentInstanceUpdateRequest: {
8720
- checks_enabled: boolean | null;
8721
- };
8880
+ checks_enabled?: boolean | null;
8881
+ daily_budget?: components["schemas"]["AgentInstanceDailyBudgetInput"] | null;
8882
+ } & (
8883
+ | {
8884
+ checks_enabled: boolean;
8885
+ /** @enum {unknown|null} */
8886
+ daily_budget?: null;
8887
+ }
8888
+ | {
8889
+ /** @enum {unknown|null} */
8890
+ checks_enabled?: null;
8891
+ daily_budget: components["schemas"]["AgentInstanceDailyBudgetInput"];
8892
+ }
8893
+ );
8722
8894
  AgentLimitsPayload: {
8723
8895
  can_spawn_children: boolean;
8724
8896
  context_section_limit: number;
@@ -10787,9 +10959,25 @@ export interface components {
10787
10959
  ExtensionRemoveResponse: {
10788
10960
  extension: components["schemas"]["ManagedExtensionRemovePayload"];
10789
10961
  };
10962
+ ExtensionRemovedBuiltinPayload: {
10963
+ name: string;
10964
+ removed_at: string;
10965
+ removed_by: string;
10966
+ };
10967
+ ExtensionRemovedBuiltinsResponse: {
10968
+ removed: components["schemas"]["ExtensionRemovedBuiltinPayload"][];
10969
+ };
10790
10970
  ExtensionResponse: {
10791
10971
  extension: components["schemas"]["ExtensionPayload"];
10792
10972
  };
10973
+ ExtensionRestorePayload: {
10974
+ enabled: boolean;
10975
+ name: string;
10976
+ path: string;
10977
+ source: string;
10978
+ status: string;
10979
+ version: string;
10980
+ };
10793
10981
  ExtensionSecretBindingInput: {
10794
10982
  env_name: string;
10795
10983
  header_name?: string;
@@ -11161,11 +11349,13 @@ export interface components {
11161
11349
  artifact: string;
11162
11350
  /** Format: date-time */
11163
11351
  expires_at: string;
11352
+ manual_code: string;
11164
11353
  };
11165
11354
  GatewayPairingRedeemRequest: {
11166
11355
  actor_kind: string;
11167
- artifact: string;
11356
+ artifact?: string;
11168
11357
  credential?: string;
11358
+ manual_code?: string;
11169
11359
  name: string;
11170
11360
  };
11171
11361
  GatewayProviderEnableRequest: {
@@ -11189,6 +11379,11 @@ export interface components {
11189
11379
  cause: string;
11190
11380
  fix: string;
11191
11381
  };
11382
+ GatewayRemovedDevicePayload: {
11383
+ canceled: number;
11384
+ device: components["schemas"]["GatewayDevicePayload"];
11385
+ revoked: boolean;
11386
+ };
11192
11387
  GatewayRevokePayload: {
11193
11388
  canceled: number;
11194
11389
  changed: boolean;
@@ -13600,8 +13795,10 @@ export interface components {
13600
13795
  data_path?: string;
13601
13796
  name: string;
13602
13797
  path: string;
13798
+ permanent: boolean;
13603
13799
  quarantine_path?: string;
13604
13800
  status: string;
13801
+ tombstoned_at: string;
13605
13802
  warnings?: components["schemas"]["DiagnosticItem"][];
13606
13803
  };
13607
13804
  ManagedExtensionUpdatePayload: {
@@ -14067,6 +14264,11 @@ export interface components {
14067
14264
  OpenAppEffect: {
14068
14265
  app: string;
14069
14266
  };
14267
+ OpenSessionSideRequest: {
14268
+ idempotency_key: string;
14269
+ message: string;
14270
+ name?: string;
14271
+ };
14070
14272
  OpenURLEffect: {
14071
14273
  url: string;
14072
14274
  };
@@ -14968,6 +15170,7 @@ export interface components {
14968
15170
  };
14969
15171
  ReorderSessionsRequest: {
14970
15172
  folder_id?: string;
15173
+ pinned?: boolean;
14971
15174
  session_ids: string[];
14972
15175
  };
14973
15176
  ReorderWorkspaceFoldersRequest: {
@@ -15669,6 +15872,7 @@ export interface components {
15669
15872
  queue_position: number;
15670
15873
  replayed: boolean;
15671
15874
  reply_watch?: components["schemas"]["ReplyWatchRefPayload"] | null;
15875
+ side?: components["schemas"]["SessionSideCommandResult"] | null;
15672
15876
  status: string;
15673
15877
  /** @enum {string} */
15674
15878
  steer_delivery?:
@@ -15828,9 +16032,11 @@ export interface components {
15828
16032
  SessionCatalogEventPayload: {
15829
16033
  execution_location_changed?: boolean;
15830
16034
  kind: string;
16035
+ name?: string;
15831
16036
  profile_id: string;
15832
16037
  profile_name: string;
15833
16038
  session_id: string;
16039
+ side_session_id?: string;
15834
16040
  workspace_id: string;
15835
16041
  };
15836
16042
  SessionCatalogFacetsPayload: {
@@ -16078,10 +16284,13 @@ export interface components {
16078
16284
  };
16079
16285
  SessionDerivationPayload: {
16080
16286
  first_prompt: string;
16287
+ inherited_message_count?: number | null;
16081
16288
  /** @enum {string} */
16082
- kind: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery";
16289
+ kind: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
16083
16290
  native_fork_error?: string;
16084
16291
  native_state?: string;
16292
+ replay_message_count?: number | null;
16293
+ replay_omitted_count?: number | null;
16085
16294
  seed: string;
16086
16295
  source_session_id: string;
16087
16296
  };
@@ -16110,6 +16319,7 @@ export interface components {
16110
16319
  cut?: components["schemas"]["SessionDeriveCutPayload"] | null;
16111
16320
  message_count: number;
16112
16321
  native_fork_possible: boolean;
16322
+ native_fork_refusal_reason?: string;
16113
16323
  omitted_count: number;
16114
16324
  replay_bytes: number;
16115
16325
  source_message_count: number;
@@ -16455,7 +16665,7 @@ export interface components {
16455
16665
  SessionLineagePayload: {
16456
16666
  auto_stop_on_parent: boolean;
16457
16667
  /** @enum {string} */
16458
- kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery";
16668
+ kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
16459
16669
  notify_creator: boolean;
16460
16670
  origin_agent_name?: string;
16461
16671
  origin_message_id?: string;
@@ -16601,6 +16811,8 @@ export interface components {
16601
16811
  parent_title?: string;
16602
16812
  pending_interactions: components["schemas"]["PendingInteractionPayload"][];
16603
16813
  permission_mode_degraded: boolean;
16814
+ /** Format: date-time */
16815
+ pinned_at?: string | null;
16604
16816
  process_summary?: components["schemas"]["SessionProcessSummaryPayload"] | null;
16605
16817
  profile_archived?: boolean;
16606
16818
  profile_color?: string;
@@ -16876,6 +17088,28 @@ export interface components {
16876
17088
  /** Format: date-time */
16877
17089
  started_at: string;
16878
17090
  };
17091
+ SessionSideCommandResult: {
17092
+ seed: string;
17093
+ session_id: string;
17094
+ source_turn_in_progress: boolean;
17095
+ };
17096
+ SessionSideItemPayload: {
17097
+ /** Format: date-time */
17098
+ archived_at: string | null;
17099
+ /** Format: date-time */
17100
+ created_at: string;
17101
+ id: string;
17102
+ name: string;
17103
+ pending_clarify_count: number;
17104
+ pending_permission_count: number;
17105
+ prompting: boolean;
17106
+ state: string;
17107
+ /** Format: date-time */
17108
+ updated_at: string;
17109
+ };
17110
+ SessionSidesResponse: {
17111
+ sides: components["schemas"]["SessionSideItemPayload"][];
17112
+ };
16879
17113
  SessionSkillInvocationPayload: {
16880
17114
  command_id: string;
16881
17115
  end: number;
@@ -17703,6 +17937,9 @@ export interface components {
17703
17937
  [key: string]: string;
17704
17938
  };
17705
17939
  };
17940
+ SettingsMCPServerEnabledRequest: {
17941
+ enabled: boolean;
17942
+ };
17706
17943
  SettingsMCPServerItemPayload: {
17707
17944
  approval: components["schemas"]["SettingsMCPApprovalStatePayload"];
17708
17945
  args?: string[];
@@ -17713,6 +17950,7 @@ export interface components {
17713
17950
  catalog_version?: string;
17714
17951
  command?: string;
17715
17952
  definition_source?: string;
17953
+ disabled?: boolean;
17716
17954
  env_keys?: string[];
17717
17955
  headers_configured?: boolean;
17718
17956
  name: string;
@@ -22691,6 +22929,8 @@ export interface components {
22691
22929
  floating?: boolean;
22692
22930
  floating_rect?: components["schemas"]["NormalizedRect"];
22693
22931
  id?: string;
22932
+ /** @enum {string} */
22933
+ insert_edge?: "left" | "right" | "top" | "bottom";
22694
22934
  insert_tiled?: boolean;
22695
22935
  instance_key?: string | null;
22696
22936
  route: components["schemas"]["RouteIntent"];
@@ -32314,6 +32554,53 @@ export interface operations {
32314
32554
  };
32315
32555
  };
32316
32556
  };
32557
+ listRemovedBuiltinExtensions: {
32558
+ parameters: {
32559
+ query?: never;
32560
+ header?: never;
32561
+ path?: never;
32562
+ cookie?: never;
32563
+ };
32564
+ requestBody?: never;
32565
+ responses: {
32566
+ /** @description OK */
32567
+ 200: {
32568
+ headers: {
32569
+ [name: string]: unknown;
32570
+ };
32571
+ content: {
32572
+ "application/json": components["schemas"]["ExtensionRemovedBuiltinsResponse"];
32573
+ };
32574
+ };
32575
+ /** @description Internal server error */
32576
+ 500: {
32577
+ headers: {
32578
+ [name: string]: unknown;
32579
+ };
32580
+ content: {
32581
+ "application/json": components["schemas"]["ErrorPayload"];
32582
+ };
32583
+ };
32584
+ /** @description Listing is not available on this extension service */
32585
+ 501: {
32586
+ headers: {
32587
+ [name: string]: unknown;
32588
+ };
32589
+ content: {
32590
+ "application/json": components["schemas"]["ErrorPayload"];
32591
+ };
32592
+ };
32593
+ /** @description Extension service is not configured */
32594
+ 503: {
32595
+ headers: {
32596
+ [name: string]: unknown;
32597
+ };
32598
+ content: {
32599
+ "application/json": components["schemas"]["ErrorPayload"];
32600
+ };
32601
+ };
32602
+ };
32603
+ };
32317
32604
  updateExtensions: {
32318
32605
  parameters: {
32319
32606
  query?: {
@@ -32563,6 +32850,8 @@ export interface operations {
32563
32850
  query?: {
32564
32851
  /** @description Operator workspace reference; omit for the global instance */
32565
32852
  workspace?: string;
32853
+ /** @description Remove a bundled built-in permanently. It is not re-enrolled at boot or update until restored. Global only. */
32854
+ permanent?: boolean;
32566
32855
  /** @description Act as this profile by name */
32567
32856
  profile?: string;
32568
32857
  };
@@ -32584,6 +32873,15 @@ export interface operations {
32584
32873
  "application/json": components["schemas"]["ExtensionRemoveResponse"];
32585
32874
  };
32586
32875
  };
32876
+ /** @description Invalid request, including permanent with a workspace or profile */
32877
+ 400: {
32878
+ headers: {
32879
+ [name: string]: unknown;
32880
+ };
32881
+ content: {
32882
+ "application/json": components["schemas"]["ErrorPayload"];
32883
+ };
32884
+ };
32587
32885
  /** @description Forbidden */
32588
32886
  403: {
32589
32887
  headers: {
@@ -32611,6 +32909,15 @@ export interface operations {
32611
32909
  "application/json": components["schemas"]["ErrorPayload"];
32612
32910
  };
32613
32911
  };
32912
+ /** @description Extension is not a built-in */
32913
+ 422: {
32914
+ headers: {
32915
+ [name: string]: unknown;
32916
+ };
32917
+ content: {
32918
+ "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
32919
+ };
32920
+ };
32614
32921
  /** @description Internal server error */
32615
32922
  500: {
32616
32923
  headers: {
@@ -32620,6 +32927,15 @@ export interface operations {
32620
32927
  "application/json": components["schemas"]["ErrorPayload"];
32621
32928
  };
32622
32929
  };
32930
+ /** @description Permanent removal is not available on this extension service */
32931
+ 501: {
32932
+ headers: {
32933
+ [name: string]: unknown;
32934
+ };
32935
+ content: {
32936
+ "application/json": components["schemas"]["ErrorPayload"];
32937
+ };
32938
+ };
32623
32939
  /** @description Extension service is not configured */
32624
32940
  503: {
32625
32941
  headers: {
@@ -33048,6 +33364,83 @@ export interface operations {
33048
33364
  };
33049
33365
  };
33050
33366
  };
33367
+ restoreExtension: {
33368
+ parameters: {
33369
+ query?: never;
33370
+ header?: never;
33371
+ path: {
33372
+ /** @description Extension name */
33373
+ name: string;
33374
+ };
33375
+ cookie?: never;
33376
+ };
33377
+ requestBody?: never;
33378
+ responses: {
33379
+ /** @description Restored at the bundled version, enabled */
33380
+ 200: {
33381
+ headers: {
33382
+ [name: string]: unknown;
33383
+ };
33384
+ content: {
33385
+ "application/json": components["schemas"]["ExtensionRestorePayload"];
33386
+ };
33387
+ };
33388
+ /** @description Forbidden */
33389
+ 403: {
33390
+ headers: {
33391
+ [name: string]: unknown;
33392
+ };
33393
+ content: {
33394
+ "application/json": components["schemas"]["ErrorPayload"];
33395
+ };
33396
+ };
33397
+ /** @description Extension not found */
33398
+ 404: {
33399
+ headers: {
33400
+ [name: string]: unknown;
33401
+ };
33402
+ content: {
33403
+ "application/json": components["schemas"]["ErrorPayload"];
33404
+ };
33405
+ };
33406
+ /** @description Not permanently removed, or a non-bundled extension of the same name is installed */
33407
+ 409: {
33408
+ headers: {
33409
+ [name: string]: unknown;
33410
+ };
33411
+ content: {
33412
+ "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
33413
+ };
33414
+ };
33415
+ /** @description Enrollment failed; the removed state is restored and the tombstone is kept */
33416
+ 500: {
33417
+ headers: {
33418
+ [name: string]: unknown;
33419
+ };
33420
+ content: {
33421
+ "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
33422
+ };
33423
+ };
33424
+ /** @description Restore is not available on this extension service */
33425
+ 501: {
33426
+ headers: {
33427
+ [name: string]: unknown;
33428
+ };
33429
+ content: {
33430
+ "application/json": components["schemas"]["ErrorPayload"];
33431
+ };
33432
+ };
33433
+ /** @description Extension service is not configured */
33434
+ 503: {
33435
+ headers: {
33436
+ [name: string]: unknown;
33437
+ };
33438
+ content: {
33439
+ "application/json": components["schemas"]["ErrorPayload"];
33440
+ };
33441
+ };
33442
+ };
33443
+ };
33051
33444
  listExtensionSecrets: {
33052
33445
  parameters: {
33053
33446
  query?: {
@@ -33373,7 +33766,62 @@ export interface operations {
33373
33766
  };
33374
33767
  };
33375
33768
  };
33376
- renameGatewayDevice: {
33769
+ renameGatewayDevice: {
33770
+ parameters: {
33771
+ query?: never;
33772
+ header?: never;
33773
+ path: {
33774
+ /** @description Gateway device id */
33775
+ id: string;
33776
+ };
33777
+ cookie?: never;
33778
+ };
33779
+ /** @description JSON request body */
33780
+ requestBody: {
33781
+ content: {
33782
+ "application/json": components["schemas"]["GatewayDeviceRenameRequest"];
33783
+ };
33784
+ };
33785
+ responses: {
33786
+ /** @description Renamed */
33787
+ 200: {
33788
+ headers: {
33789
+ [name: string]: unknown;
33790
+ };
33791
+ content: {
33792
+ "application/json": components["schemas"]["GatewayDevicePayload"];
33793
+ };
33794
+ };
33795
+ /** @description Invalid gateway device name */
33796
+ 400: {
33797
+ headers: {
33798
+ [name: string]: unknown;
33799
+ };
33800
+ content: {
33801
+ "application/json": components["schemas"]["ErrorPayload"];
33802
+ };
33803
+ };
33804
+ /** @description Gateway device not found */
33805
+ 404: {
33806
+ headers: {
33807
+ [name: string]: unknown;
33808
+ };
33809
+ content: {
33810
+ "application/json": components["schemas"]["ErrorPayload"];
33811
+ };
33812
+ };
33813
+ /** @description Internal server error */
33814
+ 500: {
33815
+ headers: {
33816
+ [name: string]: unknown;
33817
+ };
33818
+ content: {
33819
+ "application/json": components["schemas"]["ErrorPayload"];
33820
+ };
33821
+ };
33822
+ };
33823
+ };
33824
+ removeGatewayDevice: {
33377
33825
  parameters: {
33378
33826
  query?: never;
33379
33827
  header?: never;
@@ -33383,29 +33831,15 @@ export interface operations {
33383
33831
  };
33384
33832
  cookie?: never;
33385
33833
  };
33386
- /** @description JSON request body */
33387
- requestBody: {
33388
- content: {
33389
- "application/json": components["schemas"]["GatewayDeviceRenameRequest"];
33390
- };
33391
- };
33834
+ requestBody?: never;
33392
33835
  responses: {
33393
- /** @description Renamed */
33836
+ /** @description Removed */
33394
33837
  200: {
33395
33838
  headers: {
33396
33839
  [name: string]: unknown;
33397
33840
  };
33398
33841
  content: {
33399
- "application/json": components["schemas"]["GatewayDevicePayload"];
33400
- };
33401
- };
33402
- /** @description Invalid gateway device name */
33403
- 400: {
33404
- headers: {
33405
- [name: string]: unknown;
33406
- };
33407
- content: {
33408
- "application/json": components["schemas"]["ErrorPayload"];
33842
+ "application/json": components["schemas"]["GatewayRemovedDevicePayload"];
33409
33843
  };
33410
33844
  };
33411
33845
  /** @description Gateway device not found */
@@ -34695,6 +35129,17 @@ export interface operations {
34695
35129
  "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
34696
35130
  };
34697
35131
  };
35132
+ /** @description Invalid plugin manifest */
35133
+ 422: {
35134
+ headers: {
35135
+ [name: string]: unknown;
35136
+ };
35137
+ content: {
35138
+ "application/json":
35139
+ | components["schemas"]["ExtensionValidationErrorPayload"]
35140
+ | components["schemas"]["ExtensionOperationErrorPayload"];
35141
+ };
35142
+ };
34698
35143
  /** @description Internal server error */
34699
35144
  500: {
34700
35145
  headers: {
@@ -39600,7 +40045,9 @@ export interface operations {
39600
40045
  archive?: "exclude" | "only" | "include";
39601
40046
  /** @description Visibility of sessions parked in Later; excluded by default */
39602
40047
  later?: "exclude" | "only" | "include";
39603
- /** @description Stable session ordering */
40048
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
40049
+ pinned?: "exclude" | "only" | "include";
40050
+ /** @description Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only */
39604
40051
  sort?:
39605
40052
  | "recent"
39606
40053
  | "created"
@@ -39608,7 +40055,8 @@ export interface operations {
39608
40055
  | "last_activity"
39609
40056
  | "attention"
39610
40057
  | "navigator"
39611
- | "manual";
40058
+ | "manual"
40059
+ | "pinned";
39612
40060
  /** @description Opaque next_cursor from the previous page */
39613
40061
  cursor?: string;
39614
40062
  /** @description Sessions per page (1-100) */
@@ -39902,6 +40350,8 @@ export interface operations {
39902
40350
  archive?: "exclude" | "only" | "include";
39903
40351
  /** @description Visibility of sessions parked in Later; excluded by default */
39904
40352
  later?: "exclude" | "only" | "include";
40353
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
40354
+ pinned?: "exclude" | "only" | "include";
39905
40355
  /** @description Read one profile's rows by name */
39906
40356
  profile?: string;
39907
40357
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -40656,6 +41106,74 @@ export interface operations {
40656
41106
  };
40657
41107
  };
40658
41108
  };
41109
+ getGlobalSessionInheritedTranscript: {
41110
+ parameters: {
41111
+ query?: {
41112
+ /** @description Maximum page size; defaults to the newest 200 entries and is capped at 1000 */
41113
+ limit?: number;
41114
+ /** @description Return inherited entries whose stable start sequence is before this cursor */
41115
+ before_sequence?: number;
41116
+ /** @description Read one profile's rows by name */
41117
+ profile?: string;
41118
+ /** @description Read the owner-labeled all-profiles aggregate */
41119
+ all_profiles?: boolean;
41120
+ };
41121
+ header?: never;
41122
+ path: {
41123
+ /** @description Derived child session id */
41124
+ session_id: string;
41125
+ };
41126
+ cookie?: never;
41127
+ };
41128
+ requestBody?: never;
41129
+ responses: {
41130
+ /** @description OK */
41131
+ 200: {
41132
+ headers: {
41133
+ [name: string]: unknown;
41134
+ };
41135
+ content: {
41136
+ "application/json": components["schemas"]["SessionTranscriptResponse"];
41137
+ };
41138
+ };
41139
+ /** @description Invalid filter */
41140
+ 400: {
41141
+ headers: {
41142
+ [name: string]: unknown;
41143
+ };
41144
+ content: {
41145
+ "application/json": components["schemas"]["ErrorPayload"];
41146
+ };
41147
+ };
41148
+ /** @description Session not found or source transcript unavailable (inherited_transcript_unavailable) */
41149
+ 404: {
41150
+ headers: {
41151
+ [name: string]: unknown;
41152
+ };
41153
+ content: {
41154
+ "application/json": components["schemas"]["ErrorPayload"];
41155
+ };
41156
+ };
41157
+ /** @description Internal server error */
41158
+ 500: {
41159
+ headers: {
41160
+ [name: string]: unknown;
41161
+ };
41162
+ content: {
41163
+ "application/json": components["schemas"]["ErrorPayload"];
41164
+ };
41165
+ };
41166
+ /** @description Transcript projection is incompatible */
41167
+ 503: {
41168
+ headers: {
41169
+ [name: string]: unknown;
41170
+ };
41171
+ content: {
41172
+ "application/json": components["schemas"]["ErrorPayload"];
41173
+ };
41174
+ };
41175
+ };
41176
+ };
40659
41177
  getGlobalSessionTranscriptOutline: {
40660
41178
  parameters: {
40661
41179
  query?: {
@@ -42305,7 +42823,179 @@ export interface operations {
42305
42823
  };
42306
42824
  };
42307
42825
  };
42308
- logoutSettingsMCPAuth: {
42826
+ logoutSettingsMCPAuth: {
42827
+ parameters: {
42828
+ query: {
42829
+ /** @description Exact MCP settings scope */
42830
+ scope: "user" | "profile" | "workspace";
42831
+ /** @description Required when scope is workspace */
42832
+ workspace_id?: string;
42833
+ /** @description Required when scope is profile */
42834
+ profile?: string;
42835
+ /** @description Definition owner: manual or extension:<name>; omitted owner selects manual */
42836
+ owner?: string;
42837
+ };
42838
+ header?: never;
42839
+ path: {
42840
+ /** @description Configured MCP server name */
42841
+ name: string;
42842
+ };
42843
+ cookie?: never;
42844
+ };
42845
+ requestBody?: never;
42846
+ responses: {
42847
+ /** @description OK */
42848
+ 200: {
42849
+ headers: {
42850
+ [name: string]: unknown;
42851
+ };
42852
+ content: {
42853
+ "application/json": components["schemas"]["SettingsMCPAuthStatusPayload"];
42854
+ };
42855
+ };
42856
+ /** @description Invalid MCP OAuth request or session */
42857
+ 400: {
42858
+ headers: {
42859
+ [name: string]: unknown;
42860
+ };
42861
+ content: {
42862
+ "application/json": components["schemas"]["ErrorPayload"];
42863
+ };
42864
+ };
42865
+ /** @description Forbidden */
42866
+ 403: {
42867
+ headers: {
42868
+ [name: string]: unknown;
42869
+ };
42870
+ content: {
42871
+ "application/json": components["schemas"]["ErrorPayload"];
42872
+ };
42873
+ };
42874
+ /** @description MCP server or workspace not found */
42875
+ 404: {
42876
+ headers: {
42877
+ [name: string]: unknown;
42878
+ };
42879
+ content: {
42880
+ "application/json": components["schemas"]["ErrorPayload"];
42881
+ };
42882
+ };
42883
+ /** @description MCP server waiting for approval or definition changed */
42884
+ 409: {
42885
+ headers: {
42886
+ [name: string]: unknown;
42887
+ };
42888
+ content: {
42889
+ "application/json": components["schemas"]["ErrorPayload"];
42890
+ };
42891
+ };
42892
+ /** @description Internal server error */
42893
+ 500: {
42894
+ headers: {
42895
+ [name: string]: unknown;
42896
+ };
42897
+ content: {
42898
+ "application/json": components["schemas"]["ErrorPayload"];
42899
+ };
42900
+ };
42901
+ /** @description MCP OAuth runtime is unavailable */
42902
+ 503: {
42903
+ headers: {
42904
+ [name: string]: unknown;
42905
+ };
42906
+ content: {
42907
+ "application/json": components["schemas"]["ErrorPayload"];
42908
+ };
42909
+ };
42910
+ };
42911
+ };
42912
+ getSettingsMCPAuthStatus: {
42913
+ parameters: {
42914
+ query: {
42915
+ /** @description Exact MCP settings scope */
42916
+ scope: "user" | "profile" | "workspace";
42917
+ /** @description Required when scope is workspace */
42918
+ workspace_id?: string;
42919
+ /** @description Required when scope is profile */
42920
+ profile?: string;
42921
+ /** @description Definition owner: manual or extension:<name>; omitted owner selects manual */
42922
+ owner?: string;
42923
+ };
42924
+ header?: never;
42925
+ path: {
42926
+ /** @description Configured MCP server name */
42927
+ name: string;
42928
+ };
42929
+ cookie?: never;
42930
+ };
42931
+ requestBody?: never;
42932
+ responses: {
42933
+ /** @description OK */
42934
+ 200: {
42935
+ headers: {
42936
+ [name: string]: unknown;
42937
+ };
42938
+ content: {
42939
+ "application/json": components["schemas"]["SettingsMCPAuthStatusPayload"];
42940
+ };
42941
+ };
42942
+ /** @description Invalid MCP OAuth request or session */
42943
+ 400: {
42944
+ headers: {
42945
+ [name: string]: unknown;
42946
+ };
42947
+ content: {
42948
+ "application/json": components["schemas"]["ErrorPayload"];
42949
+ };
42950
+ };
42951
+ /** @description Forbidden */
42952
+ 403: {
42953
+ headers: {
42954
+ [name: string]: unknown;
42955
+ };
42956
+ content: {
42957
+ "application/json": components["schemas"]["ErrorPayload"];
42958
+ };
42959
+ };
42960
+ /** @description MCP server or workspace not found */
42961
+ 404: {
42962
+ headers: {
42963
+ [name: string]: unknown;
42964
+ };
42965
+ content: {
42966
+ "application/json": components["schemas"]["ErrorPayload"];
42967
+ };
42968
+ };
42969
+ /** @description MCP server waiting for approval or definition changed */
42970
+ 409: {
42971
+ headers: {
42972
+ [name: string]: unknown;
42973
+ };
42974
+ content: {
42975
+ "application/json": components["schemas"]["ErrorPayload"];
42976
+ };
42977
+ };
42978
+ /** @description Internal server error */
42979
+ 500: {
42980
+ headers: {
42981
+ [name: string]: unknown;
42982
+ };
42983
+ content: {
42984
+ "application/json": components["schemas"]["ErrorPayload"];
42985
+ };
42986
+ };
42987
+ /** @description MCP OAuth runtime is unavailable */
42988
+ 503: {
42989
+ headers: {
42990
+ [name: string]: unknown;
42991
+ };
42992
+ content: {
42993
+ "application/json": components["schemas"]["ErrorPayload"];
42994
+ };
42995
+ };
42996
+ };
42997
+ };
42998
+ checkSettingsMCPServer: {
42309
42999
  parameters: {
42310
43000
  query: {
42311
43001
  /** @description Exact MCP settings scope */
@@ -42326,16 +43016,16 @@ export interface operations {
42326
43016
  };
42327
43017
  requestBody?: never;
42328
43018
  responses: {
42329
- /** @description OK */
43019
+ /** @description MCP check result */
42330
43020
  200: {
42331
43021
  headers: {
42332
43022
  [name: string]: unknown;
42333
43023
  };
42334
43024
  content: {
42335
- "application/json": components["schemas"]["SettingsMCPAuthStatusPayload"];
43025
+ "application/json": components["schemas"]["SettingsMCPServerItemPayload"];
42336
43026
  };
42337
43027
  };
42338
- /** @description Invalid MCP OAuth request or session */
43028
+ /** @description Invalid MCP check request or disabled source */
42339
43029
  400: {
42340
43030
  headers: {
42341
43031
  [name: string]: unknown;
@@ -42362,8 +43052,8 @@ export interface operations {
42362
43052
  "application/json": components["schemas"]["ErrorPayload"];
42363
43053
  };
42364
43054
  };
42365
- /** @description MCP server waiting for approval or definition changed */
42366
- 409: {
43055
+ /** @description MCP check canceled by client */
43056
+ 499: {
42367
43057
  headers: {
42368
43058
  [name: string]: unknown;
42369
43059
  };
@@ -42380,7 +43070,7 @@ export interface operations {
42380
43070
  "application/json": components["schemas"]["ErrorPayload"];
42381
43071
  };
42382
43072
  };
42383
- /** @description MCP OAuth runtime is unavailable */
43073
+ /** @description MCP check runtime unavailable */
42384
43074
  503: {
42385
43075
  headers: {
42386
43076
  [name: string]: unknown;
@@ -42391,7 +43081,7 @@ export interface operations {
42391
43081
  };
42392
43082
  };
42393
43083
  };
42394
- getSettingsMCPAuthStatus: {
43084
+ setSettingsMCPServerEnabled: {
42395
43085
  parameters: {
42396
43086
  query: {
42397
43087
  /** @description Exact MCP settings scope */
@@ -42402,6 +43092,8 @@ export interface operations {
42402
43092
  profile?: string;
42403
43093
  /** @description Definition owner: manual or extension:<name>; omitted owner selects manual */
42404
43094
  owner?: string;
43095
+ /** @description Declaring file from the Settings MCP row. Selects one same-name definition in the requested scope. */
43096
+ definition_source?: string;
42405
43097
  };
42406
43098
  header?: never;
42407
43099
  path: {
@@ -42410,104 +43102,23 @@ export interface operations {
42410
43102
  };
42411
43103
  cookie?: never;
42412
43104
  };
42413
- requestBody?: never;
42414
- responses: {
42415
- /** @description OK */
42416
- 200: {
42417
- headers: {
42418
- [name: string]: unknown;
42419
- };
42420
- content: {
42421
- "application/json": components["schemas"]["SettingsMCPAuthStatusPayload"];
42422
- };
42423
- };
42424
- /** @description Invalid MCP OAuth request or session */
42425
- 400: {
42426
- headers: {
42427
- [name: string]: unknown;
42428
- };
42429
- content: {
42430
- "application/json": components["schemas"]["ErrorPayload"];
42431
- };
42432
- };
42433
- /** @description Forbidden */
42434
- 403: {
42435
- headers: {
42436
- [name: string]: unknown;
42437
- };
42438
- content: {
42439
- "application/json": components["schemas"]["ErrorPayload"];
42440
- };
42441
- };
42442
- /** @description MCP server or workspace not found */
42443
- 404: {
42444
- headers: {
42445
- [name: string]: unknown;
42446
- };
42447
- content: {
42448
- "application/json": components["schemas"]["ErrorPayload"];
42449
- };
42450
- };
42451
- /** @description MCP server waiting for approval or definition changed */
42452
- 409: {
42453
- headers: {
42454
- [name: string]: unknown;
42455
- };
42456
- content: {
42457
- "application/json": components["schemas"]["ErrorPayload"];
42458
- };
42459
- };
42460
- /** @description Internal server error */
42461
- 500: {
42462
- headers: {
42463
- [name: string]: unknown;
42464
- };
42465
- content: {
42466
- "application/json": components["schemas"]["ErrorPayload"];
42467
- };
42468
- };
42469
- /** @description MCP OAuth runtime is unavailable */
42470
- 503: {
42471
- headers: {
42472
- [name: string]: unknown;
42473
- };
42474
- content: {
42475
- "application/json": components["schemas"]["ErrorPayload"];
42476
- };
42477
- };
42478
- };
42479
- };
42480
- checkSettingsMCPServer: {
42481
- parameters: {
42482
- query: {
42483
- /** @description Exact MCP settings scope */
42484
- scope: "user" | "profile" | "workspace";
42485
- /** @description Required when scope is workspace */
42486
- workspace_id?: string;
42487
- /** @description Required when scope is profile */
42488
- profile?: string;
42489
- /** @description Definition owner: manual or extension:<name>; omitted owner selects manual */
42490
- owner?: string;
42491
- };
42492
- header?: never;
42493
- path: {
42494
- /** @description Configured MCP server name */
42495
- name: string;
43105
+ /** @description JSON request body */
43106
+ requestBody: {
43107
+ content: {
43108
+ "application/json": components["schemas"]["SettingsMCPServerEnabledRequest"];
42496
43109
  };
42497
- cookie?: never;
42498
43110
  };
42499
- requestBody?: never;
42500
43111
  responses: {
42501
- /** @description MCP check result */
43112
+ /** @description Updated server */
42502
43113
  200: {
42503
43114
  headers: {
42504
43115
  [name: string]: unknown;
42505
43116
  };
42506
43117
  content: {
42507
- "application/json": components["schemas"]["SettingsMCPServerItemPayload"];
43118
+ "application/json": components["schemas"]["SettingsMCPServerResponse"];
42508
43119
  };
42509
43120
  };
42510
- /** @description Invalid MCP check request or disabled source */
43121
+ /** @description Invalid MCP server owner, scope, or payload */
42511
43122
  400: {
42512
43123
  headers: {
42513
43124
  [name: string]: unknown;
@@ -42534,8 +43145,8 @@ export interface operations {
42534
43145
  "application/json": components["schemas"]["ErrorPayload"];
42535
43146
  };
42536
43147
  };
42537
- /** @description MCP check canceled by client */
42538
- 499: {
43148
+ /** @description MCP server definition is ambiguous or cannot be edited */
43149
+ 409: {
42539
43150
  headers: {
42540
43151
  [name: string]: unknown;
42541
43152
  };
@@ -42552,7 +43163,7 @@ export interface operations {
42552
43163
  "application/json": components["schemas"]["ErrorPayload"];
42553
43164
  };
42554
43165
  };
42555
- /** @description MCP check runtime unavailable */
43166
+ /** @description MCP server state could not be applied */
42556
43167
  503: {
42557
43168
  headers: {
42558
43169
  [name: string]: unknown;
@@ -55235,7 +55846,9 @@ export interface operations {
55235
55846
  archive?: "exclude" | "only" | "include";
55236
55847
  /** @description Visibility of sessions parked in Later; excluded by default */
55237
55848
  later?: "exclude" | "only" | "include";
55238
- /** @description Stable session ordering */
55849
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
55850
+ pinned?: "exclude" | "only" | "include";
55851
+ /** @description Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only */
55239
55852
  sort?:
55240
55853
  | "recent"
55241
55854
  | "created"
@@ -55243,7 +55856,8 @@ export interface operations {
55243
55856
  | "last_activity"
55244
55857
  | "attention"
55245
55858
  | "navigator"
55246
- | "manual";
55859
+ | "manual"
55860
+ | "pinned";
55247
55861
  /** @description Opaque next_cursor from the previous page */
55248
55862
  cursor?: string;
55249
55863
  /** @description Sessions per page (1-100) */
@@ -56722,7 +57336,7 @@ export interface operations {
56722
57336
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
56723
57337
  };
56724
57338
  };
56725
- /** @description Session cannot be continued */
57339
+ /** @description Session cannot be continued or the source is busy */
56726
57340
  409: {
56727
57341
  headers: {
56728
57342
  [name: string]: unknown;
@@ -56731,7 +57345,7 @@ export interface operations {
56731
57345
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
56732
57346
  };
56733
57347
  };
56734
- /** @description Runtime or authentication failure; when the new session was already created the error carries child_session_id and a retry with the same idempotency_key returns it */
57348
+ /** @description Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id */
56735
57349
  422: {
56736
57350
  headers: {
56737
57351
  [name: string]: unknown;
@@ -56808,7 +57422,7 @@ export interface operations {
56808
57422
  "application/json": components["schemas"]["ErrorPayload"];
56809
57423
  };
56810
57424
  };
56811
- /** @description Session is archived */
57425
+ /** @description Session is archived or the source is busy */
56812
57426
  409: {
56813
57427
  headers: {
56814
57428
  [name: string]: unknown;
@@ -57535,7 +58149,7 @@ export interface operations {
57535
58149
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
57536
58150
  };
57537
58151
  };
57538
- /** @description Session cannot be forked */
58152
+ /** @description Session cannot be forked or the source is busy */
57539
58153
  409: {
57540
58154
  headers: {
57541
58155
  [name: string]: unknown;
@@ -57544,7 +58158,7 @@ export interface operations {
57544
58158
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
57545
58159
  };
57546
58160
  };
57547
- /** @description Runtime or authentication failure; when the new session was already created the error carries child_session_id and a retry with the same idempotency_key returns it */
58161
+ /** @description Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id */
57548
58162
  422: {
57549
58163
  headers: {
57550
58164
  [name: string]: unknown;
@@ -59061,7 +59675,159 @@ export interface operations {
59061
59675
  "application/json": components["schemas"]["SessionResponse"];
59062
59676
  };
59063
59677
  };
59064
- /** @description Invalid reparent request */
59678
+ /** @description Invalid reparent request */
59679
+ 400: {
59680
+ headers: {
59681
+ [name: string]: unknown;
59682
+ };
59683
+ content: {
59684
+ "application/json": components["schemas"]["ErrorPayload"];
59685
+ };
59686
+ };
59687
+ /** @description Session not found */
59688
+ 404: {
59689
+ headers: {
59690
+ [name: string]: unknown;
59691
+ };
59692
+ content: {
59693
+ "application/json": components["schemas"]["ErrorPayload"];
59694
+ };
59695
+ };
59696
+ /** @description Reparent refused by a lineage rule; code names the rule */
59697
+ 409: {
59698
+ headers: {
59699
+ [name: string]: unknown;
59700
+ };
59701
+ content: {
59702
+ "application/json": components["schemas"]["ErrorPayload"];
59703
+ };
59704
+ };
59705
+ /** @description Internal server error */
59706
+ 500: {
59707
+ headers: {
59708
+ [name: string]: unknown;
59709
+ };
59710
+ content: {
59711
+ "application/json": components["schemas"]["ErrorPayload"];
59712
+ };
59713
+ };
59714
+ /** @description Session reparent unavailable */
59715
+ 503: {
59716
+ headers: {
59717
+ [name: string]: unknown;
59718
+ };
59719
+ content: {
59720
+ "application/json": components["schemas"]["ErrorPayload"];
59721
+ };
59722
+ };
59723
+ };
59724
+ };
59725
+ listSessionPendingInteractions: {
59726
+ parameters: {
59727
+ query?: {
59728
+ /** @description Include descendant sessions in the same workspace and profile */
59729
+ descendants?: boolean;
59730
+ /** @description Filter by interaction status */
59731
+ status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
59732
+ /** @description Read one profile's rows by name */
59733
+ profile?: string;
59734
+ /** @description Read the owner-labeled all-profiles aggregate */
59735
+ all_profiles?: boolean;
59736
+ };
59737
+ header?: never;
59738
+ path: {
59739
+ /** @description Workspace id */
59740
+ workspace_id: string;
59741
+ /** @description Session id */
59742
+ session_id: string;
59743
+ };
59744
+ cookie?: never;
59745
+ };
59746
+ requestBody?: never;
59747
+ responses: {
59748
+ /** @description OK */
59749
+ 200: {
59750
+ headers: {
59751
+ [name: string]: unknown;
59752
+ };
59753
+ content: {
59754
+ "application/json": components["schemas"]["SessionInteractionsResponse"];
59755
+ };
59756
+ };
59757
+ /** @description Invalid interaction status */
59758
+ 400: {
59759
+ headers: {
59760
+ [name: string]: unknown;
59761
+ };
59762
+ content: {
59763
+ "application/json": components["schemas"]["ErrorPayload"];
59764
+ };
59765
+ };
59766
+ /** @description Agent identity is denied */
59767
+ 403: {
59768
+ headers: {
59769
+ [name: string]: unknown;
59770
+ };
59771
+ content: {
59772
+ "application/json": components["schemas"]["ErrorPayload"];
59773
+ };
59774
+ };
59775
+ /** @description Session not found */
59776
+ 404: {
59777
+ headers: {
59778
+ [name: string]: unknown;
59779
+ };
59780
+ content: {
59781
+ "application/json": components["schemas"]["ErrorPayload"];
59782
+ };
59783
+ };
59784
+ /** @description Internal server error */
59785
+ 500: {
59786
+ headers: {
59787
+ [name: string]: unknown;
59788
+ };
59789
+ content: {
59790
+ "application/json": components["schemas"]["ErrorPayload"];
59791
+ };
59792
+ };
59793
+ /** @description Session attention is unavailable */
59794
+ 503: {
59795
+ headers: {
59796
+ [name: string]: unknown;
59797
+ };
59798
+ content: {
59799
+ "application/json": components["schemas"]["ErrorPayload"];
59800
+ };
59801
+ };
59802
+ };
59803
+ };
59804
+ pinSession: {
59805
+ parameters: {
59806
+ query?: {
59807
+ /** @description Act as this profile by name */
59808
+ profile?: string;
59809
+ };
59810
+ header?: never;
59811
+ path: {
59812
+ /** @description Workspace id */
59813
+ workspace_id: string;
59814
+ /** @description Session id */
59815
+ session_id: string;
59816
+ };
59817
+ cookie?: never;
59818
+ };
59819
+ requestBody?: never;
59820
+ responses: {
59821
+ /** @description OK */
59822
+ 200: {
59823
+ headers: {
59824
+ [name: string]: unknown;
59825
+ };
59826
+ content: {
59827
+ "application/json": components["schemas"]["SessionResponse"];
59828
+ };
59829
+ };
59830
+ /** @description Conflicting profile selectors (profile_selection_conflict) */
59065
59831
  400: {
59066
59832
  headers: {
59067
59833
  [name: string]: unknown;
@@ -59079,7 +59845,7 @@ export interface operations {
59079
59845
  "application/json": components["schemas"]["ErrorPayload"];
59080
59846
  };
59081
59847
  };
59082
- /** @description Reparent refused by a lineage rule; code names the rule */
59848
+ /** @description Subagent sessions follow their parent and an always-on agent's main session lives in its avatar, so neither can be pinned */
59083
59849
  409: {
59084
59850
  headers: {
59085
59851
  [name: string]: unknown;
@@ -59097,7 +59863,7 @@ export interface operations {
59097
59863
  "application/json": components["schemas"]["ErrorPayload"];
59098
59864
  };
59099
59865
  };
59100
- /** @description Session reparent unavailable */
59866
+ /** @description Service unavailable - dependent service missing */
59101
59867
  503: {
59102
59868
  headers: {
59103
59869
  [name: string]: unknown;
@@ -59108,17 +59874,11 @@ export interface operations {
59108
59874
  };
59109
59875
  };
59110
59876
  };
59111
- listSessionPendingInteractions: {
59877
+ unpinSession: {
59112
59878
  parameters: {
59113
59879
  query?: {
59114
- /** @description Include descendant sessions in the same workspace and profile */
59115
- descendants?: boolean;
59116
- /** @description Filter by interaction status */
59117
- status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
59118
- /** @description Read one profile's rows by name */
59880
+ /** @description Act as this profile by name */
59119
59881
  profile?: string;
59120
- /** @description Read the owner-labeled all-profiles aggregate */
59121
- all_profiles?: boolean;
59122
59882
  };
59123
59883
  header?: never;
59124
59884
  path: {
@@ -59137,10 +59897,10 @@ export interface operations {
59137
59897
  [name: string]: unknown;
59138
59898
  };
59139
59899
  content: {
59140
- "application/json": components["schemas"]["SessionInteractionsResponse"];
59900
+ "application/json": components["schemas"]["SessionResponse"];
59141
59901
  };
59142
59902
  };
59143
- /** @description Invalid interaction status */
59903
+ /** @description Conflicting profile selectors (profile_selection_conflict) */
59144
59904
  400: {
59145
59905
  headers: {
59146
59906
  [name: string]: unknown;
@@ -59149,8 +59909,8 @@ export interface operations {
59149
59909
  "application/json": components["schemas"]["ErrorPayload"];
59150
59910
  };
59151
59911
  };
59152
- /** @description Agent identity is denied */
59153
- 403: {
59912
+ /** @description Session not found */
59913
+ 404: {
59154
59914
  headers: {
59155
59915
  [name: string]: unknown;
59156
59916
  };
@@ -59158,8 +59918,8 @@ export interface operations {
59158
59918
  "application/json": components["schemas"]["ErrorPayload"];
59159
59919
  };
59160
59920
  };
59161
- /** @description Session not found */
59162
- 404: {
59921
+ /** @description Subagent sessions follow their parent and an always-on agent's main session lives in its avatar, so neither can be pinned */
59922
+ 409: {
59163
59923
  headers: {
59164
59924
  [name: string]: unknown;
59165
59925
  };
@@ -59176,7 +59936,7 @@ export interface operations {
59176
59936
  "application/json": components["schemas"]["ErrorPayload"];
59177
59937
  };
59178
59938
  };
59179
- /** @description Session attention is unavailable */
59939
+ /** @description Service unavailable - dependent service missing */
59180
59940
  503: {
59181
59941
  headers: {
59182
59942
  [name: string]: unknown;
@@ -59468,6 +60228,15 @@ export interface operations {
59468
60228
  "text/event-stream": components["schemas"]["PromptStreamChunk"];
59469
60229
  };
59470
60230
  };
60231
+ /** @description Side chat opened */
60232
+ 201: {
60233
+ headers: {
60234
+ [name: string]: unknown;
60235
+ };
60236
+ content: {
60237
+ "application/json": components["schemas"]["SendPromptResultResponse"];
60238
+ };
60239
+ };
59471
60240
  /** @description Prompt queued, steering accepted, or Goal command started */
59472
60241
  202: {
59473
60242
  headers: {
@@ -59483,7 +60252,7 @@ export interface operations {
59483
60252
  [name: string]: unknown;
59484
60253
  };
59485
60254
  content: {
59486
- "application/json": components["schemas"]["ErrorPayload"];
60255
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59487
60256
  };
59488
60257
  };
59489
60258
  /** @description Session or attachment not found */
@@ -59493,7 +60262,7 @@ export interface operations {
59493
60262
  };
59494
60263
  content: {
59495
60264
  "application/json":
59496
- | components["schemas"]["ErrorPayload"]
60265
+ | components["schemas"]["SessionDeriveErrorPayload"]
59497
60266
  | components["schemas"]["SendPromptResultResponse"];
59498
60267
  };
59499
60268
  };
@@ -59504,7 +60273,7 @@ export interface operations {
59504
60273
  };
59505
60274
  content: {
59506
60275
  "application/json":
59507
- | components["schemas"]["ErrorPayload"]
60276
+ | components["schemas"]["SessionDeriveErrorPayload"]
59508
60277
  | components["schemas"]["SendPromptResultResponse"];
59509
60278
  };
59510
60279
  };
@@ -59524,7 +60293,7 @@ export interface operations {
59524
60293
  };
59525
60294
  content: {
59526
60295
  "application/json":
59527
- | components["schemas"]["ErrorPayload"]
60296
+ | components["schemas"]["SessionDeriveErrorPayload"]
59528
60297
  | components["schemas"]["SendPromptResultResponse"];
59529
60298
  };
59530
60299
  };
@@ -59534,7 +60303,7 @@ export interface operations {
59534
60303
  [name: string]: unknown;
59535
60304
  };
59536
60305
  content: {
59537
- "application/json": components["schemas"]["ErrorPayload"];
60306
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59538
60307
  };
59539
60308
  };
59540
60309
  /** @description New-work admission is unavailable while the daemon is draining */
@@ -59543,7 +60312,7 @@ export interface operations {
59543
60312
  [name: string]: unknown;
59544
60313
  };
59545
60314
  content: {
59546
- "application/json": components["schemas"]["ErrorPayload"];
60315
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59547
60316
  };
59548
60317
  };
59549
60318
  };
@@ -60287,6 +61056,168 @@ export interface operations {
60287
61056
  };
60288
61057
  };
60289
61058
  };
61059
+ listSessionSides: {
61060
+ parameters: {
61061
+ query?: {
61062
+ /** @description Include closed side chats */
61063
+ archived?: string;
61064
+ /** @description Act as this profile by name */
61065
+ profile?: string;
61066
+ };
61067
+ header?: never;
61068
+ path: {
61069
+ /** @description Workspace id */
61070
+ workspace_id: string;
61071
+ /** @description Source session id */
61072
+ session_id: string;
61073
+ };
61074
+ cookie?: never;
61075
+ };
61076
+ requestBody?: never;
61077
+ responses: {
61078
+ /** @description Complete side chat list */
61079
+ 200: {
61080
+ headers: {
61081
+ [name: string]: unknown;
61082
+ };
61083
+ content: {
61084
+ "application/json": components["schemas"]["SessionSidesResponse"];
61085
+ };
61086
+ };
61087
+ /** @description Invalid archive filter */
61088
+ 400: {
61089
+ headers: {
61090
+ [name: string]: unknown;
61091
+ };
61092
+ content: {
61093
+ "application/json": components["schemas"]["ErrorPayload"];
61094
+ };
61095
+ };
61096
+ /** @description Session not found */
61097
+ 404: {
61098
+ headers: {
61099
+ [name: string]: unknown;
61100
+ };
61101
+ content: {
61102
+ "application/json": components["schemas"]["ErrorPayload"];
61103
+ };
61104
+ };
61105
+ /** @description Side chats cannot list nested side chats */
61106
+ 409: {
61107
+ headers: {
61108
+ [name: string]: unknown;
61109
+ };
61110
+ content: {
61111
+ "application/json": components["schemas"]["ErrorPayload"];
61112
+ };
61113
+ };
61114
+ /** @description Internal server error */
61115
+ 500: {
61116
+ headers: {
61117
+ [name: string]: unknown;
61118
+ };
61119
+ content: {
61120
+ "application/json": components["schemas"]["ErrorPayload"];
61121
+ };
61122
+ };
61123
+ };
61124
+ };
61125
+ openSessionSide: {
61126
+ parameters: {
61127
+ query?: {
61128
+ /** @description Act as this profile by name */
61129
+ profile?: string;
61130
+ };
61131
+ header?: never;
61132
+ path: {
61133
+ /** @description Workspace id */
61134
+ workspace_id: string;
61135
+ /** @description Source session id */
61136
+ session_id: string;
61137
+ };
61138
+ cookie?: never;
61139
+ };
61140
+ /** @description JSON request body */
61141
+ requestBody: {
61142
+ content: {
61143
+ "application/json": components["schemas"]["OpenSessionSideRequest"];
61144
+ };
61145
+ };
61146
+ responses: {
61147
+ /** @description Recorded side chat replayed */
61148
+ 200: {
61149
+ headers: {
61150
+ [name: string]: unknown;
61151
+ };
61152
+ content: {
61153
+ "application/json": components["schemas"]["SessionDeriveResponse"];
61154
+ };
61155
+ };
61156
+ /** @description Created */
61157
+ 201: {
61158
+ headers: {
61159
+ [name: string]: unknown;
61160
+ };
61161
+ content: {
61162
+ "application/json": components["schemas"]["SessionDeriveResponse"];
61163
+ };
61164
+ };
61165
+ /** @description Invalid side chat question or identity */
61166
+ 400: {
61167
+ headers: {
61168
+ [name: string]: unknown;
61169
+ };
61170
+ content: {
61171
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61172
+ };
61173
+ };
61174
+ /** @description Session not found */
61175
+ 404: {
61176
+ headers: {
61177
+ [name: string]: unknown;
61178
+ };
61179
+ content: {
61180
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61181
+ };
61182
+ };
61183
+ /** @description Side chat refused */
61184
+ 409: {
61185
+ headers: {
61186
+ [name: string]: unknown;
61187
+ };
61188
+ content: {
61189
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61190
+ };
61191
+ };
61192
+ /** @description Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id */
61193
+ 422: {
61194
+ headers: {
61195
+ [name: string]: unknown;
61196
+ };
61197
+ content: {
61198
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61199
+ };
61200
+ };
61201
+ /** @description Internal server error */
61202
+ 500: {
61203
+ headers: {
61204
+ [name: string]: unknown;
61205
+ };
61206
+ content: {
61207
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61208
+ };
61209
+ };
61210
+ /** @description New-work admission is unavailable while the daemon is draining */
61211
+ 503: {
61212
+ headers: {
61213
+ [name: string]: unknown;
61214
+ };
61215
+ content: {
61216
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61217
+ };
61218
+ };
61219
+ };
61220
+ };
60290
61221
  refreshSessionSoul: {
60291
61222
  parameters: {
60292
61223
  query?: {
@@ -60940,6 +61871,76 @@ export interface operations {
60940
61871
  };
60941
61872
  };
60942
61873
  };
61874
+ getSessionInheritedTranscript: {
61875
+ parameters: {
61876
+ query?: {
61877
+ /** @description Maximum page size; defaults to the newest 200 entries and is capped at 1000 */
61878
+ limit?: number;
61879
+ /** @description Return inherited entries whose stable start sequence is before this cursor */
61880
+ before_sequence?: number;
61881
+ /** @description Read one profile's rows by name */
61882
+ profile?: string;
61883
+ /** @description Read the owner-labeled all-profiles aggregate */
61884
+ all_profiles?: boolean;
61885
+ };
61886
+ header?: never;
61887
+ path: {
61888
+ /** @description Workspace id */
61889
+ workspace_id: string;
61890
+ /** @description Derived child session id */
61891
+ session_id: string;
61892
+ };
61893
+ cookie?: never;
61894
+ };
61895
+ requestBody?: never;
61896
+ responses: {
61897
+ /** @description OK */
61898
+ 200: {
61899
+ headers: {
61900
+ [name: string]: unknown;
61901
+ };
61902
+ content: {
61903
+ "application/json": components["schemas"]["SessionTranscriptResponse"];
61904
+ };
61905
+ };
61906
+ /** @description Invalid filter */
61907
+ 400: {
61908
+ headers: {
61909
+ [name: string]: unknown;
61910
+ };
61911
+ content: {
61912
+ "application/json": components["schemas"]["ErrorPayload"];
61913
+ };
61914
+ };
61915
+ /** @description Session not found or source transcript unavailable (inherited_transcript_unavailable) */
61916
+ 404: {
61917
+ headers: {
61918
+ [name: string]: unknown;
61919
+ };
61920
+ content: {
61921
+ "application/json": components["schemas"]["ErrorPayload"];
61922
+ };
61923
+ };
61924
+ /** @description Internal server error */
61925
+ 500: {
61926
+ headers: {
61927
+ [name: string]: unknown;
61928
+ };
61929
+ content: {
61930
+ "application/json": components["schemas"]["ErrorPayload"];
61931
+ };
61932
+ };
61933
+ /** @description Transcript projection is incompatible */
61934
+ 503: {
61935
+ headers: {
61936
+ [name: string]: unknown;
61937
+ };
61938
+ content: {
61939
+ "application/json": components["schemas"]["ErrorPayload"];
61940
+ };
61941
+ };
61942
+ };
61943
+ };
60943
61944
  getSessionTranscriptOutline: {
60944
61945
  parameters: {
60945
61946
  query?: {