@compozy/client 0.5.2 → 0.5.4

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.
@@ -5298,6 +5298,74 @@ export interface paths {
5298
5298
  patch?: never;
5299
5299
  trace?: never;
5300
5300
  };
5301
+ "/api/workspaces/{workspace_id}/files/content": {
5302
+ parameters: {
5303
+ query?: never;
5304
+ header?: never;
5305
+ path?: never;
5306
+ cookie?: never;
5307
+ };
5308
+ /** Read project file content */
5309
+ get: operations["readFileContent"];
5310
+ put?: never;
5311
+ post?: never;
5312
+ delete?: never;
5313
+ options?: never;
5314
+ head?: never;
5315
+ patch?: never;
5316
+ trace?: never;
5317
+ };
5318
+ "/api/workspaces/{workspace_id}/files/entries": {
5319
+ parameters: {
5320
+ query?: never;
5321
+ header?: never;
5322
+ path?: never;
5323
+ cookie?: never;
5324
+ };
5325
+ /** List project file entries */
5326
+ get: operations["listFileEntries"];
5327
+ put?: never;
5328
+ post?: never;
5329
+ delete?: never;
5330
+ options?: never;
5331
+ head?: never;
5332
+ patch?: never;
5333
+ trace?: never;
5334
+ };
5335
+ "/api/workspaces/{workspace_id}/files/find": {
5336
+ parameters: {
5337
+ query?: never;
5338
+ header?: never;
5339
+ path?: never;
5340
+ cookie?: never;
5341
+ };
5342
+ /** Find project files */
5343
+ get: operations["findFiles"];
5344
+ put?: never;
5345
+ post?: never;
5346
+ delete?: never;
5347
+ options?: never;
5348
+ head?: never;
5349
+ patch?: never;
5350
+ trace?: never;
5351
+ };
5352
+ "/api/workspaces/{workspace_id}/files/search": {
5353
+ parameters: {
5354
+ query?: never;
5355
+ header?: never;
5356
+ path?: never;
5357
+ cookie?: never;
5358
+ };
5359
+ /** Search project file contents */
5360
+ get: operations["searchFileContents"];
5361
+ put?: never;
5362
+ post?: never;
5363
+ delete?: never;
5364
+ options?: never;
5365
+ head?: never;
5366
+ patch?: never;
5367
+ trace?: never;
5368
+ };
5301
5369
  "/api/workspaces/{workspace_id}/hooks/runs": {
5302
5370
  parameters: {
5303
5371
  query?: never;
@@ -6058,6 +6126,74 @@ export interface paths {
6058
6126
  patch?: never;
6059
6127
  trace?: never;
6060
6128
  };
6129
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/changes": {
6130
+ parameters: {
6131
+ query?: never;
6132
+ header?: never;
6133
+ path?: never;
6134
+ cookie?: never;
6135
+ };
6136
+ /** Read session changes */
6137
+ get: operations["getSessionChanges"];
6138
+ put?: never;
6139
+ post?: never;
6140
+ delete?: never;
6141
+ options?: never;
6142
+ head?: never;
6143
+ patch?: never;
6144
+ trace?: never;
6145
+ };
6146
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/bases": {
6147
+ parameters: {
6148
+ query?: never;
6149
+ header?: never;
6150
+ path?: never;
6151
+ cookie?: never;
6152
+ };
6153
+ /** Read session changes */
6154
+ get: operations["listSessionChangeBases"];
6155
+ put?: never;
6156
+ post?: never;
6157
+ delete?: never;
6158
+ options?: never;
6159
+ head?: never;
6160
+ patch?: never;
6161
+ trace?: never;
6162
+ };
6163
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/contents": {
6164
+ parameters: {
6165
+ query?: never;
6166
+ header?: never;
6167
+ path?: never;
6168
+ cookie?: never;
6169
+ };
6170
+ /** Read session changes */
6171
+ get: operations["getSessionChangeContents"];
6172
+ put?: never;
6173
+ post?: never;
6174
+ delete?: never;
6175
+ options?: never;
6176
+ head?: never;
6177
+ patch?: never;
6178
+ trace?: never;
6179
+ };
6180
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/patches": {
6181
+ parameters: {
6182
+ query?: never;
6183
+ header?: never;
6184
+ path?: never;
6185
+ cookie?: never;
6186
+ };
6187
+ /** Read session changes */
6188
+ get: operations["getSessionChangePatches"];
6189
+ put?: never;
6190
+ post?: never;
6191
+ delete?: never;
6192
+ options?: never;
6193
+ head?: never;
6194
+ patch?: never;
6195
+ trace?: never;
6196
+ };
6061
6197
  "/api/workspaces/{workspace_id}/sessions/{session_id}/clarifications": {
6062
6198
  parameters: {
6063
6199
  query?: never;
@@ -6228,6 +6364,74 @@ export interface paths {
6228
6364
  patch?: never;
6229
6365
  trace?: never;
6230
6366
  };
6367
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/files/content": {
6368
+ parameters: {
6369
+ query?: never;
6370
+ header?: never;
6371
+ path?: never;
6372
+ cookie?: never;
6373
+ };
6374
+ /** Read project file content */
6375
+ get: operations["readSessionFileContent"];
6376
+ put?: never;
6377
+ post?: never;
6378
+ delete?: never;
6379
+ options?: never;
6380
+ head?: never;
6381
+ patch?: never;
6382
+ trace?: never;
6383
+ };
6384
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/files/entries": {
6385
+ parameters: {
6386
+ query?: never;
6387
+ header?: never;
6388
+ path?: never;
6389
+ cookie?: never;
6390
+ };
6391
+ /** List project file entries */
6392
+ get: operations["listSessionFileEntries"];
6393
+ put?: never;
6394
+ post?: never;
6395
+ delete?: never;
6396
+ options?: never;
6397
+ head?: never;
6398
+ patch?: never;
6399
+ trace?: never;
6400
+ };
6401
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/files/find": {
6402
+ parameters: {
6403
+ query?: never;
6404
+ header?: never;
6405
+ path?: never;
6406
+ cookie?: never;
6407
+ };
6408
+ /** Find project files */
6409
+ get: operations["findSessionFiles"];
6410
+ put?: never;
6411
+ post?: never;
6412
+ delete?: never;
6413
+ options?: never;
6414
+ head?: never;
6415
+ patch?: never;
6416
+ trace?: never;
6417
+ };
6418
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/files/search": {
6419
+ parameters: {
6420
+ query?: never;
6421
+ header?: never;
6422
+ path?: never;
6423
+ cookie?: never;
6424
+ };
6425
+ /** Search project file contents */
6426
+ get: operations["searchSessionFileContents"];
6427
+ put?: never;
6428
+ post?: never;
6429
+ delete?: never;
6430
+ options?: never;
6431
+ head?: never;
6432
+ patch?: never;
6433
+ trace?: never;
6434
+ };
6231
6435
  "/api/workspaces/{workspace_id}/sessions/{session_id}/fork": {
6232
6436
  parameters: {
6233
6437
  query?: never;
@@ -8155,17 +8359,46 @@ export interface components {
8155
8359
  max_spawn_depth: number;
8156
8360
  spawn_blocked_reason?: string;
8157
8361
  };
8362
+ AgentMCPServerInput: {
8363
+ args?: string[];
8364
+ auth?: components["schemas"]["SettingsMCPAuthConfigPayload"] | null;
8365
+ command?: string;
8366
+ env?: {
8367
+ [key: string]: string;
8368
+ };
8369
+ name: string;
8370
+ reference?: boolean;
8371
+ secret_env?: {
8372
+ [key: string]: string;
8373
+ };
8374
+ secret_env_values?: {
8375
+ [key: string]: string;
8376
+ };
8377
+ secret_header_values?: {
8378
+ [key: string]: string;
8379
+ };
8380
+ secret_headers?: {
8381
+ [key: string]: string;
8382
+ };
8383
+ transport?: string;
8384
+ url?: string;
8385
+ };
8158
8386
  AgentMCPServerJSON: {
8159
8387
  args?: string[];
8160
8388
  auth?: components["schemas"]["SettingsMCPAuthConfigViewPayload"] | null;
8389
+ broken_reference?: boolean;
8161
8390
  command?: string;
8162
8391
  env?: {
8163
8392
  [key: string]: string;
8164
8393
  };
8165
8394
  name: string;
8395
+ reference?: boolean;
8166
8396
  secret_env?: {
8167
8397
  [key: string]: string;
8168
8398
  };
8399
+ secret_headers?: {
8400
+ [key: string]: string;
8401
+ };
8169
8402
  transport?: string;
8170
8403
  url?: string;
8171
8404
  };
@@ -8838,7 +9071,12 @@ export interface components {
8838
9071
  /** @enum {string} */
8839
9072
  steer_capability: "steer_ext" | "concurrent_prompt" | "none";
8840
9073
  /** @enum {string} */
8841
- steer_delivery?: "injected" | "pending_injection" | "interrupt_fallback";
9074
+ steer_delivery?:
9075
+ | "injected"
9076
+ | "pending_injection"
9077
+ | "pending_boundary"
9078
+ | "after_turn"
9079
+ | "interrupt_fallback";
8842
9080
  };
8843
9081
  CancelTaskRequest: {
8844
9082
  metadata?: unknown;
@@ -8856,6 +9094,28 @@ export interface components {
8856
9094
  keywords?: string[];
8857
9095
  use_when?: string;
8858
9096
  };
9097
+ ChangeBasePayload: {
9098
+ merge_base_sha: string;
9099
+ ref: string;
9100
+ source: string;
9101
+ };
9102
+ ChangeBaseRefPayload: {
9103
+ is_default?: boolean;
9104
+ kind: string;
9105
+ ref: string;
9106
+ source?: string;
9107
+ };
9108
+ ChangeHeadPayload: {
9109
+ branch: string;
9110
+ sha: string;
9111
+ };
9112
+ ChangePatchPayload: {
9113
+ fingerprint: string;
9114
+ patch?: string;
9115
+ path: string;
9116
+ sensitive?: boolean;
9117
+ too_large?: boolean;
9118
+ };
8859
9119
  ChangeSet: {
8860
9120
  client_ids?: string[];
8861
9121
  desktop_ids?: string[];
@@ -8865,6 +9125,16 @@ export interface components {
8865
9125
  stack_ungrouped?: string[];
8866
9126
  window_ids?: string[];
8867
9127
  };
9128
+ ChangeSidePayload: {
9129
+ sensitive?: boolean;
9130
+ text?: string | null;
9131
+ };
9132
+ ChangeTotalsPayload: {
9133
+ additions: number;
9134
+ deletions: number;
9135
+ files: number;
9136
+ partial?: boolean;
9137
+ };
8868
9138
  Chip: {
8869
9139
  count?: number | null;
8870
9140
  fallback?: string;
@@ -9411,11 +9681,12 @@ export interface components {
9411
9681
  display_name?: string | null;
9412
9682
  fallback_chain?: components["schemas"]["AgentFallbackRoutePayload"][];
9413
9683
  /**
9414
- * @description Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
9684
+ * @description Agent kind: on_demand (default) or always_on; fixed at creation.
9415
9685
  * @enum {string}
9416
9686
  */
9417
- kind?: "on_demand" | "always_on" | "stays_on";
9687
+ kind?: "on_demand" | "always_on";
9418
9688
  label?: string;
9689
+ mcp_servers?: components["schemas"]["AgentMCPServerInput"][];
9419
9690
  model?: string;
9420
9691
  name: string;
9421
9692
  permission_rules?: components["schemas"]["AgentPermissionRulePayload"][];
@@ -9723,10 +9994,10 @@ export interface components {
9723
9994
  description?: string | null;
9724
9995
  display_name?: string | null;
9725
9996
  /**
9726
- * @description Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
9997
+ * @description Agent kind: on_demand (default) or always_on; fixed at creation.
9727
9998
  * @enum {string}
9728
9999
  */
9729
- kind?: "on_demand" | "always_on" | "stays_on";
10000
+ kind?: "on_demand" | "always_on";
9730
10001
  model?: string;
9731
10002
  permission_rules?: components["schemas"]["AgentPermissionRulePayload"][];
9732
10003
  /** @enum {string} */
@@ -9747,10 +10018,10 @@ export interface components {
9747
10018
  };
9748
10019
  DuplicateAgentRequest: {
9749
10020
  /**
9750
- * @description Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
10021
+ * @description Agent kind: on_demand (default) or always_on; fixed at creation.
9751
10022
  * @enum {string}
9752
10023
  */
9753
- kind?: "on_demand" | "always_on" | "stays_on";
10024
+ kind?: "on_demand" | "always_on";
9754
10025
  name: string;
9755
10026
  overrides?: components["schemas"]["DuplicateAgentOverrides"] | null;
9756
10027
  /** @enum {string} */
@@ -10132,6 +10403,105 @@ export interface components {
10132
10403
  node_id: string;
10133
10404
  total: number;
10134
10405
  };
10406
+ FileChangePayload: {
10407
+ additions: number;
10408
+ binary?: boolean;
10409
+ deletions: number;
10410
+ fingerprint: string;
10411
+ generated?: boolean;
10412
+ old_path?: string;
10413
+ path: string;
10414
+ sensitive?: boolean;
10415
+ status: string;
10416
+ };
10417
+ FileContentResponse: {
10418
+ image_base64?: string;
10419
+ image_mime?: string;
10420
+ kind: string;
10421
+ language?: string;
10422
+ path: string;
10423
+ revision?: string;
10424
+ root: components["schemas"]["FileRootPayload"];
10425
+ sensitive?: boolean;
10426
+ /** Format: int64 */
10427
+ size: number;
10428
+ text?: string | null;
10429
+ truncated: boolean;
10430
+ };
10431
+ FileEntriesResponse: {
10432
+ entries: components["schemas"]["FileEntryPayload"][];
10433
+ path: string;
10434
+ root: components["schemas"]["FileRootPayload"];
10435
+ status_unavailable?: boolean;
10436
+ truncated: boolean;
10437
+ };
10438
+ FileEntryPayload: {
10439
+ contains_changes?: boolean;
10440
+ git_status?: string;
10441
+ ignored?: boolean;
10442
+ kind: string;
10443
+ name: string;
10444
+ path: string;
10445
+ sensitive?: boolean;
10446
+ /** Format: int64 */
10447
+ size?: number;
10448
+ symlink?: boolean;
10449
+ };
10450
+ FileFindMatch: {
10451
+ kind: string;
10452
+ match_ranges: number[][];
10453
+ path: string;
10454
+ score: number;
10455
+ sensitive?: boolean;
10456
+ };
10457
+ FileFindResponse: {
10458
+ index_truncated: boolean;
10459
+ indexed_files: number;
10460
+ query: string;
10461
+ results: components["schemas"]["FileFindMatch"][];
10462
+ root: components["schemas"]["FileRootPayload"];
10463
+ };
10464
+ FileRootPayload: {
10465
+ branch?: string;
10466
+ kind: string;
10467
+ name: string;
10468
+ workspace_id: string;
10469
+ worktree_id?: string;
10470
+ };
10471
+ FileSearchFile: {
10472
+ matches: components["schemas"]["FileSearchMatch"][];
10473
+ path: string;
10474
+ truncated_matches?: boolean;
10475
+ };
10476
+ FileSearchMatch: {
10477
+ column: number;
10478
+ line: number;
10479
+ ranges: number[][];
10480
+ text: string;
10481
+ text_offset: number;
10482
+ };
10483
+ FileSearchQuery: {
10484
+ case_sensitive: boolean;
10485
+ exclude: string[];
10486
+ include: string[];
10487
+ pattern: string;
10488
+ regex: boolean;
10489
+ whole_word: boolean;
10490
+ };
10491
+ FileSearchResponse: {
10492
+ engine: string;
10493
+ files: components["schemas"]["FileSearchFile"][];
10494
+ query: components["schemas"]["FileSearchQuery"];
10495
+ root: components["schemas"]["FileRootPayload"];
10496
+ sensitive_excluded: number;
10497
+ timed_out: boolean;
10498
+ totals: components["schemas"]["FileSearchTotals"];
10499
+ truncated: boolean;
10500
+ };
10501
+ FileSearchTotals: {
10502
+ files: number;
10503
+ matches: number;
10504
+ };
10135
10505
  FireLimitConfig: {
10136
10506
  max: number;
10137
10507
  window: string;
@@ -11255,7 +11625,7 @@ export interface components {
11255
11625
  idempotency_key?: string;
11256
11626
  session_id: string;
11257
11627
  /** @enum {string} */
11258
- source: "scheduler" | "manual" | "harness_reentry";
11628
+ source: "timer" | "instance_check" | "scheduler" | "manual" | "harness_reentry";
11259
11629
  workspace_id?: string;
11260
11630
  };
11261
11631
  HeartbeatWakeDecisionPayload: {
@@ -11265,6 +11635,23 @@ export interface components {
11265
11635
  policy_snapshot_id?: string;
11266
11636
  /** @enum {string} */
11267
11637
  reason:
11638
+ | "quiet"
11639
+ | "reported"
11640
+ | "cancelled"
11641
+ | "digest_empty"
11642
+ | "digest_unchanged"
11643
+ | "policy_disabled"
11644
+ | "definition_not_always_on"
11645
+ | "definition_missing"
11646
+ | "no_slot"
11647
+ | "hook_cancelled"
11648
+ | "duplicate_suppressed"
11649
+ | "triage_unsupported"
11650
+ | "triage_output_invalid"
11651
+ | "triage_timeout"
11652
+ | "triage_interrupted"
11653
+ | "triage_config_unavailable"
11654
+ | "triage_failed"
11268
11655
  | "source_poll_in_flight"
11269
11656
  | "wake_sent"
11270
11657
  | "heartbeat_disabled"
@@ -11282,7 +11669,15 @@ export interface components {
11282
11669
  | "synthetic_prompt_failed"
11283
11670
  | "wake_coalesced";
11284
11671
  /** @enum {string} */
11285
- result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
11672
+ result:
11673
+ | "quiet"
11674
+ | "cancelled"
11675
+ | "reported"
11676
+ | "sent"
11677
+ | "skipped"
11678
+ | "coalesced"
11679
+ | "rate_limited"
11680
+ | "failed";
11286
11681
  synthetic_prompt_id?: string;
11287
11682
  wake_event_id?: string;
11288
11683
  };
@@ -11297,6 +11692,23 @@ export interface components {
11297
11692
  policy_snapshot_id?: string;
11298
11693
  /** @enum {string} */
11299
11694
  reason:
11695
+ | "quiet"
11696
+ | "reported"
11697
+ | "cancelled"
11698
+ | "digest_empty"
11699
+ | "digest_unchanged"
11700
+ | "policy_disabled"
11701
+ | "definition_not_always_on"
11702
+ | "definition_missing"
11703
+ | "no_slot"
11704
+ | "hook_cancelled"
11705
+ | "duplicate_suppressed"
11706
+ | "triage_unsupported"
11707
+ | "triage_output_invalid"
11708
+ | "triage_timeout"
11709
+ | "triage_interrupted"
11710
+ | "triage_config_unavailable"
11711
+ | "triage_failed"
11300
11712
  | "source_poll_in_flight"
11301
11713
  | "wake_sent"
11302
11714
  | "heartbeat_disabled"
@@ -11314,10 +11726,18 @@ export interface components {
11314
11726
  | "synthetic_prompt_failed"
11315
11727
  | "wake_coalesced";
11316
11728
  /** @enum {string} */
11317
- result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
11729
+ result:
11730
+ | "quiet"
11731
+ | "cancelled"
11732
+ | "reported"
11733
+ | "sent"
11734
+ | "skipped"
11735
+ | "coalesced"
11736
+ | "rate_limited"
11737
+ | "failed";
11318
11738
  session_id?: string;
11319
11739
  /** @enum {string} */
11320
- source: "scheduler" | "manual" | "harness_reentry";
11740
+ source: "timer" | "instance_check" | "scheduler" | "manual" | "harness_reentry";
11321
11741
  synthetic_prompt_id?: string;
11322
11742
  workspace_id?: string;
11323
11743
  };
@@ -11329,6 +11749,23 @@ export interface components {
11329
11749
  coalesced_count: number;
11330
11750
  /** @enum {string} */
11331
11751
  last_reason?:
11752
+ | "quiet"
11753
+ | "reported"
11754
+ | "cancelled"
11755
+ | "digest_empty"
11756
+ | "digest_unchanged"
11757
+ | "policy_disabled"
11758
+ | "definition_not_always_on"
11759
+ | "definition_missing"
11760
+ | "no_slot"
11761
+ | "hook_cancelled"
11762
+ | "duplicate_suppressed"
11763
+ | "triage_unsupported"
11764
+ | "triage_output_invalid"
11765
+ | "triage_timeout"
11766
+ | "triage_interrupted"
11767
+ | "triage_config_unavailable"
11768
+ | "triage_failed"
11332
11769
  | "source_poll_in_flight"
11333
11770
  | "wake_sent"
11334
11771
  | "heartbeat_disabled"
@@ -11346,7 +11783,15 @@ export interface components {
11346
11783
  | "synthetic_prompt_failed"
11347
11784
  | "wake_coalesced";
11348
11785
  /** @enum {string} */
11349
- last_result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
11786
+ last_result:
11787
+ | "quiet"
11788
+ | "cancelled"
11789
+ | "reported"
11790
+ | "sent"
11791
+ | "skipped"
11792
+ | "coalesced"
11793
+ | "rate_limited"
11794
+ | "failed";
11350
11795
  /** Format: date-time */
11351
11796
  last_wake_at?: string | null;
11352
11797
  /** Format: date-time */
@@ -13598,6 +14043,7 @@ export interface components {
13598
14043
  balances: components["schemas"]["ProviderUsageBalance"][];
13599
14044
  /** Format: date-time */
13600
14045
  checked_at: string | null;
14046
+ collector_id?: string;
13601
14047
  confidence: string;
13602
14048
  error: components["schemas"]["ProviderUsageError"] | null;
13603
14049
  /** Format: date-time */
@@ -13664,6 +14110,7 @@ export interface components {
13664
14110
  };
13665
14111
  PutSettingsMCPServerRequest: {
13666
14112
  preserve_env?: string[];
14113
+ preserve_headers?: boolean;
13667
14114
  preserve_secrets?: components["schemas"]["SettingsMCPSecretPreservationPayload"] | null;
13668
14115
  secret_values?: components["schemas"]["SettingsMCPSecretValuesPayload"] | null;
13669
14116
  server: components["schemas"]["SettingsMCPServerPayload"];
@@ -14536,6 +14983,8 @@ export interface components {
14536
14983
  /** Format: date-time */
14537
14984
  estimated_send_at?: string | null;
14538
14985
  goal?: components["schemas"]["GoalCommandResult"] | null;
14986
+ held_instance_id?: string;
14987
+ held_reason?: string;
14539
14988
  idempotency_key: string;
14540
14989
  message_id: string;
14541
14990
  mode?: string;
@@ -14549,7 +14998,12 @@ export interface components {
14549
14998
  reply_watch?: components["schemas"]["ReplyWatchRefPayload"] | null;
14550
14999
  status: string;
14551
15000
  /** @enum {string} */
14552
- steer_delivery?: "injected" | "pending_injection" | "interrupt_fallback";
15001
+ steer_delivery?:
15002
+ | "injected"
15003
+ | "pending_injection"
15004
+ | "pending_boundary"
15005
+ | "after_turn"
15006
+ | "interrupt_fallback";
14553
15007
  target_session_id?: string;
14554
15008
  target_workspace_id?: string;
14555
15009
  turn_id?: string;
@@ -14714,6 +15168,35 @@ export interface components {
14714
15168
  page: components["schemas"]["SessionCatalogPagePayload"];
14715
15169
  sessions: components["schemas"]["SessionPayload"][];
14716
15170
  };
15171
+ SessionChangeBasesResponse: {
15172
+ default: components["schemas"]["ChangeBaseRefPayload"] | null;
15173
+ refs: components["schemas"]["ChangeBaseRefPayload"][];
15174
+ resolvable: boolean;
15175
+ truncated: boolean;
15176
+ };
15177
+ SessionChangeContentsResponse: {
15178
+ fingerprint: string;
15179
+ new?: components["schemas"]["ChangeSidePayload"] | null;
15180
+ old?: components["schemas"]["ChangeSidePayload"] | null;
15181
+ old_path?: string;
15182
+ path: string;
15183
+ revision: string;
15184
+ };
15185
+ SessionChangePatchesResponse: {
15186
+ patches: components["schemas"]["ChangePatchPayload"][];
15187
+ revision: string;
15188
+ };
15189
+ SessionChangesResponse: {
15190
+ base: components["schemas"]["ChangeBasePayload"];
15191
+ files: components["schemas"]["FileChangePayload"][];
15192
+ head: components["schemas"]["ChangeHeadPayload"];
15193
+ pull_request?: components["schemas"]["SessionPullRequestPayload"] | null;
15194
+ revision: string;
15195
+ root: components["schemas"]["FileRootPayload"];
15196
+ scope: string;
15197
+ totals: components["schemas"]["ChangeTotalsPayload"];
15198
+ truncated: boolean;
15199
+ };
14717
15200
  SessionChildrenPayload: {
14718
15201
  done: number;
14719
15202
  in_review: number;
@@ -15143,6 +15626,8 @@ export interface components {
15143
15626
  /** Format: date-time */
15144
15627
  enqueued_at: string;
15145
15628
  held: boolean;
15629
+ held_instance_id?: string;
15630
+ held_reason?: string;
15146
15631
  id: string;
15147
15632
  idempotency_key?: string;
15148
15633
  mentions?: components["schemas"]["SessionInputMentionPayload"][];
@@ -15159,7 +15644,12 @@ export interface components {
15159
15644
  /** @enum {string} */
15160
15645
  status: "queued" | "dispatching" | "sent" | "failed" | "canceled";
15161
15646
  /** @enum {string} */
15162
- steer_delivery?: "injected" | "pending_injection" | "interrupt_fallback";
15647
+ steer_delivery?:
15648
+ | "injected"
15649
+ | "pending_injection"
15650
+ | "pending_boundary"
15651
+ | "after_turn"
15652
+ | "interrupt_fallback";
15163
15653
  target_turn_id?: string;
15164
15654
  text: string;
15165
15655
  };
@@ -16395,6 +16885,7 @@ export interface components {
16395
16885
  catalog_version?: string;
16396
16886
  command?: string;
16397
16887
  env_keys?: string[];
16888
+ headers_configured?: boolean;
16398
16889
  name: string;
16399
16890
  override?: components["schemas"]["SettingsMCPExtensionOverridePayload"] | null;
16400
16891
  owner?: string;
@@ -17396,7 +17887,8 @@ export interface components {
17396
17887
  | "scheduled_wait"
17397
17888
  | "awaiting_reply"
17398
17889
  | "active_monitor"
17399
- | "held_permission";
17890
+ | "held_permission"
17891
+ | "held_input";
17400
17892
  ref?: string;
17401
17893
  state: string;
17402
17894
  };
@@ -21200,6 +21692,8 @@ export interface components {
21200
21692
  supports_pr_discovery: boolean;
21201
21693
  };
21202
21694
  WorkSignal: {
21695
+ held_instance_id?: string;
21696
+ held_reason?: string;
21203
21697
  /** @enum {string} */
21204
21698
  kind:
21205
21699
  | "agent_progress"
@@ -21210,7 +21704,8 @@ export interface components {
21210
21704
  | "scheduled_wait"
21211
21705
  | "awaiting_reply"
21212
21706
  | "active_monitor"
21213
- | "held_permission";
21707
+ | "held_permission"
21708
+ | "held_input";
21214
21709
  ref?: string;
21215
21710
  /** Format: date-time */
21216
21711
  since: string;
@@ -48233,6 +48728,348 @@ export interface operations {
48233
48728
  };
48234
48729
  };
48235
48730
  };
48731
+ readFileContent: {
48732
+ parameters: {
48733
+ query: {
48734
+ /** @description Optional worktree id */
48735
+ worktree_id?: string;
48736
+ /** @description Root-relative path */
48737
+ path: string;
48738
+ /** @description Reveal sensitive content; forbidden to app tokens */
48739
+ reveal?: boolean;
48740
+ /** @description Read one profile's rows by name */
48741
+ profile?: string;
48742
+ /** @description Read the owner-labeled all-profiles aggregate */
48743
+ all_profiles?: boolean;
48744
+ };
48745
+ header?: never;
48746
+ path: {
48747
+ /** @description Workspace id */
48748
+ workspace_id: string;
48749
+ };
48750
+ cookie?: never;
48751
+ };
48752
+ requestBody?: never;
48753
+ responses: {
48754
+ /** @description OK */
48755
+ 200: {
48756
+ headers: {
48757
+ [name: string]: unknown;
48758
+ };
48759
+ content: {
48760
+ "application/json": components["schemas"]["FileContentResponse"];
48761
+ };
48762
+ };
48763
+ /** @description File operation failed */
48764
+ 400: {
48765
+ headers: {
48766
+ [name: string]: unknown;
48767
+ };
48768
+ content: {
48769
+ "application/json": components["schemas"]["ErrorPayload"];
48770
+ };
48771
+ };
48772
+ /** @description File operation failed */
48773
+ 403: {
48774
+ headers: {
48775
+ [name: string]: unknown;
48776
+ };
48777
+ content: {
48778
+ "application/json": components["schemas"]["ErrorPayload"];
48779
+ };
48780
+ };
48781
+ /** @description File operation failed */
48782
+ 404: {
48783
+ headers: {
48784
+ [name: string]: unknown;
48785
+ };
48786
+ content: {
48787
+ "application/json": components["schemas"]["ErrorPayload"];
48788
+ };
48789
+ };
48790
+ /** @description File operation failed */
48791
+ 409: {
48792
+ headers: {
48793
+ [name: string]: unknown;
48794
+ };
48795
+ content: {
48796
+ "application/json": components["schemas"]["ErrorPayload"];
48797
+ };
48798
+ };
48799
+ /** @description File operation failed */
48800
+ 422: {
48801
+ headers: {
48802
+ [name: string]: unknown;
48803
+ };
48804
+ content: {
48805
+ "application/json": components["schemas"]["ErrorPayload"];
48806
+ };
48807
+ };
48808
+ /** @description File operation failed */
48809
+ 500: {
48810
+ headers: {
48811
+ [name: string]: unknown;
48812
+ };
48813
+ content: {
48814
+ "application/json": components["schemas"]["ErrorPayload"];
48815
+ };
48816
+ };
48817
+ };
48818
+ };
48819
+ listFileEntries: {
48820
+ parameters: {
48821
+ query?: {
48822
+ /** @description Optional worktree id */
48823
+ worktree_id?: string;
48824
+ /** @description Root-relative path */
48825
+ path?: string;
48826
+ /** @description Include ignored entries */
48827
+ show_ignored?: boolean;
48828
+ /** @description Read one profile's rows by name */
48829
+ profile?: string;
48830
+ /** @description Read the owner-labeled all-profiles aggregate */
48831
+ all_profiles?: boolean;
48832
+ };
48833
+ header?: never;
48834
+ path: {
48835
+ /** @description Workspace id */
48836
+ workspace_id: string;
48837
+ };
48838
+ cookie?: never;
48839
+ };
48840
+ requestBody?: never;
48841
+ responses: {
48842
+ /** @description OK */
48843
+ 200: {
48844
+ headers: {
48845
+ [name: string]: unknown;
48846
+ };
48847
+ content: {
48848
+ "application/json": components["schemas"]["FileEntriesResponse"];
48849
+ };
48850
+ };
48851
+ /** @description File operation failed */
48852
+ 400: {
48853
+ headers: {
48854
+ [name: string]: unknown;
48855
+ };
48856
+ content: {
48857
+ "application/json": components["schemas"]["ErrorPayload"];
48858
+ };
48859
+ };
48860
+ /** @description File operation failed */
48861
+ 403: {
48862
+ headers: {
48863
+ [name: string]: unknown;
48864
+ };
48865
+ content: {
48866
+ "application/json": components["schemas"]["ErrorPayload"];
48867
+ };
48868
+ };
48869
+ /** @description File operation failed */
48870
+ 404: {
48871
+ headers: {
48872
+ [name: string]: unknown;
48873
+ };
48874
+ content: {
48875
+ "application/json": components["schemas"]["ErrorPayload"];
48876
+ };
48877
+ };
48878
+ /** @description File operation failed */
48879
+ 409: {
48880
+ headers: {
48881
+ [name: string]: unknown;
48882
+ };
48883
+ content: {
48884
+ "application/json": components["schemas"]["ErrorPayload"];
48885
+ };
48886
+ };
48887
+ /** @description File operation failed */
48888
+ 422: {
48889
+ headers: {
48890
+ [name: string]: unknown;
48891
+ };
48892
+ content: {
48893
+ "application/json": components["schemas"]["ErrorPayload"];
48894
+ };
48895
+ };
48896
+ /** @description File operation failed */
48897
+ 500: {
48898
+ headers: {
48899
+ [name: string]: unknown;
48900
+ };
48901
+ content: {
48902
+ "application/json": components["schemas"]["ErrorPayload"];
48903
+ };
48904
+ };
48905
+ };
48906
+ };
48907
+ findFiles: {
48908
+ parameters: {
48909
+ query: {
48910
+ /** @description Optional worktree id */
48911
+ worktree_id?: string;
48912
+ /** @description Search query */
48913
+ q: string;
48914
+ /** @description Result limit; defaults and clamps to 50 */
48915
+ limit?: number;
48916
+ /** @description Read one profile's rows by name */
48917
+ profile?: string;
48918
+ /** @description Read the owner-labeled all-profiles aggregate */
48919
+ all_profiles?: boolean;
48920
+ };
48921
+ header?: never;
48922
+ path: {
48923
+ /** @description Workspace id */
48924
+ workspace_id: string;
48925
+ };
48926
+ cookie?: never;
48927
+ };
48928
+ requestBody?: never;
48929
+ responses: {
48930
+ /** @description OK */
48931
+ 200: {
48932
+ headers: {
48933
+ [name: string]: unknown;
48934
+ };
48935
+ content: {
48936
+ "application/json": components["schemas"]["FileFindResponse"];
48937
+ };
48938
+ };
48939
+ /** @description Search failed */
48940
+ 400: {
48941
+ headers: {
48942
+ [name: string]: unknown;
48943
+ };
48944
+ content: {
48945
+ "application/json": components["schemas"]["ErrorPayload"];
48946
+ };
48947
+ };
48948
+ /** @description Search failed */
48949
+ 403: {
48950
+ headers: {
48951
+ [name: string]: unknown;
48952
+ };
48953
+ content: {
48954
+ "application/json": components["schemas"]["ErrorPayload"];
48955
+ };
48956
+ };
48957
+ /** @description Search failed */
48958
+ 404: {
48959
+ headers: {
48960
+ [name: string]: unknown;
48961
+ };
48962
+ content: {
48963
+ "application/json": components["schemas"]["ErrorPayload"];
48964
+ };
48965
+ };
48966
+ /** @description Search failed */
48967
+ 409: {
48968
+ headers: {
48969
+ [name: string]: unknown;
48970
+ };
48971
+ content: {
48972
+ "application/json": components["schemas"]["ErrorPayload"];
48973
+ };
48974
+ };
48975
+ /** @description Search failed */
48976
+ 500: {
48977
+ headers: {
48978
+ [name: string]: unknown;
48979
+ };
48980
+ content: {
48981
+ "application/json": components["schemas"]["ErrorPayload"];
48982
+ };
48983
+ };
48984
+ };
48985
+ };
48986
+ searchFileContents: {
48987
+ parameters: {
48988
+ query: {
48989
+ /** @description Optional worktree id */
48990
+ worktree_id?: string;
48991
+ /** @description Search query */
48992
+ q: string;
48993
+ /** @description Use POSIX ERE */
48994
+ regex?: boolean;
48995
+ /** @description Match case */
48996
+ case_sensitive?: boolean;
48997
+ /** @description Match whole words */
48998
+ whole_word?: boolean;
48999
+ /** @description Root-relative globs; repeat at most ten times */
49000
+ include?: string[];
49001
+ /** @description Root-relative globs; repeat at most ten times */
49002
+ exclude?: string[];
49003
+ /** @description Read one profile's rows by name */
49004
+ profile?: string;
49005
+ /** @description Read the owner-labeled all-profiles aggregate */
49006
+ all_profiles?: boolean;
49007
+ };
49008
+ header?: never;
49009
+ path: {
49010
+ /** @description Workspace id */
49011
+ workspace_id: string;
49012
+ };
49013
+ cookie?: never;
49014
+ };
49015
+ requestBody?: never;
49016
+ responses: {
49017
+ /** @description OK */
49018
+ 200: {
49019
+ headers: {
49020
+ [name: string]: unknown;
49021
+ };
49022
+ content: {
49023
+ "application/json": components["schemas"]["FileSearchResponse"];
49024
+ };
49025
+ };
49026
+ /** @description Search failed */
49027
+ 400: {
49028
+ headers: {
49029
+ [name: string]: unknown;
49030
+ };
49031
+ content: {
49032
+ "application/json": components["schemas"]["ErrorPayload"];
49033
+ };
49034
+ };
49035
+ /** @description Search failed */
49036
+ 403: {
49037
+ headers: {
49038
+ [name: string]: unknown;
49039
+ };
49040
+ content: {
49041
+ "application/json": components["schemas"]["ErrorPayload"];
49042
+ };
49043
+ };
49044
+ /** @description Search failed */
49045
+ 404: {
49046
+ headers: {
49047
+ [name: string]: unknown;
49048
+ };
49049
+ content: {
49050
+ "application/json": components["schemas"]["ErrorPayload"];
49051
+ };
49052
+ };
49053
+ /** @description Search failed */
49054
+ 409: {
49055
+ headers: {
49056
+ [name: string]: unknown;
49057
+ };
49058
+ content: {
49059
+ "application/json": components["schemas"]["ErrorPayload"];
49060
+ };
49061
+ };
49062
+ /** @description Search failed */
49063
+ 500: {
49064
+ headers: {
49065
+ [name: string]: unknown;
49066
+ };
49067
+ content: {
49068
+ "application/json": components["schemas"]["ErrorPayload"];
49069
+ };
49070
+ };
49071
+ };
49072
+ };
48236
49073
  getHookRuns: {
48237
49074
  parameters: {
48238
49075
  query: {
@@ -52764,6 +53601,410 @@ export interface operations {
52764
53601
  };
52765
53602
  };
52766
53603
  };
53604
+ getSessionChanges: {
53605
+ parameters: {
53606
+ query?: {
53607
+ /** @description Changes scope */
53608
+ scope?: "branch" | "uncommitted";
53609
+ /** @description Optional base ref */
53610
+ base?: string;
53611
+ /** @description Read one profile's rows by name */
53612
+ profile?: string;
53613
+ /** @description Read the owner-labeled all-profiles aggregate */
53614
+ all_profiles?: boolean;
53615
+ };
53616
+ header?: never;
53617
+ path: {
53618
+ /** @description Workspace id */
53619
+ workspace_id: string;
53620
+ /** @description Session id */
53621
+ session_id: string;
53622
+ };
53623
+ cookie?: never;
53624
+ };
53625
+ requestBody?: never;
53626
+ responses: {
53627
+ /** @description OK */
53628
+ 200: {
53629
+ headers: {
53630
+ [name: string]: unknown;
53631
+ };
53632
+ content: {
53633
+ "application/json": components["schemas"]["SessionChangesResponse"];
53634
+ };
53635
+ };
53636
+ /** @description Changes operation failed */
53637
+ 400: {
53638
+ headers: {
53639
+ [name: string]: unknown;
53640
+ };
53641
+ content: {
53642
+ "application/json": components["schemas"]["ErrorPayload"];
53643
+ };
53644
+ };
53645
+ /** @description Changes operation failed */
53646
+ 403: {
53647
+ headers: {
53648
+ [name: string]: unknown;
53649
+ };
53650
+ content: {
53651
+ "application/json": components["schemas"]["ErrorPayload"];
53652
+ };
53653
+ };
53654
+ /** @description Changes operation failed */
53655
+ 404: {
53656
+ headers: {
53657
+ [name: string]: unknown;
53658
+ };
53659
+ content: {
53660
+ "application/json": components["schemas"]["ErrorPayload"];
53661
+ };
53662
+ };
53663
+ /** @description Changes operation failed */
53664
+ 409: {
53665
+ headers: {
53666
+ [name: string]: unknown;
53667
+ };
53668
+ content: {
53669
+ "application/json": components["schemas"]["ErrorPayload"];
53670
+ };
53671
+ };
53672
+ /** @description Changes operation failed */
53673
+ 413: {
53674
+ headers: {
53675
+ [name: string]: unknown;
53676
+ };
53677
+ content: {
53678
+ "application/json": components["schemas"]["ErrorPayload"];
53679
+ };
53680
+ };
53681
+ /** @description Changes operation failed */
53682
+ 422: {
53683
+ headers: {
53684
+ [name: string]: unknown;
53685
+ };
53686
+ content: {
53687
+ "application/json": components["schemas"]["ErrorPayload"];
53688
+ };
53689
+ };
53690
+ /** @description Changes operation failed */
53691
+ 500: {
53692
+ headers: {
53693
+ [name: string]: unknown;
53694
+ };
53695
+ content: {
53696
+ "application/json": components["schemas"]["ErrorPayload"];
53697
+ };
53698
+ };
53699
+ };
53700
+ };
53701
+ listSessionChangeBases: {
53702
+ parameters: {
53703
+ query?: {
53704
+ /** @description Substring ref filter */
53705
+ q?: string;
53706
+ /** @description Default 200, maximum 500 */
53707
+ limit?: number;
53708
+ /** @description Read one profile's rows by name */
53709
+ profile?: string;
53710
+ /** @description Read the owner-labeled all-profiles aggregate */
53711
+ all_profiles?: boolean;
53712
+ };
53713
+ header?: never;
53714
+ path: {
53715
+ /** @description Workspace id */
53716
+ workspace_id: string;
53717
+ /** @description Session id */
53718
+ session_id: string;
53719
+ };
53720
+ cookie?: never;
53721
+ };
53722
+ requestBody?: never;
53723
+ responses: {
53724
+ /** @description OK */
53725
+ 200: {
53726
+ headers: {
53727
+ [name: string]: unknown;
53728
+ };
53729
+ content: {
53730
+ "application/json": components["schemas"]["SessionChangeBasesResponse"];
53731
+ };
53732
+ };
53733
+ /** @description Changes operation failed */
53734
+ 400: {
53735
+ headers: {
53736
+ [name: string]: unknown;
53737
+ };
53738
+ content: {
53739
+ "application/json": components["schemas"]["ErrorPayload"];
53740
+ };
53741
+ };
53742
+ /** @description Changes operation failed */
53743
+ 403: {
53744
+ headers: {
53745
+ [name: string]: unknown;
53746
+ };
53747
+ content: {
53748
+ "application/json": components["schemas"]["ErrorPayload"];
53749
+ };
53750
+ };
53751
+ /** @description Changes operation failed */
53752
+ 404: {
53753
+ headers: {
53754
+ [name: string]: unknown;
53755
+ };
53756
+ content: {
53757
+ "application/json": components["schemas"]["ErrorPayload"];
53758
+ };
53759
+ };
53760
+ /** @description Changes operation failed */
53761
+ 409: {
53762
+ headers: {
53763
+ [name: string]: unknown;
53764
+ };
53765
+ content: {
53766
+ "application/json": components["schemas"]["ErrorPayload"];
53767
+ };
53768
+ };
53769
+ /** @description Changes operation failed */
53770
+ 413: {
53771
+ headers: {
53772
+ [name: string]: unknown;
53773
+ };
53774
+ content: {
53775
+ "application/json": components["schemas"]["ErrorPayload"];
53776
+ };
53777
+ };
53778
+ /** @description Changes operation failed */
53779
+ 422: {
53780
+ headers: {
53781
+ [name: string]: unknown;
53782
+ };
53783
+ content: {
53784
+ "application/json": components["schemas"]["ErrorPayload"];
53785
+ };
53786
+ };
53787
+ /** @description Changes operation failed */
53788
+ 500: {
53789
+ headers: {
53790
+ [name: string]: unknown;
53791
+ };
53792
+ content: {
53793
+ "application/json": components["schemas"]["ErrorPayload"];
53794
+ };
53795
+ };
53796
+ };
53797
+ };
53798
+ getSessionChangeContents: {
53799
+ parameters: {
53800
+ query: {
53801
+ /** @description Changes scope */
53802
+ scope?: "branch" | "uncommitted";
53803
+ /** @description Optional base ref */
53804
+ base?: string;
53805
+ /** @description Summary revision fence */
53806
+ revision: string;
53807
+ /** @description Root-relative path */
53808
+ path: string;
53809
+ /** @description Aligned old path for renames */
53810
+ old_path?: string;
53811
+ /** @description Reveal sensitive contents; forbidden to app tokens */
53812
+ reveal?: boolean;
53813
+ /** @description Read one profile's rows by name */
53814
+ profile?: string;
53815
+ /** @description Read the owner-labeled all-profiles aggregate */
53816
+ all_profiles?: boolean;
53817
+ };
53818
+ header?: never;
53819
+ path: {
53820
+ /** @description Workspace id */
53821
+ workspace_id: string;
53822
+ /** @description Session id */
53823
+ session_id: string;
53824
+ };
53825
+ cookie?: never;
53826
+ };
53827
+ requestBody?: never;
53828
+ responses: {
53829
+ /** @description OK */
53830
+ 200: {
53831
+ headers: {
53832
+ [name: string]: unknown;
53833
+ };
53834
+ content: {
53835
+ "application/json": components["schemas"]["SessionChangeContentsResponse"];
53836
+ };
53837
+ };
53838
+ /** @description Changes operation failed */
53839
+ 400: {
53840
+ headers: {
53841
+ [name: string]: unknown;
53842
+ };
53843
+ content: {
53844
+ "application/json": components["schemas"]["ErrorPayload"];
53845
+ };
53846
+ };
53847
+ /** @description Changes operation failed */
53848
+ 403: {
53849
+ headers: {
53850
+ [name: string]: unknown;
53851
+ };
53852
+ content: {
53853
+ "application/json": components["schemas"]["ErrorPayload"];
53854
+ };
53855
+ };
53856
+ /** @description Changes operation failed */
53857
+ 404: {
53858
+ headers: {
53859
+ [name: string]: unknown;
53860
+ };
53861
+ content: {
53862
+ "application/json": components["schemas"]["ErrorPayload"];
53863
+ };
53864
+ };
53865
+ /** @description Changes operation failed */
53866
+ 409: {
53867
+ headers: {
53868
+ [name: string]: unknown;
53869
+ };
53870
+ content: {
53871
+ "application/json": components["schemas"]["ErrorPayload"];
53872
+ };
53873
+ };
53874
+ /** @description Changes operation failed */
53875
+ 413: {
53876
+ headers: {
53877
+ [name: string]: unknown;
53878
+ };
53879
+ content: {
53880
+ "application/json": components["schemas"]["ErrorPayload"];
53881
+ };
53882
+ };
53883
+ /** @description Changes operation failed */
53884
+ 422: {
53885
+ headers: {
53886
+ [name: string]: unknown;
53887
+ };
53888
+ content: {
53889
+ "application/json": components["schemas"]["ErrorPayload"];
53890
+ };
53891
+ };
53892
+ /** @description Changes operation failed */
53893
+ 500: {
53894
+ headers: {
53895
+ [name: string]: unknown;
53896
+ };
53897
+ content: {
53898
+ "application/json": components["schemas"]["ErrorPayload"];
53899
+ };
53900
+ };
53901
+ };
53902
+ };
53903
+ getSessionChangePatches: {
53904
+ parameters: {
53905
+ query: {
53906
+ /** @description Changes scope */
53907
+ scope?: "branch" | "uncommitted";
53908
+ /** @description Optional base ref */
53909
+ base?: string;
53910
+ /** @description Summary revision fence */
53911
+ revision: string;
53912
+ /** @description Root-relative path */
53913
+ path: string[];
53914
+ /** @description Aligned old path for renames */
53915
+ old_path?: string[];
53916
+ /** @description Reveal sensitive contents; forbidden to app tokens */
53917
+ reveal?: boolean;
53918
+ /** @description Read one profile's rows by name */
53919
+ profile?: string;
53920
+ /** @description Read the owner-labeled all-profiles aggregate */
53921
+ all_profiles?: boolean;
53922
+ };
53923
+ header?: never;
53924
+ path: {
53925
+ /** @description Workspace id */
53926
+ workspace_id: string;
53927
+ /** @description Session id */
53928
+ session_id: string;
53929
+ };
53930
+ cookie?: never;
53931
+ };
53932
+ requestBody?: never;
53933
+ responses: {
53934
+ /** @description OK */
53935
+ 200: {
53936
+ headers: {
53937
+ [name: string]: unknown;
53938
+ };
53939
+ content: {
53940
+ "application/json": components["schemas"]["SessionChangePatchesResponse"];
53941
+ };
53942
+ };
53943
+ /** @description Changes operation failed */
53944
+ 400: {
53945
+ headers: {
53946
+ [name: string]: unknown;
53947
+ };
53948
+ content: {
53949
+ "application/json": components["schemas"]["ErrorPayload"];
53950
+ };
53951
+ };
53952
+ /** @description Changes operation failed */
53953
+ 403: {
53954
+ headers: {
53955
+ [name: string]: unknown;
53956
+ };
53957
+ content: {
53958
+ "application/json": components["schemas"]["ErrorPayload"];
53959
+ };
53960
+ };
53961
+ /** @description Changes operation failed */
53962
+ 404: {
53963
+ headers: {
53964
+ [name: string]: unknown;
53965
+ };
53966
+ content: {
53967
+ "application/json": components["schemas"]["ErrorPayload"];
53968
+ };
53969
+ };
53970
+ /** @description Changes operation failed */
53971
+ 409: {
53972
+ headers: {
53973
+ [name: string]: unknown;
53974
+ };
53975
+ content: {
53976
+ "application/json": components["schemas"]["ErrorPayload"];
53977
+ };
53978
+ };
53979
+ /** @description Changes operation failed */
53980
+ 413: {
53981
+ headers: {
53982
+ [name: string]: unknown;
53983
+ };
53984
+ content: {
53985
+ "application/json": components["schemas"]["ErrorPayload"];
53986
+ };
53987
+ };
53988
+ /** @description Changes operation failed */
53989
+ 422: {
53990
+ headers: {
53991
+ [name: string]: unknown;
53992
+ };
53993
+ content: {
53994
+ "application/json": components["schemas"]["ErrorPayload"];
53995
+ };
53996
+ };
53997
+ /** @description Changes operation failed */
53998
+ 500: {
53999
+ headers: {
54000
+ [name: string]: unknown;
54001
+ };
54002
+ content: {
54003
+ "application/json": components["schemas"]["ErrorPayload"];
54004
+ };
54005
+ };
54006
+ };
54007
+ };
52767
54008
  listSessionClarifications: {
52768
54009
  parameters: {
52769
54010
  query?: {
@@ -53435,6 +54676,348 @@ export interface operations {
53435
54676
  };
53436
54677
  };
53437
54678
  };
54679
+ readSessionFileContent: {
54680
+ parameters: {
54681
+ query: {
54682
+ /** @description Root-relative path */
54683
+ path: string;
54684
+ /** @description Reveal sensitive content; forbidden to app tokens */
54685
+ reveal?: boolean;
54686
+ /** @description Read one profile's rows by name */
54687
+ profile?: string;
54688
+ /** @description Read the owner-labeled all-profiles aggregate */
54689
+ all_profiles?: boolean;
54690
+ };
54691
+ header?: never;
54692
+ path: {
54693
+ /** @description Workspace id */
54694
+ workspace_id: string;
54695
+ /** @description Session id */
54696
+ session_id: string;
54697
+ };
54698
+ cookie?: never;
54699
+ };
54700
+ requestBody?: never;
54701
+ responses: {
54702
+ /** @description OK */
54703
+ 200: {
54704
+ headers: {
54705
+ [name: string]: unknown;
54706
+ };
54707
+ content: {
54708
+ "application/json": components["schemas"]["FileContentResponse"];
54709
+ };
54710
+ };
54711
+ /** @description File operation failed */
54712
+ 400: {
54713
+ headers: {
54714
+ [name: string]: unknown;
54715
+ };
54716
+ content: {
54717
+ "application/json": components["schemas"]["ErrorPayload"];
54718
+ };
54719
+ };
54720
+ /** @description File operation failed */
54721
+ 403: {
54722
+ headers: {
54723
+ [name: string]: unknown;
54724
+ };
54725
+ content: {
54726
+ "application/json": components["schemas"]["ErrorPayload"];
54727
+ };
54728
+ };
54729
+ /** @description File operation failed */
54730
+ 404: {
54731
+ headers: {
54732
+ [name: string]: unknown;
54733
+ };
54734
+ content: {
54735
+ "application/json": components["schemas"]["ErrorPayload"];
54736
+ };
54737
+ };
54738
+ /** @description File operation failed */
54739
+ 409: {
54740
+ headers: {
54741
+ [name: string]: unknown;
54742
+ };
54743
+ content: {
54744
+ "application/json": components["schemas"]["ErrorPayload"];
54745
+ };
54746
+ };
54747
+ /** @description File operation failed */
54748
+ 422: {
54749
+ headers: {
54750
+ [name: string]: unknown;
54751
+ };
54752
+ content: {
54753
+ "application/json": components["schemas"]["ErrorPayload"];
54754
+ };
54755
+ };
54756
+ /** @description File operation failed */
54757
+ 500: {
54758
+ headers: {
54759
+ [name: string]: unknown;
54760
+ };
54761
+ content: {
54762
+ "application/json": components["schemas"]["ErrorPayload"];
54763
+ };
54764
+ };
54765
+ };
54766
+ };
54767
+ listSessionFileEntries: {
54768
+ parameters: {
54769
+ query?: {
54770
+ /** @description Root-relative path */
54771
+ path?: string;
54772
+ /** @description Include ignored entries */
54773
+ show_ignored?: boolean;
54774
+ /** @description Read one profile's rows by name */
54775
+ profile?: string;
54776
+ /** @description Read the owner-labeled all-profiles aggregate */
54777
+ all_profiles?: boolean;
54778
+ };
54779
+ header?: never;
54780
+ path: {
54781
+ /** @description Workspace id */
54782
+ workspace_id: string;
54783
+ /** @description Session id */
54784
+ session_id: string;
54785
+ };
54786
+ cookie?: never;
54787
+ };
54788
+ requestBody?: never;
54789
+ responses: {
54790
+ /** @description OK */
54791
+ 200: {
54792
+ headers: {
54793
+ [name: string]: unknown;
54794
+ };
54795
+ content: {
54796
+ "application/json": components["schemas"]["FileEntriesResponse"];
54797
+ };
54798
+ };
54799
+ /** @description File operation failed */
54800
+ 400: {
54801
+ headers: {
54802
+ [name: string]: unknown;
54803
+ };
54804
+ content: {
54805
+ "application/json": components["schemas"]["ErrorPayload"];
54806
+ };
54807
+ };
54808
+ /** @description File operation failed */
54809
+ 403: {
54810
+ headers: {
54811
+ [name: string]: unknown;
54812
+ };
54813
+ content: {
54814
+ "application/json": components["schemas"]["ErrorPayload"];
54815
+ };
54816
+ };
54817
+ /** @description File operation failed */
54818
+ 404: {
54819
+ headers: {
54820
+ [name: string]: unknown;
54821
+ };
54822
+ content: {
54823
+ "application/json": components["schemas"]["ErrorPayload"];
54824
+ };
54825
+ };
54826
+ /** @description File operation failed */
54827
+ 409: {
54828
+ headers: {
54829
+ [name: string]: unknown;
54830
+ };
54831
+ content: {
54832
+ "application/json": components["schemas"]["ErrorPayload"];
54833
+ };
54834
+ };
54835
+ /** @description File operation failed */
54836
+ 422: {
54837
+ headers: {
54838
+ [name: string]: unknown;
54839
+ };
54840
+ content: {
54841
+ "application/json": components["schemas"]["ErrorPayload"];
54842
+ };
54843
+ };
54844
+ /** @description File operation failed */
54845
+ 500: {
54846
+ headers: {
54847
+ [name: string]: unknown;
54848
+ };
54849
+ content: {
54850
+ "application/json": components["schemas"]["ErrorPayload"];
54851
+ };
54852
+ };
54853
+ };
54854
+ };
54855
+ findSessionFiles: {
54856
+ parameters: {
54857
+ query: {
54858
+ /** @description Search query */
54859
+ q: string;
54860
+ /** @description Result limit; defaults and clamps to 50 */
54861
+ limit?: number;
54862
+ /** @description Read one profile's rows by name */
54863
+ profile?: string;
54864
+ /** @description Read the owner-labeled all-profiles aggregate */
54865
+ all_profiles?: boolean;
54866
+ };
54867
+ header?: never;
54868
+ path: {
54869
+ /** @description Workspace id */
54870
+ workspace_id: string;
54871
+ /** @description Session id */
54872
+ session_id: string;
54873
+ };
54874
+ cookie?: never;
54875
+ };
54876
+ requestBody?: never;
54877
+ responses: {
54878
+ /** @description OK */
54879
+ 200: {
54880
+ headers: {
54881
+ [name: string]: unknown;
54882
+ };
54883
+ content: {
54884
+ "application/json": components["schemas"]["FileFindResponse"];
54885
+ };
54886
+ };
54887
+ /** @description Search failed */
54888
+ 400: {
54889
+ headers: {
54890
+ [name: string]: unknown;
54891
+ };
54892
+ content: {
54893
+ "application/json": components["schemas"]["ErrorPayload"];
54894
+ };
54895
+ };
54896
+ /** @description Search failed */
54897
+ 403: {
54898
+ headers: {
54899
+ [name: string]: unknown;
54900
+ };
54901
+ content: {
54902
+ "application/json": components["schemas"]["ErrorPayload"];
54903
+ };
54904
+ };
54905
+ /** @description Search failed */
54906
+ 404: {
54907
+ headers: {
54908
+ [name: string]: unknown;
54909
+ };
54910
+ content: {
54911
+ "application/json": components["schemas"]["ErrorPayload"];
54912
+ };
54913
+ };
54914
+ /** @description Search failed */
54915
+ 409: {
54916
+ headers: {
54917
+ [name: string]: unknown;
54918
+ };
54919
+ content: {
54920
+ "application/json": components["schemas"]["ErrorPayload"];
54921
+ };
54922
+ };
54923
+ /** @description Search failed */
54924
+ 500: {
54925
+ headers: {
54926
+ [name: string]: unknown;
54927
+ };
54928
+ content: {
54929
+ "application/json": components["schemas"]["ErrorPayload"];
54930
+ };
54931
+ };
54932
+ };
54933
+ };
54934
+ searchSessionFileContents: {
54935
+ parameters: {
54936
+ query: {
54937
+ /** @description Search query */
54938
+ q: string;
54939
+ /** @description Use POSIX ERE */
54940
+ regex?: boolean;
54941
+ /** @description Match case */
54942
+ case_sensitive?: boolean;
54943
+ /** @description Match whole words */
54944
+ whole_word?: boolean;
54945
+ /** @description Root-relative globs; repeat at most ten times */
54946
+ include?: string[];
54947
+ /** @description Root-relative globs; repeat at most ten times */
54948
+ exclude?: string[];
54949
+ /** @description Read one profile's rows by name */
54950
+ profile?: string;
54951
+ /** @description Read the owner-labeled all-profiles aggregate */
54952
+ all_profiles?: boolean;
54953
+ };
54954
+ header?: never;
54955
+ path: {
54956
+ /** @description Workspace id */
54957
+ workspace_id: string;
54958
+ /** @description Session id */
54959
+ session_id: string;
54960
+ };
54961
+ cookie?: never;
54962
+ };
54963
+ requestBody?: never;
54964
+ responses: {
54965
+ /** @description OK */
54966
+ 200: {
54967
+ headers: {
54968
+ [name: string]: unknown;
54969
+ };
54970
+ content: {
54971
+ "application/json": components["schemas"]["FileSearchResponse"];
54972
+ };
54973
+ };
54974
+ /** @description Search failed */
54975
+ 400: {
54976
+ headers: {
54977
+ [name: string]: unknown;
54978
+ };
54979
+ content: {
54980
+ "application/json": components["schemas"]["ErrorPayload"];
54981
+ };
54982
+ };
54983
+ /** @description Search failed */
54984
+ 403: {
54985
+ headers: {
54986
+ [name: string]: unknown;
54987
+ };
54988
+ content: {
54989
+ "application/json": components["schemas"]["ErrorPayload"];
54990
+ };
54991
+ };
54992
+ /** @description Search failed */
54993
+ 404: {
54994
+ headers: {
54995
+ [name: string]: unknown;
54996
+ };
54997
+ content: {
54998
+ "application/json": components["schemas"]["ErrorPayload"];
54999
+ };
55000
+ };
55001
+ /** @description Search failed */
55002
+ 409: {
55003
+ headers: {
55004
+ [name: string]: unknown;
55005
+ };
55006
+ content: {
55007
+ "application/json": components["schemas"]["ErrorPayload"];
55008
+ };
55009
+ };
55010
+ /** @description Search failed */
55011
+ 500: {
55012
+ headers: {
55013
+ [name: string]: unknown;
55014
+ };
55015
+ content: {
55016
+ "application/json": components["schemas"]["ErrorPayload"];
55017
+ };
55018
+ };
55019
+ };
55020
+ };
53438
55021
  forkSession: {
53439
55022
  parameters: {
53440
55023
  query?: {
@@ -59367,10 +60950,12 @@ export interface operations {
59367
60950
  offset?: number;
59368
60951
  /** @description Page size in bytes; defaults to and is capped at 65536 */
59369
60952
  limit?: number;
60953
+ /** @description Act as this profile by name */
60954
+ profile?: string;
59370
60955
  };
59371
60956
  header?: never;
59372
60957
  path: {
59373
- /** @description Durable workspace id */
60958
+ /** @description Durable workspace id or @user */
59374
60959
  workspace_id: string;
59375
60960
  /** @description Opaque content-addressed artifact id */
59376
60961
  artifact_id: string;
@@ -59397,7 +60982,7 @@ export interface operations {
59397
60982
  "application/json": components["schemas"]["ToolErrorResponse"];
59398
60983
  };
59399
60984
  };
59400
- /** @description Artifact not found in the resolved workspace */
60985
+ /** @description Artifact not found in the resolved workspace or User scope and profile */
59401
60986
  404: {
59402
60987
  headers: {
59403
60988
  [name: string]: unknown;