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

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>;
@@ -4134,6 +4150,7 @@ export type ProviderSummaryPayload = {
4134
4150
  display_name?: string;
4135
4151
  name: string;
4136
4152
  runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
4153
+ session_env_status?: Array<SettingsProviderCredentialStatusPayload>;
4137
4154
  };
4138
4155
  export type PutLoopAnnotationsRequest = {
4139
4156
  annotations: Array<LoopAnnotationPayload>;
@@ -4413,6 +4430,9 @@ export type RoleFallbackStatus = {
4413
4430
  model: string;
4414
4431
  provider: string;
4415
4432
  reasoning_effort?: string;
4433
+ session_env?: {
4434
+ [key: string]: SessionEnvBindingPayload;
4435
+ };
4416
4436
  speed?: "normal" | "fast";
4417
4437
  };
4418
4438
  export type RoleStatus = {
@@ -5097,6 +5117,10 @@ export type SessionDerivedPayload = {
5097
5117
  through_turn_id: string;
5098
5118
  truncated: boolean;
5099
5119
  };
5120
+ export type SessionEnvBindingPayload = {
5121
+ ref: string;
5122
+ required: boolean;
5123
+ };
5100
5124
  export type SessionEventPayload = {
5101
5125
  actor_id?: string;
5102
5126
  actor_kind?: string;
@@ -5152,6 +5176,15 @@ export type SessionFailurePayload = {
5152
5176
  reason_code?: string;
5153
5177
  summary?: string;
5154
5178
  };
5179
+ export type SessionFileEntryPayload = {
5180
+ kind: "file" | "folder";
5181
+ name: string;
5182
+ path: string;
5183
+ };
5184
+ export type SessionFilesResponse = {
5185
+ entries: Array<SessionFileEntryPayload>;
5186
+ truncated: boolean;
5187
+ };
5155
5188
  export type SessionFolderPayload = {
5156
5189
  created_at: string;
5157
5190
  id: string;
@@ -5211,12 +5244,21 @@ export type SessionInputListResponse = {
5211
5244
  inputs: Array<SessionInputPayload>;
5212
5245
  queue?: SessionQueueSummaryPayload | null;
5213
5246
  };
5247
+ export type SessionInputMentionPayload = {
5248
+ end: number;
5249
+ kind: "file" | "folder" | "session";
5250
+ label: string;
5251
+ start: number;
5252
+ target: string;
5253
+ token: string;
5254
+ };
5214
5255
  export type SessionInputPayload = {
5215
5256
  attachments?: Array<PromptAttachmentRef>;
5216
5257
  delivery: string;
5217
5258
  enqueued_at: string;
5218
5259
  id: string;
5219
5260
  idempotency_key?: string;
5261
+ mentions?: Array<SessionInputMentionPayload>;
5220
5262
  message_id?: string;
5221
5263
  mode: string;
5222
5264
  origin?: PromptOriginMeta | null;
@@ -5372,6 +5414,7 @@ export type SessionRuntimePayload = {
5372
5414
  effective?: RuntimeSelectionPayload | null;
5373
5415
  failure?: string;
5374
5416
  generation?: number;
5417
+ last_known?: RuntimeSelectionPayload | null;
5375
5418
  recovery?: SessionRuntimeRecoveryPayload | null;
5376
5419
  selected?: PromptRuntimeSelectionPayload | null;
5377
5420
  selection_revision: number;
@@ -5638,7 +5681,9 @@ export type SettingsDaemonRuntimePayload = {
5638
5681
  };
5639
5682
  export type SettingsDefaultsPayload = {
5640
5683
  agent: string;
5684
+ model?: string;
5641
5685
  provider?: string;
5686
+ reasoning_effort?: string;
5642
5687
  };
5643
5688
  export type SettingsExtensionDevPayload = {
5644
5689
  watch_interval: string;
@@ -6018,6 +6063,7 @@ export type SettingsProviderItemPayload = {
6018
6063
  fallback?: SettingsProviderFallbackPayload | null;
6019
6064
  name: string;
6020
6065
  runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
6066
+ session_env_status?: Array<SettingsProviderCredentialStatusPayload>;
6021
6067
  settings: SettingsProviderSettingsPayload;
6022
6068
  source_metadata: SettingsSourceMetadataPayload;
6023
6069
  };
@@ -6072,6 +6118,7 @@ export type SettingsProviderSettingsPayload = {
6072
6118
  auth_status_command?: string;
6073
6119
  base_url?: string;
6074
6120
  command?: string;
6121
+ command_inherited?: boolean;
6075
6122
  credential_slots?: Array<SettingsProviderCredentialSlotPayload>;
6076
6123
  display_name?: string;
6077
6124
  env_policy?: string;
@@ -6079,6 +6126,9 @@ export type SettingsProviderSettingsPayload = {
6079
6126
  home_policy?: string;
6080
6127
  models?: SettingsProviderModelsPayload | null;
6081
6128
  runtime_provider?: string;
6129
+ session_env?: {
6130
+ [key: string]: SessionEnvBindingPayload;
6131
+ };
6082
6132
  steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
6083
6133
  transport?: string;
6084
6134
  };
@@ -6096,6 +6146,9 @@ export type SettingsProviderWritePayload = {
6096
6146
  home_policy?: string;
6097
6147
  models?: SettingsProviderModelsPayload | null;
6098
6148
  runtime_provider?: string;
6149
+ session_env?: {
6150
+ [key: string]: SessionEnvBindingPayload;
6151
+ };
6099
6152
  steer_capability?: "steer_ext" | "concurrent_prompt" | "none";
6100
6153
  transport?: string;
6101
6154
  };
@@ -6124,6 +6177,9 @@ export type SettingsRoleFallbackPayload = {
6124
6177
  model: string;
6125
6178
  provider: string;
6126
6179
  reasoning_effort: string;
6180
+ session_env?: {
6181
+ [key: string]: SessionEnvBindingPayload;
6182
+ };
6127
6183
  speed?: "normal" | "fast";
6128
6184
  };
6129
6185
  export type SettingsRolesConfigPayload = {
@@ -6332,6 +6388,7 @@ export type SettingsUpdateResponse = {
6332
6388
  runtime: SettingsUpdateRuntimePayload;
6333
6389
  };
6334
6390
  export type SettingsUpdateRuntimePayload = {
6391
+ checked_at?: string | null;
6335
6392
  current_version: string;
6336
6393
  daemon_restarted: boolean;
6337
6394
  install_method: "direct-binary" | "homebrew" | "npm" | "apt" | "dnf" | "rpm" | "scoop" | "go-install" | "desktop-app" | "unknown";
@@ -6642,6 +6699,7 @@ export type StatusPayload = {
6642
6699
  tasks: TaskHealthPayload;
6643
6700
  };
6644
6701
  export type SteerPromptRequest = {
6702
+ attachments?: Array<PromptAttachmentRef>;
6645
6703
  expected_turn_id?: string;
6646
6704
  idempotency_key: string;
6647
6705
  message_id: string;
@@ -8583,6 +8641,15 @@ export type WorkspacesResponse = {
8583
8641
  export type WorktreeBindingsPayload = {
8584
8642
  agent_activity: string;
8585
8643
  };
8644
+ export type WorktreeBranchOutcomePayload = {
8645
+ deleted: boolean;
8646
+ detail?: string;
8647
+ name: string;
8648
+ reason?: string;
8649
+ };
8650
+ export type WorktreeCleanupResponse = {
8651
+ branch?: WorktreeBranchOutcomePayload | null;
8652
+ };
8586
8653
  export type WorktreeExitActionPlan = {
8587
8654
  action: string;
8588
8655
  blocked_reason?: string;
@@ -18799,6 +18866,34 @@ export type CancelSettingsUpdateResponses = {
18799
18866
  200: SettingsUpdateCancelResponse;
18800
18867
  };
18801
18868
  export type CancelSettingsUpdateResponse = CancelSettingsUpdateResponses[keyof CancelSettingsUpdateResponses];
18869
+ export type CheckSettingsUpdateData = {
18870
+ body?: never;
18871
+ path?: never;
18872
+ query?: never;
18873
+ url: "/api/settings/update/check";
18874
+ };
18875
+ export type CheckSettingsUpdateErrors = {
18876
+ /**
18877
+ * Forbidden
18878
+ */
18879
+ 403: ErrorPayload;
18880
+ /**
18881
+ * Internal server error
18882
+ */
18883
+ 500: ErrorPayload;
18884
+ /**
18885
+ * Update surface unavailable
18886
+ */
18887
+ 503: ErrorPayload;
18888
+ };
18889
+ export type CheckSettingsUpdateError = CheckSettingsUpdateErrors[keyof CheckSettingsUpdateErrors];
18890
+ export type CheckSettingsUpdateResponses = {
18891
+ /**
18892
+ * Current status with last successful check time
18893
+ */
18894
+ 200: SettingsUpdateResponse;
18895
+ };
18896
+ export type CheckSettingsUpdateResponse = CheckSettingsUpdateResponses[keyof CheckSettingsUpdateResponses];
18802
18897
  export type GetSettingsWindowManagerData = {
18803
18898
  body?: never;
18804
18899
  path?: never;
@@ -26405,6 +26500,64 @@ export type ListSessionEventsResponses = {
26405
26500
  200: SessionEventsResponse;
26406
26501
  };
26407
26502
  export type ListSessionEventsResponse = ListSessionEventsResponses[keyof ListSessionEventsResponses];
26503
+ export type SearchSessionFilesData = {
26504
+ body?: never;
26505
+ path: {
26506
+ /**
26507
+ * Workspace id
26508
+ */
26509
+ workspace_id: string;
26510
+ /**
26511
+ * Session id
26512
+ */
26513
+ session_id: string;
26514
+ };
26515
+ query?: {
26516
+ /**
26517
+ * Search text; empty returns the shallowest entries
26518
+ */
26519
+ q?: string;
26520
+ /**
26521
+ * Maximum entries returned
26522
+ */
26523
+ limit?: number;
26524
+ /**
26525
+ * Read one profile's rows by name
26526
+ */
26527
+ profile?: string;
26528
+ /**
26529
+ * Read the owner-labeled all-profiles aggregate
26530
+ */
26531
+ all_profiles?: boolean;
26532
+ };
26533
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files";
26534
+ };
26535
+ export type SearchSessionFilesErrors = {
26536
+ /**
26537
+ * Invalid limit
26538
+ */
26539
+ 400: ErrorPayload;
26540
+ /**
26541
+ * Session not found
26542
+ */
26543
+ 404: ErrorPayload;
26544
+ /**
26545
+ * Session working directory no longer exists
26546
+ */
26547
+ 409: ErrorPayload;
26548
+ /**
26549
+ * Internal server error
26550
+ */
26551
+ 500: ErrorPayload;
26552
+ };
26553
+ export type SearchSessionFilesError = SearchSessionFilesErrors[keyof SearchSessionFilesErrors];
26554
+ export type SearchSessionFilesResponses = {
26555
+ /**
26556
+ * OK
26557
+ */
26558
+ 200: SessionFilesResponse;
26559
+ };
26560
+ export type SearchSessionFilesResponse = SearchSessionFilesResponses[keyof SearchSessionFilesResponses];
26408
26561
  export type ForkSessionData = {
26409
26562
  /**
26410
26563
  * JSON request body
@@ -29938,9 +30091,13 @@ export type RemoveWorktreeData = {
29938
30091
  };
29939
30092
  query?: {
29940
30093
  /**
29941
- * Confirm destructive removal
30094
+ * Confirm destructive removal; with delete_branch, also delete an unmerged branch
29942
30095
  */
29943
30096
  force?: boolean;
30097
+ /**
30098
+ * 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.
30099
+ */
30100
+ delete_branch?: boolean;
29944
30101
  /**
29945
30102
  * Act as this profile by name. If omitted, operator requests infer the target record owner; authenticated agents remain scoped to their session profile.
29946
30103
  */
@@ -29976,6 +30133,10 @@ export type RemoveWorktreeErrors = {
29976
30133
  };
29977
30134
  export type RemoveWorktreeError = RemoveWorktreeErrors[keyof RemoveWorktreeErrors];
29978
30135
  export type RemoveWorktreeResponses = {
30136
+ /**
30137
+ * Cleaned up; reports the requested local branch deletion
30138
+ */
30139
+ 200: WorktreeCleanupResponse;
29979
30140
  /**
29980
30141
  * No Content
29981
30142
  */
@@ -30085,6 +30246,14 @@ export type DismissWorktreeData = {
30085
30246
  worktree_id: string;
30086
30247
  };
30087
30248
  query?: {
30249
+ /**
30250
+ * 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.
30251
+ */
30252
+ delete_branch?: boolean;
30253
+ /**
30254
+ * With delete_branch, also delete an unmerged branch
30255
+ */
30256
+ force?: boolean;
30088
30257
  /**
30089
30258
  * Act as this profile by name. If omitted, operator requests infer the target record owner; authenticated agents remain scoped to their session profile.
30090
30259
  */
@@ -30124,6 +30293,10 @@ export type DismissWorktreeErrors = {
30124
30293
  };
30125
30294
  export type DismissWorktreeError = DismissWorktreeErrors[keyof DismissWorktreeErrors];
30126
30295
  export type DismissWorktreeResponses = {
30296
+ /**
30297
+ * Cleaned up; reports the requested local branch deletion
30298
+ */
30299
+ 200: WorktreeCleanupResponse;
30127
30300
  /**
30128
30301
  * No Content
30129
30302
  */