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