@sellable/mcp 0.1.539 → 0.1.540
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/refill-run-loop.js +5 -1
- package/package.json +1 -1
package/dist/refill-run-loop.js
CHANGED
|
@@ -645,7 +645,11 @@ function packetCoherenceFailure(plan) {
|
|
|
645
645
|
const action = firstAction(plan);
|
|
646
646
|
const doneReason = doneReasonFromPlan(plan);
|
|
647
647
|
if (doneReason && action && action.type !== "done") {
|
|
648
|
-
|
|
648
|
+
const type = stringValue(action.type);
|
|
649
|
+
if (!(doneReason === "loaded_awaiting_scheduler" &&
|
|
650
|
+
type === "wait_for_scheduler")) {
|
|
651
|
+
return "terminal_with_action_queue";
|
|
652
|
+
}
|
|
649
653
|
}
|
|
650
654
|
if (!action)
|
|
651
655
|
return null;
|