@sellable/mcp 0.1.538 → 0.1.539
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 +4 -4
- package/package.json +1 -1
package/dist/refill-run-loop.js
CHANGED
|
@@ -642,10 +642,6 @@ function getPlanLine(plan) {
|
|
|
642
642
|
};
|
|
643
643
|
}
|
|
644
644
|
function packetCoherenceFailure(plan) {
|
|
645
|
-
const fingerprint = fingerprintFromPlan(plan);
|
|
646
|
-
if (!fingerprint.planRevision || !fingerprint.targetShapeRevision) {
|
|
647
|
-
return "missing_fingerprint";
|
|
648
|
-
}
|
|
649
645
|
const action = firstAction(plan);
|
|
650
646
|
const doneReason = doneReasonFromPlan(plan);
|
|
651
647
|
if (doneReason && action && action.type !== "done") {
|
|
@@ -653,6 +649,10 @@ function packetCoherenceFailure(plan) {
|
|
|
653
649
|
}
|
|
654
650
|
if (!action)
|
|
655
651
|
return null;
|
|
652
|
+
const fingerprint = fingerprintFromPlan(plan);
|
|
653
|
+
if (!fingerprint.planRevision || !fingerprint.targetShapeRevision) {
|
|
654
|
+
return "missing_fingerprint";
|
|
655
|
+
}
|
|
656
656
|
const toolInput = actionToolInput(action);
|
|
657
657
|
const type = stringValue(action.type);
|
|
658
658
|
if (type === "prepare_messages" &&
|