Commit Graph
4 Commits
Author SHA1 Message Date
HuangYuChuhandshanfang 6447aaa86e feat: add idempotency guard, env config overrides, and param_count
- execution_history: add find_duplicate_run() for job_id dedup and
  job_id field in run records to prevent agent retry storms
- runtime_config: support COMFYUI_SERVER_URL and COMFYUI_SERVER_ID
  env vars to override config.json (useful for Docker/CI)
- services: expose param_count in WorkflowSummary so agents can
  assess workflow complexity before execution

Co-Authored-By: HuangYuChuh <HuangYuChuh@users.noreply.github.com>
2026-04-21 11:47:39 +08:00
科林_Cyril Pilgrim 425cdd0db4 feat(ui): refactor data structure and enhance configuration migration
Motivation:
The previous data structure for workflows and schemas lacked cohesion and was difficult to maintain manually. Additionally, a more robust and flexible migration system was needed to transfer skill configurations across different environments.

Implementation:
1. Unified the data hierarchy into a directory-based structure: 'data/<server>/<workflow>/'.
2. Enhanced 'transfer_manager.py' and 'transfer_bundle.py' for environmental-aware configuration migration.
3. Updated frontend JS/CSS and Flask routes to support the new directory-centric asset management.
4. Revamped English and Chinese READMEs to prioritize safe installation and clear configuration workflows.
2026-03-12 15:05:40 +08:00
科林_Cyril Pilgrim bc4097ac2d refactor(backend): support multi-server workflow isolation and registry mapping
Motivation:
The backend previously assumed a single global ComfyUI server, making it impossible to switch between environments or add remote nodes.

Implementation:
Refactored UIStorageService and scripts to organize workflows into server-specific subdirectories. Introduced ServerModel and runtime configuration loader to handle multi-server routing.
2026-03-08 17:40:03 +08:00
lgldlk 9dfd8b6646 feat: add shared utility modules 2026-03-08 01:31:26 +08:00