comfyui-mcp 0.48.23 → 0.48.25

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.
@@ -216,11 +216,16 @@ function formatQueueNote(rep) {
216
216
  `clear_pending:true; if it reports the job still wedged, restart_comfyui / panel_restart_comfyui. ` +
217
217
  `Do NOT queue another run on top.`);
218
218
  }
219
- if (rep.backlog) {
219
+ // A plain backlog (depth > 1) is NOT evidence of a wedge — deliberately queuing
220
+ // a batch is a normal workflow. Suppress the note entirely when the in-flight
221
+ // work is this session's own recent jobs, and when it isn't, report it NEUTRALLY
222
+ // (no false "you likely queued behind a stuck job" diagnosis, no destructive
223
+ // clear_pending as the headline). A genuinely stalled job is handled above (#559).
224
+ if (rep.backlog && !rep.selfAttributed) {
220
225
  const pending = Math.max(0, rep.queueDepth - 1);
221
- return (`⚠️ ComfyUI queue backlog: ${rep.queueDepth} tasks in flight (1 running + ${pending} pending). ` +
222
- `You likely queued behind a slow/stuck job. Check get_queue; use cancel_job with clear_pending:true to ` +
223
- `reset before re-queuing rather than stacking another run.`);
226
+ return (`ℹ️ ComfyUI queue: ${rep.queueDepth} tasks in flight (1 running + ${pending} pending) that this session ` +
227
+ `didn't queue. This is only a problem if the running one is stuck — inspect with get_queue. ` +
228
+ `cancel_queued_job drops a single pending item; cancel_job with clear_pending:true resets everything.`);
224
229
  }
225
230
  return null;
226
231
  }