comfyui-mcp 0.51.0 → 0.51.2
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/orchestrator/panel-tools.js +9 -2
- package/dist/orchestrator/panel-tools.js.map +1 -1
- package/dist/services/desktop-launch-args.js +181 -0
- package/dist/services/desktop-launch-args.js.map +1 -0
- package/dist/services/process-control.js +26 -5
- package/dist/services/process-control.js.map +1 -1
- package/package.json +1 -1
- package/scripts/codex-knowledge-parity-smoke.mjs +27 -84
- package/scripts/knowledge-parity-mock-graph.mjs +215 -0
|
@@ -79,7 +79,8 @@ import { getObjectInfo, backfillObjectInfo, resetClient, resetObjectInfoCache, }
|
|
|
79
79
|
import { convertUiToApi, collectNodeTypes } from "../services/workflow-converter.js";
|
|
80
80
|
import { restartComfyUI, preflightLocalRestart, readServingArgv, describeArgvDrift, recordRestartDispatch, clearRestartDispatch, getRestartDispatchRecord, RESTART_DISPATCH_CAUSATION_WINDOW_MS, PROCESS_WIDE_RESTART_DISPATCH_TOKEN, __processControlTestHooks, } from "../services/process-control.js";
|
|
81
81
|
import { resetManagerApiCache } from "../services/manager-api-cache.js";
|
|
82
|
-
import {
|
|
82
|
+
import { desktopSavedLaunchArgs, describeSavedLaunchArgDrift, } from "../services/desktop-launch-args.js";
|
|
83
|
+
import { config, isRemoteMode, isCloudMode, getBootLocalComfyUIBaseUrl, getComfyUIBaseUrl, getComfyuiTargetGeneration, } from "../config.js";
|
|
83
84
|
import { sliceWorkflow } from "../services/workflow-slicer.js";
|
|
84
85
|
import { validateA2UISpecServer } from "../services/a2ui-spec.js";
|
|
85
86
|
/** Treat these as an affirmative answer to a yes/no confirm card (destructive-op
|
|
@@ -10019,7 +10020,13 @@ export function buildPanelToolDefs() {
|
|
|
10019
10020
|
const afterArgv = await readServingArgv(2000);
|
|
10020
10021
|
if (getComfyuiTargetGeneration() === preflightArgvGeneration &&
|
|
10021
10022
|
sameHttpBase(getComfyUIBaseUrl(), healthBase)) {
|
|
10022
|
-
argvNote = describeArgvDrift(preflightArgv, afterArgv, preflightIsDesktop
|
|
10023
|
+
argvNote = describeArgvDrift(preflightArgv, afterArgv, preflightIsDesktop,
|
|
10024
|
+
// #848: BOTH restart paths, or the answer depends on which one the user
|
|
10025
|
+
// happened to take. This is the panel tool's own path; the service's
|
|
10026
|
+
// Manager-reboot path passes the same finding.
|
|
10027
|
+
preflightIsDesktop
|
|
10028
|
+
? describeSavedLaunchArgDrift(desktopSavedLaunchArgs(config.comfyuiPath ?? undefined), afterArgv)
|
|
10029
|
+
: "");
|
|
10023
10030
|
}
|
|
10024
10031
|
}
|
|
10025
10032
|
return ok({
|