Commit Graph
29 Commits
Author SHA1 Message Date
Dariusz L e8939d4bf1 Add URN (ComfyUI-AIR) resolution via CivitAI
Detect ComfyUI-AIR URNs in workflows, resolve them to expected filenames via the CivitAI API, and prefer those filenames for matching.

Key changes:
- core/workflow_analyzer.py: added URN_REGEX, URN_TYPE_MAP, is_model_filename() now recognizes URNs, and get_node_model_info() emits structured URN info (is_urn, urn fields, category, exists=False).
- core/sources/civitai.py: added resolve_urn(model_id, version_id) with caching, API fetch of model/version and primary file, and result shaping (model_name, version_name, expected_filename, files).
- core/linker.py: import resolve_urn and call it for missing URNs, attach civitai_info/expected_filename, and prefer expected_filename as matching target; cleaned up deduplication logic.
- web/linker.js: UI shows URN original plus resolved CivitAI model/version labels where available.
- TODO.md: added plan/notes for URN detection and next steps.

This improves detection and fuzzy matching for models referenced by URNs so missing model resolution is more accurate. Further matcher and updater enhancements remain TODOs.
2026-04-17 18:55:55 +02:00
unknown c4ef3919dc Redesign UI with improved visual hierarchy and UX
- Add CSS variables and global styles with custom scrollbar

- Implement two-column layout (Local Matches / Download)

- Add confidence badges with color coding

- Smart filename truncation with hover tooltips

- Consistent button styling with icons

- Sticky footer with backdrop blur

- Status alert containers for errors/success

- Best match highlighting for 95%+ confidence

- Hide Auto-Link button when no 100% matches

- Fix race condition in auto-resolve flow

- Wider dialog (1100px) for full filenames
2026-01-19 01:35:10 +01:00
unknown 7e805bf553 Add auto-resolve buttons to ComfyUI Missing Models popup 2026-01-19 00:51:31 +01:00
unknown d03d8545a3 Add bulk download and cancel all functionality
- Add Download All Missing button to download models without local matches

- Button toggles to Cancel All (N) during active downloads

- Fix notification showing null for info type messages

- Preserve download state when dialog is closed and reopened

- Show downloads in progress message instead of all available during downloads
2026-01-18 23:45:44 +01:00
unknown 91acff7c78 Enhance download system with speed display, workflow URLs, and UX improvements 2026-01-18 15:59:27 +01:00
unknown 2843373c58 Add download integration with auto-search on startup 2026-01-18 05:44:31 +01:00
unknown c7cdf78e60 Add Ctrl+Shift+L keyboard shortcut to open Model Linker 2026-01-18 03:45:08 +01:00
unknown 6935f5e598 Fix UI button for updated ComfyUI
Use ComfyButton/ComfyButtonGroup component system with dynamic imports to properly integrate with the new ComfyUI menu. Falls back to floating button for legacy versions.
2026-01-18 03:42:16 +01:00
unknown 066d4e187f Merge PR #1: Fix tuple unpacking error in scanner.py
Resolves ValueError: too many values to unpack when folder_paths returns 3-tuples.
- Handles both 2-tuple and 3-tuple formats from folder_paths
- Normalizes extensions to set with proper type handling
- Adds better error handling for unexpected formats
- Credit: @gontz
2025-11-05 16:38:51 +01:00
unknown 5d9203ec74 Add multiple resolve buttons and normalize path separators in matching logic 2025-11-05 15:39:00 +01:00
unknown 9dc47faf1b Update README with demo video 2025-11-04 21:19:19 +01:00
unknown efbf5f49db Update README: Add demo video link 2025-11-04 21:14:53 +01:00
unknown 32b7b74ff5 Add demo video to README 2025-11-04 20:52:02 +01:00
unknown a9acf5e02c Add __pycache__ to gitignore and remove from tracking 2025-11-04 16:23:48 +01:00
unknown e7fd4203c4 Improve Model Linker UI: prevent text line-breaking and add resolve button for highest confidence matches 2025-11-04 15:23:25 +01:00
unknown da3ce0f472 docs: Remove demo video section from README 2025-11-04 03:18:51 +01:00
unknown 1deff7f336 docs: Fix demo video display - use direct link instead of HTML5 video tag 2025-11-04 03:14:52 +01:00
unknown b3b14b647f docs: Add demo video section to README 2025-11-04 03:10:59 +01:00
unknown ab2f1011f0 docs: Add demo video to README 2025-11-04 03:08:32 +01:00
unknown 758ab0d2dc fix: Update workflow in place instead of creating new tab for resolve and auto-resolve 2025-11-04 02:12:33 +01:00
unknown 8463bd2db6 docs: Update DISCORD_LAUNCH_POST and README formatting 2025-11-04 02:01:22 +01:00
unknown f6370c54fe docs: Update README 2025-11-01 19:56:59 +01:00
unknown d8ea841e4a docs: Update README 2025-11-01 19:52:07 +01:00
unknown 9bacf22178 docs: Revert README to version without image 2025-11-01 19:49:13 +01:00
unknown adddc69563 docs: Add screenshot image to README 2025-11-01 19:45:41 +01:00
unknown eb61ffa045 docs: Add screenshot image to README 2025-11-01 19:42:50 +01:00
unknown 98287a7065 docs: Add model linker screenshot and Discord launch post 2025-11-01 19:32:36 +01:00
unknown a6e44ace44 docs: Simplify README feature description 2025-11-01 19:17:09 +01:00
unknown 7b972d6dfa chore: Rename comfyui-Model-Linker to comfyui-model-linker (kebab-case) 2025-11-01 19:15:03 +01:00