@mastra/editor 0.15.3-alpha.0 → 0.15.4-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 +1 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -11
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -371,17 +371,7 @@ async function mergeBranchOutputs({ inputData }) {
|
|
|
371
371
|
});
|
|
372
372
|
for (const key of keys) {
|
|
373
373
|
const val = inputData[key];
|
|
374
|
-
if (val && typeof val === "object" && "phase" in val) return {
|
|
375
|
-
phase: val.phase,
|
|
376
|
-
messages: val.messages,
|
|
377
|
-
messageList: val.messageList,
|
|
378
|
-
...val.systemMessages ? { systemMessages: val.systemMessages } : {},
|
|
379
|
-
...val.part !== void 0 ? { part: val.part } : {},
|
|
380
|
-
...val.streamParts ? { streamParts: val.streamParts } : {},
|
|
381
|
-
...val.state ? { state: val.state } : {},
|
|
382
|
-
...val.text !== void 0 ? { text: val.text } : {},
|
|
383
|
-
...val.retryCount !== void 0 ? { retryCount: val.retryCount } : {}
|
|
384
|
-
};
|
|
374
|
+
if (val && typeof val === "object" && "phase" in val) return { ...val };
|
|
385
375
|
}
|
|
386
376
|
return inputData;
|
|
387
377
|
}
|