@mastra/editor 0.16.5-alpha.2 → 0.16.5
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.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -466,10 +466,9 @@ function hydrateProcessorGraph(graph, mode, ctx) {
|
|
|
466
466
|
if (mode === "input") {
|
|
467
467
|
const filtered = processors.filter((p) => p.processInput || p.processInputStep);
|
|
468
468
|
return filtered.length > 0 ? filtered : void 0;
|
|
469
|
-
} else {
|
|
470
|
-
const filtered = processors.filter((p) => p.processOutputStream || p.processOutputResult || p.processOutputStep);
|
|
471
|
-
return filtered.length > 0 ? filtered : void 0;
|
|
472
469
|
}
|
|
470
|
+
const filtered = processors.filter((p) => p.processOutputStream || p.processOutputResult || p.processOutputStep);
|
|
471
|
+
return filtered.length > 0 ? filtered : void 0;
|
|
473
472
|
}
|
|
474
473
|
const workflowId = `stored-${mode}-processor-graph`;
|
|
475
474
|
const workflow = buildWorkflow(graph.steps, workflowId, ctx);
|