@sellable/mcp 0.1.637 → 0.1.638-uat.until-date-continuation.20260721062024
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
CHANGED
|
@@ -1638,8 +1638,8 @@ export function terminalProjection(value) {
|
|
|
1638
1638
|
}
|
|
1639
1639
|
function exactLoopProjection(input, ctx, plan = ctx.plan) {
|
|
1640
1640
|
const planPacket = isRecord(plan?.packet) ? plan.packet : null;
|
|
1641
|
-
const targetConfig =
|
|
1642
|
-
|
|
1641
|
+
const targetConfig = ctx.targetConfig ??
|
|
1642
|
+
input.targetConfig ??
|
|
1643
1643
|
(isRecord(plan?.targetConfig) ? plan.targetConfig : undefined) ??
|
|
1644
1644
|
(isRecord(planPacket?.targetConfig) ? planPacket.targetConfig : undefined);
|
|
1645
1645
|
const refillReporting = reportingFrom(plan) ??
|
|
@@ -1639,6 +1639,9 @@ export async function executeRefillSendsCommand(input = {}) {
|
|
|
1639
1639
|
typeof result.fence === "number"
|
|
1640
1640
|
? { runId: result.runId, fence: result.fence }
|
|
1641
1641
|
: null;
|
|
1642
|
+
const continuationTargetConfig = "targetConfig" in result && result.targetConfig
|
|
1643
|
+
? normalizeRefillTargetConfig(result.targetConfig)
|
|
1644
|
+
: exactTargetConfig;
|
|
1642
1645
|
const selectedCoordinatorTarget = coordinatorSelection?.status === "selected"
|
|
1643
1646
|
? coordinatorSelection.selectedTarget
|
|
1644
1647
|
: isWorkspaceCoordinator && exactTargetConfig
|
|
@@ -1859,7 +1862,9 @@ export async function executeRefillSendsCommand(input = {}) {
|
|
|
1859
1862
|
runId: continuationHandle.runId,
|
|
1860
1863
|
fence: continuationHandle.fence,
|
|
1861
1864
|
runHandle: continuationHandle,
|
|
1862
|
-
...(
|
|
1865
|
+
...(continuationTargetConfig
|
|
1866
|
+
? { targetConfig: continuationTargetConfig }
|
|
1867
|
+
: {}),
|
|
1863
1868
|
...(scopedInput.reportingContext
|
|
1864
1869
|
? { reportingContext: scopedInput.reportingContext }
|
|
1865
1870
|
: {}),
|
package/package.json
CHANGED