comfyui-mcp 0.50.73 → 0.50.75

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.
@@ -58,7 +58,20 @@ export function identityReason(tabId, origin, workflowUuid, failure) {
58
58
  `observed nor was told the panel's origin; if COMFYUI_URL is unset or unparseable for ` +
59
59
  `this session, setting it to the URL the panel is served from is what supplies it.`);
60
60
  }
61
- return (`the workflow identity did not validate (uuid ${String(workflowUuid)} against origin ` +
62
- `${origin}) a malformed uuid, or one bound to a different origin.`);
61
+ // #1255 this used to end "a malformed uuid, or one bound to a different
62
+ // origin", which describes a comparison the code does not perform.
63
+ // workflowIdentityParts uses the origin as a PRESENCE gate: it requires one to
64
+ // exist, and never compares it against a previously bound value (nothing in
65
+ // the repo has ever read `identity.origin` -- both call sites take `.uuid`).
66
+ // Reaching here with an origin present therefore means the UUID failed its
67
+ // shape check, full stop.
68
+ //
69
+ // The old wording sent a reader hunting for an origin mismatch that cannot
70
+ // happen -- it cost a whole investigation and a closed-unmerged PR before the
71
+ // mechanism was checked rather than believed. A refusal must describe the
72
+ // check it actually ran.
73
+ return (`the workflow identity did not validate: the uuid ${String(workflowUuid)} is not a ` +
74
+ `well-formed workflow uuid. (The origin ${origin} was present and accepted -- this gate ` +
75
+ `requires an origin to exist, it does not compare it against a previously bound one.)`);
63
76
  }
64
77
  //# sourceMappingURL=fence-refusal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fence-refusal.js","sourceRoot":"","sources":["../../src/orchestrator/fence-refusal.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,EAAE;AACF,iFAAiF;AACjF,gFAAgF;AAChF,yEAAyE;AACzE,2DAA2D;AAC3D,EAAE;AACF,8EAA8E;AAC9E,2EAA2E;AAC3E,4EAA4E;AAC5E,0DAA0D;AAC1D,EAAE;AACF,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,uEAAuE;AACvE,6EAA6E;AAC7E,+EAA+E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C3E,0BAA0B;IAC1B,EAAE;IACF,2EAA2E;IAC3E,8EAA8E;IAC9E,0EAA0E;IAC1E,yBAAyB;IACzB,OAAO,CACL,oDAAoD,MAAM,CAAC,YAAY,CAAC,YAAY;QACpF,0CAA0C,MAAM,yCAAyC;QACzF,sFAAsF,CACvF,CAAC;AACJ,CAAC"}
@@ -1479,15 +1479,28 @@ export async function panelStatus(depsIn = defaultDeps) {
1479
1479
  `serves from, so "not installed" is UNCORROBORATED. On a split install ` +
1480
1480
  `(Comfy Desktop's --base-directory, #766) the panel lives elsewhere and ` +
1481
1481
  `installing here would land in a custom_nodes nothing loads. ` +
1482
- (baseResolution?.liveRootUnderivable
1483
- ? `ComfyUI IS running, but its reported launch arguments did not identify ` +
1484
- `an install root holding custom_nodes (a relative main.py with no ` +
1485
- `reported working directory), so reaching it again will not change this — ` +
1486
- `check install_comfyui (action:"environment")'s local.workspace_path, or ` +
1487
- `relaunch ComfyUI with an ABSOLUTE path to main.py, before installing.`
1488
- : `Start/reach ` +
1489
- `ComfyUI so its own install root can be read, or check install_comfyui ` +
1490
- `(action:"environment")'s local.workspace_path, before installing.`)
1482
+ // #796 — THREE causes, three remedies. The unreadable case used to take
1483
+ // one of the other two branches, and both give advice that cannot work:
1484
+ // the argv was fine (so relaunching with an absolute main.py changes
1485
+ // nothing) and ComfyUI is reachable (so "start/reach ComfyUI" is already
1486
+ // true). Naming a remedy that cannot apply is worse than naming none.
1487
+ (baseResolution?.liveRootUnreadable
1488
+ ? `ComfyUI IS running and DID identify an install root — ` +
1489
+ `${baseResolution.liveRootUnreadable} but its custom_nodes could not be ` +
1490
+ `READ from here (a permission error, an IO error, or a network path that ` +
1491
+ `is not available to this process), so it could not be confirmed as the ` +
1492
+ `serving tree. That is not evidence it lacks one. Make that directory ` +
1493
+ `readable by whoever runs this MCP — or run install_comfyui ` +
1494
+ `(action:"panel") from a process that can read it — before installing.`
1495
+ : baseResolution?.liveRootUnderivable
1496
+ ? `ComfyUI IS running, but its reported launch arguments did not identify ` +
1497
+ `an install root holding custom_nodes (a relative main.py with no ` +
1498
+ `reported working directory), so reaching it again will not change this — ` +
1499
+ `check install_comfyui (action:"environment")'s local.workspace_path, or ` +
1500
+ `relaunch ComfyUI with an ABSOLUTE path to main.py, before installing.`
1501
+ : `Start/reach ` +
1502
+ `ComfyUI so its own install root can be read, or check install_comfyui ` +
1503
+ `(action:"environment")'s local.workspace_path, before installing.`)
1491
1504
  : `Not installed. Run install_comfyui(action:'panel', panel_action:'install') to add the panel (${PANEL_VERSION}). Restart ComfyUI afterwards.`;
1492
1505
  }
1493
1506
  else {