UNPKG

comfyui-mcp

Version:

Local-first, agent-native control plane for ComfyUI — MCP server + autonomous sidebar agent that drives your live graph in natural language on ANY LLM: Claude/ChatGPT/Gemini on your subscription (no API key), free local models via Ollama (fully offline),

18 lines • 963 B
import { runSelfUpdate, selfUpdateStatus } from "../services/self-update.js"; /** The two self-update operations, unchanged from the retired `install_comfyui (action:"self_update")` * tool's own `action` enum (0.50.0 slice 13). They moved to * `self_update_action` because the folded tool's own `action` selects the * family member — two fields cannot share one name in a flat schema. */ export const SELF_UPDATE_ACTIONS = ["status", "update"]; /** * `install_comfyui (action:"self_update")` — what the retired `install_comfyui (action:"self_update")` * tool did, selected by `self_update_action` (0.50.0 slice 13). Same * self-update service, same JSON content block. */ export async function selfUpdateAction(action) { const result = action === "status" ? await selfUpdateStatus() : await runSelfUpdate(); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; } //# sourceMappingURL=self-update.js.map