Conversation
…execution Add a complete plugin for interacting with ComfyUI servers: - nodes: list all registered node types - node-info: detailed definition of a node (inputs, types, defaults) - search-node: search nodes by keyword - models: list available model files - system-stats: server status and system information - run: execute workflows via JSON prompt - queue: view running/pending queue status - history: view execution history Configurable via COMFYUI_HOST environment variable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add browser adapter doc for ComfyUI with commands table, usage examples, and configuration instructions. Register in VitePress sidebar. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Astro-Han
left a comment
There was a problem hiding this comment.
I don’t think this is ready to merge yet. There are two integration problems that look blocking, plus one docs gap.
-
The new
clis/comfyui/*.jsfiles import../../registry.jsand../../errors.js. That doesn’t match how adapters are wired in this repo. Existing adapters import from@jackwener/opencli/registryand@jackwener/opencli/errors, and I don’t see a root-levelregistry.jsfor these new files to resolve against. -
The adapter is added as source
.jsfiles underclis/, but this repo’s build only compilesclis/**/*.ts. That means these ComfyUI handlers may behave differently in local dev versus the packaged build, and may be missing fromdist/clis/entirely. -
For a new adapter, this repo asks for the adapter doc, adapter index, VitePress sidebar,
README.md, andREADME.zh-CN.mdin the same PR. This diff adds the adapter page and sidebar entry, but not the index or READMEs.
From my side, the feature itself makes sense and the scope is focused. I’d fix the import path and packaging issue first, then bring the docs updates in line with the repo’s adapter checklist.
Summary
Add
comfyui/plugin to manage ComfyUI servers from the CLI.Commands
comfyui nodescomfyui node-info <name>comfyui search-node <query>comfyui models [--model_type <type>]comfyui system-statscomfyui queuecomfyui history [--limit N]ComfyUI API Endpoints Used
/api/object_info/api/models/api/models/<type>/api/system_stats/prompt/api/queue/api/historyConfiguration
Configurable via
COMFYUI_HOSTenvironment variable (default:http://127.0.0.1:8188).export COMFYUI_HOST=http://192.168.1.100:8008Test plan
comfyui nodes --limit 5lists node types correctlycomfyui node-info KSamplershows input definitions with types and defaultscomfyui node-info NonExistentNodereturns helpful error with similar suggestionscomfyui search-node samplerfinds matching nodes by name and fieldcomfyui modelsshows summary per type;--model_type loraslists specific modelscomfyui system-statsreturns ComfyUI version, OS, device, RAMcomfyui queueshows empty queue / running / pending statescomfyui history --limit 3shows recent execution historycomfyui history --prompt_id <id>shows specific entry detailscomfyui run <json>submits workflow, reports errors cleanlyCOMFYUI_HOSTenv var correctly configures server address