@compozy/client 0.3.0-beta.35 → 0.3.0-beta.37

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.
@@ -3130,6 +3130,23 @@ export interface paths {
3130
3130
  patch?: never;
3131
3131
  trace?: never;
3132
3132
  };
3133
+ "/api/settings/update/check": {
3134
+ parameters: {
3135
+ query?: never;
3136
+ header?: never;
3137
+ path?: never;
3138
+ cookie?: never;
3139
+ };
3140
+ get?: never;
3141
+ put?: never;
3142
+ /** Refresh update discovery, limited to one upstream check per minute */
3143
+ post: operations["checkSettingsUpdate"];
3144
+ delete?: never;
3145
+ options?: never;
3146
+ head?: never;
3147
+ patch?: never;
3148
+ trace?: never;
3149
+ };
3133
3150
  "/api/settings/window-manager": {
3134
3151
  parameters: {
3135
3152
  query?: never;
@@ -5299,6 +5316,23 @@ export interface paths {
5299
5316
  patch?: never;
5300
5317
  trace?: never;
5301
5318
  };
5319
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/files": {
5320
+ parameters: {
5321
+ query?: never;
5322
+ header?: never;
5323
+ path?: never;
5324
+ cookie?: never;
5325
+ };
5326
+ /** Search files and folders under a session's working directory */
5327
+ get: operations["searchSessionFiles"];
5328
+ put?: never;
5329
+ post?: never;
5330
+ delete?: never;
5331
+ options?: never;
5332
+ head?: never;
5333
+ patch?: never;
5334
+ trace?: never;
5335
+ };
5302
5336
  "/api/workspaces/{workspace_id}/sessions/{session_id}/fork": {
5303
5337
  parameters: {
5304
5338
  query?: never;
@@ -6680,6 +6714,10 @@ export interface components {
6680
6714
  model?: string;
6681
6715
  provider: string;
6682
6716
  reasoning_effort?: string;
6717
+ session_env?: {
6718
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
6719
+ };
6720
+ session_env_status?: components["schemas"]["SettingsProviderCredentialStatusPayload"][];
6683
6721
  sources: components["schemas"]["AgentEffectiveRuntimeSources"];
6684
6722
  /** @enum {string} */
6685
6723
  speed?: "normal" | "fast";
@@ -6696,6 +6734,9 @@ export interface components {
6696
6734
  model: string;
6697
6735
  provider: string;
6698
6736
  reasoning_effort?: string;
6737
+ session_env?: {
6738
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
6739
+ };
6699
6740
  /** @enum {string} */
6700
6741
  speed?: "normal" | "fast";
6701
6742
  };
@@ -6765,6 +6806,9 @@ export interface components {
6765
6806
  prompt: string;
6766
6807
  provider: string;
6767
6808
  reasoning_effort?: string;
6809
+ session_env?: {
6810
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
6811
+ };
6768
6812
  shadows?: components["schemas"]["AgentDefinitionShadowPayload"][];
6769
6813
  skills?: components["schemas"]["CreateAgentSkillsConfig"] | null;
6770
6814
  /** @enum {string} */
@@ -7834,6 +7878,9 @@ export interface components {
7834
7878
  prompt: string;
7835
7879
  provider?: string;
7836
7880
  reasoning_effort?: string;
7881
+ session_env?: {
7882
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
7883
+ };
7837
7884
  skills?: components["schemas"]["CreateAgentSkillsConfig"] | null;
7838
7885
  /** @enum {string} */
7839
7886
  speed?: "normal" | "fast";
@@ -8108,6 +8155,9 @@ export interface components {
8108
8155
  prompt?: string;
8109
8156
  provider?: string;
8110
8157
  reasoning_effort?: string;
8158
+ session_env?: {
8159
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
8160
+ };
8111
8161
  skills?: components["schemas"]["CreateAgentSkillsConfig"] | null;
8112
8162
  /** @enum {string} */
8113
8163
  speed?: "normal" | "fast";
@@ -8166,12 +8216,14 @@ export interface components {
8166
8216
  };
8167
8217
  ErrorPayload: {
8168
8218
  code?: string;
8219
+ config_path?: string;
8169
8220
  current_turn_id?: string;
8170
8221
  details?: {
8171
8222
  [key: string]: string;
8172
8223
  };
8173
8224
  diagnostic?: components["schemas"]["DiagnosticItem"] | null;
8174
8225
  error: string;
8226
+ unknown_keys?: string[];
8175
8227
  };
8176
8228
  ExecutionPolicy: {
8177
8229
  retry_safe: boolean;
@@ -11689,6 +11741,7 @@ export interface components {
11689
11741
  name: string;
11690
11742
  /** @enum {string} */
11691
11743
  runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
11744
+ session_env_status?: components["schemas"]["SettingsProviderCredentialStatusPayload"][];
11692
11745
  };
11693
11746
  PutLoopAnnotationsRequest: {
11694
11747
  annotations: components["schemas"]["LoopAnnotationPayload"][];
@@ -12095,6 +12148,9 @@ export interface components {
12095
12148
  model: string;
12096
12149
  provider: string;
12097
12150
  reasoning_effort?: string;
12151
+ session_env?: {
12152
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
12153
+ };
12098
12154
  /** @enum {string} */
12099
12155
  speed?: "normal" | "fast";
12100
12156
  };
@@ -12878,12 +12934,14 @@ export interface components {
12878
12934
  SessionDeriveErrorPayload: {
12879
12935
  child_session_id?: string;
12880
12936
  code?: string;
12937
+ config_path?: string;
12881
12938
  current_turn_id?: string;
12882
12939
  details?: {
12883
12940
  [key: string]: string;
12884
12941
  };
12885
12942
  diagnostic?: components["schemas"]["DiagnosticItem"] | null;
12886
12943
  error: string;
12944
+ unknown_keys?: string[];
12887
12945
  };
12888
12946
  SessionDerivePreviewResponse: {
12889
12947
  cut?: components["schemas"]["SessionDeriveCutPayload"] | null;
@@ -12920,6 +12978,10 @@ export interface components {
12920
12978
  through_turn_id: string;
12921
12979
  truncated: boolean;
12922
12980
  };
12981
+ SessionEnvBindingPayload: {
12982
+ ref: string;
12983
+ required: boolean;
12984
+ };
12923
12985
  SessionEventPayload: {
12924
12986
  actor_id?: string;
12925
12987
  actor_kind?: string;
@@ -12992,6 +13054,16 @@ export interface components {
12992
13054
  reason_code?: string;
12993
13055
  summary?: string;
12994
13056
  };
13057
+ SessionFileEntryPayload: {
13058
+ /** @enum {string} */
13059
+ kind: "file" | "folder";
13060
+ name: string;
13061
+ path: string;
13062
+ };
13063
+ SessionFilesResponse: {
13064
+ entries: components["schemas"]["SessionFileEntryPayload"][];
13065
+ truncated: boolean;
13066
+ };
12995
13067
  SessionFolderPayload: {
12996
13068
  /** Format: date-time */
12997
13069
  created_at: string;
@@ -13069,6 +13141,15 @@ export interface components {
13069
13141
  inputs: components["schemas"]["SessionInputPayload"][];
13070
13142
  queue?: components["schemas"]["SessionQueueSummaryPayload"] | null;
13071
13143
  };
13144
+ SessionInputMentionPayload: {
13145
+ end: number;
13146
+ /** @enum {string} */
13147
+ kind: "file" | "folder" | "session";
13148
+ label: string;
13149
+ start: number;
13150
+ target: string;
13151
+ token: string;
13152
+ };
13072
13153
  SessionInputPayload: {
13073
13154
  attachments?: components["schemas"]["PromptAttachmentRef"][];
13074
13155
  delivery: string;
@@ -13076,6 +13157,7 @@ export interface components {
13076
13157
  enqueued_at: string;
13077
13158
  id: string;
13078
13159
  idempotency_key?: string;
13160
+ mentions?: components["schemas"]["SessionInputMentionPayload"][];
13079
13161
  message_id?: string;
13080
13162
  mode: string;
13081
13163
  origin?: components["schemas"]["PromptOriginMeta"] | null;
@@ -13258,6 +13340,7 @@ export interface components {
13258
13340
  failure?: string;
13259
13341
  /** Format: int64 */
13260
13342
  generation?: number;
13343
+ last_known?: components["schemas"]["RuntimeSelectionPayload"] | null;
13261
13344
  recovery?: components["schemas"]["SessionRuntimeRecoveryPayload"] | null;
13262
13345
  selected?: components["schemas"]["PromptRuntimeSelectionPayload"] | null;
13263
13346
  /** Format: int64 */
@@ -13655,7 +13738,9 @@ export interface components {
13655
13738
  };
13656
13739
  SettingsDefaultsPayload: {
13657
13740
  agent: string;
13741
+ model?: string;
13658
13742
  provider?: string;
13743
+ reasoning_effort?: string;
13659
13744
  };
13660
13745
  SettingsExtensionDevPayload: {
13661
13746
  watch_interval: string;
@@ -14226,6 +14311,7 @@ export interface components {
14226
14311
  name: string;
14227
14312
  /** @enum {string} */
14228
14313
  runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
14314
+ session_env_status?: components["schemas"]["SettingsProviderCredentialStatusPayload"][];
14229
14315
  settings: components["schemas"]["SettingsProviderSettingsPayload"];
14230
14316
  source_metadata: components["schemas"]["SettingsSourceMetadataPayload"];
14231
14317
  };
@@ -14289,6 +14375,7 @@ export interface components {
14289
14375
  auth_status_command?: string;
14290
14376
  base_url?: string;
14291
14377
  command?: string;
14378
+ command_inherited?: boolean;
14292
14379
  credential_slots?: components["schemas"]["SettingsProviderCredentialSlotPayload"][];
14293
14380
  display_name?: string;
14294
14381
  env_policy?: string;
@@ -14296,6 +14383,9 @@ export interface components {
14296
14383
  home_policy?: string;
14297
14384
  models?: components["schemas"]["SettingsProviderModelsPayload"] | null;
14298
14385
  runtime_provider?: string;
14386
+ session_env?: {
14387
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
14388
+ };
14299
14389
  /** @enum {string} */
14300
14390
  steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
14301
14391
  transport?: string;
@@ -14314,6 +14404,9 @@ export interface components {
14314
14404
  home_policy?: string;
14315
14405
  models?: components["schemas"]["SettingsProviderModelsPayload"] | null;
14316
14406
  runtime_provider?: string;
14407
+ session_env?: {
14408
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
14409
+ };
14317
14410
  /** @enum {string} */
14318
14411
  steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
14319
14412
  transport?: string;
@@ -14346,6 +14439,9 @@ export interface components {
14346
14439
  model: string;
14347
14440
  provider: string;
14348
14441
  reasoning_effort: string;
14442
+ session_env?: {
14443
+ [key: string]: components["schemas"]["SessionEnvBindingPayload"];
14444
+ };
14349
14445
  /** @enum {string|null} */
14350
14446
  speed?: "normal" | "fast" | null;
14351
14447
  };
@@ -14711,6 +14807,8 @@ export interface components {
14711
14807
  runtime: components["schemas"]["SettingsUpdateRuntimePayload"];
14712
14808
  };
14713
14809
  SettingsUpdateRuntimePayload: {
14810
+ /** Format: date-time */
14811
+ checked_at?: string | null;
14714
14812
  current_version: string;
14715
14813
  daemon_restarted: boolean;
14716
14814
  /** @enum {string} */
@@ -15105,6 +15203,7 @@ export interface components {
15105
15203
  tasks: components["schemas"]["TaskHealthPayload"];
15106
15204
  };
15107
15205
  SteerPromptRequest: {
15206
+ attachments?: components["schemas"]["PromptAttachmentRef"][];
15108
15207
  expected_turn_id?: string;
15109
15208
  idempotency_key: string;
15110
15209
  message_id: string;
@@ -15919,6 +16018,7 @@ export interface components {
15919
16018
  };
15920
16019
  TaskQueryErrorPayload: {
15921
16020
  code?: string;
16021
+ config_path?: string;
15922
16022
  current_turn_id?: string;
15923
16023
  details?: {
15924
16024
  [key: string]: string;
@@ -15926,6 +16026,7 @@ export interface components {
15926
16026
  diagnostic?: components["schemas"]["DiagnosticItem"] | null;
15927
16027
  error: string;
15928
16028
  field: string;
16029
+ unknown_keys?: string[];
15929
16030
  };
15930
16031
  TaskQueueDepthPayload: {
15931
16032
  count: number;
@@ -18655,12 +18756,21 @@ export interface components {
18655
18756
  WorktreeBindingsPayload: {
18656
18757
  agent_activity: string;
18657
18758
  };
18759
+ WorktreeBranchOutcomePayload: {
18760
+ deleted: boolean;
18761
+ detail?: string;
18762
+ name: string;
18763
+ reason?: string;
18764
+ };
18658
18765
  WorktreeCatalogEventPayload: {
18659
18766
  error?: string;
18660
18767
  kind: string;
18661
18768
  workspace_id: string;
18662
18769
  worktree_id: string;
18663
18770
  };
18771
+ WorktreeCleanupResponse: {
18772
+ branch?: components["schemas"]["WorktreeBranchOutcomePayload"] | null;
18773
+ };
18664
18774
  WorktreeExitActionPlan: {
18665
18775
  action: string;
18666
18776
  blocked_reason?: string;
@@ -33780,6 +33890,53 @@ export interface operations {
33780
33890
  };
33781
33891
  };
33782
33892
  };
33893
+ checkSettingsUpdate: {
33894
+ parameters: {
33895
+ query?: never;
33896
+ header?: never;
33897
+ path?: never;
33898
+ cookie?: never;
33899
+ };
33900
+ requestBody?: never;
33901
+ responses: {
33902
+ /** @description Current status with last successful check time */
33903
+ 200: {
33904
+ headers: {
33905
+ [name: string]: unknown;
33906
+ };
33907
+ content: {
33908
+ "application/json": components["schemas"]["SettingsUpdateResponse"];
33909
+ };
33910
+ };
33911
+ /** @description Forbidden */
33912
+ 403: {
33913
+ headers: {
33914
+ [name: string]: unknown;
33915
+ };
33916
+ content: {
33917
+ "application/json": components["schemas"]["ErrorPayload"];
33918
+ };
33919
+ };
33920
+ /** @description Internal server error */
33921
+ 500: {
33922
+ headers: {
33923
+ [name: string]: unknown;
33924
+ };
33925
+ content: {
33926
+ "application/json": components["schemas"]["ErrorPayload"];
33927
+ };
33928
+ };
33929
+ /** @description Update surface unavailable */
33930
+ 503: {
33931
+ headers: {
33932
+ [name: string]: unknown;
33933
+ };
33934
+ content: {
33935
+ "application/json": components["schemas"]["ErrorPayload"];
33936
+ };
33937
+ };
33938
+ };
33939
+ };
33783
33940
  getSettingsWindowManager: {
33784
33941
  parameters: {
33785
33942
  query?: {
@@ -39529,6 +39686,15 @@ export interface operations {
39529
39686
  "application/json": components["schemas"]["ErrorPayload"];
39530
39687
  };
39531
39688
  };
39689
+ /** @description Unknown workspace config keys (workspace_config_invalid) */
39690
+ 422: {
39691
+ headers: {
39692
+ [name: string]: unknown;
39693
+ };
39694
+ content: {
39695
+ "application/json": components["schemas"]["ErrorPayload"];
39696
+ };
39697
+ };
39532
39698
  /** @description Internal server error */
39533
39699
  500: {
39534
39700
  headers: {
@@ -39581,6 +39747,15 @@ export interface operations {
39581
39747
  "application/json": components["schemas"]["ErrorPayload"];
39582
39748
  };
39583
39749
  };
39750
+ /** @description Unknown workspace config keys (workspace_config_invalid) */
39751
+ 422: {
39752
+ headers: {
39753
+ [name: string]: unknown;
39754
+ };
39755
+ content: {
39756
+ "application/json": components["schemas"]["ErrorPayload"];
39757
+ };
39758
+ };
39584
39759
  /** @description Internal server error */
39585
39760
  500: {
39586
39761
  headers: {
@@ -39622,6 +39797,15 @@ export interface operations {
39622
39797
  "application/json": components["schemas"]["ErrorPayload"];
39623
39798
  };
39624
39799
  };
39800
+ /** @description Unknown workspace config keys (workspace_config_invalid) */
39801
+ 422: {
39802
+ headers: {
39803
+ [name: string]: unknown;
39804
+ };
39805
+ content: {
39806
+ "application/json": components["schemas"]["ErrorPayload"];
39807
+ };
39808
+ };
39625
39809
  /** @description Internal server error */
39626
39810
  500: {
39627
39811
  headers: {
@@ -44885,6 +45069,76 @@ export interface operations {
44885
45069
  };
44886
45070
  };
44887
45071
  };
45072
+ searchSessionFiles: {
45073
+ parameters: {
45074
+ query?: {
45075
+ /** @description Search text; empty returns the shallowest entries */
45076
+ q?: string;
45077
+ /** @description Maximum entries returned */
45078
+ limit?: number;
45079
+ /** @description Read one profile's rows by name */
45080
+ profile?: string;
45081
+ /** @description Read the owner-labeled all-profiles aggregate */
45082
+ all_profiles?: boolean;
45083
+ };
45084
+ header?: never;
45085
+ path: {
45086
+ /** @description Workspace id */
45087
+ workspace_id: string;
45088
+ /** @description Session id */
45089
+ session_id: string;
45090
+ };
45091
+ cookie?: never;
45092
+ };
45093
+ requestBody?: never;
45094
+ responses: {
45095
+ /** @description OK */
45096
+ 200: {
45097
+ headers: {
45098
+ [name: string]: unknown;
45099
+ };
45100
+ content: {
45101
+ "application/json": components["schemas"]["SessionFilesResponse"];
45102
+ };
45103
+ };
45104
+ /** @description Invalid limit */
45105
+ 400: {
45106
+ headers: {
45107
+ [name: string]: unknown;
45108
+ };
45109
+ content: {
45110
+ "application/json": components["schemas"]["ErrorPayload"];
45111
+ };
45112
+ };
45113
+ /** @description Session not found */
45114
+ 404: {
45115
+ headers: {
45116
+ [name: string]: unknown;
45117
+ };
45118
+ content: {
45119
+ "application/json": components["schemas"]["ErrorPayload"];
45120
+ };
45121
+ };
45122
+ /** @description Session working directory no longer exists */
45123
+ 409: {
45124
+ headers: {
45125
+ [name: string]: unknown;
45126
+ };
45127
+ content: {
45128
+ "application/json": components["schemas"]["ErrorPayload"];
45129
+ };
45130
+ };
45131
+ /** @description Internal server error */
45132
+ 500: {
45133
+ headers: {
45134
+ [name: string]: unknown;
45135
+ };
45136
+ content: {
45137
+ "application/json": components["schemas"]["ErrorPayload"];
45138
+ };
45139
+ };
45140
+ };
45141
+ };
44888
45142
  forkSession: {
44889
45143
  parameters: {
44890
45144
  query?: never;
@@ -50569,8 +50823,10 @@ export interface operations {
50569
50823
  removeWorktree: {
50570
50824
  parameters: {
50571
50825
  query?: {
50572
- /** @description Confirm destructive removal */
50826
+ /** @description Confirm destructive removal; with delete_branch, also delete an unmerged branch */
50573
50827
  force?: boolean;
50828
+ /** @description Also delete the recorded local branch after cleanup. The root checkout HEAD and default branches are kept; an unmerged branch is kept unless force is set. */
50829
+ delete_branch?: boolean;
50574
50830
  /** @description Act as this profile by name. If omitted, operator requests infer the target record owner; authenticated agents remain scoped to their session profile. */
50575
50831
  profile?: string;
50576
50832
  };
@@ -50585,6 +50841,15 @@ export interface operations {
50585
50841
  };
50586
50842
  requestBody?: never;
50587
50843
  responses: {
50844
+ /** @description Cleaned up; reports the requested local branch deletion */
50845
+ 200: {
50846
+ headers: {
50847
+ [name: string]: unknown;
50848
+ };
50849
+ content: {
50850
+ "application/json": components["schemas"]["WorktreeCleanupResponse"];
50851
+ };
50852
+ };
50588
50853
  /** @description No Content */
50589
50854
  204: {
50590
50855
  headers: {
@@ -50737,6 +51002,10 @@ export interface operations {
50737
51002
  dismissWorktree: {
50738
51003
  parameters: {
50739
51004
  query?: {
51005
+ /** @description Also delete the recorded local branch after cleanup. The root checkout HEAD and default branches are kept; an unmerged branch is kept unless force is set. */
51006
+ delete_branch?: boolean;
51007
+ /** @description With delete_branch, also delete an unmerged branch */
51008
+ force?: boolean;
50740
51009
  /** @description Act as this profile by name. If omitted, operator requests infer the target record owner; authenticated agents remain scoped to their session profile. */
50741
51010
  profile?: string;
50742
51011
  };
@@ -50751,6 +51020,15 @@ export interface operations {
50751
51020
  };
50752
51021
  requestBody?: never;
50753
51022
  responses: {
51023
+ /** @description Cleaned up; reports the requested local branch deletion */
51024
+ 200: {
51025
+ headers: {
51026
+ [name: string]: unknown;
51027
+ };
51028
+ content: {
51029
+ "application/json": components["schemas"]["WorktreeCleanupResponse"];
51030
+ };
51031
+ };
50754
51032
  /** @description No Content */
50755
51033
  204: {
50756
51034
  headers: {