@compozy/client 0.6.0 → 0.6.2

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.
@@ -302,6 +302,7 @@ export type AgentInstancePayload = {
302
302
  workspace_id: string;
303
303
  };
304
304
  export type AgentInstancePeer = {
305
+ accepts?: Array<string>;
305
306
  description: string;
306
307
  name: string;
307
308
  scope: string;
@@ -445,6 +446,7 @@ export type AgentMeResponse = {
445
446
  me: AgentMePayload;
446
447
  };
447
448
  export type AgentMemoryAddRequest = {
449
+ kind?: string;
448
450
  text: string;
449
451
  until?: string;
450
452
  };
@@ -515,6 +517,7 @@ export type AgentNotifyResponse = {
515
517
  retry_after_ms?: number;
516
518
  };
517
519
  export type AgentPayload = {
520
+ accepts?: Array<string>;
518
521
  acp_options?: Array<AgentACPOptionSelection>;
519
522
  appearance?: {
520
523
  [key: string]: unknown;
@@ -1715,6 +1718,11 @@ export type DaemonIdentityPayload = {
1715
1718
  user_home_dir: string;
1716
1719
  version: string;
1717
1720
  };
1721
+ export type DaemonReadinessPayload = {
1722
+ phase: string;
1723
+ since: string;
1724
+ step?: string;
1725
+ };
1718
1726
  export type DaemonStatusPayload = {
1719
1727
  active_sessions: number;
1720
1728
  gateway?: GatewayStatusPayload | null;
@@ -1722,6 +1730,7 @@ export type DaemonStatusPayload = {
1722
1730
  http_port: number;
1723
1731
  min_app_version: string;
1724
1732
  pid: number;
1733
+ readiness?: DaemonReadinessPayload | null;
1725
1734
  schema_streams: Array<SchemaStreamStatus>;
1726
1735
  socket: string;
1727
1736
  started_at: string;
@@ -4419,6 +4428,22 @@ export type NormalizedRect = {
4419
4428
  x: number;
4420
4429
  y: number;
4421
4430
  };
4431
+ export type OTelSignalStatusPayload = {
4432
+ enabled: boolean;
4433
+ failed_exports: number;
4434
+ last_error_class?: string;
4435
+ last_export_at?: string;
4436
+ };
4437
+ export type OTelStatusPayload = {
4438
+ dropped_spans: number;
4439
+ endpoint_host?: string;
4440
+ forward_to_providers: boolean;
4441
+ metrics: OTelSignalStatusPayload;
4442
+ protocol?: string;
4443
+ sample_ratio: number;
4444
+ state: string;
4445
+ traces: OTelSignalStatusPayload;
4446
+ };
4422
4447
  export type ObserveFailureHealthPayload = {
4423
4448
  by_kind?: {
4424
4449
  [key: string]: number;
@@ -7462,7 +7487,9 @@ export type SettingsRolesResponse = {
7462
7487
  workspace_id?: string;
7463
7488
  };
7464
7489
  export type SettingsShellAppearancePayload = {
7490
+ letter_spacing?: "tight" | "default" | "relaxed" | "wide";
7465
7491
  mono_font?: string | null;
7492
+ text_size?: "small" | "default" | "large" | "larger";
7466
7493
  ui_font?: string | null;
7467
7494
  };
7468
7495
  export type SettingsShellLegacyScopePayload = {
@@ -8028,6 +8055,7 @@ export type StatusPayload = {
8028
8055
  health: ObserveHealthPayload;
8029
8056
  log_tail: LogTailStatusPayload;
8030
8057
  mcp_servers?: Array<MCPServerStatusPayload>;
8058
+ otel?: OTelStatusPayload | null;
8031
8059
  providers?: Array<ProviderStatusPayload>;
8032
8060
  schema_version: string;
8033
8061
  sessions: SessionAggregatePayload;
@@ -9048,6 +9076,7 @@ export type TerminalExecRequest = {
9048
9076
  };
9049
9077
  output?: TerminalOutputShape;
9050
9078
  visible?: boolean;
9079
+ worktree?: string;
9051
9080
  yield_ms?: number;
9052
9081
  };
9053
9082
  export type TerminalExecResponse = {
@@ -15067,6 +15096,14 @@ export type TriggerAutomationJobData = {
15067
15096
  id: string;
15068
15097
  };
15069
15098
  query?: {
15099
+ /**
15100
+ * Wait for completion (default false); execution continues after the wait ends
15101
+ */
15102
+ wait?: boolean;
15103
+ /**
15104
+ * Completion wait budget when wait=true (default 1m; positive duration up to 24h). On expiry returns the running admission receipt
15105
+ */
15106
+ timeout?: string;
15070
15107
  /**
15071
15108
  * Act as this profile by name
15072
15109
  */
@@ -15095,7 +15132,7 @@ export type TriggerAutomationJobErrors = {
15095
15132
  export type TriggerAutomationJobError = TriggerAutomationJobErrors[keyof TriggerAutomationJobErrors];
15096
15133
  export type TriggerAutomationJobResponses = {
15097
15134
  /**
15098
- * OK
15135
+ * Admitted run with id and running status, or final result when wait=true; task and Loop targets retain delegated status
15099
15136
  */
15100
15137
  200: RunResponse;
15101
15138
  };
@@ -15219,6 +15256,48 @@ export type GetAutomationRunResponses = {
15219
15256
  200: RunResponse;
15220
15257
  };
15221
15258
  export type GetAutomationRunResponse = GetAutomationRunResponses[keyof GetAutomationRunResponses];
15259
+ export type CancelAutomationRunData = {
15260
+ body?: never;
15261
+ path: {
15262
+ /**
15263
+ * Automation run id
15264
+ */
15265
+ id: string;
15266
+ };
15267
+ query?: {
15268
+ /**
15269
+ * Act as this profile by name
15270
+ */
15271
+ profile?: string;
15272
+ };
15273
+ url: "/api/automation/runs/{id}/cancel";
15274
+ };
15275
+ export type CancelAutomationRunErrors = {
15276
+ /**
15277
+ * Automation run not found
15278
+ */
15279
+ 404: ErrorPayload;
15280
+ /**
15281
+ * Run may still be executing or changed concurrently
15282
+ */
15283
+ 409: ErrorPayload;
15284
+ /**
15285
+ * Internal server error
15286
+ */
15287
+ 500: ErrorPayload;
15288
+ /**
15289
+ * Automation manager is not configured
15290
+ */
15291
+ 503: ErrorPayload;
15292
+ };
15293
+ export type CancelAutomationRunError = CancelAutomationRunErrors[keyof CancelAutomationRunErrors];
15294
+ export type CancelAutomationRunResponses = {
15295
+ /**
15296
+ * Canceled run or unchanged terminal run
15297
+ */
15298
+ 200: RunResponse;
15299
+ };
15300
+ export type CancelAutomationRunResponse = CancelAutomationRunResponses[keyof CancelAutomationRunResponses];
15222
15301
  export type ListAutomationSuggestionsAggregateData = {
15223
15302
  body?: never;
15224
15303
  path?: never;
@@ -21978,6 +22057,10 @@ export type TriggerSettingsRestartErrors = {
21978
22057
  * Forbidden
21979
22058
  */
21980
22059
  403: ErrorPayload;
22060
+ /**
22061
+ * Replacement runtime failed its restart pre-flight; the running daemon was kept
22062
+ */
22063
+ 409: ErrorPayload;
21981
22064
  /**
21982
22065
  * Internal server error
21983
22066
  */