@voltro/plugin-ai-flows 0.85.0 → 0.87.0

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.
package/dist/errors.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e } from "./ir-Cjk1kQl9.js";
1
+ import { MediaReceipt as e } from "./ir.js";
2
2
  import { Schema as t } from "effect";
3
3
  //#region src/errors.ts
4
4
  var n = class extends t.TaggedError()("FlowNotFound", {
package/dist/index.d.ts CHANGED
@@ -49,7 +49,7 @@ export declare const aiFlowRunsTable: Table<"_voltro_ai_flow_runs", FieldDefinit
49
49
  /** Last observed admission answer, not current execution state. Null means
50
50
  * no answer was recorded, not that submission did not reach the engine. */
51
51
  readonly workflowStart: ColumnBuilder<{
52
- readonly status: "dropped" | "skipped" | "running" | "succeeded" | "queued" | "replayed";
52
+ readonly status: "succeeded" | "dropped" | "skipped" | "running" | "queued" | "replayed";
53
53
  readonly id: string;
54
54
  readonly executionId: string | null;
55
55
  readonly workflowName: string;
@@ -314,14 +314,14 @@ export declare const cancelFlow: (ctx: AppContext, args: {
314
314
  runId: string;
315
315
  }) => Effect.Effect<{
316
316
  readonly runId: string;
317
- readonly status: "failed" | "pending" | "cancelled" | "running" | "succeeded" | "waiting" | "cancelling";
317
+ readonly status: "failed" | "succeeded" | "pending" | "waiting" | "cancelled" | "running" | "cancelling";
318
318
  readonly engine: "unknown" | "unreachable" | "cancelled" | "accepted" | "already-terminal" | "not-requested";
319
319
  readonly control: {
320
320
  readonly operation: "resume" | "cancel";
321
321
  readonly kind: "unknown" | "accepted" | "confirmed" | "already-terminal";
322
322
  readonly requestId: string | null;
323
323
  readonly snapshot: {
324
- readonly status: "unknown" | "failed" | "cancelled" | "running" | "succeeded" | "suspended";
324
+ readonly status: "unknown" | "failed" | "succeeded" | "cancelled" | "running" | "suspended";
325
325
  readonly id: string;
326
326
  readonly executionId: string;
327
327
  readonly workflowName: string;
@@ -1112,7 +1112,7 @@ export declare const launchFlow: (ctx: AppContext, args: {
1112
1112
  readonly runId: string;
1113
1113
  readonly requestId: string;
1114
1114
  readonly admission: {
1115
- readonly status: "dropped" | "skipped" | "running" | "succeeded" | "queued" | "replayed";
1115
+ readonly status: "succeeded" | "dropped" | "skipped" | "running" | "queued" | "replayed";
1116
1116
  readonly id: string;
1117
1117
  readonly executionId: string | null;
1118
1118
  readonly workflowName: string;
@@ -1400,7 +1400,7 @@ export declare const retryFlow: (ctx: AppContext, args: {
1400
1400
  readonly runId: string;
1401
1401
  readonly requestId: string;
1402
1402
  readonly admission: {
1403
- readonly status: "dropped" | "skipped" | "running" | "succeeded" | "queued" | "replayed";
1403
+ readonly status: "succeeded" | "dropped" | "skipped" | "running" | "queued" | "replayed";
1404
1404
  readonly id: string;
1405
1405
  readonly executionId: string | null;
1406
1406
  readonly workflowName: string;