Commit Graph

3467 Commits

Author SHA1 Message Date
bymyself
49549ddcb8 [feat] Implement comprehensive batch tracking and OpenAPI-driven data models
Enhances ComfyUI Manager with robust batch execution tracking and unified data model architecture:

- Implemented automatic batch history serialization with before/after system state snapshots
- Added comprehensive state management capturing installed nodes, models, and ComfyUI version info
- Enhanced task queue with proper client ID handling and WebSocket notifications
- Migrated all data models to OpenAPI-generated Pydantic models for consistency
- Added documentation for new TaskQueue methods (done_count, total_count, finalize)
- Fixed 64 linting errors with proper imports and code cleanup

Technical improvements:
- All models now auto-generated from openapi.yaml ensuring API/implementation consistency
- Batch tracking captures complete system state at operation start and completion
- Enhanced REST endpoints with comprehensive documentation
- Removed manual model files in favor of single source of truth
- Added helper methods for system state capture and batch lifecycle management
2025-06-08 01:18:14 -07:00
bymyself
35eddc2965 [feat] Add client_id support to task queue system
- Add client_id field to QueueTaskItem and TaskHistoryItem models
- Implement client-specific WebSocket message routing
- Add client filtering to queue status and history endpoints
- Follow ComfyUI patterns for session management
- Create data_models package for better code organization
2025-06-06 16:01:52 -07:00
Dr.Lt.Data
798b203274 fixed: cm_global importing error 2025-06-06 16:00:45 -07:00
Dr.Lt.Data
9d2034bd4f fixed: crash related to deleted CNR node after installed
modified: convert cm-cli.sh to cm-cli command
2025-06-06 16:00:45 -07:00
Dr.Lt.Data
6233fabe02 modified: glob.core - make default network mode as public.
Network mode does not simply determine whether the CNR cache is used. Even after switching to cacheless in the future, it will continue to be used as a policy for user environments.
2025-06-06 16:00:45 -07:00
Dr.Lt.Data
48ba2f4b4c fixed: missing channels.list.template
modified: /ltdrdata -> /Comfy-Org
modified: set default network as public instead of offline
2025-06-06 16:00:45 -07:00
Dr.Lt.Data
3799af0017 fixed: perform reload when starting task worker 2025-06-06 16:00:45 -07:00
Dr.Lt.Data
403947a5d1 modified: prevent displaying ComfyUI-Manager on list 2025-06-06 16:00:45 -07:00
Dr.Lt.Data
276ccca4f6 fixed: avoid except:
fixed: prestartup_script - remove useless exception handling when fallback resolving comfy_path
2025-06-06 16:00:45 -07:00
Christian Byrne
31de92a7ef Add is_legacy_manager_ui route from the legacy package as well (#1748)
* add `is_legacy_manager_ui` route to `legacy` package  as well

* add static
2025-06-06 16:00:45 -07:00
Christian Byrne
3ae4aecd84 Only load legacy FE extension if --enable-manager-legacy-ui is set (#1746)
* only load JS extensions when legacy arg is set

* add `is_legacy_manager_ui` endpoint
2025-06-06 16:00:45 -07:00
Dr.Lt.Data
7896949719 use --enable-manager-legacy-ui cli arg instead of env variable 2025-06-06 16:00:45 -07:00
Dr.Lt.Data
86c7482048 restructuring
the existing cache-based implementation will be retained as a fallback under legacy/..., while glob/... will be updated to a cacheless implementation.
2025-06-06 16:00:45 -07:00
Christian Byrne
0146655f0f add development guide (#1739) 2025-06-06 15:59:20 -07:00
Dr.Lt.Data
89bb61fb05 fixed: don't disable legacy ComfyUI-Manager unless --disable-comfyui is set 2025-06-06 15:59:20 -07:00
bymyself
dfd9a3ec7b use parsed version and id even when no cnr map exists 2025-06-06 15:59:20 -07:00
bymyself
985c987603 fix: installed nodes should still be initialized in offline mode 2025-06-06 15:59:20 -07:00
bymyself
1ce35679b1 fix is_legacy_front should be a function still 2025-06-06 15:59:20 -07:00
bymyself
6e1c906aff if pip package, force offline mode 2025-06-06 15:59:20 -07:00
bymyself
cd8e87a3fb don't load legacy web dir when --disable-manager arg set 2025-06-06 15:59:20 -07:00
bymyself
8b9420731a enable legacy manager frontend during beta phase 2025-06-06 15:59:14 -07:00
bymyself
d9918cf773 add missing v2 prefix to customnode/installed route 2025-06-06 15:58:56 -07:00
bymyself
163782e445 don't handle queue in legacy front if element is not visible 2025-06-06 15:58:56 -07:00
bymyself
ad14e1ed13 don't show menu buttons if past comfyui front 1.16 2025-06-06 15:58:56 -07:00
bymyself
b4392293fa add workflow to publish to pypi 2025-06-06 15:58:56 -07:00
Dr.Lt.Data
e8ff505ebf Modify the structure to be installable via pip. 2025-06-06 15:58:56 -07:00
Dr.Lt.Data
8a5226b1d4 added: should_be_disabled function 2025-06-06 15:57:08 -07:00
Dr.Lt.Data
422af67217 fixed: ruff check 2025-06-06 15:57:08 -07:00
Dr.Lt.Data
5c300f75e7 fixed: failed[..].ui_id -> failed 2025-06-06 15:57:08 -07:00
Dr.Lt.Data
5ea7bf3683 feat: support task batch
POST /v2/manager/queue/batch
GET /v2/manager/queue/history_list
GET /v2/manager/queue/history?id={id}
GET /v2/manager/queue/abort_current
2025-06-06 15:57:08 -07:00
Dr.Lt.Data
34efbe9262 Modify the structure to be installable via pip. 2025-06-06 15:57:08 -07:00
Dr.Lt.Data
9d24038a7d support installation of system added nodepack
modified: install_by_id - Change the install path of the CNR node added by the system to be based on the repo URL instead of the CNR ID.
2025-06-06 15:54:38 -07:00
Dr.Lt.Data
3c6b5300e5 update DB 2025-06-06 14:37:15 +09:00
xmarre
f084c30b20
Add LoRA-Safe TorchCompile node (#1905)
* Add LoRA-Safe TorchCompile node

* Update custom-node-list.json

---------

Co-authored-by: xmarre <mmquant1@gmail.com>
Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com>
2025-06-06 14:17:19 +09:00
Dr.Lt.Data
206004fc1f update DB 2025-06-06 07:13:30 +09:00
Dr.Lt.Data
d9641cbff8 update DB 2025-06-06 06:14:09 +09:00
Dr.Lt.Data
13b272052a update DB 2025-06-06 05:56:26 +09:00
MDMAchine
c79e0d26d8
Update custom-node-list.json (#1904)
Added:
https://github.com/MDMAchine/ComfyUI_MD_Nodes
2025-06-06 05:55:26 +09:00
Dr.Lt.Data
ec4a4c2cfc update DB 2025-06-06 05:53:38 +09:00
leolee
9a9491bff9
Add Comfy-Topaz-Photo (#1901)
* Update custom-node-list.json

Add Comfy-Topaz-Photo

* Update custom-node-list.json

* Update custom-node-list.json

* Update custom-node-list.json

Add Comfy-Topaz-Photo

---------

Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com>
2025-06-06 05:53:13 +09:00
Dr.Lt.Data
5b5155819f update DB 2025-06-06 05:52:34 +09:00
Pigidiy
1b941c6b29
Fix: correct author & ID for ComfyUI-LikeSpiderAI-SaveMP3 (#1899)
* Fix: correct author & ID for ComfyUI-LikeSpiderAI-SaveMP3

This PR corrects the metadata for the ComfyUI-LikeSpiderAI-SaveMP3 node:

Changes author from aimingfail → Pigidiy

Adds missing version field: v1.0.0

Updates id from img2halftone → likeSpiderMP3

The previous metadata was mistakenly duplicated from another node.

Project repo: https://github.com/Pigidiy/ComfyUI-LikeSpiderAI-SaveMP3

* Update custom-node-list.json

---------

Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com>
2025-06-06 05:51:14 +09:00
e-tier-newbie
9b9665d2e9
Update custom-node-list.json (Add ComfyUI-E-Tier-TextSaver to node list) (#1879)
* Update custom-node-list.json

* Update custom-node-list.json

---------

Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com>
2025-06-06 05:49:02 +09:00
Dr.Lt.Data
4cceb46641 update DB 2025-06-03 18:50:49 +09:00
Dr.Lt.Data
19cf83cce6 update DB 2025-06-03 18:47:13 +09:00
Dr.Lt.Data
bb60d399fc update DB 2025-06-03 13:57:28 +09:00
Dr.Lt.Data
1a9f1dd0ae update DB 2025-06-03 10:47:49 +09:00
violetz
586c465aaa
Add custom node: Hugging Face LoRA Uploader (#1897) 2025-06-03 10:42:15 +09:00
Dr.Lt.Data
50ceb974d9 update DB 2025-06-03 10:42:03 +09:00
Pigidiy
27cf40d392
Add: ComfyUI-LikeSpiderAI-SaveMP3 (save AUDIO to .mp3) (#1894)
* Add: ComfyUI-LikeSpiderAI-SaveMP3 (save AUDIO to .mp3)

Adds a node that saves AUDIO output to .mp3 format via ffmpeg.
Repo: https://github.com/Pigidiy/ComfyUI-LikeSpiderAI-SaveMP3

* Update custom-node-list.json

---------

Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com>
2025-06-03 10:39:15 +09:00