Commit Graph
53 Commits
Author SHA1 Message Date
Dr.Lt.DataandClaude 9da76f839c fixed: Wildcard system bugs - pattern matching and config paths
- Fixed __*/pattern__ not matching wildcards at any directory depth
- Fixed config.py to handle quoted paths in impact-pack.ini
- Fixed empty line filtering in wildcards.py
- Added comprehensive test suite (86 tests) and documentation

Closes https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1133

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 23:42:53 +09:00
Dr.Lt.DataandClaude fd1b40bee5 feat: Progressive on-demand wildcard loading system
Implement memory-efficient progressive loading for large wildcard collections (10GB+).

Closes #1137

## Key Changes

- **LazyWildcardLoader**: On-demand loading proxy with thread-safe caching
- **Auto mode detection**: Full cache (<50MB) or on-demand (≥50MB), configurable via `wildcard_cache_limit_mb`
- **Performance**: Startup 20-60min → <1min, Memory 5-10GB → <100MB, Size calc <1sec
- **API**: `/impact/wildcards/list/loaded` - Progressive tracking endpoint
- **UI**: Real-time status (🔵 On-Demand / 🟢 Full Cache) with loaded count
- **Compatibility**: Backward compatible, all existing features work unchanged

## Implementation

- YAML pre-loaded (keys in content), TXT on-demand (path = key)
- Early termination size calculation, transitive wildcard support maintained
- 15 test files with comprehensive documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 01:57:24 +09:00
Danamir dc304e2dff Use a generic input value finder for wildcard populate seed input (#1092) 2025-10-08 12:05:07 +09:00
Miguel C 8ab2e168f7 fix: update mask combination to use utils module (#1048) 2025-07-16 16:43:57 +09:00
Dr.Lt.Data df330c1b06 fixed: an invalid namespace issue introduced by refactoring.
fixed: ruff check

https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1042
2025-07-09 23:51:49 +09:00
Dr.Lt.Data 6d438d8b5d removed: mmdet and legacy nodes
removed: disable.py, uninstall.py
fixed: ruff check
refactored
2025-07-08 00:15:16 +09:00
robo efa0cb66b2 always use impact.wildcards.process fixes server side wildcards.process not getting new wildcard_dict (#967) 2025-04-25 18:21:55 +09:00
Dr.Lt.Data a89e9e01a6 fixed: sam editor - cannot load sam model properly when sams directory is specified manually.
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/895
2025-01-28 06:35:51 +09:00
Dr.Lt.Data e70b4df9b5 fixed: reproduce mode is reflected to the saved metadata but it wans't 2025-01-27 11:05:12 +09:00
Dr.Lt.Data af1ef7e441 feat: wildcards nodes - reproduce mode is added.
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/882

fixed: js crash
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/886#issuecomment-2613922083

removed: combo bool migration script
2025-01-27 10:55:47 +09:00
Dr.Lt.Data 8f04714145 fixed: inversed_switch - If the select is pointing to an out-of-range output, remove the input connection instead of the output.
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/851#issuecomment-2543353847
2024-12-19 23:29:34 +09:00
Dr.Lt.Data ce23d436fc improve: switch - disconnect output connection instead of input connection if select_on_prompt 2024-12-11 05:25:01 +09:00
Dr.Lt.Data 47d981eca2 feat: preview bridge - restore_mask feature is added 2024-10-13 19:23:51 +09:00
Dr.Lt.Data a43dae373e remove useless code 2024-09-24 01:47:46 +09:00
Dr.Lt.Data 06b428ec8c feature: dynamic switch based on Execution Model Inversion. 2024-08-16 11:53:02 +09:00
Dr.Lt.Data 660549bbe6 fix: ControlBridge is re-executed always.
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/653
2024-06-26 22:10:34 +09:00
Dr.Lt.Data e4e40ecc2d feat: wildcard refresh
refactor: move wildcard load function to wildcards.py

https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/492
2024-05-30 23:21:34 +09:00
Dr.Lt.Data 1fc6fcad31 fix: missing response
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/557

https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/554
2024-04-20 16:36:25 +09:00
Dr.Lt.Data eb4801e823 feat: ImpactConditionalBranchSelMode 2024-01-24 12:44:14 +09:00
Dr.Lt.Data 837ac5c1f7 improve: wildcard supports seed (rgthree)
related issue:
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/432
2024-01-15 14:44:31 +09:00
Dr.Lt.Data 265738e71f fix: cnet segs application cannot be stacked 2024-01-02 23:47:29 +09:00
Han Jaeseung 6626cb6781 Remove PIL conversions to support float and uint16 (#371)
* removed intermediate pil conversions

* segs picker bug fix

* segs picker bug fix
2023-12-16 00:44:48 +09:00
Dr.Lt.Data b6aaa3994b fix: wildcards - crash when 'select' input is not given 2023-12-11 08:03:56 +09:00
Dr.Lt.Data d5598126c7 fix: remove dbg output 2023-12-11 00:42:26 +09:00
Dr.Lt.Data a733b506bd fix: Impact Wildcard's seeds doesn't allow ImpactInt input 2023-12-11 00:41:03 +09:00
Dr.Lt.Data bd29e99d63 feat: ImpactRemoteBoolean, ImpactRemoteInt 2023-12-10 12:40:20 +09:00
Dr.Lt.Data a295802b35 optimize: background wildcard loading
refactor: use onprompt instead of js for wildcard processing
2023-12-09 14:34:26 +09:00
Dr.Lt.Data 9d0bc241ef fix: ImpactControlBridge - invalid queueing
potential bug
2023-11-30 01:51:28 +09:00
Dr.Lt.Data d25a42aad3 optimize: wildcard selector may slow down object_info transfer 2023-11-08 00:01:47 +09:00
Dr.Lt.Data 1ce0cc3b03 fix: /view/validate crash 2023-10-30 23:10:33 +09:00
Dr.Lt.Data b6993594da refactor: consistency error message style 2023-10-29 11:13:21 +09:00
Dr.Lt.Data bdc64ce6e5 fix: PreviewBridge patch again... 2023-10-16 23:30:19 +09:00
Dr.Lt.Data df61f23875 fix: PreviewBridge now working properly....I hope... 2023-10-16 18:02:29 +09:00
Dr.Lt.Data b4dc9f1570 fix: view/validate crash when filename is empty 2023-10-16 09:02:35 +09:00
Dr.Lt.Data 3ebc87e446 improve: image preview - compact mode for same aspect ratio
issue: There is an issue where, after the first execution, it always runs one more time even if it hasn't changed.
2023-10-16 07:51:30 +09:00
Dr.Lt.Data 6db61af3f4 feat: ImpactControlBridge
improve: ImpactQueueTrigger, ImpactSetWidgetValue, ImpactNodeSetMuteState - add signal_opt output
fix: robust PreviewBridge, ImageReceiver
2023-10-15 22:25:24 +09:00
Dr.Lt.Data 7d72f25cb6 improve: RegionalSampler - support base_only_steps and seed_2nd
fix: ImpactReceiver - save_to_workspace doesn't work well when paste from clipspace
2023-10-14 15:21:22 +09:00
Dr.Lt.Data 1ff05fcb22 feat: Add the optional feature in ImageReceiver to store ImageData in the workflow. 2023-10-13 16:59:35 +09:00
Dr.Lt.Data bcdb6fcc80 refactor: PreviewBridge 2023-10-13 14:18:25 +09:00
Dr.Lt.Data d2c2aa061a improve: wildcard lora path auto-detection 2023-10-07 00:59:34 +09:00
Dr.Lt.Data bca582bcbf improve: direct select_index is allowed for switch's select 2023-10-06 13:02:33 +09:00
Dr.Lt.Data b4c0ddf33e fix: onprompt exception by front-end node 2023-10-04 19:41:28 +09:00
Dr.Lt.Data e44f4d9e11 feat: ImpactSEGSPicker added
improve: SEGDetailer supports `batch_size`
2023-10-03 11:35:22 +09:00
Dr.Lt.Data 114a7e84da fix: crash fix about switch nodes 2023-09-16 20:34:38 +09:00
Dr.Lt.Data 1f612694bf improve: Inversed Switch (Any), Switch (Any) supports ImpactInt 2023-09-11 23:35:46 +09:00
Dr.Lt.Data 2d278d7cf9 improve: GeneralSwitch - support sel_mode 2023-09-09 13:02:34 +09:00
Dr.Lt.Data e0aead5671 feat: ImpactInversedSwitch 2023-09-08 22:00:59 +09:00
Dr.Lt.Data 1c2974c427 improve: seed support for wildcards nodes 2023-09-08 15:58:03 +09:00
Dr.Lt.Data 4248b88a97 feat: settings for sam editor 2023-08-19 11:57:10 +09:00
Dr.Lt.Data c40d4198d4 bugfix: SAM Editor error when using image from Mask Editor 2023-07-01 16:43:51 +09:00