Jensen Zhang
d7a15a7d5d
Add comfy-cli REST API support
- Implement ComfyCliExecutor for async command execution
- Add REST API endpoints for comfy-cli:
- Configuration management (/comfy-cli/config/*)
- Model management (/comfy-cli/model/*)
- Node management (/comfy-cli/node/*)
- Create API handlers: ConfigHandler, ModelHandler, NodeHandler
- Register routes in comfy_cli_routes.py
- Update main __init__.py to support dual CLI (cm-cli + comfy-cli)
- Add comprehensive documentation:
- COMFY_CLI_API.md: Complete API reference
- COMFY_CLI_QUICKSTART.md: Quick start guide
- Update README.md with dual CLI support
- Update AGENTS.md development guide
- Add comfy-cli reference documentation in docs/references/
- Remove trailing spaces from all Python and Markdown files
- Ensure all code passes syntax validation
Features:
- Async job tracking for long-running operations
- Structured JSON responses
- Comprehensive error handling
- Direct filesystem access for model listing (more reliable)
- Support for CivitAI and HuggingFace API tokens
2026-03-17 21:55:32 +08:00
..
2026-03-17 21:55:32 +08:00
2026-03-17 21:55:32 +08:00
2026-03-17 21:55:32 +08:00
2026-03-17 21:55:32 +08:00
2026-03-17 21:55:32 +08:00
2026-03-17 21:55:32 +08:00
2026-03-17 21:55:32 +08:00
2026-03-17 21:55:32 +08:00