comfyui-mcp 0.50.42 → 0.50.44

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.
@@ -76,7 +76,7 @@ import { RunCompletions, describe as describeCorrelation, } from "./run-completi
76
76
  import { AskAnswers, preview as previewQuestion } from "./ask-answer-journal.js";
77
77
  import { initRunpodWatcher, getRunpodWatcher } from "../services/runpod-watch.js";
78
78
  import { getPod } from "../services/runpod-client.js";
79
- import { listTargetChangeRequests, consumeTargetChange, ackTargetChange, setProgressDir, CONTROL_PREFIX, newestAttemptEpochs, isSupersededAttempt, downloadAttemptKey } from "../services/download-progress.js";
79
+ import { listTargetChangeRequests, consumeTargetChange, ackTargetChange, setProgressDir, CONTROL_PREFIX, newestAttemptEpochs, isSupersededAttempt, downloadAttemptKey, markSupersededByLive } from "../services/download-progress.js";
80
80
  import { hasActiveTrainingJob, reconcileStaleTrainingJobs } from "../services/training-jobs.js";
81
81
  import { buildQueueStatusFrame, createQueueStatusBroadcaster, } from "../services/queue-status-broadcast.js";
82
82
  import { unloadAllOllama, warmOllama, resolveOllamaHost } from "../services/ollama-vram.js";
@@ -4955,6 +4955,10 @@ export async function runPanelOrchestrator() {
4955
4955
  // "download_done" turn in that case.
4956
4956
  if (settled.length === 0)
4957
4957
  continue;
4958
+ // #1150 — a corrected retry of a 404 is a DIFFERENT id writing the SAME
4959
+ // filename, so the (id, target) eviction above cannot see it. The live rows
4960
+ // are already in hand this tick; markSupersededByLive asks them by name.
4961
+ markSupersededByLive(settled, downloads);
4958
4962
  // #884 — a download has no originating TAB (its row names the owning
4959
4963
  // conversation), so its turn INHERITS the conversation's LAST
4960
4964
  // ESTABLISHED origin — never the active tab (confirming gate 2, P0 rule: