@voltro/plugin-ai-flows 0.82.0 → 0.83.1
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/CHANGELOG.md +361 -0
- package/dist/errors.js +1 -1
- package/dist/index.d.ts +20 -0
- package/dist/index.js +457 -420
- package/dist/{ir-DcPJp738.js → ir-CdDUTf98.js} +2 -0
- package/dist/ir.d.ts +7 -0
- package/dist/ir.js +1 -1
- package/dist/web.d.ts +7 -0
- package/package.json +11 -11
|
@@ -139,6 +139,8 @@ var r = e.Literal("truthy", "falsy", "eq", "neq", "contains"), i = e.Struct({
|
|
|
139
139
|
description: e.optional(e.String),
|
|
140
140
|
type: g,
|
|
141
141
|
status: k,
|
|
142
|
+
agentRef: e.optional(e.String),
|
|
143
|
+
modality: e.optional(_),
|
|
142
144
|
startedAt: e.optional(e.String),
|
|
143
145
|
completedAt: e.optional(e.String),
|
|
144
146
|
costMicroUsd: e.optional(e.Number),
|
package/dist/ir.d.ts
CHANGED
|
@@ -517,6 +517,11 @@ export declare const RunStep: Schema.Struct<{
|
|
|
517
517
|
description: Schema.optional<typeof Schema.String>;
|
|
518
518
|
type: Schema.Literal<["agent", "generate", "structured", "note", "human"]>;
|
|
519
519
|
status: Schema.Literal<["pending", "running", "waiting", "succeeded", "failed", "skipped"]>;
|
|
520
|
+
/** The agent an `agent` step delegated to — a field, so a run view never
|
|
521
|
+
* parses it out of `title`. */
|
|
522
|
+
agentRef: Schema.optional<typeof Schema.String>;
|
|
523
|
+
/** What a `generate` step produced. */
|
|
524
|
+
modality: Schema.optional<Schema.Literal<["text", "image", "video", "audio"]>>;
|
|
520
525
|
startedAt: Schema.optional<typeof Schema.String>;
|
|
521
526
|
completedAt: Schema.optional<typeof Schema.String>;
|
|
522
527
|
/** Per-step cost in micro-USD (the app view projects to €/cents). */
|
|
@@ -570,6 +575,8 @@ export declare interface RunStep {
|
|
|
570
575
|
readonly description?: string | undefined;
|
|
571
576
|
readonly type: StepType;
|
|
572
577
|
readonly status: RunStepStatus;
|
|
578
|
+
readonly agentRef?: string | undefined;
|
|
579
|
+
readonly modality?: Modality | undefined;
|
|
573
580
|
readonly startedAt?: string | undefined;
|
|
574
581
|
readonly completedAt?: string | undefined;
|
|
575
582
|
readonly costMicroUsd?: number | undefined;
|
package/dist/ir.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, D as r, E as i, F as a, H as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, V as g, _, a as v, b as y, c as b, d as x, f as S, g as C, h as w, i as T, j as E, k as D, l as O, m as k, n as A, o as j, p as M, r as N, s as P, t as F, u as I, v as L, w as R, x as z, y as B, z as V } from "./ir-
|
|
1
|
+
import { A as e, B as t, C as n, D as r, E as i, F as a, H as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, V as g, _, a as v, b as y, c as b, d as x, f as S, g as C, h as w, i as T, j as E, k as D, l as O, m as k, n as A, o as j, p as M, r as N, s as P, t as F, u as I, v as L, w as R, x as z, y as B, z as V } from "./ir-CdDUTf98.js";
|
|
2
2
|
export { F as BriefField, A as ChainPending, p as ConditionOp, N as CostCompleteness, T as CostSource, v as FlowCadence, j as FlowCancelReceipt, P as FlowChain, b as FlowMode, O as FlowReviewInput, I as FlowReviewReceipt, x as FlowStartReceipt, S as FlowStatus, M as FlowStep, k as HumanResponse, w as Json, C as MAX_STEPS_DEFAULT, _ as MAX_STEPS_MAX, L as MAX_STEPS_MIN, B as MediaArtifact, y as MediaArtifacts, z as MediaInputSlot, m as MediaInputs, n as MediaReceipt, R as Modality, h as ReviewMode, i as ReviewOption, r as RunReview, d as RunSource, D as RunStatus, e as RunStep, E as RunStepStatus, V as StepCondition, l as StepType, u as StepUsage, f as Visibility, a as clampMaxSteps, t as describeCondition, g as evaluateCondition, o as isTruthy, s as normalizeFlow, c as sanitizeOutputKey };
|
package/dist/web.d.ts
CHANGED
|
@@ -423,6 +423,11 @@ export declare const RunStep: Schema.Struct<{
|
|
|
423
423
|
description: Schema.optional<typeof Schema.String>;
|
|
424
424
|
type: Schema.Literal<["agent", "generate", "structured", "note", "human"]>;
|
|
425
425
|
status: Schema.Literal<["pending", "running", "waiting", "succeeded", "failed", "skipped"]>;
|
|
426
|
+
/** The agent an `agent` step delegated to — a field, so a run view never
|
|
427
|
+
* parses it out of `title`. */
|
|
428
|
+
agentRef: Schema.optional<typeof Schema.String>;
|
|
429
|
+
/** What a `generate` step produced. */
|
|
430
|
+
modality: Schema.optional<Schema.Literal<["text", "image", "video", "audio"]>>;
|
|
426
431
|
startedAt: Schema.optional<typeof Schema.String>;
|
|
427
432
|
completedAt: Schema.optional<typeof Schema.String>;
|
|
428
433
|
/** Per-step cost in micro-USD (the app view projects to €/cents). */
|
|
@@ -476,6 +481,8 @@ export declare interface RunStep {
|
|
|
476
481
|
readonly description?: string | undefined;
|
|
477
482
|
readonly type: StepType;
|
|
478
483
|
readonly status: RunStepStatus;
|
|
484
|
+
readonly agentRef?: string | undefined;
|
|
485
|
+
readonly modality?: Modality | undefined;
|
|
479
486
|
readonly startedAt?: string | undefined;
|
|
480
487
|
readonly completedAt?: string | undefined;
|
|
481
488
|
readonly costMicroUsd?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/plugin-ai-flows",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.83.1",
|
|
4
4
|
"description": "AI Flows — durable multi-step AI pipelines (deterministic + agentic) with human-in-the-loop, chaining, and cadence. Author flows in code (defineFlow) or as data (visual editor rows); one engine runs both on @voltro/workflow durability, @voltro/ai generation, storage artifacts, and notifications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"voltro",
|
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
"node": ">=24.0.0"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@voltro/ai": "0.
|
|
62
|
-
"@voltro/client": "0.
|
|
63
|
-
"@voltro/database": "0.
|
|
64
|
-
"@voltro/env": "0.
|
|
65
|
-
"@voltro/plugin-audit": "0.
|
|
66
|
-
"@voltro/plugin-multitenancy": "0.
|
|
67
|
-
"@voltro/plugin-soft-delete": "0.
|
|
68
|
-
"@voltro/protocol": "0.
|
|
69
|
-
"@voltro/runtime": "0.
|
|
70
|
-
"@voltro/workflow": "0.
|
|
61
|
+
"@voltro/ai": "0.83.1",
|
|
62
|
+
"@voltro/client": "0.83.1",
|
|
63
|
+
"@voltro/database": "0.83.1",
|
|
64
|
+
"@voltro/env": "0.83.1",
|
|
65
|
+
"@voltro/plugin-audit": "0.83.1",
|
|
66
|
+
"@voltro/plugin-multitenancy": "0.83.1",
|
|
67
|
+
"@voltro/plugin-soft-delete": "0.83.1",
|
|
68
|
+
"@voltro/protocol": "0.83.1",
|
|
69
|
+
"@voltro/runtime": "0.83.1",
|
|
70
|
+
"@voltro/workflow": "0.83.1"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"effect": "^3.22.2"
|