mirror of
https://github.com/AventurasTeam/Aventuras.git
synced 2026-07-10 00:12:11 +00:00
**Summary** - New ComfyMode.CustomWorkflow: accepts any ComfyUI API-format workflow JSON. Auto-detects positive prompt, seed, negative prompt, and SaveImage node paths via KSampler graph traversal; falls back to title heuristics. Ambiguous multi-node cases show a picker — writes to profileCustomWorkflow only on explicit confirm (via pendingWorkflowData staging state to prevent premature auto-save). - New ComfyMode.UnetTxt2Img + unet-txt2img-workflow.json for diffusion model checkpoints (AuraFlow, Flux, Lumina 2). Configurable CLIP type and weight dtype. CLIP/VAE names auto-detected from ComfyUI at generation time, cached per baseUrl. - listModels() now fetches checkpoints, diffusion models, text encoders, and VAE in parallel; seeds auto-detect caches. - Shared buildOnFailedHandler extracts structured node-level ComfyUI errors. **Bug fixes** - unetModelNames was a module-level Set — multiple profiles pointing to different ComfyUI instances would corrupt each other's model lists. Now Map<baseUrl, Set<string>>. - Explicit BasicTxt2Img mode was treated as no-override, allowing auto-detection to silently switch to UNet. hasExplicitOverride now respects all explicit modes. - ComfyModes was missing the ComfyMode.CustomWorkflow key, failing svelte-check (Record<ComfyMode, any> exhaustiveness). ## Summary by CodeRabbit * **New Features** * Added ComfyUI "Custom Workflow" and "UNet → Text→Image" modes and a built-in UNet workflow option. * **Improvements** * Workflow upload: JSON validation, required-node detection, enforces single image output, and blocks saving until workflow is confirmed. * UNet/CLIP/VAE listing auto-loads per endpoint and clears cached lists when the base URL changes. * Provider options (workflow/UNet) persist and autosave. * **UI** * Conditional controls: workflow upload/picker, UNet selection, hide sampler/scheduler/CFG/steps for Custom Workflow, and conditional Negative Prompt handling. |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| lint-and-typecheck.yml | ||
| release.yml | ||