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),

16 lines • 778 B
import { homedir } from "node:os"; import { join } from "node:path"; /** * One bounded history for both `connect` and `--panel-orchestrator`. * They enter the same long-lived runtime; keeping one stable path means a * panel-launched terminal and a manually launched connect process are equally * diagnosable without making the broker guess where the child will write. */ export function orchestratorLogPath(options = {}) { const configuredDataDir = options.dataDir === undefined ? process.env.COMFYUI_MCP_DATA_DIR?.trim() : options.dataDir.trim(); const dataDir = configuredDataDir || join(options.home ?? homedir(), ".comfyui-mcp"); return join(dataDir, "launch-logs", "connect-orchestrator.log"); } //# sourceMappingURL=orchestrator-log.js.map