jsfe 0.9.29 → 0.9.31
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2737,7 +2737,7 @@ async function handleToolStep(currentFlowFrame, engine) {
|
|
|
2737
2737
|
initializeFlowStacks(engine);
|
|
2738
2738
|
// Start the onFail flow as a new root flow
|
|
2739
2739
|
if (onFailStep.type === "FLOW") {
|
|
2740
|
-
const rebootFlow = flowsMenu?.find(f => f.name === onFailStep.
|
|
2740
|
+
const rebootFlow = flowsMenu?.find(f => f.name === onFailStep.value || f.id === onFailStep.value);
|
|
2741
2741
|
if (rebootFlow) {
|
|
2742
2742
|
const transaction = TransactionManager.create(rebootFlow.name, 'reboot-recovery', currentFlowFrame.userId);
|
|
2743
2743
|
pushToCurrentStack(engine, {
|
|
@@ -2755,7 +2755,7 @@ async function handleToolStep(currentFlowFrame, engine) {
|
|
|
2755
2755
|
auditLogger.logFlowStart(rebootFlow.name, input, currentFlowFrame.userId, transaction.id);
|
|
2756
2756
|
}
|
|
2757
2757
|
else {
|
|
2758
|
-
logger.error(`Reboot flow ${onFailStep.id || onFailStep.name} not found in flows menu`);
|
|
2758
|
+
logger.error(`Reboot flow ${onFailStep.value} in onFail: ${onFailStep.id || onFailStep.name} not found in flows menu`);
|
|
2759
2759
|
}
|
|
2760
2760
|
}
|
|
2761
2761
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsfe",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.31",
|
|
4
4
|
"description": "TypeScript workflow engine for conversational/automation apps: multi-flow orchestration, interrupt/resume, stack-based control, robust errors, and flexible tool/REST integration.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ron Pinkas",
|