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