@voltro/plugin-ai-flows 0.81.0 → 0.83.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/CHANGELOG.md +1806 -6
- package/THIRD-PARTY-NOTICES.md +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +554 -524
- package/dist/web.d.ts +10 -10
- package/package.json +11 -11
package/dist/web.d.ts
CHANGED
|
@@ -563,38 +563,38 @@ export declare const useFlowReview: (runId: string | undefined, options?: FlowHo
|
|
|
563
563
|
canRespond: boolean;
|
|
564
564
|
respond: (runId: string, stepIndex: number, response: HumanResponse) => Promise<{
|
|
565
565
|
readonly status: "accepted";
|
|
566
|
-
readonly executionId: string;
|
|
567
566
|
readonly runId: string;
|
|
567
|
+
readonly executionId: string;
|
|
568
568
|
readonly eventId: string;
|
|
569
569
|
readonly stepIndex: number;
|
|
570
570
|
}>;
|
|
571
571
|
approve: (runId: string, stepIndex: number, text?: string) => Promise<{
|
|
572
572
|
readonly status: "accepted";
|
|
573
|
-
readonly executionId: string;
|
|
574
573
|
readonly runId: string;
|
|
574
|
+
readonly executionId: string;
|
|
575
575
|
readonly eventId: string;
|
|
576
576
|
readonly stepIndex: number;
|
|
577
577
|
}>;
|
|
578
578
|
reject: (runId: string, stepIndex: number, text?: string) => Promise<{
|
|
579
579
|
readonly status: "accepted";
|
|
580
|
-
readonly executionId: string;
|
|
581
580
|
readonly runId: string;
|
|
581
|
+
readonly executionId: string;
|
|
582
582
|
readonly eventId: string;
|
|
583
583
|
readonly stepIndex: number;
|
|
584
584
|
}>;
|
|
585
585
|
/** Pick one of a `choice` review's options. */
|
|
586
586
|
choose: (runId: string, stepIndex: number, value: string) => Promise<{
|
|
587
587
|
readonly status: "accepted";
|
|
588
|
-
readonly executionId: string;
|
|
589
588
|
readonly runId: string;
|
|
589
|
+
readonly executionId: string;
|
|
590
590
|
readonly eventId: string;
|
|
591
591
|
readonly stepIndex: number;
|
|
592
592
|
}>;
|
|
593
593
|
/** Answer a `text` review. */
|
|
594
594
|
submitText: (runId: string, stepIndex: number, text: string) => Promise<{
|
|
595
595
|
readonly status: "accepted";
|
|
596
|
-
readonly executionId: string;
|
|
597
596
|
readonly runId: string;
|
|
597
|
+
readonly executionId: string;
|
|
598
598
|
readonly eventId: string;
|
|
599
599
|
readonly stepIndex: number;
|
|
600
600
|
}>;
|
|
@@ -677,38 +677,38 @@ export declare const useLaunchFlow: (options?: FlowHookOptions) => {
|
|
|
677
677
|
export declare const useRespondToFlow: (options?: FlowHookOptions) => {
|
|
678
678
|
respond: (runId: string, stepIndex: number, response: HumanResponse) => Promise<{
|
|
679
679
|
readonly status: "accepted";
|
|
680
|
-
readonly executionId: string;
|
|
681
680
|
readonly runId: string;
|
|
681
|
+
readonly executionId: string;
|
|
682
682
|
readonly eventId: string;
|
|
683
683
|
readonly stepIndex: number;
|
|
684
684
|
}>;
|
|
685
685
|
approve: (runId: string, stepIndex: number, text?: string) => Promise<{
|
|
686
686
|
readonly status: "accepted";
|
|
687
|
-
readonly executionId: string;
|
|
688
687
|
readonly runId: string;
|
|
688
|
+
readonly executionId: string;
|
|
689
689
|
readonly eventId: string;
|
|
690
690
|
readonly stepIndex: number;
|
|
691
691
|
}>;
|
|
692
692
|
reject: (runId: string, stepIndex: number, text?: string) => Promise<{
|
|
693
693
|
readonly status: "accepted";
|
|
694
|
-
readonly executionId: string;
|
|
695
694
|
readonly runId: string;
|
|
695
|
+
readonly executionId: string;
|
|
696
696
|
readonly eventId: string;
|
|
697
697
|
readonly stepIndex: number;
|
|
698
698
|
}>;
|
|
699
699
|
/** Pick one of a `choice` review's options. */
|
|
700
700
|
choose: (runId: string, stepIndex: number, value: string) => Promise<{
|
|
701
701
|
readonly status: "accepted";
|
|
702
|
-
readonly executionId: string;
|
|
703
702
|
readonly runId: string;
|
|
703
|
+
readonly executionId: string;
|
|
704
704
|
readonly eventId: string;
|
|
705
705
|
readonly stepIndex: number;
|
|
706
706
|
}>;
|
|
707
707
|
/** Answer a `text` review. */
|
|
708
708
|
submitText: (runId: string, stepIndex: number, text: string) => Promise<{
|
|
709
709
|
readonly status: "accepted";
|
|
710
|
-
readonly executionId: string;
|
|
711
710
|
readonly runId: string;
|
|
711
|
+
readonly executionId: string;
|
|
712
712
|
readonly eventId: string;
|
|
713
713
|
readonly stepIndex: number;
|
|
714
714
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/plugin-ai-flows",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.83.0",
|
|
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.0",
|
|
62
|
+
"@voltro/client": "0.83.0",
|
|
63
|
+
"@voltro/database": "0.83.0",
|
|
64
|
+
"@voltro/env": "0.83.0",
|
|
65
|
+
"@voltro/plugin-audit": "0.83.0",
|
|
66
|
+
"@voltro/plugin-multitenancy": "0.83.0",
|
|
67
|
+
"@voltro/plugin-soft-delete": "0.83.0",
|
|
68
|
+
"@voltro/protocol": "0.83.0",
|
|
69
|
+
"@voltro/runtime": "0.83.0",
|
|
70
|
+
"@voltro/workflow": "0.83.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"effect": "^3.22.2"
|