@compozy/client 0.7.6 → 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;
@@ -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;
@@ -8645,6 +8750,8 @@ export interface components {
8645
8750
  created: boolean;
8646
8751
  /** Format: date-time */
8647
8752
  created_at: string;
8753
+ daily_budget?: components["schemas"]["AgentInstanceDailyBudgetLimits"] | null;
8754
+ daily_budget_usage?: components["schemas"]["AgentInstanceDailyBudgetUsage"] | null;
8648
8755
  /** Format: int64 */
8649
8756
  failure_streak: number;
8650
8757
  fatigue_limit: number;
@@ -8768,9 +8875,22 @@ export interface components {
8768
8875
  /** Format: date-time */
8769
8876
  last_seen_at: string;
8770
8877
  };
8878
+ /** @description Set either checks_enabled or daily_budget. An empty daily_budget object removes both caps. */
8771
8879
  AgentInstanceUpdateRequest: {
8772
- checks_enabled: boolean | null;
8773
- };
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
+ );
8774
8894
  AgentLimitsPayload: {
8775
8895
  can_spawn_children: boolean;
8776
8896
  context_section_limit: number;
@@ -10839,9 +10959,25 @@ export interface components {
10839
10959
  ExtensionRemoveResponse: {
10840
10960
  extension: components["schemas"]["ManagedExtensionRemovePayload"];
10841
10961
  };
10962
+ ExtensionRemovedBuiltinPayload: {
10963
+ name: string;
10964
+ removed_at: string;
10965
+ removed_by: string;
10966
+ };
10967
+ ExtensionRemovedBuiltinsResponse: {
10968
+ removed: components["schemas"]["ExtensionRemovedBuiltinPayload"][];
10969
+ };
10842
10970
  ExtensionResponse: {
10843
10971
  extension: components["schemas"]["ExtensionPayload"];
10844
10972
  };
10973
+ ExtensionRestorePayload: {
10974
+ enabled: boolean;
10975
+ name: string;
10976
+ path: string;
10977
+ source: string;
10978
+ status: string;
10979
+ version: string;
10980
+ };
10845
10981
  ExtensionSecretBindingInput: {
10846
10982
  env_name: string;
10847
10983
  header_name?: string;
@@ -13659,8 +13795,10 @@ export interface components {
13659
13795
  data_path?: string;
13660
13796
  name: string;
13661
13797
  path: string;
13798
+ permanent: boolean;
13662
13799
  quarantine_path?: string;
13663
13800
  status: string;
13801
+ tombstoned_at: string;
13664
13802
  warnings?: components["schemas"]["DiagnosticItem"][];
13665
13803
  };
13666
13804
  ManagedExtensionUpdatePayload: {
@@ -14126,6 +14264,11 @@ export interface components {
14126
14264
  OpenAppEffect: {
14127
14265
  app: string;
14128
14266
  };
14267
+ OpenSessionSideRequest: {
14268
+ idempotency_key: string;
14269
+ message: string;
14270
+ name?: string;
14271
+ };
14129
14272
  OpenURLEffect: {
14130
14273
  url: string;
14131
14274
  };
@@ -15027,6 +15170,7 @@ export interface components {
15027
15170
  };
15028
15171
  ReorderSessionsRequest: {
15029
15172
  folder_id?: string;
15173
+ pinned?: boolean;
15030
15174
  session_ids: string[];
15031
15175
  };
15032
15176
  ReorderWorkspaceFoldersRequest: {
@@ -15728,6 +15872,7 @@ export interface components {
15728
15872
  queue_position: number;
15729
15873
  replayed: boolean;
15730
15874
  reply_watch?: components["schemas"]["ReplyWatchRefPayload"] | null;
15875
+ side?: components["schemas"]["SessionSideCommandResult"] | null;
15731
15876
  status: string;
15732
15877
  /** @enum {string} */
15733
15878
  steer_delivery?:
@@ -15887,9 +16032,11 @@ export interface components {
15887
16032
  SessionCatalogEventPayload: {
15888
16033
  execution_location_changed?: boolean;
15889
16034
  kind: string;
16035
+ name?: string;
15890
16036
  profile_id: string;
15891
16037
  profile_name: string;
15892
16038
  session_id: string;
16039
+ side_session_id?: string;
15893
16040
  workspace_id: string;
15894
16041
  };
15895
16042
  SessionCatalogFacetsPayload: {
@@ -16137,10 +16284,13 @@ export interface components {
16137
16284
  };
16138
16285
  SessionDerivationPayload: {
16139
16286
  first_prompt: string;
16287
+ inherited_message_count?: number | null;
16140
16288
  /** @enum {string} */
16141
- kind: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery";
16289
+ kind: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
16142
16290
  native_fork_error?: string;
16143
16291
  native_state?: string;
16292
+ replay_message_count?: number | null;
16293
+ replay_omitted_count?: number | null;
16144
16294
  seed: string;
16145
16295
  source_session_id: string;
16146
16296
  };
@@ -16169,6 +16319,7 @@ export interface components {
16169
16319
  cut?: components["schemas"]["SessionDeriveCutPayload"] | null;
16170
16320
  message_count: number;
16171
16321
  native_fork_possible: boolean;
16322
+ native_fork_refusal_reason?: string;
16172
16323
  omitted_count: number;
16173
16324
  replay_bytes: number;
16174
16325
  source_message_count: number;
@@ -16514,7 +16665,7 @@ export interface components {
16514
16665
  SessionLineagePayload: {
16515
16666
  auto_stop_on_parent: boolean;
16516
16667
  /** @enum {string} */
16517
- kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery";
16668
+ kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
16518
16669
  notify_creator: boolean;
16519
16670
  origin_agent_name?: string;
16520
16671
  origin_message_id?: string;
@@ -16937,6 +17088,28 @@ export interface components {
16937
17088
  /** Format: date-time */
16938
17089
  started_at: string;
16939
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
+ };
16940
17113
  SessionSkillInvocationPayload: {
16941
17114
  command_id: string;
16942
17115
  end: number;
@@ -32381,6 +32554,53 @@ export interface operations {
32381
32554
  };
32382
32555
  };
32383
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
+ };
32384
32604
  updateExtensions: {
32385
32605
  parameters: {
32386
32606
  query?: {
@@ -32630,6 +32850,8 @@ export interface operations {
32630
32850
  query?: {
32631
32851
  /** @description Operator workspace reference; omit for the global instance */
32632
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;
32633
32855
  /** @description Act as this profile by name */
32634
32856
  profile?: string;
32635
32857
  };
@@ -32651,6 +32873,15 @@ export interface operations {
32651
32873
  "application/json": components["schemas"]["ExtensionRemoveResponse"];
32652
32874
  };
32653
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
+ };
32654
32885
  /** @description Forbidden */
32655
32886
  403: {
32656
32887
  headers: {
@@ -32678,6 +32909,15 @@ export interface operations {
32678
32909
  "application/json": components["schemas"]["ErrorPayload"];
32679
32910
  };
32680
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
+ };
32681
32921
  /** @description Internal server error */
32682
32922
  500: {
32683
32923
  headers: {
@@ -32687,6 +32927,15 @@ export interface operations {
32687
32927
  "application/json": components["schemas"]["ErrorPayload"];
32688
32928
  };
32689
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
+ };
32690
32939
  /** @description Extension service is not configured */
32691
32940
  503: {
32692
32941
  headers: {
@@ -33115,6 +33364,83 @@ export interface operations {
33115
33364
  };
33116
33365
  };
33117
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
+ };
33118
33444
  listExtensionSecrets: {
33119
33445
  parameters: {
33120
33446
  query?: {
@@ -39719,9 +40045,9 @@ export interface operations {
39719
40045
  archive?: "exclude" | "only" | "include";
39720
40046
  /** @description Visibility of sessions parked in Later; excluded by default */
39721
40047
  later?: "exclude" | "only" | "include";
39722
- /** @description Visibility of pinned sessions; included by default */
40048
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
39723
40049
  pinned?: "exclude" | "only" | "include";
39724
- /** @description Stable session ordering; pinned (pin order, oldest first) requires pinned=only */
40050
+ /** @description Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only */
39725
40051
  sort?:
39726
40052
  | "recent"
39727
40053
  | "created"
@@ -40024,7 +40350,7 @@ export interface operations {
40024
40350
  archive?: "exclude" | "only" | "include";
40025
40351
  /** @description Visibility of sessions parked in Later; excluded by default */
40026
40352
  later?: "exclude" | "only" | "include";
40027
- /** @description Visibility of pinned sessions; included by default */
40353
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
40028
40354
  pinned?: "exclude" | "only" | "include";
40029
40355
  /** @description Read one profile's rows by name */
40030
40356
  profile?: string;
@@ -40780,9 +41106,13 @@ export interface operations {
40780
41106
  };
40781
41107
  };
40782
41108
  };
40783
- getGlobalSessionTranscriptOutline: {
41109
+ getGlobalSessionInheritedTranscript: {
40784
41110
  parameters: {
40785
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;
40786
41116
  /** @description Read one profile's rows by name */
40787
41117
  profile?: string;
40788
41118
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -40790,7 +41120,7 @@ export interface operations {
40790
41120
  };
40791
41121
  header?: never;
40792
41122
  path: {
40793
- /** @description Session id */
41123
+ /** @description Derived child session id */
40794
41124
  session_id: string;
40795
41125
  };
40796
41126
  cookie?: never;
@@ -40803,7 +41133,7 @@ export interface operations {
40803
41133
  [name: string]: unknown;
40804
41134
  };
40805
41135
  content: {
40806
- "application/json": components["schemas"]["OutlineResult"];
41136
+ "application/json": components["schemas"]["SessionTranscriptResponse"];
40807
41137
  };
40808
41138
  };
40809
41139
  /** @description Invalid filter */
@@ -40815,7 +41145,71 @@ export interface operations {
40815
41145
  "application/json": components["schemas"]["ErrorPayload"];
40816
41146
  };
40817
41147
  };
40818
- /** @description Session not found */
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
+ };
41177
+ getGlobalSessionTranscriptOutline: {
41178
+ parameters: {
41179
+ query?: {
41180
+ /** @description Read one profile's rows by name */
41181
+ profile?: string;
41182
+ /** @description Read the owner-labeled all-profiles aggregate */
41183
+ all_profiles?: boolean;
41184
+ };
41185
+ header?: never;
41186
+ path: {
41187
+ /** @description Session id */
41188
+ session_id: string;
41189
+ };
41190
+ cookie?: never;
41191
+ };
41192
+ requestBody?: never;
41193
+ responses: {
41194
+ /** @description OK */
41195
+ 200: {
41196
+ headers: {
41197
+ [name: string]: unknown;
41198
+ };
41199
+ content: {
41200
+ "application/json": components["schemas"]["OutlineResult"];
41201
+ };
41202
+ };
41203
+ /** @description Invalid filter */
41204
+ 400: {
41205
+ headers: {
41206
+ [name: string]: unknown;
41207
+ };
41208
+ content: {
41209
+ "application/json": components["schemas"]["ErrorPayload"];
41210
+ };
41211
+ };
41212
+ /** @description Session not found */
40819
41213
  404: {
40820
41214
  headers: {
40821
41215
  [name: string]: unknown;
@@ -55452,9 +55846,9 @@ export interface operations {
55452
55846
  archive?: "exclude" | "only" | "include";
55453
55847
  /** @description Visibility of sessions parked in Later; excluded by default */
55454
55848
  later?: "exclude" | "only" | "include";
55455
- /** @description Visibility of pinned sessions; included by default */
55849
+ /** @description Visibility of pinned sessions and the subtrees their pins carry; included by default */
55456
55850
  pinned?: "exclude" | "only" | "include";
55457
- /** @description Stable session ordering; pinned (pin order, oldest first) requires pinned=only */
55851
+ /** @description Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only */
55458
55852
  sort?:
55459
55853
  | "recent"
55460
55854
  | "created"
@@ -56942,7 +57336,7 @@ export interface operations {
56942
57336
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
56943
57337
  };
56944
57338
  };
56945
- /** @description Session cannot be continued */
57339
+ /** @description Session cannot be continued or the source is busy */
56946
57340
  409: {
56947
57341
  headers: {
56948
57342
  [name: string]: unknown;
@@ -56951,7 +57345,7 @@ export interface operations {
56951
57345
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
56952
57346
  };
56953
57347
  };
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 */
57348
+ /** @description Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id */
56955
57349
  422: {
56956
57350
  headers: {
56957
57351
  [name: string]: unknown;
@@ -57028,7 +57422,7 @@ export interface operations {
57028
57422
  "application/json": components["schemas"]["ErrorPayload"];
57029
57423
  };
57030
57424
  };
57031
- /** @description Session is archived */
57425
+ /** @description Session is archived or the source is busy */
57032
57426
  409: {
57033
57427
  headers: {
57034
57428
  [name: string]: unknown;
@@ -57755,7 +58149,7 @@ export interface operations {
57755
58149
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
57756
58150
  };
57757
58151
  };
57758
- /** @description Session cannot be forked */
58152
+ /** @description Session cannot be forked or the source is busy */
57759
58153
  409: {
57760
58154
  headers: {
57761
58155
  [name: string]: unknown;
@@ -57764,7 +58158,7 @@ export interface operations {
57764
58158
  "application/json": components["schemas"]["SessionDeriveErrorPayload"];
57765
58159
  };
57766
58160
  };
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 */
58161
+ /** @description Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id */
57768
58162
  422: {
57769
58163
  headers: {
57770
58164
  [name: string]: unknown;
@@ -59834,6 +60228,15 @@ export interface operations {
59834
60228
  "text/event-stream": components["schemas"]["PromptStreamChunk"];
59835
60229
  };
59836
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
+ };
59837
60240
  /** @description Prompt queued, steering accepted, or Goal command started */
59838
60241
  202: {
59839
60242
  headers: {
@@ -59849,7 +60252,7 @@ export interface operations {
59849
60252
  [name: string]: unknown;
59850
60253
  };
59851
60254
  content: {
59852
- "application/json": components["schemas"]["ErrorPayload"];
60255
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59853
60256
  };
59854
60257
  };
59855
60258
  /** @description Session or attachment not found */
@@ -59859,7 +60262,7 @@ export interface operations {
59859
60262
  };
59860
60263
  content: {
59861
60264
  "application/json":
59862
- | components["schemas"]["ErrorPayload"]
60265
+ | components["schemas"]["SessionDeriveErrorPayload"]
59863
60266
  | components["schemas"]["SendPromptResultResponse"];
59864
60267
  };
59865
60268
  };
@@ -59870,7 +60273,7 @@ export interface operations {
59870
60273
  };
59871
60274
  content: {
59872
60275
  "application/json":
59873
- | components["schemas"]["ErrorPayload"]
60276
+ | components["schemas"]["SessionDeriveErrorPayload"]
59874
60277
  | components["schemas"]["SendPromptResultResponse"];
59875
60278
  };
59876
60279
  };
@@ -59890,7 +60293,7 @@ export interface operations {
59890
60293
  };
59891
60294
  content: {
59892
60295
  "application/json":
59893
- | components["schemas"]["ErrorPayload"]
60296
+ | components["schemas"]["SessionDeriveErrorPayload"]
59894
60297
  | components["schemas"]["SendPromptResultResponse"];
59895
60298
  };
59896
60299
  };
@@ -59900,7 +60303,7 @@ export interface operations {
59900
60303
  [name: string]: unknown;
59901
60304
  };
59902
60305
  content: {
59903
- "application/json": components["schemas"]["ErrorPayload"];
60306
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59904
60307
  };
59905
60308
  };
59906
60309
  /** @description New-work admission is unavailable while the daemon is draining */
@@ -59909,7 +60312,7 @@ export interface operations {
59909
60312
  [name: string]: unknown;
59910
60313
  };
59911
60314
  content: {
59912
- "application/json": components["schemas"]["ErrorPayload"];
60315
+ "application/json": components["schemas"]["SessionDeriveErrorPayload"];
59913
60316
  };
59914
60317
  };
59915
60318
  };
@@ -60653,6 +61056,168 @@ export interface operations {
60653
61056
  };
60654
61057
  };
60655
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
+ };
60656
61221
  refreshSessionSoul: {
60657
61222
  parameters: {
60658
61223
  query?: {
@@ -61306,6 +61871,76 @@ export interface operations {
61306
61871
  };
61307
61872
  };
61308
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
+ };
61309
61944
  getSessionTranscriptOutline: {
61310
61945
  parameters: {
61311
61946
  query?: {