Commit Graph
9 Commits
Author SHA1 Message Date
EthanfelandClaude Opus 4.6 6a60059cf0 refactor: simplify lora_text to plain text input with name resolution
Remove the autocomplete JS class (was ~155 lines). Instead, resolve
short LoRA names server-side: typing "Milena_20260216180133" matches
against installed LoRAs by filename stem, so it resolves to e.g.
"ZImageTurbo/character/Milena_20260216180133.safetensors". No Lora
Manager dependency needed — just plain text input with smart matching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 19:34:42 +01:00
EthanfelandClaude Opus 4.6 3e1eb45065 feat: add lora_text input with autocomplete to LoRAStackDynamic
Add a multiline text widget where users can type LoRA paths directly
(one per line) with optional strength values. Supports three formats:
path.safetensors (strength 1.0), path:0.8 (both), path:0.8:0.5
(model:clip). When ComfyUI-Lora-Manager is installed, a lightweight
autocomplete dropdown suggests matches via its API. Works without
Lora Manager too (no autocomplete, user types exact paths).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 19:17:44 +01:00
EthanfelandClaude Opus 4.6 0363d23732 fix: cap retry attempts in base model filter init
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 18:52:36 +01:00
EthanfelandClaude Opus 4.6 20c72fab5c fix: base model filter — path matching, pagination, data safety
- Fix absolute→relative path matching (endsWith against fullLoraList)
- Fix page_size cap (paginate through all pages, build local map)
- Add explicit base_model_filter param to build_stack (no kwargs leak)
- Add retry when widget options not yet populated
- Preserve selected LoRA value when filter changes (no silent reset)
- Handle workflow restore (apply filter after interceptor setup)
- Extract interceptWidgetValue helper, add configurable:true

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 18:48:53 +01:00
EthanfelandClaude Opus 4.6 58a2ec07db feat: add base model filter to LoRAStackDynamic
Adds a dropdown that filters LoRA dropdowns by base model type (SDXL,
Flux, Wan, etc.) using ComfyUI-Lora-Manager's API. If Lora Manager is
not installed, the filter widget is automatically hidden and dropdowns
show the full unfiltered list.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 18:43:40 +01:00
EthanfelandClaude Opus 4.6 2cad48fda6 feat: add JS extension stub for LoRAConflictEditor
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 15:09:22 +01:00
EthanfelandClaude Opus 4.6 f48898f6ca feat: add per-LoRA conflict_mode masking (all/low_conflict/high_conflict)
Allow users to control how each LoRA behaves in contested weight regions.
'low_conflict' applies only where the LoRA agrees with the majority sign,
'high_conflict' applies only where it disagrees. Defaults to 'all' (no
filtering) with zero overhead when unused.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 09:17:52 +01:00
EthanfelandClaude Opus 4.6 77fcabb1f7 fix: dynamic stacker widget hiding (add widget.hidden, canvas dirty, timing)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 23:20:22 +01:00
EthanfelandClaude Opus 4.6 e9304617f4 feat: interference-aware auto-strength, save to loras folder, dynamic stacker JS
- Auto-strength now uses pairwise cosine similarity for exact vector-sum
  energy normalization instead of assuming orthogonal LoRAs
- Save Merged LoRA defaults to ComfyUI loras folder; supports absolute paths
- Add JS extension for LoRA Stack (Dynamic) widget show/hide
- Fix LTX architecture detection for middle_block/mid_block keys
- Update banner SVG with new feature tags

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 23:07:41 +01:00