comfyui-mcp 0.49.0 → 0.49.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/README.md +5 -10
- package/dist/comfyui/cloud-client.js +2 -2
- package/dist/comfyui/cloud-client.js.map +1 -1
- package/dist/config.js +22 -0
- package/dist/config.js.map +1 -1
- package/dist/orchestrator/agent-backend.js +9 -0
- package/dist/orchestrator/agent-backend.js.map +1 -1
- package/dist/orchestrator/antigravity-backend.js +3 -2
- package/dist/orchestrator/antigravity-backend.js.map +1 -1
- package/dist/orchestrator/call-tool-admission.js +160 -0
- package/dist/orchestrator/call-tool-admission.js.map +1 -0
- package/dist/orchestrator/chatgpt-oauth-backend.js +3 -2
- package/dist/orchestrator/chatgpt-oauth-backend.js.map +1 -1
- package/dist/orchestrator/claude-backend.js +300 -3
- package/dist/orchestrator/claude-backend.js.map +1 -1
- package/dist/orchestrator/codex-backend.js +3 -2
- package/dist/orchestrator/codex-backend.js.map +1 -1
- package/dist/orchestrator/gemini-backend.js +3 -2
- package/dist/orchestrator/gemini-backend.js.map +1 -1
- package/dist/orchestrator/grok-backend.js +5 -3
- package/dist/orchestrator/grok-backend.js.map +1 -1
- package/dist/orchestrator/index.js +169 -137
- package/dist/orchestrator/index.js.map +1 -1
- package/dist/orchestrator/ollama-backend.js +3 -2
- package/dist/orchestrator/ollama-backend.js.map +1 -1
- package/dist/orchestrator/panel-agent.js +89 -19
- package/dist/orchestrator/panel-agent.js.map +1 -1
- package/dist/orchestrator/panel-tools.js +955 -81
- package/dist/orchestrator/panel-tools.js.map +1 -1
- package/dist/orchestrator/pi-backend.js +3 -2
- package/dist/orchestrator/pi-backend.js.map +1 -1
- package/dist/orchestrator/session-store.js +22 -0
- package/dist/orchestrator/session-store.js.map +1 -1
- package/dist/services/civitai-resolver.js +22 -7
- package/dist/services/civitai-resolver.js.map +1 -1
- package/dist/services/comfy-cli.js +1 -1
- package/dist/services/download-jobs.js +1 -1
- package/dist/services/extra-paths.js +7 -7
- package/dist/services/extra-paths.js.map +1 -1
- package/dist/services/graph-query.js +10 -4
- package/dist/services/graph-query.js.map +1 -1
- package/dist/services/manager-config.js +11 -2
- package/dist/services/manager-config.js.map +1 -1
- package/dist/services/model-resolver.js +4 -4
- package/dist/services/model-resolver.js.map +1 -1
- package/dist/services/node-authoring.js +3 -3
- package/dist/services/node-authoring.js.map +1 -1
- package/dist/services/node-dev.js +3 -3
- package/dist/services/node-dev.js.map +1 -1
- package/dist/services/node-management.js +185 -9
- package/dist/services/node-management.js.map +1 -1
- package/dist/services/node-snapshots.js +117 -12
- package/dist/services/node-snapshots.js.map +1 -1
- package/dist/services/node-verify.js +1 -1
- package/dist/services/node-verify.js.map +1 -1
- package/dist/services/output-dir.js +1 -1
- package/dist/services/output-dir.js.map +1 -1
- package/dist/services/panel-installer.js +466 -6
- package/dist/services/panel-installer.js.map +1 -1
- package/dist/services/panel-pending-cancel.js +446 -0
- package/dist/services/panel-pending-cancel.js.map +1 -0
- package/dist/services/panel-pin-guard.js +50 -3
- package/dist/services/panel-pin-guard.js.map +1 -1
- package/dist/services/panel-sync.js +3 -20
- package/dist/services/panel-sync.js.map +1 -1
- package/dist/services/process-control.js +132 -8
- package/dist/services/process-control.js.map +1 -1
- package/dist/services/queue-manager.js +1 -1
- package/dist/services/queue-manager.js.map +1 -1
- package/dist/services/queue-monitor.js +1 -1
- package/dist/services/queue-monitor.js.map +1 -1
- package/dist/services/queue-monitor.self-attribution.test.js +1 -1
- package/dist/services/queue-monitor.self-attribution.test.js.map +1 -1
- package/dist/services/ui-bridge.js +180 -17
- package/dist/services/ui-bridge.js.map +1 -1
- package/dist/services/update-comfyui.js +29 -2
- package/dist/services/update-comfyui.js.map +1 -1
- package/dist/services/workspace-env.js +3 -3
- package/dist/services/workspace-env.js.map +1 -1
- package/dist/tools/api-nodes.js +1 -1
- package/dist/tools/api-nodes.js.map +1 -1
- package/dist/tools/batches.js +1 -1
- package/dist/tools/batches.js.map +1 -1
- package/dist/tools/compact.js +32 -6
- package/dist/tools/compact.js.map +1 -1
- package/dist/tools/extra-paths.js +1 -1
- package/dist/tools/extra-paths.js.map +1 -1
- package/dist/tools/generate-3d.js +2 -2
- package/dist/tools/generate-3d.js.map +1 -1
- package/dist/tools/install-panel.js +62 -22
- package/dist/tools/install-panel.js.map +1 -1
- package/dist/tools/model-explorer.js +175 -117
- package/dist/tools/model-explorer.js.map +1 -1
- package/dist/tools/queue-management.js +117 -135
- package/dist/tools/queue-management.js.map +1 -1
- package/dist/tools/run-template.js +4 -4
- package/dist/tools/run-template.js.map +1 -1
- package/dist/tools/vocabulary.js +123 -19
- package/dist/tools/vocabulary.js.map +1 -1
- package/dist/tools/workflow-autoload.js +5 -5
- package/dist/tools/workflow-autoload.js.map +1 -1
- package/dist/tools/workflow-execute.js +1 -1
- package/dist/tools/workflow-execute.js.map +1 -1
- package/dist/tools/workspace-env.js +53 -28
- package/dist/tools/workspace-env.js.map +1 -1
- package/docs/design/panel-surface.txt +1 -0
- package/docs/design/tool-surface.txt +3 -0
- package/package.json +2 -2
- package/plugin/commands/batch.md +1 -1
- package/plugin/commands/gen.md +2 -2
- package/plugin/scripts/monitor-progress.mjs +1 -1
- package/plugin/skills/comfyui-core/SKILL.md +15 -13
- package/plugin/skills/director/SKILL.md +1 -1
- package/plugin/skills/ltxv2-video/SKILL.md +1 -1
- package/plugin/skills/troubleshooting/SKILL.md +1 -1
- package/plugin/skills/video-extend/SKILL.md +1 -1
- package/plugin/skills/workflow-layout/SKILL.md +4 -5
- package/scripts/arena-scenarios.mjs +5 -5
- package/scripts/check-tool-vocabulary.mts +9 -0
- package/scripts/gen-tool-docs.ts +31 -10
|
@@ -1,158 +1,140 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { getQueueSummary, getJobStatus, getQueuedWorkflow, moveQueuedJob, editQueuedJob, cancelRunningJobEscalating, cancelQueuedJob, clearAllQueued, } from "../services/queue-manager.js";
|
|
3
3
|
import { errorToToolResult } from "../utils/errors.js";
|
|
4
|
+
/**
|
|
5
|
+
* The eight queue/jobs tools collapsed into one action-parameterized `queue`
|
|
6
|
+
* tool (0.49.0 surface consolidation, slice 4).
|
|
7
|
+
*
|
|
8
|
+
* SHAPE: a FLAT object with an `action` enum — deliberately NOT a
|
|
9
|
+
* z.discriminatedUnion, which the MCP SDK renders as a schema with ZERO visible
|
|
10
|
+
* parameters, hiding every input from the model.
|
|
11
|
+
*
|
|
12
|
+
* REQUIREDNESS: only `action` can be schema-required — `prompt_id` is required
|
|
13
|
+
* for status/get_workflow/move/edit/cancel_queued, optional for cancel, and
|
|
14
|
+
* meaningless for list/clear, and `position` is required for move but optional
|
|
15
|
+
* for edit. Every VALUE constraint the old tools had is unchanged at the zod
|
|
16
|
+
* layer; the handler enforces per-action presence and names the missing field —
|
|
17
|
+
* the one deliberate behavioural difference a flat enum permits. Each branch
|
|
18
|
+
* calls the same service function the old tool called, with the same arguments,
|
|
19
|
+
* and returns the identical content block (JSON for the query actions, the
|
|
20
|
+
* prose messages for cancel/cancel_queued/clear, isError on a wedged cancel).
|
|
21
|
+
*/
|
|
4
22
|
export function registerQueueManagementTools(server) {
|
|
5
|
-
server.tool("
|
|
23
|
+
server.tool("queue", "Inspect and manage the ComfyUI execution queue. Driven by the `action` parameter:\n" +
|
|
24
|
+
'- action:"list" — The job running now plus all pending jobs, each with its prompt_id and position. Read-only; requires a reachable ComfyUI server (works against local or remote --comfyui-url). Omits queued workflow payloads by default to keep output small; set include_workflows:true when you need to inspect or edit the exact pending payload. Use this before action:"cancel" (running), action:"cancel_queued"/action:"clear" (pending), action:"move", or action:"edit".\n' +
|
|
25
|
+
'- action:"status" — Check ONE job by its prompt_id (the id returned by enqueue_workflow). Queries the connected ComfyUI server; requires it to be running. Returns JSON with running, pending, and done booleans, plus optional status_str, error details, and execution_stats from ComfyUI history once the job is done. Also returns text_outputs when the workflow contained text-preview nodes (Preview as Text, ShowText, …) — those produce no image file, so this is the ONLY way to read their result; report that text back to the user. Use action:"list" to see the whole queue at once, and get_history for full output filenames.\n' +
|
|
26
|
+
'- action:"get_workflow" — The full workflow payload for one PENDING queue item by prompt_id. Read-only. Does not work for the currently running job because ComfyUI cannot safely edit a job after execution starts.\n' +
|
|
27
|
+
'- action:"move" — Move a PENDING queue item to the front or back by removing it and re-enqueuing its saved workflow payload; `position` ("front"|"back") is required. The job receives a NEW prompt_id; the old prompt_id is removed. Running jobs cannot be moved.\n' +
|
|
28
|
+
'- action:"edit" — Edit a PENDING queue item by removing it and re-enqueuing an updated workflow. Provide either a complete replacement `workflow` or `node_inputs` patches keyed by node id; `position` selects where to requeue (default back). The job receives a NEW prompt_id; the old prompt_id is removed. Running jobs cannot be edited.\n' +
|
|
29
|
+
'- action:"cancel" — Stop the CURRENTLY RUNNING job ROBUSTLY. Sends an interrupt, then WAITS and verifies the job actually stopped — ComfyUI only honors interrupts BETWEEN steps, so a long single step (e.g. a high-res video sampler) can ignore a plain cancel. If the interrupt isn\'t honored it escalates to freeing VRAM (POST /free) and re-checks; if it STILL won\'t die it reports the job as WEDGED and tells you to restart_comfyui (an HTTP cancel cannot kill a stuck step). Set clear_pending:true to also drop ALL pending jobs in the same call — the correct "reset the queue" action, since cancelling alone leaves pending jobs that would run next. The partial result is discarded. With `prompt_id` given, only interrupts the running job when its prompt_id matches; omit to interrupt whatever is currently running. Use action:"cancel_queued" to remove one specific PENDING job instead.\n' +
|
|
30
|
+
'- action:"cancel_queued" — Remove one specific PENDING job from the queue by prompt_id. Does not affect running jobs.\n' +
|
|
31
|
+
'- action:"clear" — Clear ALL pending jobs from the queue. Does not affect the currently running job.', {
|
|
32
|
+
action: z
|
|
33
|
+
.enum(["list", "status", "get_workflow", "move", "edit", "cancel", "cancel_queued", "clear"])
|
|
34
|
+
.describe('Which queue operation to perform. "list" and "clear" take no other parameters; "status", "get_workflow" and "cancel_queued" require `prompt_id`; "move" requires `prompt_id` + `position`; "edit" requires `prompt_id` (optional `workflow`/`node_inputs`/`position`); "cancel" takes an optional `prompt_id` and `clear_pending`.'),
|
|
35
|
+
prompt_id: z
|
|
36
|
+
.string()
|
|
37
|
+
.optional()
|
|
38
|
+
.describe('The prompt_id of a job (the id returned by enqueue_workflow). REQUIRED for actions "status", "get_workflow", "move", "edit" and "cancel_queued" (a PENDING queue item for all but "status"). OPTIONAL for action:"cancel" — if given, only interrupts the running job when its prompt_id matches; omit to interrupt whatever is currently running.'),
|
|
6
39
|
include_workflows: z
|
|
7
40
|
.boolean()
|
|
8
41
|
.optional()
|
|
9
|
-
.describe("
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
content: [
|
|
15
|
-
{
|
|
16
|
-
type: "text",
|
|
17
|
-
text: JSON.stringify(summary, null, 2),
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
catch (err) {
|
|
23
|
-
return errorToToolResult(err);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
server.tool("get_queued_workflow", "Return the full workflow payload for one PENDING queue item by prompt_id. Read-only. This does not work for the currently running job because ComfyUI cannot safely edit a job after execution starts.", {
|
|
27
|
-
prompt_id: z.string().describe("The prompt_id of a pending queue item."),
|
|
28
|
-
}, async (args) => {
|
|
29
|
-
try {
|
|
30
|
-
const item = await getQueuedWorkflow(args.prompt_id);
|
|
31
|
-
return {
|
|
32
|
-
content: [{ type: "text", text: JSON.stringify(item, null, 2) }],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
catch (err) {
|
|
36
|
-
return errorToToolResult(err);
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
server.tool("move_queued_job", "Move a PENDING ComfyUI queue item to the front or back by removing it and re-enqueuing its saved workflow payload. The job receives a NEW prompt_id; the old prompt_id is removed. Running jobs cannot be moved.", {
|
|
40
|
-
prompt_id: z.string().describe("The prompt_id of a pending queue item."),
|
|
41
|
-
position: z.enum(["front", "back"]).describe("Where to requeue the job."),
|
|
42
|
-
}, async (args) => {
|
|
43
|
-
try {
|
|
44
|
-
const result = await moveQueuedJob(args.prompt_id, args.position);
|
|
45
|
-
return {
|
|
46
|
-
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
catch (err) {
|
|
50
|
-
return errorToToolResult(err);
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
server.tool("edit_queued_job", "Edit a PENDING ComfyUI queue item by removing it and re-enqueuing an updated workflow. Provide either a complete replacement workflow or node_inputs patches keyed by node id. The job receives a NEW prompt_id; the old prompt_id is removed. Running jobs cannot be edited.", {
|
|
54
|
-
prompt_id: z.string().describe("The prompt_id of a pending queue item."),
|
|
42
|
+
.describe('action:"list" — include each running/pending job\'s workflow payload and extra_data. Can be large.'),
|
|
43
|
+
position: z
|
|
44
|
+
.enum(["front", "back"])
|
|
45
|
+
.optional()
|
|
46
|
+
.describe('Where to requeue the job. REQUIRED for action:"move". OPTIONAL for action:"edit" — defaults to back.'),
|
|
55
47
|
workflow: z
|
|
56
48
|
.record(z.string(), z.any())
|
|
57
49
|
.optional()
|
|
58
|
-
.describe("
|
|
50
|
+
.describe('action:"edit" — optional complete replacement API-format workflow. If omitted, the existing queued workflow is patched with `node_inputs`.'),
|
|
59
51
|
node_inputs: z
|
|
60
52
|
.record(z.string(), z.record(z.string(), z.any()))
|
|
61
53
|
.optional()
|
|
62
|
-
.describe("
|
|
63
|
-
position: z
|
|
64
|
-
.enum(["front", "back"])
|
|
65
|
-
.optional()
|
|
66
|
-
.describe("Where to requeue the edited job. Defaults to back."),
|
|
67
|
-
}, async (args) => {
|
|
68
|
-
try {
|
|
69
|
-
const result = await editQueuedJob({
|
|
70
|
-
prompt_id: args.prompt_id,
|
|
71
|
-
workflow: args.workflow,
|
|
72
|
-
node_inputs: args.node_inputs,
|
|
73
|
-
position: args.position,
|
|
74
|
-
});
|
|
75
|
-
return {
|
|
76
|
-
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
catch (err) {
|
|
80
|
-
return errorToToolResult(err);
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
server.tool("get_job_status", "Check the status of ONE ComfyUI job by its prompt_id (the id returned by enqueue_workflow). Queries the connected ComfyUI server; requires it to be running. Returns JSON with running, pending, and done booleans, plus optional status_str, error details, and execution_stats from ComfyUI history once the job is done. Also returns text_outputs when the workflow contained text-preview nodes (Preview as Text, ShowText, …) — those produce no image file, so this is the ONLY way to read their result; report that text back to the user. Use get_queue to see the whole queue at once, and get_history for full output filenames.", {
|
|
84
|
-
prompt_id: z.string().describe("The prompt ID returned by enqueue_workflow"),
|
|
85
|
-
}, async (args) => {
|
|
86
|
-
try {
|
|
87
|
-
const status = await getJobStatus(args.prompt_id);
|
|
88
|
-
return {
|
|
89
|
-
content: [
|
|
90
|
-
{
|
|
91
|
-
type: "text",
|
|
92
|
-
text: JSON.stringify(status, null, 2),
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
catch (err) {
|
|
98
|
-
return errorToToolResult(err);
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
server.tool("cancel_job", "Stop the CURRENTLY RUNNING ComfyUI job ROBUSTLY. Sends an interrupt, then WAITS and verifies the job actually stopped — ComfyUI only honors interrupts BETWEEN steps, so a long single step (e.g. a high-res video sampler) can ignore a plain cancel. If the interrupt isn't honored it escalates to freeing VRAM (POST /free) and re-checks; if it STILL won't die it reports the job as WEDGED and tells you to restart_comfyui (an HTTP cancel cannot kill a stuck step). Set clear_pending:true to also drop ALL pending jobs in the same call — the correct 'reset the queue' action, since cancelling alone leaves pending jobs that would run next. The partial result is discarded. Use cancel_queued_job to remove one specific PENDING job instead.", {
|
|
102
|
-
prompt_id: z
|
|
103
|
-
.string()
|
|
104
|
-
.optional()
|
|
105
|
-
.describe("Optional. If given, only interrupts the running job when its prompt_id matches; omit to interrupt whatever is currently running."),
|
|
54
|
+
.describe('action:"edit" — optional input patches keyed by node id, e.g. {"3":{"steps":30,"cfg":7}}.'),
|
|
106
55
|
clear_pending: z
|
|
107
56
|
.boolean()
|
|
108
57
|
.optional()
|
|
109
|
-
.describe("
|
|
58
|
+
.describe('action:"cancel" — also clear ALL pending jobs (recommended when resetting after a stuck/slow render, so a re-queue doesn\'t stack behind a backlog). Default false.'),
|
|
110
59
|
}, async (args) => {
|
|
111
60
|
try {
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
clear_pending: args.clear_pending,
|
|
61
|
+
const json = (value) => ({
|
|
62
|
+
content: [{ type: "text", text: JSON.stringify(value, null, 2) }],
|
|
115
63
|
});
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}, async (args) => {
|
|
130
|
-
try {
|
|
131
|
-
await cancelQueuedJob(args.prompt_id);
|
|
132
|
-
return {
|
|
133
|
-
content: [
|
|
134
|
-
{
|
|
135
|
-
type: "text",
|
|
136
|
-
text: `Queued job ${args.prompt_id} removed successfully.`,
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
catch (err) {
|
|
142
|
-
return errorToToolResult(err);
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
server.tool("clear_queue", "Clear all pending jobs from the ComfyUI queue. Does not affect the currently running job.", {}, async () => {
|
|
146
|
-
try {
|
|
147
|
-
await clearAllQueued();
|
|
148
|
-
return {
|
|
149
|
-
content: [
|
|
150
|
-
{
|
|
151
|
-
type: "text",
|
|
152
|
-
text: "All pending queue items cleared successfully.",
|
|
153
|
-
},
|
|
154
|
-
],
|
|
64
|
+
// prompt_id/position cannot be schema-required in a flat shape, so the
|
|
65
|
+
// handler enforces per-action presence and names the missing field — the
|
|
66
|
+
// same information the old per-tool schemas gave a caller.
|
|
67
|
+
//
|
|
68
|
+
// ABSENCE only, never falsiness: `prompt_id: ""` passed z.string() before
|
|
69
|
+
// this consolidation and reached the service, which answers with its own
|
|
70
|
+
// not-found/validation error. A `!prompt_id` guard would swallow that path
|
|
71
|
+
// and answer with generic text instead.
|
|
72
|
+
const requirePromptId = (action, what) => {
|
|
73
|
+
if (args.prompt_id === undefined) {
|
|
74
|
+
throw new Error(`queue action:"${action}" requires \`prompt_id\` — ${what}.`);
|
|
75
|
+
}
|
|
76
|
+
return args.prompt_id;
|
|
155
77
|
};
|
|
78
|
+
switch (args.action) {
|
|
79
|
+
case "list":
|
|
80
|
+
return json(await getQueueSummary({ include_workflows: args.include_workflows }));
|
|
81
|
+
case "status":
|
|
82
|
+
return json(await getJobStatus(requirePromptId("status", "the job to check")));
|
|
83
|
+
case "get_workflow":
|
|
84
|
+
return json(await getQueuedWorkflow(requirePromptId("get_workflow", "a PENDING queue item")));
|
|
85
|
+
case "move": {
|
|
86
|
+
const promptId = requirePromptId("move", "a PENDING queue item to move");
|
|
87
|
+
if (args.position === undefined) {
|
|
88
|
+
throw new Error('queue action:"move" requires `position` — "front" or "back".');
|
|
89
|
+
}
|
|
90
|
+
return json(await moveQueuedJob(promptId, args.position));
|
|
91
|
+
}
|
|
92
|
+
case "edit":
|
|
93
|
+
return json(await editQueuedJob({
|
|
94
|
+
prompt_id: requirePromptId("edit", "a PENDING queue item to edit"),
|
|
95
|
+
workflow: args.workflow,
|
|
96
|
+
node_inputs: args.node_inputs,
|
|
97
|
+
position: args.position,
|
|
98
|
+
}));
|
|
99
|
+
case "cancel": {
|
|
100
|
+
const result = await cancelRunningJobEscalating({
|
|
101
|
+
prompt_id: args.prompt_id,
|
|
102
|
+
clear_pending: args.clear_pending,
|
|
103
|
+
});
|
|
104
|
+
return {
|
|
105
|
+
content: [{ type: "text", text: result.message }],
|
|
106
|
+
...(result.wedged ? { isError: true } : {}),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
case "cancel_queued": {
|
|
110
|
+
const promptId = requirePromptId("cancel_queued", "the pending job to remove");
|
|
111
|
+
await cancelQueuedJob(promptId);
|
|
112
|
+
return {
|
|
113
|
+
content: [
|
|
114
|
+
{
|
|
115
|
+
type: "text",
|
|
116
|
+
text: `Queued job ${promptId} removed successfully.`,
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
case "clear":
|
|
122
|
+
await clearAllQueued();
|
|
123
|
+
return {
|
|
124
|
+
content: [
|
|
125
|
+
{
|
|
126
|
+
type: "text",
|
|
127
|
+
text: "All pending queue items cleared successfully.",
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
};
|
|
131
|
+
default: {
|
|
132
|
+
// Unreachable given the zod enum, but a clear runtime guard beats a
|
|
133
|
+
// silent undefined if the schema and switch ever drift apart.
|
|
134
|
+
const exhaustive = args.action;
|
|
135
|
+
throw new Error(`Unknown queue action "${String(exhaustive)}". Expected one of: list, status, get_workflow, move, edit, cancel, cancel_queued, clear.`);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
156
138
|
}
|
|
157
139
|
catch (err) {
|
|
158
140
|
return errorToToolResult(err);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-management.js","sourceRoot":"","sources":["../../src/tools/queue-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,0BAA0B,EAC1B,eAAe,EACf,cAAc,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,UAAU,4BAA4B,CAAC,MAAiB;IAC5D,MAAM,CAAC,IAAI,CACT,
|
|
1
|
+
{"version":3,"file":"queue-management.js","sourceRoot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AAQ,CAAC,CAAC;oBAChC,OAAO;wBACL,OAAO,EAAE;4BACP;gCACE,IAAI,EAAE,MAAe;gCACrB,IAAI,EAAE,cAAc,QAAQ,wBAAwB;6BACrD;yBACF;qBACF,CAAC;gBACJ,CAAC;gBACD,KAAK,OAAO;oBACV,MAAM,cAAc,EAAE,CAAC;oBACvB,OAAO;wBACL,OAAO,EAAE;4BACP;gCACE,IAAI,EAAE,MAAe;gCACrB,IAAI,EAAE,+CAA+C;6BACtD;yBACF;qBACF,CAAC;gBACJ,OAAO,CAAC,CAAC,CAAC;oBACR,oEAAoE;oBACpE,8DAA8D;oBAC9D,MAAM,UAAU,GAAU,IAAI,CAAC,MAAM,CAAC;oBACtC,MAAM,IAAI,KAAK,CACb,yBAAyB,MAAM,CAAC,UAAU,CAAC,2FAA2F,CACvI,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,iBAAiB,CAAC,GAAG,CAAC,CAAC;QAChC,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -106,7 +106,7 @@ export function registerRunTemplateTools(server) {
|
|
|
106
106
|
.number()
|
|
107
107
|
.positive()
|
|
108
108
|
.optional()
|
|
109
|
-
.describe("Max seconds to wait when wait:true (default 300). On timeout the job keeps running; poll
|
|
109
|
+
.describe("Max seconds to wait when wait:true (default 300). On timeout the job keeps running; poll queue (action:\"status\")."),
|
|
110
110
|
disable_random_seed: z
|
|
111
111
|
.boolean()
|
|
112
112
|
.optional()
|
|
@@ -152,9 +152,9 @@ export function registerRunTemplateTools(server) {
|
|
|
152
152
|
],
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
// 4. Minimal wait: poll
|
|
155
|
+
// 4. Minimal wait: poll the job-status service until done or timeout.
|
|
156
156
|
// (Kept deliberately simple — for a bare enqueue, call
|
|
157
|
-
// enqueue_workflow and poll
|
|
157
|
+
// enqueue_workflow and poll queue action:"status" yourself.)
|
|
158
158
|
const timeoutMs = (args.timeout_s ?? 300) * 1000;
|
|
159
159
|
const start = Date.now();
|
|
160
160
|
for (;;) {
|
|
@@ -196,7 +196,7 @@ export function registerRunTemplateTools(server) {
|
|
|
196
196
|
text: JSON.stringify({
|
|
197
197
|
...base,
|
|
198
198
|
status: "timeout",
|
|
199
|
-
message: `Job still ${status.running ? "running" : "pending"} after ${args.timeout_s ?? 300}s — it was NOT cancelled. Poll
|
|
199
|
+
message: `Job still ${status.running ? "running" : "pending"} after ${args.timeout_s ?? 300}s — it was NOT cancelled. Poll queue (action:"status") with prompt_id "${result.prompt_id}" for completion.`,
|
|
200
200
|
}, null, 2),
|
|
201
201
|
},
|
|
202
202
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-template.js","sourceRoot":"","sources":["../../src/tools/run-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAwB,MAAM,kCAAkC,CAAC;AACxF,OAAO,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,cAAc,GACf,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,MAAM,KAAK,GAAG,CAAC,EAAU,EAAiB,EAAE,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAA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AAE;4BACP;gCACE,IAAI,EAAE,MAAe;gCACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB;oCACE,GAAG,IAAI;oCACP,MAAM,EAAE,SAAS;oCACjB,OAAO,EAAE,aAAa,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,UAAU,IAAI,CAAC,SAAS,IAAI,GAAG,0EAA0E,MAAM,CAAC,SAAS,mBAAmB;iCACzM,EACD,IAAI,EACJ,CAAC,CACF;6BACF;yBACF;qBACF,CAAC;gBACJ,CAAC;gBACD,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,iBAAiB,CAAC,GAAG,CAAC,CAAC;QAChC,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/dist/tools/vocabulary.js
CHANGED
|
@@ -41,14 +41,7 @@ export const TOOL_NAMES = [
|
|
|
41
41
|
"modify_workflow",
|
|
42
42
|
"get_node_info",
|
|
43
43
|
"validate_workflow",
|
|
44
|
-
"
|
|
45
|
-
"get_queued_workflow",
|
|
46
|
-
"move_queued_job",
|
|
47
|
-
"edit_queued_job",
|
|
48
|
-
"get_job_status",
|
|
49
|
-
"cancel_job",
|
|
50
|
-
"cancel_queued_job",
|
|
51
|
-
"clear_queue",
|
|
44
|
+
"queue",
|
|
52
45
|
"search_custom_nodes",
|
|
53
46
|
"get_node_pack_details",
|
|
54
47
|
"search_models",
|
|
@@ -128,16 +121,12 @@ export const TOOL_NAMES = [
|
|
|
128
121
|
"search_civitai_models",
|
|
129
122
|
"search_civitai_creators",
|
|
130
123
|
"download_civitai_model",
|
|
131
|
-
"
|
|
132
|
-
"model_metadata_propose",
|
|
133
|
-
"model_metadata_fetch_civitai",
|
|
124
|
+
"model_metadata",
|
|
134
125
|
"prompt_director_inspect",
|
|
135
126
|
"list_extra_paths",
|
|
136
127
|
"add_extra_path",
|
|
137
128
|
"remove_extra_path",
|
|
138
|
-
"
|
|
139
|
-
"set_default_workspace",
|
|
140
|
-
"list_workspaces",
|
|
129
|
+
"workspace",
|
|
141
130
|
"get_environment",
|
|
142
131
|
"list_api_nodes",
|
|
143
132
|
"get_api_node_schema",
|
|
@@ -214,9 +203,11 @@ export const TOOL_NAMES = [
|
|
|
214
203
|
* updating — it is history, not state.
|
|
215
204
|
*
|
|
216
205
|
* Read from docs/design/tool-surface.txt so there is exactly one copy of the
|
|
217
|
-
* baseline names (
|
|
206
|
+
* baseline names (190: the 182 frozen at 0.48.32 plus the eight consolidated tools
|
|
218
207
|
* appended as they shipped — `bisect` in 0.49.0 slice 1, then `node_snapshot`,
|
|
219
|
-
* `apps` and `batch` in slice 2, then `comfy_cli` in slice 3
|
|
208
|
+
* `apps` and `batch` in slice 2, then `comfy_cli` in slice 3, then `queue` in
|
|
209
|
+
* slice 4, then `model_metadata` in slice 5, then `workspace` in slice 6), and so
|
|
210
|
+
* the file committed
|
|
220
211
|
* as the P0 evidence is load-bearing rather than
|
|
221
212
|
* decorative.
|
|
222
213
|
*/
|
|
@@ -234,7 +225,7 @@ const BASELINE_URL = new URL("../../docs/design/tool-surface.txt", import.meta.u
|
|
|
234
225
|
* 200-line rename. APPENDING is legitimate — new tools join the baseline when they
|
|
235
226
|
* ship — so the workflow is: append, update this hash, say why in the message.
|
|
236
227
|
*/
|
|
237
|
-
export const BASELINE_SHA256 = "
|
|
228
|
+
export const BASELINE_SHA256 = "72f079e20cb20a02043338cc337c2afc6b5f683683ebe8148c4b0c9ac854c1cf";
|
|
238
229
|
/**
|
|
239
230
|
* LAZY on purpose, and this is not a micro-optimisation.
|
|
240
231
|
*
|
|
@@ -278,7 +269,7 @@ const PANEL_BASELINE_URL = new URL("../../docs/design/panel-surface.txt", import
|
|
|
278
269
|
* Sorted rather than in registration order: unlike tools/list, the panel surface has
|
|
279
270
|
* no observable ordering, so sorting keeps the diff readable as names are added.
|
|
280
271
|
*/
|
|
281
|
-
export const PANEL_BASELINE_SHA256 = "
|
|
272
|
+
export const PANEL_BASELINE_SHA256 = "581d56282cc1a9154dd68e78c5607f249b5345261b8b5c3bc07b3fc4b412445d";
|
|
282
273
|
/** Lazy for the same reason as the core baseline — see readBaseline(). */
|
|
283
274
|
export function panelRetirementBaseline() {
|
|
284
275
|
return readBaseline(PANEL_BASELINE_URL).names;
|
|
@@ -300,7 +291,7 @@ export function panelBaselineIntegrity() {
|
|
|
300
291
|
* to the surface. That is the ratchet: not that it cannot rise, but that it cannot
|
|
301
292
|
* rise silently.
|
|
302
293
|
*/
|
|
303
|
-
export const MAX_TOOLS =
|
|
294
|
+
export const MAX_TOOLS = 151;
|
|
304
295
|
/** Where this is headed, for reference in review. A goal, not enforced. */
|
|
305
296
|
export const TOOL_BUDGET_TARGET = 30;
|
|
306
297
|
/**
|
|
@@ -332,6 +323,119 @@ export function deadNameRe(name) {
|
|
|
332
323
|
* entry documents the two mentions in this repo that are correct.
|
|
333
324
|
*/
|
|
334
325
|
export const DEAD_NAMES = [
|
|
326
|
+
// 0.49.0 slice 6: the three workspace tools folded into one
|
|
327
|
+
// action-parameterized `workspace` tool. Same workspace-env services, same
|
|
328
|
+
// JSON return shapes — only the surface changed, so every mention of the old
|
|
329
|
+
// names is now rot pointing at a 404.
|
|
330
|
+
{
|
|
331
|
+
name: "get_workspace",
|
|
332
|
+
since: "0.49.0",
|
|
333
|
+
replacement: 'workspace (action:"get")',
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
name: "set_default_workspace",
|
|
337
|
+
since: "0.49.0",
|
|
338
|
+
replacement: 'workspace (action:"set_default")',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: "list_workspaces",
|
|
342
|
+
since: "0.49.0",
|
|
343
|
+
replacement: 'workspace (action:"list")',
|
|
344
|
+
},
|
|
345
|
+
// 0.49.0 slice 5: the three model-metadata tools folded into one
|
|
346
|
+
// action-parameterized `model_metadata` tool. Same Model Explorer proxy routes,
|
|
347
|
+
// same 404 degradations, same return shapes — only the surface changed, so
|
|
348
|
+
// every mention of the old names is now rot pointing at a 404.
|
|
349
|
+
{
|
|
350
|
+
name: "model_metadata_read",
|
|
351
|
+
since: "0.49.0",
|
|
352
|
+
replacement: 'model_metadata (action:"read")',
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
name: "model_metadata_propose",
|
|
356
|
+
since: "0.49.0",
|
|
357
|
+
replacement: 'model_metadata (action:"propose")',
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
name: "model_metadata_fetch_civitai",
|
|
361
|
+
since: "0.49.0",
|
|
362
|
+
replacement: 'model_metadata (action:"fetch_civitai")',
|
|
363
|
+
},
|
|
364
|
+
// 0.49.0 slice 4: the eight queue/jobs tools folded into one action-parameterized
|
|
365
|
+
// `queue` tool. Same queue-manager services, same return shapes (JSON for the
|
|
366
|
+
// query actions, prose for the cancels) — only the surface changed, so every
|
|
367
|
+
// mention of the old names is now rot pointing at a 404.
|
|
368
|
+
{
|
|
369
|
+
name: "get_queue",
|
|
370
|
+
since: "0.49.0",
|
|
371
|
+
replacement: 'queue (action:"list")',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
name: "get_queued_workflow",
|
|
375
|
+
since: "0.49.0",
|
|
376
|
+
replacement: 'queue (action:"get_workflow")',
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
name: "move_queued_job",
|
|
380
|
+
since: "0.49.0",
|
|
381
|
+
replacement: 'queue (action:"move")',
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
name: "edit_queued_job",
|
|
385
|
+
since: "0.49.0",
|
|
386
|
+
replacement: 'queue (action:"edit")',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
name: "get_job_status",
|
|
390
|
+
since: "0.49.0",
|
|
391
|
+
replacement: 'queue (action:"status")',
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
name: "cancel_job",
|
|
395
|
+
since: "0.49.0",
|
|
396
|
+
replacement: 'queue (action:"cancel")',
|
|
397
|
+
allowedIn: [
|
|
398
|
+
{
|
|
399
|
+
path: "docs/blog/comfyui-mcp-tdqs-case-study.mdx",
|
|
400
|
+
context: "our single weakest tool, `cancel_job`,",
|
|
401
|
+
why: "A DATED case study of a tool-description audit, narrating what the score was when the tool still had this name. Rewriting the score narrative to the new name would falsify the record of what was measured.",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
path: "docs/blog/comfyui-mcp-tdqs-case-study.mdx",
|
|
405
|
+
context: "Here's `cancel_job`, our 3.1, before and after:",
|
|
406
|
+
why: "Same post, introducing a verbatim quote of the tool's description at audit time — the quote is the artifact under analysis.",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
path: "docs/blog/comfyui-mcp-tdqs-case-study.mdx",
|
|
410
|
+
context: "Raising the floor — `cancel_job`,",
|
|
411
|
+
why: "Same post, past-tense recap of which tools were rewritten in that audit.",
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
name: "cancel_queued_job",
|
|
417
|
+
since: "0.49.0",
|
|
418
|
+
replacement: 'queue (action:"cancel_queued")',
|
|
419
|
+
allowedIn: [
|
|
420
|
+
{
|
|
421
|
+
path: "docs/blog/comfyui-mcp-tdqs-case-study.mdx",
|
|
422
|
+
context: "use `cancel_queued_job` to remove one specific pending job",
|
|
423
|
+
why: "Inside a verbatim > quote of cancel_job's description AS WRITTEN at audit time — the before/after quote is the post's evidence, so editing it would misquote the artifact.",
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
name: "clear_queue",
|
|
429
|
+
since: "0.49.0",
|
|
430
|
+
replacement: 'queue (action:"clear")',
|
|
431
|
+
allowedIn: [
|
|
432
|
+
{
|
|
433
|
+
path: "docs/blog/comfyui-mcp-tdqs-case-study.mdx",
|
|
434
|
+
context: "`clear_queue` to drop all pending jobs",
|
|
435
|
+
why: "Same verbatim quote of the audited description — a historical artifact in a dated post, not live guidance.",
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
},
|
|
335
439
|
// 0.49.0 slice 3: the eight comfy_cli_* tools folded into one action-parameterized
|
|
336
440
|
// `comfy_cli` tool. Same services, same envelope/1 return shapes, same CLI command
|
|
337
441
|
// construction — only the surface changed, so every mention of the old names is now
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vocabulary.js","sourceRoot":"","sources":["../../src/tools/vocabulary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,WAAW;IACX,kBAAkB;IAClB,kBAAkB;IAClB,kBAAkB;IAClB,oBAAoB;IACpB,qBAAqB;IACrB,iCAAiC;IACjC,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,mBAAmB;IACnB,
|
|
1
|
+
{"version":3,"file":"vocabulary.js","sourceRoot":"","sources":["../../src/tools/vocabulary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,WAAW;IACX,kBAAkB;IAClB,kBAAkB;IAClB,kBAAkB;IAClB,oBAAoB;IACpB,qBAAqB;IACrB,iCAAiC;IACjC,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,mBAAmB;IACnB,OAAO;IACP,qBAAqB;IACrB,uBAAuB;IACvB,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,mBAAmB;IACnB,qBAAqB;IACrB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