@compozy/client 0.6.1 → 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.
@@ -1718,6 +1718,11 @@ export type DaemonIdentityPayload = {
1718
1718
  user_home_dir: string;
1719
1719
  version: string;
1720
1720
  };
1721
+ export type DaemonReadinessPayload = {
1722
+ phase: string;
1723
+ since: string;
1724
+ step?: string;
1725
+ };
1721
1726
  export type DaemonStatusPayload = {
1722
1727
  active_sessions: number;
1723
1728
  gateway?: GatewayStatusPayload | null;
@@ -1725,6 +1730,7 @@ export type DaemonStatusPayload = {
1725
1730
  http_port: number;
1726
1731
  min_app_version: string;
1727
1732
  pid: number;
1733
+ readiness?: DaemonReadinessPayload | null;
1728
1734
  schema_streams: Array<SchemaStreamStatus>;
1729
1735
  socket: string;
1730
1736
  started_at: string;
@@ -4422,6 +4428,22 @@ export type NormalizedRect = {
4422
4428
  x: number;
4423
4429
  y: number;
4424
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
+ };
4425
4447
  export type ObserveFailureHealthPayload = {
4426
4448
  by_kind?: {
4427
4449
  [key: string]: number;
@@ -8033,6 +8055,7 @@ export type StatusPayload = {
8033
8055
  health: ObserveHealthPayload;
8034
8056
  log_tail: LogTailStatusPayload;
8035
8057
  mcp_servers?: Array<MCPServerStatusPayload>;
8058
+ otel?: OTelStatusPayload | null;
8036
8059
  providers?: Array<ProviderStatusPayload>;
8037
8060
  schema_version: string;
8038
8061
  sessions: SessionAggregatePayload;
@@ -15233,6 +15256,48 @@ export type GetAutomationRunResponses = {
15233
15256
  200: RunResponse;
15234
15257
  };
15235
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];
15236
15301
  export type ListAutomationSuggestionsAggregateData = {
15237
15302
  body?: never;
15238
15303
  path?: never;
@@ -21992,6 +22057,10 @@ export type TriggerSettingsRestartErrors = {
21992
22057
  * Forbidden
21993
22058
  */
21994
22059
  403: ErrorPayload;
22060
+ /**
22061
+ * Replacement runtime failed its restart pre-flight; the running daemon was kept
22062
+ */
22063
+ 409: ErrorPayload;
21995
22064
  /**
21996
22065
  * Internal server error
21997
22066
  */