@compozy/client 0.7.6 → 0.7.8

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;
@@ -3430,6 +3464,23 @@ export interface paths {
3430
3464
  patch?: never;
3431
3465
  trace?: never;
3432
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
+ };
3433
3484
  "/api/sessions/{session_id}/transcript/outline": {
3434
3485
  parameters: {
3435
3486
  query?: never;
@@ -6237,7 +6288,7 @@ export interface paths {
6237
6288
  cookie?: never;
6238
6289
  };
6239
6290
  get?: never;
6240
- /** 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 */
6241
6292
  put: operations["reorderSessions"];
6242
6293
  post?: never;
6243
6294
  delete?: never;
@@ -7276,6 +7327,24 @@ export interface paths {
7276
7327
  patch?: never;
7277
7328
  trace?: never;
7278
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
+ };
7279
7348
  "/api/workspaces/{workspace_id}/sessions/{session_id}/soul/refresh": {
7280
7349
  parameters: {
7281
7350
  query?: never;
@@ -7429,6 +7498,23 @@ export interface paths {
7429
7498
  patch?: never;
7430
7499
  trace?: never;
7431
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
+ };
7432
7518
  "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/outline": {
7433
7519
  parameters: {
7434
7520
  query?: never;
@@ -8617,6 +8703,25 @@ export interface components {
8617
8703
  agent: string;
8618
8704
  workspace: string;
8619
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
+ };
8620
8725
  AgentInstanceListResponse: {
8621
8726
  /** Format: int64 */
8622
8727
  active_count: number;
@@ -8624,6 +8729,7 @@ export interface components {
8624
8729
  max_active_instances: number;
8625
8730
  next_cursor: string;
8626
8731
  peers?: components["schemas"]["AgentInstancePeer"][];
8732
+ peers_note?: string;
8627
8733
  };
8628
8734
  AgentInstanceNextWake: {
8629
8735
  at?: string;
@@ -8645,6 +8751,8 @@ export interface components {
8645
8751
  created: boolean;
8646
8752
  /** Format: date-time */
8647
8753
  created_at: string;
8754
+ daily_budget?: components["schemas"]["AgentInstanceDailyBudgetLimits"] | null;
8755
+ daily_budget_usage?: components["schemas"]["AgentInstanceDailyBudgetUsage"] | null;
8648
8756
  /** Format: int64 */
8649
8757
  failure_streak: number;
8650
8758
  fatigue_limit: number;
@@ -8768,9 +8876,22 @@ export interface components {
8768
8876
  /** Format: date-time */
8769
8877
  last_seen_at: string;
8770
8878
  };
8879
+ /** @description Set either checks_enabled or daily_budget. An empty daily_budget object removes both caps. */
8771
8880
  AgentInstanceUpdateRequest: {
8772
- checks_enabled: boolean | null;
8773
- };
8881
+ checks_enabled?: boolean | null;
8882
+ daily_budget?: components["schemas"]["AgentInstanceDailyBudgetInput"] | null;
8883
+ } & (
8884
+ | {
8885
+ checks_enabled: boolean;
8886
+ /** @enum {unknown|null} */
8887
+ daily_budget?: null;
8888
+ }
8889
+ | {
8890
+ /** @enum {unknown|null} */
8891
+ checks_enabled?: null;
8892
+ daily_budget: components["schemas"]["AgentInstanceDailyBudgetInput"];
8893
+ }
8894
+ );
8774
8895
  AgentLimitsPayload: {
8775
8896
  can_spawn_children: boolean;
8776
8897
  context_section_limit: number;
@@ -10839,9 +10960,25 @@ export interface components {
10839
10960
  ExtensionRemoveResponse: {
10840
10961
  extension: components["schemas"]["ManagedExtensionRemovePayload"];
10841
10962
  };
10963
+ ExtensionRemovedBuiltinPayload: {
10964
+ name: string;
10965
+ removed_at: string;
10966
+ removed_by: string;
10967
+ };
10968
+ ExtensionRemovedBuiltinsResponse: {
10969
+ removed: components["schemas"]["ExtensionRemovedBuiltinPayload"][];
10970
+ };
10842
10971
  ExtensionResponse: {
10843
10972
  extension: components["schemas"]["ExtensionPayload"];
10844
10973
  };
10974
+ ExtensionRestorePayload: {
10975
+ enabled: boolean;
10976
+ name: string;
10977
+ path: string;
10978
+ source: string;
10979
+ status: string;
10980
+ version: string;
10981
+ };
10845
10982
  ExtensionSecretBindingInput: {
10846
10983
  env_name: string;
10847
10984
  header_name?: string;
@@ -13659,8 +13796,10 @@ export interface components {
13659
13796
  data_path?: string;
13660
13797
  name: string;
13661
13798
  path: string;
13799
+ permanent: boolean;
13662
13800
  quarantine_path?: string;
13663
13801
  status: string;
13802
+ tombstoned_at: string;
13664
13803
  warnings?: components["schemas"]["DiagnosticItem"][];
13665
13804
  };
13666
13805
  ManagedExtensionUpdatePayload: {
@@ -14126,6 +14265,11 @@ export interface components {
14126
14265
  OpenAppEffect: {
14127
14266
  app: string;
14128
14267
  };
14268
+ OpenSessionSideRequest: {
14269
+ idempotency_key: string;
14270
+ message: string;
14271
+ name?: string;
14272
+ };
14129
14273
  OpenURLEffect: {
14130
14274
  url: string;
14131
14275
  };
@@ -15027,6 +15171,7 @@ export interface components {
15027
15171
  };
15028
15172
  ReorderSessionsRequest: {
15029
15173
  folder_id?: string;
15174
+ pinned?: boolean;
15030
15175
  session_ids: string[];
15031
15176
  };
15032
15177
  ReorderWorkspaceFoldersRequest: {
@@ -15728,6 +15873,7 @@ export interface components {
15728
15873
  queue_position: number;
15729
15874
  replayed: boolean;
15730
15875
  reply_watch?: components["schemas"]["ReplyWatchRefPayload"] | null;
15876
+ side?: components["schemas"]["SessionSideCommandResult"] | null;
15731
15877
  status: string;
15732
15878
  /** @enum {string} */
15733
15879
  steer_delivery?:
@@ -15887,9 +16033,11 @@ export interface components {
15887
16033
  SessionCatalogEventPayload: {
15888
16034
  execution_location_changed?: boolean;
15889
16035
  kind: string;
16036
+ name?: string;
15890
16037
  profile_id: string;
15891
16038
  profile_name: string;
15892
16039
  session_id: string;
16040
+ side_session_id?: string;
15893
16041
  workspace_id: string;
15894
16042
  };
15895
16043
  SessionCatalogFacetsPayload: {
@@ -16137,10 +16285,13 @@ export interface components {
16137
16285
  };
16138
16286
  SessionDerivationPayload: {
16139
16287
  first_prompt: string;
16288
+ inherited_message_count?: number | null;
16140
16289
  /** @enum {string} */
16141
- kind: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery";
16290
+ kind: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
16142
16291
  native_fork_error?: string;
16143
16292
  native_state?: string;
16293
+ replay_message_count?: number | null;
16294
+ replay_omitted_count?: number | null;
16144
16295
  seed: string;
16145
16296
  source_session_id: string;
16146
16297
  };
@@ -16169,6 +16320,7 @@ export interface components {
16169
16320
  cut?: components["schemas"]["SessionDeriveCutPayload"] | null;
16170
16321
  message_count: number;
16171
16322
  native_fork_possible: boolean;
16323
+ native_fork_refusal_reason?: string;
16172
16324
  omitted_count: number;
16173
16325
  replay_bytes: number;
16174
16326
  source_message_count: number;
@@ -16514,7 +16666,7 @@ export interface components {
16514
16666
  SessionLineagePayload: {
16515
16667
  auto_stop_on_parent: boolean;
16516
16668
  /** @enum {string} */
16517
- kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery";
16669
+ kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
16518
16670
  notify_creator: boolean;
16519
16671
  origin_agent_name?: string;
16520
16672
  origin_message_id?: string;
@@ -16937,6 +17089,28 @@ export interface components {
16937
17089
  /** Format: date-time */
16938
17090
  started_at: string;
16939
17091
  };
17092
+ SessionSideCommandResult: {
17093
+ seed: string;
17094
+ session_id: string;
17095
+ source_turn_in_progress: boolean;
17096
+ };
17097
+ SessionSideItemPayload: {
17098
+ /** Format: date-time */
17099
+ archived_at: string | null;
17100
+ /** Format: date-time */
17101
+ created_at: string;
17102
+ id: string;
17103
+ name: string;
17104
+ pending_clarify_count: number;
17105
+ pending_permission_count: number;
17106
+ prompting: boolean;
17107
+ state: string;
17108
+ /** Format: date-time */
17109
+ updated_at: string;
17110
+ };
17111
+ SessionSidesResponse: {
17112
+ sides: components["schemas"]["SessionSideItemPayload"][];
17113
+ };
16940
17114
  SessionSkillInvocationPayload: {
16941
17115
  command_id: string;
16942
17116
  end: number;
@@ -23168,7 +23342,7 @@ export interface operations {
23168
23342
  };
23169
23343
  requestBody?: never;
23170
23344
  responses: {
23171
- /** @description OK */
23345
+ /** @description Instance list or reachable peers. An authorization-filtered empty peer list may include peers_note. */
23172
23346
  200: {
23173
23347
  headers: {
23174
23348
  [name: string]: unknown;
@@ -32381,6 +32555,53 @@ export interface operations {
32381
32555
  };
32382
32556
  };
32383
32557
  };
32558
+ listRemovedBuiltinExtensions: {
32559
+ parameters: {
32560
+ query?: never;
32561
+ header?: never;
32562
+ path?: never;
32563
+ cookie?: never;
32564
+ };
32565
+ requestBody?: never;
32566
+ responses: {
32567
+ /** @description OK */
32568
+ 200: {
32569
+ headers: {
32570
+ [name: string]: unknown;
32571
+ };
32572
+ content: {
32573
+ "application/json": components["schemas"]["ExtensionRemovedBuiltinsResponse"];
32574
+ };
32575
+ };
32576
+ /** @description Internal server error */
32577
+ 500: {
32578
+ headers: {
32579
+ [name: string]: unknown;
32580
+ };
32581
+ content: {
32582
+ "application/json": components["schemas"]["ErrorPayload"];
32583
+ };
32584
+ };
32585
+ /** @description Listing is not available on this extension service */
32586
+ 501: {
32587
+ headers: {
32588
+ [name: string]: unknown;
32589
+ };
32590
+ content: {
32591
+ "application/json": components["schemas"]["ErrorPayload"];
32592
+ };
32593
+ };
32594
+ /** @description Extension service is not configured */
32595
+ 503: {
32596
+ headers: {
32597
+ [name: string]: unknown;
32598
+ };
32599
+ content: {
32600
+ "application/json": components["schemas"]["ErrorPayload"];
32601
+ };
32602
+ };
32603
+ };
32604
+ };
32384
32605
  updateExtensions: {
32385
32606
  parameters: {
32386
32607
  query?: {
@@ -32630,6 +32851,8 @@ export interface operations {
32630
32851
  query?: {
32631
32852
  /** @description Operator workspace reference; omit for the global instance */
32632
32853
  workspace?: string;
32854
+ /** @description Remove a bundled built-in permanently. It is not re-enrolled at boot or update until restored. Global only. */
32855
+ permanent?: boolean;
32633
32856
  /** @description Act as this profile by name */
32634
32857
  profile?: string;
32635
32858
  };
@@ -32651,6 +32874,15 @@ export interface operations {
32651
32874
  "application/json": components["schemas"]["ExtensionRemoveResponse"];
32652
32875
  };
32653
32876
  };
32877
+ /** @description Invalid request, including permanent with a workspace or profile */
32878
+ 400: {
32879
+ headers: {
32880
+ [name: string]: unknown;
32881
+ };
32882
+ content: {
32883
+ "application/json": components["schemas"]["ErrorPayload"];
32884
+ };
32885
+ };
32654
32886
  /** @description Forbidden */
32655
32887
  403: {
32656
32888
  headers: {
@@ -32678,6 +32910,15 @@ export interface operations {
32678
32910
  "application/json": components["schemas"]["ErrorPayload"];
32679
32911
  };
32680
32912
  };
32913
+ /** @description Extension is not a built-in */
32914
+ 422: {
32915
+ headers: {
32916
+ [name: string]: unknown;
32917
+ };
32918
+ content: {
32919
+ "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
32920
+ };
32921
+ };
32681
32922
  /** @description Internal server error */
32682
32923
  500: {
32683
32924
  headers: {
@@ -32687,6 +32928,15 @@ export interface operations {
32687
32928
  "application/json": components["schemas"]["ErrorPayload"];
32688
32929
  };
32689
32930
  };
32931
+ /** @description Permanent removal is not available on this extension service */
32932
+ 501: {
32933
+ headers: {
32934
+ [name: string]: unknown;
32935
+ };
32936
+ content: {
32937
+ "application/json": components["schemas"]["ErrorPayload"];
32938
+ };
32939
+ };
32690
32940
  /** @description Extension service is not configured */
32691
32941
  503: {
32692
32942
  headers: {
@@ -33115,16 +33365,9 @@ export interface operations {
33115
33365
  };
33116
33366
  };
33117
33367
  };
33118
- listExtensionSecrets: {
33368
+ restoreExtension: {
33119
33369
  parameters: {
33120
- query?: {
33121
- /** @description Operator workspace reference; omit for the global instance */
33122
- workspace?: string;
33123
- /** @description Read one profile's rows by name */
33124
- profile?: string;
33125
- /** @description Read the owner-labeled all-profiles aggregate */
33126
- all_profiles?: boolean;
33127
- };
33370
+ query?: never;
33128
33371
  header?: never;
33129
33372
  path: {
33130
33373
  /** @description Extension name */
@@ -33134,13 +33377,13 @@ export interface operations {
33134
33377
  };
33135
33378
  requestBody?: never;
33136
33379
  responses: {
33137
- /** @description OK */
33380
+ /** @description Restored at the bundled version, enabled */
33138
33381
  200: {
33139
33382
  headers: {
33140
33383
  [name: string]: unknown;
33141
33384
  };
33142
33385
  content: {
33143
- "application/json": components["schemas"]["ExtensionSecretsPayload"];
33386
+ "application/json": components["schemas"]["ExtensionRestorePayload"];
33144
33387
  };
33145
33388
  };
33146
33389
  /** @description Forbidden */
@@ -33161,41 +33404,17 @@ export interface operations {
33161
33404
  "application/json": components["schemas"]["ErrorPayload"];
33162
33405
  };
33163
33406
  };
33164
- };
33165
- };
33166
- setExtensionSecrets: {
33167
- parameters: {
33168
- query?: {
33169
- /** @description Operator workspace reference; omit for the global instance */
33170
- workspace?: string;
33171
- /** @description Act as this profile by name */
33172
- profile?: string;
33173
- };
33174
- header?: never;
33175
- path: {
33176
- /** @description Extension name */
33177
- name: string;
33178
- };
33179
- cookie?: never;
33180
- };
33181
- /** @description JSON request body */
33182
- requestBody: {
33183
- content: {
33184
- "application/json": components["schemas"]["SetExtensionSecretsRequest"];
33185
- };
33186
- };
33187
- responses: {
33188
- /** @description OK */
33189
- 200: {
33407
+ /** @description Not permanently removed, or a non-bundled extension of the same name is installed */
33408
+ 409: {
33190
33409
  headers: {
33191
33410
  [name: string]: unknown;
33192
33411
  };
33193
33412
  content: {
33194
- "application/json": components["schemas"]["ExtensionSecretsPayload"];
33413
+ "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
33195
33414
  };
33196
33415
  };
33197
- /** @description Invalid extension secret binding */
33198
- 400: {
33416
+ /** @description Enrollment failed; the removed state is restored and the tombstone is kept */
33417
+ 500: {
33199
33418
  headers: {
33200
33419
  [name: string]: unknown;
33201
33420
  };
@@ -33203,8 +33422,8 @@ export interface operations {
33203
33422
  "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
33204
33423
  };
33205
33424
  };
33206
- /** @description Forbidden */
33207
- 403: {
33425
+ /** @description Restore is not available on this extension service */
33426
+ 501: {
33208
33427
  headers: {
33209
33428
  [name: string]: unknown;
33210
33429
  };
@@ -33212,8 +33431,8 @@ export interface operations {
33212
33431
  "application/json": components["schemas"]["ErrorPayload"];
33213
33432
  };
33214
33433
  };
33215
- /** @description Extension not found */
33216
- 404: {
33434
+ /** @description Extension service is not configured */
33435
+ 503: {
33217
33436
  headers: {
33218
33437
  [name: string]: unknown;
33219
33438
  };
@@ -33223,39 +33442,147 @@ export interface operations {
33223
33442
  };
33224
33443
  };
33225
33444
  };
33226
- deleteExtensionSecret: {
33445
+ listExtensionSecrets: {
33227
33446
  parameters: {
33228
33447
  query?: {
33229
33448
  /** @description Operator workspace reference; omit for the global instance */
33230
33449
  workspace?: string;
33231
- /** @description Act as this profile by name */
33450
+ /** @description Read one profile's rows by name */
33232
33451
  profile?: string;
33452
+ /** @description Read the owner-labeled all-profiles aggregate */
33453
+ all_profiles?: boolean;
33233
33454
  };
33234
33455
  header?: never;
33235
33456
  path: {
33236
33457
  /** @description Extension name */
33237
33458
  name: string;
33238
- /** @description Declared environment name */
33239
- env_name: string;
33240
33459
  };
33241
33460
  cookie?: never;
33242
33461
  };
33243
33462
  requestBody?: never;
33244
33463
  responses: {
33245
- /** @description No Content */
33246
- 204: {
33247
- headers: {
33248
- [name: string]: unknown;
33249
- };
33250
- content?: never;
33251
- };
33252
- /** @description Invalid extension secret binding */
33253
- 400: {
33464
+ /** @description OK */
33465
+ 200: {
33254
33466
  headers: {
33255
33467
  [name: string]: unknown;
33256
33468
  };
33257
33469
  content: {
33258
- "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
33470
+ "application/json": components["schemas"]["ExtensionSecretsPayload"];
33471
+ };
33472
+ };
33473
+ /** @description Forbidden */
33474
+ 403: {
33475
+ headers: {
33476
+ [name: string]: unknown;
33477
+ };
33478
+ content: {
33479
+ "application/json": components["schemas"]["ErrorPayload"];
33480
+ };
33481
+ };
33482
+ /** @description Extension not found */
33483
+ 404: {
33484
+ headers: {
33485
+ [name: string]: unknown;
33486
+ };
33487
+ content: {
33488
+ "application/json": components["schemas"]["ErrorPayload"];
33489
+ };
33490
+ };
33491
+ };
33492
+ };
33493
+ setExtensionSecrets: {
33494
+ parameters: {
33495
+ query?: {
33496
+ /** @description Operator workspace reference; omit for the global instance */
33497
+ workspace?: string;
33498
+ /** @description Act as this profile by name */
33499
+ profile?: string;
33500
+ };
33501
+ header?: never;
33502
+ path: {
33503
+ /** @description Extension name */
33504
+ name: string;
33505
+ };
33506
+ cookie?: never;
33507
+ };
33508
+ /** @description JSON request body */
33509
+ requestBody: {
33510
+ content: {
33511
+ "application/json": components["schemas"]["SetExtensionSecretsRequest"];
33512
+ };
33513
+ };
33514
+ responses: {
33515
+ /** @description OK */
33516
+ 200: {
33517
+ headers: {
33518
+ [name: string]: unknown;
33519
+ };
33520
+ content: {
33521
+ "application/json": components["schemas"]["ExtensionSecretsPayload"];
33522
+ };
33523
+ };
33524
+ /** @description Invalid extension secret binding */
33525
+ 400: {
33526
+ headers: {
33527
+ [name: string]: unknown;
33528
+ };
33529
+ content: {
33530
+ "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
33531
+ };
33532
+ };
33533
+ /** @description Forbidden */
33534
+ 403: {
33535
+ headers: {
33536
+ [name: string]: unknown;
33537
+ };
33538
+ content: {
33539
+ "application/json": components["schemas"]["ErrorPayload"];
33540
+ };
33541
+ };
33542
+ /** @description Extension not found */
33543
+ 404: {
33544
+ headers: {
33545
+ [name: string]: unknown;
33546
+ };
33547
+ content: {
33548
+ "application/json": components["schemas"]["ErrorPayload"];
33549
+ };
33550
+ };
33551
+ };
33552
+ };
33553
+ deleteExtensionSecret: {
33554
+ parameters: {
33555
+ query?: {
33556
+ /** @description Operator workspace reference; omit for the global instance */
33557
+ workspace?: string;
33558
+ /** @description Act as this profile by name */
33559
+ profile?: string;
33560
+ };
33561
+ header?: never;
33562
+ path: {
33563
+ /** @description Extension name */
33564
+ name: string;
33565
+ /** @description Declared environment name */
33566
+ env_name: string;
33567
+ };
33568
+ cookie?: never;
33569
+ };
33570
+ requestBody?: never;
33571
+ responses: {
33572
+ /** @description No Content */
33573
+ 204: {
33574
+ headers: {
33575
+ [name: string]: unknown;
33576
+ };
33577
+ content?: never;
33578
+ };
33579
+ /** @description Invalid extension secret binding */
33580
+ 400: {
33581
+ headers: {
33582
+ [name: string]: unknown;
33583
+ };
33584
+ content: {
33585
+ "application/json": components["schemas"]["ExtensionOperationErrorPayload"];
33259
33586
  };
33260
33587
  };
33261
33588
  /** @description Forbidden */
@@ -39703,6 +40030,8 @@ export interface operations {
39703
40030
  exclude_root?: string;
39704
40031
  /** @description Filter by exact bound worktree id */
39705
40032
  worktree?: string;
40033
+ /** @description Filter by session folder id or @root for unfoldered sessions; descendants follow their thread's folder. Requires one workspace and profile */
40034
+ folder?: string;
39706
40035
  /** @description Search session id, name, agent, or provider; title_agent searches visible title and agent */
39707
40036
  q?: string;
39708
40037
  /** @description Select visible title/agent search instead of the default catalog fields */
@@ -39719,9 +40048,9 @@ export interface operations {
39719
40048
  archive?: "exclude" | "only" | "include";
39720
40049
  /** @description Visibility of sessions parked in Later; excluded by default */
39721
40050
  later?: "exclude" | "only" | "include";
39722
- /** @description Visibility of pinned sessions; included by default */
40051
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
39723
40052
  pinned?: "exclude" | "only" | "include";
39724
- /** @description Stable session ordering; pinned (pin order, oldest first) requires pinned=only */
40053
+ /** @description Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only */
39725
40054
  sort?:
39726
40055
  | "recent"
39727
40056
  | "created"
@@ -39988,7 +40317,7 @@ export interface operations {
39988
40317
  listSessionFacets: {
39989
40318
  parameters: {
39990
40319
  query?: {
39991
- /** @description Exclude instance main sessions from board counts */
40320
+ /** @description Exclude always-on main sessions from all session counts */
39992
40321
  exclude_instance_main?: boolean;
39993
40322
  /** @description Exclude settled automation-run sessions; search, type, parent, root, archive=only and later=only reads ignore it */
39994
40323
  exclude_finished_automation?: boolean;
@@ -40024,7 +40353,7 @@ export interface operations {
40024
40353
  archive?: "exclude" | "only" | "include";
40025
40354
  /** @description Visibility of sessions parked in Later; excluded by default */
40026
40355
  later?: "exclude" | "only" | "include";
40027
- /** @description Visibility of pinned sessions; included by default */
40356
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
40028
40357
  pinned?: "exclude" | "only" | "include";
40029
40358
  /** @description Read one profile's rows by name */
40030
40359
  profile?: string;
@@ -40780,6 +41109,74 @@ export interface operations {
40780
41109
  };
40781
41110
  };
40782
41111
  };
41112
+ getGlobalSessionInheritedTranscript: {
41113
+ parameters: {
41114
+ query?: {
41115
+ /** @description Maximum page size; defaults to the newest 200 entries and is capped at 1000 */
41116
+ limit?: number;
41117
+ /** @description Return inherited entries whose stable start sequence is before this cursor */
41118
+ before_sequence?: number;
41119
+ /** @description Read one profile's rows by name */
41120
+ profile?: string;
41121
+ /** @description Read the owner-labeled all-profiles aggregate */
41122
+ all_profiles?: boolean;
41123
+ };
41124
+ header?: never;
41125
+ path: {
41126
+ /** @description Derived child session id */
41127
+ session_id: string;
41128
+ };
41129
+ cookie?: never;
41130
+ };
41131
+ requestBody?: never;
41132
+ responses: {
41133
+ /** @description OK */
41134
+ 200: {
41135
+ headers: {
41136
+ [name: string]: unknown;
41137
+ };
41138
+ content: {
41139
+ "application/json": components["schemas"]["SessionTranscriptResponse"];
41140
+ };
41141
+ };
41142
+ /** @description Invalid filter */
41143
+ 400: {
41144
+ headers: {
41145
+ [name: string]: unknown;
41146
+ };
41147
+ content: {
41148
+ "application/json": components["schemas"]["ErrorPayload"];
41149
+ };
41150
+ };
41151
+ /** @description Session not found or source transcript unavailable (inherited_transcript_unavailable) */
41152
+ 404: {
41153
+ headers: {
41154
+ [name: string]: unknown;
41155
+ };
41156
+ content: {
41157
+ "application/json": components["schemas"]["ErrorPayload"];
41158
+ };
41159
+ };
41160
+ /** @description Internal server error */
41161
+ 500: {
41162
+ headers: {
41163
+ [name: string]: unknown;
41164
+ };
41165
+ content: {
41166
+ "application/json": components["schemas"]["ErrorPayload"];
41167
+ };
41168
+ };
41169
+ /** @description Transcript projection is incompatible */
41170
+ 503: {
41171
+ headers: {
41172
+ [name: string]: unknown;
41173
+ };
41174
+ content: {
41175
+ "application/json": components["schemas"]["ErrorPayload"];
41176
+ };
41177
+ };
41178
+ };
41179
+ };
40783
41180
  getGlobalSessionTranscriptOutline: {
40784
41181
  parameters: {
40785
41182
  query?: {
@@ -55436,6 +55833,8 @@ export interface operations {
55436
55833
  exclude_root?: string;
55437
55834
  /** @description Filter by exact bound worktree id */
55438
55835
  worktree?: string;
55836
+ /** @description Filter by session folder id or @root for unfoldered sessions; descendants follow their thread's folder. Requires one workspace and profile */
55837
+ folder?: string;
55439
55838
  /** @description Search session id, name, agent, or provider; title_agent searches visible title and agent */
55440
55839
  q?: string;
55441
55840
  /** @description Select visible title/agent search instead of the default catalog fields */
@@ -55452,9 +55851,9 @@ export interface operations {
55452
55851
  archive?: "exclude" | "only" | "include";
55453
55852
  /** @description Visibility of sessions parked in Later; excluded by default */
55454
55853
  later?: "exclude" | "only" | "include";
55455
- /** @description Visibility of pinned sessions; included by default */
55854
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
55456
55855
  pinned?: "exclude" | "only" | "include";
55457
- /** @description Stable session ordering; pinned (pin order, oldest first) requires pinned=only */
55856
+ /** @description Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only */
55458
55857
  sort?:
55459
55858
  | "recent"
55460
55859
  | "created"
@@ -56942,7 +57341,7 @@ export interface operations {
56942
57341
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
56943
57342
  };
56944
57343
  };
56945
- /** @description Session cannot be continued */
57344
+ /** @description Session cannot be continued or the source is busy */
56946
57345
  409: {
56947
57346
  headers: {
56948
57347
  [name: string]: unknown;
@@ -56951,7 +57350,7 @@ export interface operations {
56951
57350
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
56952
57351
  };
56953
57352
  };
56954
- /** @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 */
57353
+ /** @description Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id */
56955
57354
  422: {
56956
57355
  headers: {
56957
57356
  [name: string]: unknown;
@@ -57028,7 +57427,7 @@ export interface operations {
57028
57427
  "application/json": components["schemas"]["ErrorPayload"];
57029
57428
  };
57030
57429
  };
57031
- /** @description Session is archived */
57430
+ /** @description Session is archived or the source is busy */
57032
57431
  409: {
57033
57432
  headers: {
57034
57433
  [name: string]: unknown;
@@ -57755,7 +58154,7 @@ export interface operations {
57755
58154
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
57756
58155
  };
57757
58156
  };
57758
- /** @description Session cannot be forked */
58157
+ /** @description Session cannot be forked or the source is busy */
57759
58158
  409: {
57760
58159
  headers: {
57761
58160
  [name: string]: unknown;
@@ -57764,7 +58163,7 @@ export interface operations {
57764
58163
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
57765
58164
  };
57766
58165
  };
57767
- /** @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 */
58166
+ /** @description Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id */
57768
58167
  422: {
57769
58168
  headers: {
57770
58169
  [name: string]: unknown;
@@ -59834,6 +60233,15 @@ export interface operations {
59834
60233
  "text/event-stream": components["schemas"]["PromptStreamChunk"];
59835
60234
  };
59836
60235
  };
60236
+ /** @description Side chat opened */
60237
+ 201: {
60238
+ headers: {
60239
+ [name: string]: unknown;
60240
+ };
60241
+ content: {
60242
+ "application/json": components["schemas"]["SendPromptResultResponse"];
60243
+ };
60244
+ };
59837
60245
  /** @description Prompt queued, steering accepted, or Goal command started */
59838
60246
  202: {
59839
60247
  headers: {
@@ -59849,7 +60257,7 @@ export interface operations {
59849
60257
  [name: string]: unknown;
59850
60258
  };
59851
60259
  content: {
59852
- "application/json": components["schemas"]["ErrorPayload"];
60260
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59853
60261
  };
59854
60262
  };
59855
60263
  /** @description Session or attachment not found */
@@ -59859,7 +60267,7 @@ export interface operations {
59859
60267
  };
59860
60268
  content: {
59861
60269
  "application/json":
59862
- | components["schemas"]["ErrorPayload"]
60270
+ | components["schemas"]["SessionDeriveErrorPayload"]
59863
60271
  | components["schemas"]["SendPromptResultResponse"];
59864
60272
  };
59865
60273
  };
@@ -59870,7 +60278,7 @@ export interface operations {
59870
60278
  };
59871
60279
  content: {
59872
60280
  "application/json":
59873
- | components["schemas"]["ErrorPayload"]
60281
+ | components["schemas"]["SessionDeriveErrorPayload"]
59874
60282
  | components["schemas"]["SendPromptResultResponse"];
59875
60283
  };
59876
60284
  };
@@ -59890,7 +60298,7 @@ export interface operations {
59890
60298
  };
59891
60299
  content: {
59892
60300
  "application/json":
59893
- | components["schemas"]["ErrorPayload"]
60301
+ | components["schemas"]["SessionDeriveErrorPayload"]
59894
60302
  | components["schemas"]["SendPromptResultResponse"];
59895
60303
  };
59896
60304
  };
@@ -59900,7 +60308,7 @@ export interface operations {
59900
60308
  [name: string]: unknown;
59901
60309
  };
59902
60310
  content: {
59903
- "application/json": components["schemas"]["ErrorPayload"];
60311
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59904
60312
  };
59905
60313
  };
59906
60314
  /** @description New-work admission is unavailable while the daemon is draining */
@@ -59909,7 +60317,7 @@ export interface operations {
59909
60317
  [name: string]: unknown;
59910
60318
  };
59911
60319
  content: {
59912
- "application/json": components["schemas"]["ErrorPayload"];
60320
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59913
60321
  };
59914
60322
  };
59915
60323
  };
@@ -60653,6 +61061,168 @@ export interface operations {
60653
61061
  };
60654
61062
  };
60655
61063
  };
61064
+ listSessionSides: {
61065
+ parameters: {
61066
+ query?: {
61067
+ /** @description Include closed side chats */
61068
+ archived?: string;
61069
+ /** @description Act as this profile by name */
61070
+ profile?: string;
61071
+ };
61072
+ header?: never;
61073
+ path: {
61074
+ /** @description Workspace id */
61075
+ workspace_id: string;
61076
+ /** @description Source session id */
61077
+ session_id: string;
61078
+ };
61079
+ cookie?: never;
61080
+ };
61081
+ requestBody?: never;
61082
+ responses: {
61083
+ /** @description Complete side chat list */
61084
+ 200: {
61085
+ headers: {
61086
+ [name: string]: unknown;
61087
+ };
61088
+ content: {
61089
+ "application/json": components["schemas"]["SessionSidesResponse"];
61090
+ };
61091
+ };
61092
+ /** @description Invalid archive filter */
61093
+ 400: {
61094
+ headers: {
61095
+ [name: string]: unknown;
61096
+ };
61097
+ content: {
61098
+ "application/json": components["schemas"]["ErrorPayload"];
61099
+ };
61100
+ };
61101
+ /** @description Session not found */
61102
+ 404: {
61103
+ headers: {
61104
+ [name: string]: unknown;
61105
+ };
61106
+ content: {
61107
+ "application/json": components["schemas"]["ErrorPayload"];
61108
+ };
61109
+ };
61110
+ /** @description Side chats cannot list nested side chats */
61111
+ 409: {
61112
+ headers: {
61113
+ [name: string]: unknown;
61114
+ };
61115
+ content: {
61116
+ "application/json": components["schemas"]["ErrorPayload"];
61117
+ };
61118
+ };
61119
+ /** @description Internal server error */
61120
+ 500: {
61121
+ headers: {
61122
+ [name: string]: unknown;
61123
+ };
61124
+ content: {
61125
+ "application/json": components["schemas"]["ErrorPayload"];
61126
+ };
61127
+ };
61128
+ };
61129
+ };
61130
+ openSessionSide: {
61131
+ parameters: {
61132
+ query?: {
61133
+ /** @description Act as this profile by name */
61134
+ profile?: string;
61135
+ };
61136
+ header?: never;
61137
+ path: {
61138
+ /** @description Workspace id */
61139
+ workspace_id: string;
61140
+ /** @description Source session id */
61141
+ session_id: string;
61142
+ };
61143
+ cookie?: never;
61144
+ };
61145
+ /** @description JSON request body */
61146
+ requestBody: {
61147
+ content: {
61148
+ "application/json": components["schemas"]["OpenSessionSideRequest"];
61149
+ };
61150
+ };
61151
+ responses: {
61152
+ /** @description Recorded side chat replayed */
61153
+ 200: {
61154
+ headers: {
61155
+ [name: string]: unknown;
61156
+ };
61157
+ content: {
61158
+ "application/json": components["schemas"]["SessionDeriveResponse"];
61159
+ };
61160
+ };
61161
+ /** @description Created */
61162
+ 201: {
61163
+ headers: {
61164
+ [name: string]: unknown;
61165
+ };
61166
+ content: {
61167
+ "application/json": components["schemas"]["SessionDeriveResponse"];
61168
+ };
61169
+ };
61170
+ /** @description Invalid side chat question or identity */
61171
+ 400: {
61172
+ headers: {
61173
+ [name: string]: unknown;
61174
+ };
61175
+ content: {
61176
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61177
+ };
61178
+ };
61179
+ /** @description Session not found */
61180
+ 404: {
61181
+ headers: {
61182
+ [name: string]: unknown;
61183
+ };
61184
+ content: {
61185
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61186
+ };
61187
+ };
61188
+ /** @description Side chat refused */
61189
+ 409: {
61190
+ headers: {
61191
+ [name: string]: unknown;
61192
+ };
61193
+ content: {
61194
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61195
+ };
61196
+ };
61197
+ /** @description Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id */
61198
+ 422: {
61199
+ headers: {
61200
+ [name: string]: unknown;
61201
+ };
61202
+ content: {
61203
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61204
+ };
61205
+ };
61206
+ /** @description Internal server error */
61207
+ 500: {
61208
+ headers: {
61209
+ [name: string]: unknown;
61210
+ };
61211
+ content: {
61212
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61213
+ };
61214
+ };
61215
+ /** @description New-work admission is unavailable while the daemon is draining */
61216
+ 503: {
61217
+ headers: {
61218
+ [name: string]: unknown;
61219
+ };
61220
+ content: {
61221
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
61222
+ };
61223
+ };
61224
+ };
61225
+ };
60656
61226
  refreshSessionSoul: {
60657
61227
  parameters: {
60658
61228
  query?: {
@@ -61306,6 +61876,76 @@ export interface operations {
61306
61876
  };
61307
61877
  };
61308
61878
  };
61879
+ getSessionInheritedTranscript: {
61880
+ parameters: {
61881
+ query?: {
61882
+ /** @description Maximum page size; defaults to the newest 200 entries and is capped at 1000 */
61883
+ limit?: number;
61884
+ /** @description Return inherited entries whose stable start sequence is before this cursor */
61885
+ before_sequence?: number;
61886
+ /** @description Read one profile's rows by name */
61887
+ profile?: string;
61888
+ /** @description Read the owner-labeled all-profiles aggregate */
61889
+ all_profiles?: boolean;
61890
+ };
61891
+ header?: never;
61892
+ path: {
61893
+ /** @description Workspace id */
61894
+ workspace_id: string;
61895
+ /** @description Derived child session id */
61896
+ session_id: string;
61897
+ };
61898
+ cookie?: never;
61899
+ };
61900
+ requestBody?: never;
61901
+ responses: {
61902
+ /** @description OK */
61903
+ 200: {
61904
+ headers: {
61905
+ [name: string]: unknown;
61906
+ };
61907
+ content: {
61908
+ "application/json": components["schemas"]["SessionTranscriptResponse"];
61909
+ };
61910
+ };
61911
+ /** @description Invalid filter */
61912
+ 400: {
61913
+ headers: {
61914
+ [name: string]: unknown;
61915
+ };
61916
+ content: {
61917
+ "application/json": components["schemas"]["ErrorPayload"];
61918
+ };
61919
+ };
61920
+ /** @description Session not found or source transcript unavailable (inherited_transcript_unavailable) */
61921
+ 404: {
61922
+ headers: {
61923
+ [name: string]: unknown;
61924
+ };
61925
+ content: {
61926
+ "application/json": components["schemas"]["ErrorPayload"];
61927
+ };
61928
+ };
61929
+ /** @description Internal server error */
61930
+ 500: {
61931
+ headers: {
61932
+ [name: string]: unknown;
61933
+ };
61934
+ content: {
61935
+ "application/json": components["schemas"]["ErrorPayload"];
61936
+ };
61937
+ };
61938
+ /** @description Transcript projection is incompatible */
61939
+ 503: {
61940
+ headers: {
61941
+ [name: string]: unknown;
61942
+ };
61943
+ content: {
61944
+ "application/json": components["schemas"]["ErrorPayload"];
61945
+ };
61946
+ };
61947
+ };
61948
+ };
61309
61949
  getSessionTranscriptOutline: {
61310
61950
  parameters: {
61311
61951
  query?: {