@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.
@@ -123,6 +123,10 @@ export type AgentEffectiveRuntimePayload = {
123
123
  model?: string;
124
124
  provider: string;
125
125
  reasoning_effort?: string;
126
+ session_env?: {
127
+ [key: string]: SessionEnvBindingPayload;
128
+ };
129
+ session_env_status?: Array<SettingsProviderCredentialStatusPayload>;
126
130
  sources: AgentEffectiveRuntimeSources;
127
131
  speed?: "normal" | "fast";
128
132
  };
@@ -138,6 +142,9 @@ export type AgentFallbackRoutePayload = {
138
142
  model: string;
139
143
  provider: string;
140
144
  reasoning_effort?: string;
145
+ session_env?: {
146
+ [key: string]: SessionEnvBindingPayload;
147
+ };
141
148
  speed?: "normal" | "fast";
142
149
  };
143
150
  export type AgentIdentityPayload = {
@@ -204,6 +211,9 @@ export type AgentPayload = {
204
211
  prompt: string;
205
212
  provider: string;
206
213
  reasoning_effort?: string;
214
+ session_env?: {
215
+ [key: string]: SessionEnvBindingPayload;
216
+ };
207
217
  shadows?: Array<AgentDefinitionShadowPayload>;
208
218
  skills?: CreateAgentSkillsConfig | null;
209
219
  speed?: "normal" | "fast";
@@ -1083,6 +1093,9 @@ export type CreateAgentPayload = {
1083
1093
  prompt: string;
1084
1094
  provider?: string;
1085
1095
  reasoning_effort?: string;
1096
+ session_env?: {
1097
+ [key: string]: SessionEnvBindingPayload;
1098
+ };
1086
1099
  skills?: CreateAgentSkillsConfig | null;
1087
1100
  speed?: "normal" | "fast";
1088
1101
  tools?: Array<string>;
@@ -1336,6 +1349,9 @@ export type DuplicateAgentOverrides = {
1336
1349
  prompt?: string;
1337
1350
  provider?: string;
1338
1351
  reasoning_effort?: string;
1352
+ session_env?: {
1353
+ [key: string]: SessionEnvBindingPayload;
1354
+ };
1339
1355
  skills?: CreateAgentSkillsConfig | null;
1340
1356
  speed?: "normal" | "fast";
1341
1357
  tools?: Array<string>;
@@ -1388,12 +1404,14 @@ export type Entry = {
1388
1404
  };
1389
1405
  export type ErrorPayload = {
1390
1406
  code?: string;
1407
+ config_path?: string;
1391
1408
  current_turn_id?: string;
1392
1409
  details?: {
1393
1410
  [key: string]: string;
1394
1411
  };
1395
1412
  diagnostic?: DiagnosticItem | null;
1396
1413
  error: string;
1414
+ unknown_keys?: Array<string>;
1397
1415
  };
1398
1416
  export type ExecutionPolicy = {
1399
1417
  retry_safe: boolean;
@@ -4134,6 +4152,7 @@ export type ProviderSummaryPayload = {
4134
4152
  display_name?: string;
4135
4153
  name: string;
4136
4154
  runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
4155
+ session_env_status?: Array<SettingsProviderCredentialStatusPayload>;
4137
4156
  };
4138
4157
  export type PutLoopAnnotationsRequest = {
4139
4158
  annotations: Array<LoopAnnotationPayload>;
@@ -4413,6 +4432,9 @@ export type RoleFallbackStatus = {
4413
4432
  model: string;
4414
4433
  provider: string;
4415
4434
  reasoning_effort?: string;
4435
+ session_env?: {
4436
+ [key: string]: SessionEnvBindingPayload;
4437
+ };
4416
4438
  speed?: "normal" | "fast";
4417
4439
  };
4418
4440
  export type RoleStatus = {
@@ -5055,12 +5077,14 @@ export type SessionDeriveCutPayload = {
5055
5077
  export type SessionDeriveErrorPayload = {
5056
5078
  child_session_id?: string;
5057
5079
  code?: string;
5080
+ config_path?: string;
5058
5081
  current_turn_id?: string;
5059
5082
  details?: {
5060
5083
  [key: string]: string;
5061
5084
  };
5062
5085
  diagnostic?: DiagnosticItem | null;
5063
5086
  error: string;
5087
+ unknown_keys?: Array<string>;
5064
5088
  };
5065
5089
  export type SessionDerivePreviewResponse = {
5066
5090
  cut?: SessionDeriveCutPayload | null;
@@ -5097,6 +5121,10 @@ export type SessionDerivedPayload = {
5097
5121
  through_turn_id: string;
5098
5122
  truncated: boolean;
5099
5123
  };
5124
+ export type SessionEnvBindingPayload = {
5125
+ ref: string;
5126
+ required: boolean;
5127
+ };
5100
5128
  export type SessionEventPayload = {
5101
5129
  actor_id?: string;
5102
5130
  actor_kind?: string;
@@ -5152,6 +5180,15 @@ export type SessionFailurePayload = {
5152
5180
  reason_code?: string;
5153
5181
  summary?: string;
5154
5182
  };
5183
+ export type SessionFileEntryPayload = {
5184
+ kind: "file" | "folder";
5185
+ name: string;
5186
+ path: string;
5187
+ };
5188
+ export type SessionFilesResponse = {
5189
+ entries: Array<SessionFileEntryPayload>;
5190
+ truncated: boolean;
5191
+ };
5155
5192
  export type SessionFolderPayload = {
5156
5193
  created_at: string;
5157
5194
  id: string;
@@ -5211,12 +5248,21 @@ export type SessionInputListResponse = {
5211
5248
  inputs: Array<SessionInputPayload>;
5212
5249
  queue?: SessionQueueSummaryPayload | null;
5213
5250
  };
5251
+ export type SessionInputMentionPayload = {
5252
+ end: number;
5253
+ kind: "file" | "folder" | "session";
5254
+ label: string;
5255
+ start: number;
5256
+ target: string;
5257
+ token: string;
5258
+ };
5214
5259
  export type SessionInputPayload = {
5215
5260
  attachments?: Array<PromptAttachmentRef>;
5216
5261
  delivery: string;
5217
5262
  enqueued_at: string;
5218
5263
  id: string;
5219
5264
  idempotency_key?: string;
5265
+ mentions?: Array<SessionInputMentionPayload>;
5220
5266
  message_id?: string;
5221
5267
  mode: string;
5222
5268
  origin?: PromptOriginMeta | null;
@@ -5372,6 +5418,7 @@ export type SessionRuntimePayload = {
5372
5418
  effective?: RuntimeSelectionPayload | null;
5373
5419
  failure?: string;
5374
5420
  generation?: number;
5421
+ last_known?: RuntimeSelectionPayload | null;
5375
5422
  recovery?: SessionRuntimeRecoveryPayload | null;
5376
5423
  selected?: PromptRuntimeSelectionPayload | null;
5377
5424
  selection_revision: number;
@@ -5638,7 +5685,9 @@ export type SettingsDaemonRuntimePayload = {
5638
5685
  };
5639
5686
  export type SettingsDefaultsPayload = {
5640
5687
  agent: string;
5688
+ model?: string;
5641
5689
  provider?: string;
5690
+ reasoning_effort?: string;
5642
5691
  };
5643
5692
  export type SettingsExtensionDevPayload = {
5644
5693
  watch_interval: string;
@@ -6018,6 +6067,7 @@ export type SettingsProviderItemPayload = {
6018
6067
  fallback?: SettingsProviderFallbackPayload | null;
6019
6068
  name: string;
6020
6069
  runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
6070
+ session_env_status?: Array<SettingsProviderCredentialStatusPayload>;
6021
6071
  settings: SettingsProviderSettingsPayload;
6022
6072
  source_metadata: SettingsSourceMetadataPayload;
6023
6073
  };
@@ -6072,6 +6122,7 @@ export type SettingsProviderSettingsPayload = {
6072
6122
  auth_status_command?: string;
6073
6123
  base_url?: string;
6074
6124
  command?: string;
6125
+ command_inherited?: boolean;
6075
6126
  credential_slots?: Array<SettingsProviderCredentialSlotPayload>;
6076
6127
  display_name?: string;
6077
6128
  env_policy?: string;
@@ -6079,6 +6130,9 @@ export type SettingsProviderSettingsPayload = {
6079
6130
  home_policy?: string;
6080
6131
  models?: SettingsProviderModelsPayload | null;
6081
6132
  runtime_provider?: string;
6133
+ session_env?: {
6134
+ [key: string]: SessionEnvBindingPayload;
6135
+ };
6082
6136
  steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
6083
6137
  transport?: string;
6084
6138
  };
@@ -6096,6 +6150,9 @@ export type SettingsProviderWritePayload = {
6096
6150
  home_policy?: string;
6097
6151
  models?: SettingsProviderModelsPayload | null;
6098
6152
  runtime_provider?: string;
6153
+ session_env?: {
6154
+ [key: string]: SessionEnvBindingPayload;
6155
+ };
6099
6156
  steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
6100
6157
  transport?: string;
6101
6158
  };
@@ -6124,6 +6181,9 @@ export type SettingsRoleFallbackPayload = {
6124
6181
  model: string;
6125
6182
  provider: string;
6126
6183
  reasoning_effort: string;
6184
+ session_env?: {
6185
+ [key: string]: SessionEnvBindingPayload;
6186
+ };
6127
6187
  speed?: "normal" | "fast";
6128
6188
  };
6129
6189
  export type SettingsRolesConfigPayload = {
@@ -6332,6 +6392,7 @@ export type SettingsUpdateResponse = {
6332
6392
  runtime: SettingsUpdateRuntimePayload;
6333
6393
  };
6334
6394
  export type SettingsUpdateRuntimePayload = {
6395
+ checked_at?: string | null;
6335
6396
  current_version: string;
6336
6397
  daemon_restarted: boolean;
6337
6398
  install_method: "direct-binary" | "homebrew" | "npm" | "apt" | "dnf" | "rpm" | "scoop" | "go-install" | "desktop-app" | "unknown";
@@ -6642,6 +6703,7 @@ export type StatusPayload = {
6642
6703
  tasks: TaskHealthPayload;
6643
6704
  };
6644
6705
  export type SteerPromptRequest = {
6706
+ attachments?: Array<PromptAttachmentRef>;
6645
6707
  expected_turn_id?: string;
6646
6708
  idempotency_key: string;
6647
6709
  message_id: string;
@@ -7257,6 +7319,7 @@ export type TaskPayload = {
7257
7319
  };
7258
7320
  export type TaskQueryErrorPayload = {
7259
7321
  code?: string;
7322
+ config_path?: string;
7260
7323
  current_turn_id?: string;
7261
7324
  details?: {
7262
7325
  [key: string]: string;
@@ -7264,6 +7327,7 @@ export type TaskQueryErrorPayload = {
7264
7327
  diagnostic?: DiagnosticItem | null;
7265
7328
  error: string;
7266
7329
  field: string;
7330
+ unknown_keys?: Array<string>;
7267
7331
  };
7268
7332
  export type TaskQueueDepthPayload = {
7269
7333
  count: number;
@@ -8583,6 +8647,15 @@ export type WorkspacesResponse = {
8583
8647
  export type WorktreeBindingsPayload = {
8584
8648
  agent_activity: string;
8585
8649
  };
8650
+ export type WorktreeBranchOutcomePayload = {
8651
+ deleted: boolean;
8652
+ detail?: string;
8653
+ name: string;
8654
+ reason?: string;
8655
+ };
8656
+ export type WorktreeCleanupResponse = {
8657
+ branch?: WorktreeBranchOutcomePayload | null;
8658
+ };
8586
8659
  export type WorktreeExitActionPlan = {
8587
8660
  action: string;
8588
8661
  blocked_reason?: string;
@@ -18799,6 +18872,34 @@ export type CancelSettingsUpdateResponses = {
18799
18872
  200: SettingsUpdateCancelResponse;
18800
18873
  };
18801
18874
  export type CancelSettingsUpdateResponse = CancelSettingsUpdateResponses[keyof CancelSettingsUpdateResponses];
18875
+ export type CheckSettingsUpdateData = {
18876
+ body?: never;
18877
+ path?: never;
18878
+ query?: never;
18879
+ url: "/api/settings/update/check";
18880
+ };
18881
+ export type CheckSettingsUpdateErrors = {
18882
+ /**
18883
+ * Forbidden
18884
+ */
18885
+ 403: ErrorPayload;
18886
+ /**
18887
+ * Internal server error
18888
+ */
18889
+ 500: ErrorPayload;
18890
+ /**
18891
+ * Update surface unavailable
18892
+ */
18893
+ 503: ErrorPayload;
18894
+ };
18895
+ export type CheckSettingsUpdateError = CheckSettingsUpdateErrors[keyof CheckSettingsUpdateErrors];
18896
+ export type CheckSettingsUpdateResponses = {
18897
+ /**
18898
+ * Current status with last successful check time
18899
+ */
18900
+ 200: SettingsUpdateResponse;
18901
+ };
18902
+ export type CheckSettingsUpdateResponse = CheckSettingsUpdateResponses[keyof CheckSettingsUpdateResponses];
18802
18903
  export type GetSettingsWindowManagerData = {
18803
18904
  body?: never;
18804
18905
  path?: never;
@@ -22663,6 +22764,10 @@ export type CreateWorkspaceErrors = {
22663
22764
  * Workspace conflict
22664
22765
  */
22665
22766
  409: ErrorPayload;
22767
+ /**
22768
+ * Unknown workspace config keys (workspace_config_invalid)
22769
+ */
22770
+ 422: ErrorPayload;
22666
22771
  /**
22667
22772
  * Internal server error
22668
22773
  */
@@ -22694,6 +22799,10 @@ export type ResolveWorkspaceErrors = {
22694
22799
  * Workspace not found
22695
22800
  */
22696
22801
  404: ErrorPayload;
22802
+ /**
22803
+ * Unknown workspace config keys (workspace_config_invalid)
22804
+ */
22805
+ 422: ErrorPayload;
22697
22806
  /**
22698
22807
  * Internal server error
22699
22808
  */
@@ -22752,6 +22861,10 @@ export type GetWorkspaceErrors = {
22752
22861
  * Workspace not found
22753
22862
  */
22754
22863
  404: ErrorPayload;
22864
+ /**
22865
+ * Unknown workspace config keys (workspace_config_invalid)
22866
+ */
22867
+ 422: ErrorPayload;
22755
22868
  /**
22756
22869
  * Internal server error
22757
22870
  */
@@ -26405,6 +26518,64 @@ export type ListSessionEventsResponses = {
26405
26518
  200: SessionEventsResponse;
26406
26519
  };
26407
26520
  export type ListSessionEventsResponse = ListSessionEventsResponses[keyof ListSessionEventsResponses];
26521
+ export type SearchSessionFilesData = {
26522
+ body?: never;
26523
+ path: {
26524
+ /**
26525
+ * Workspace id
26526
+ */
26527
+ workspace_id: string;
26528
+ /**
26529
+ * Session id
26530
+ */
26531
+ session_id: string;
26532
+ };
26533
+ query?: {
26534
+ /**
26535
+ * Search text; empty returns the shallowest entries
26536
+ */
26537
+ q?: string;
26538
+ /**
26539
+ * Maximum entries returned
26540
+ */
26541
+ limit?: number;
26542
+ /**
26543
+ * Read one profile's rows by name
26544
+ */
26545
+ profile?: string;
26546
+ /**
26547
+ * Read the owner-labeled all-profiles aggregate
26548
+ */
26549
+ all_profiles?: boolean;
26550
+ };
26551
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files";
26552
+ };
26553
+ export type SearchSessionFilesErrors = {
26554
+ /**
26555
+ * Invalid limit
26556
+ */
26557
+ 400: ErrorPayload;
26558
+ /**
26559
+ * Session not found
26560
+ */
26561
+ 404: ErrorPayload;
26562
+ /**
26563
+ * Session working directory no longer exists
26564
+ */
26565
+ 409: ErrorPayload;
26566
+ /**
26567
+ * Internal server error
26568
+ */
26569
+ 500: ErrorPayload;
26570
+ };
26571
+ export type SearchSessionFilesError = SearchSessionFilesErrors[keyof SearchSessionFilesErrors];
26572
+ export type SearchSessionFilesResponses = {
26573
+ /**
26574
+ * OK
26575
+ */
26576
+ 200: SessionFilesResponse;
26577
+ };
26578
+ export type SearchSessionFilesResponse = SearchSessionFilesResponses[keyof SearchSessionFilesResponses];
26408
26579
  export type ForkSessionData = {
26409
26580
  /**
26410
26581
  * JSON request body
@@ -29938,9 +30109,13 @@ export type RemoveWorktreeData = {
29938
30109
  };
29939
30110
  query?: {
29940
30111
  /**
29941
- * Confirm destructive removal
30112
+ * Confirm destructive removal; with delete_branch, also delete an unmerged branch
29942
30113
  */
29943
30114
  force?: boolean;
30115
+ /**
30116
+ * 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.
30117
+ */
30118
+ delete_branch?: boolean;
29944
30119
  /**
29945
30120
  * Act as this profile by name. If omitted, operator requests infer the target record owner; authenticated agents remain scoped to their session profile.
29946
30121
  */
@@ -29976,6 +30151,10 @@ export type RemoveWorktreeErrors = {
29976
30151
  };
29977
30152
  export type RemoveWorktreeError = RemoveWorktreeErrors[keyof RemoveWorktreeErrors];
29978
30153
  export type RemoveWorktreeResponses = {
30154
+ /**
30155
+ * Cleaned up; reports the requested local branch deletion
30156
+ */
30157
+ 200: WorktreeCleanupResponse;
29979
30158
  /**
29980
30159
  * No Content
29981
30160
  */
@@ -30085,6 +30264,14 @@ export type DismissWorktreeData = {
30085
30264
  worktree_id: string;
30086
30265
  };
30087
30266
  query?: {
30267
+ /**
30268
+ * 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.
30269
+ */
30270
+ delete_branch?: boolean;
30271
+ /**
30272
+ * With delete_branch, also delete an unmerged branch
30273
+ */
30274
+ force?: boolean;
30088
30275
  /**
30089
30276
  * Act as this profile by name. If omitted, operator requests infer the target record owner; authenticated agents remain scoped to their session profile.
30090
30277
  */
@@ -30124,6 +30311,10 @@ export type DismissWorktreeErrors = {
30124
30311
  };
30125
30312
  export type DismissWorktreeError = DismissWorktreeErrors[keyof DismissWorktreeErrors];
30126
30313
  export type DismissWorktreeResponses = {
30314
+ /**
30315
+ * Cleaned up; reports the requested local branch deletion
30316
+ */
30317
+ 200: WorktreeCleanupResponse;
30127
30318
  /**
30128
30319
  * No Content
30129
30320
  */