145 Commits
Author SHA1 Message Date
Dariusz L a1935b89e4 Support linked models from Civitai image URLs with page fallback 2026-10-05 17:41:13 +02:00
Dariusz L dca6bc93fb Improve filename confidence and HuggingFace partial matching
Use order-insensitive token comparison in calculate_filename_confidence
so variant names with reordered tokens (e.g., int8_convrot vs convrot_int8)
score higher. Replace first-match partial matching in HuggingFace source with
best-match selection based on filename confidence, and surface confidence in
search results.
2026-09-16 19:55:09 +02:00
Dariusz L 9f537eaef0 Optimize CivitAI lookups by caching model data and skipping unnecessary version requests
Reuse model metadata across _find_civitai_file_in_model calls within a single search, avoid resolve_urn when modelVersions already contains usable file lists, and add tests for request-count behavior.
2026-09-10 02:24:24 +02:00
Dariusz L ddde0ac3ce feat: add CivitAI title-based search fallback for filename mismatches 2026-08-25 02:35:15 +02:00
Dariusz L 7627c61450 Fix CivitAI filename matching false positives for short generic prefixes 2026-08-25 02:17:22 +02:00
Dariusz L ddc5333bd2 refactor: unify model data contracts 2026-08-21 23:10:26 +02:00
Dariusz L 593a85062a refactor provider status message contract 2026-08-09 00:14:20 +02:00
Dariusz L 689d98aead refactor shared CivArchive size aliases 2026-08-07 04:14:46 +02:00
Dariusz L 2d0576546f refactor: unify SHA256 extraction paths 2026-08-07 03:36:06 +02:00
Dariusz L 431fb89dd2 refactor: centralize CivitAI enum fetching 2026-08-07 01:24:06 +02:00
Dariusz L 16fd31e6c7 refactor: centralize base model token collection 2026-08-07 00:30:41 +02:00
Dariusz L 3f294d38d3 refactor: unify remote size probing 2026-08-06 23:48:34 +02:00
Dariusz L 497e6d0658 refactor: unify LoRA archive query skeleton 2026-08-06 23:09:13 +02:00
Dariusz L 76d0a3aa7c refactor shared remote file size resolution 2026-08-06 22:25:42 +02:00
Dariusz L 83c7943f8a Unify CivitAI version requests 2026-08-06 21:28:17 +02:00
Dariusz L 016138bf07 refactor: share CivArchive result builder 2026-08-06 20:40:14 +02:00
Dariusz L ba379e202d refactor: unify CivitAI credential checks 2026-08-06 20:08:03 +02:00
Dariusz L ac5f22736d refactor: share custom provider result fields 2026-08-06 19:19:13 +02:00
Dariusz L ed1c472421 refactor: unify provider file sha256 extraction 2026-08-06 19:13:02 +02:00
Dariusz L 6309be8efe refactor(core): centralize alphanumeric normalization 2026-08-06 17:12:26 +02:00
Dariusz L 348f7ed8e0 refactor: unify model result builders 2026-08-06 16:20:31 +02:00
Dariusz L 599d78d773 Persist Hugging Face file SHA256 during Xet downloads 2026-08-06 02:37:40 +02:00
Dariusz L ff25791062 fix(huggingface): honor author index ttl during force search 2026-08-05 20:57:46 +02:00
Dariusz L 6b0f806e30 refactor: reuse shared file size extraction 2026-08-05 14:35:32 +02:00
Dariusz L 7a219bd2d2 refactor: unify primary model file selection 2026-08-05 14:29:02 +02:00
Dariusz L 24d0dae0e0 refactor: unify CivitAI result payloads 2026-08-05 14:24:07 +02:00
Dariusz L bb01732b89 Unify provider search result builders 2026-08-05 06:13:18 +02:00
Dariusz L eb86f647c8 refactor: unify model download URL collection 2026-08-05 02:47:37 +02:00
Dariusz L 151c246cde refactor model list result construction 2026-08-05 00:52:08 +02:00
Dariusz L 7f200db72e fix(huggingface): initialize missing cache during force search 2026-08-04 22:24:24 +02:00
Dariusz L 232e3c3e06 fix(huggingface): avoid cache writes during force search 2026-08-04 22:20:01 +02:00
Dariusz L ff16bd869f Add SHA-256 hash matching support for HuggingFace author index
Enable matching files in the HuggingFace author index by SHA-256 in
addition to filename. Enrich the author index with hashes from repo
tree responses, store them in the index metadata, and use them as a
primary lookup path during search_huggingface_for_file before falling
back to filename-based search. Also update the author index cache
version to 2 and add tests for the new behavior.
2026-08-04 06:21:08 +02:00
Dariusz L 5e85fdb8da perf: optimize LoRA Manager archive hash search and guard SHA-256 fallback
- Skip name fallback in search provider runner when request already has sha256
- Add direct SQLite hash lookup in lora_manager_archive with result caching
- Add timing and logging for archive search
- Refresh HuggingFace author index metadata
- Add tests for hash search and provider fallback behavior
2026-08-04 06:01:08 +02:00
Dariusz L 3f0e753edd feat: add SHA-256 search support and refresh HuggingFace author index
- Propagate sha256 through search orchestrator and providers
- Add hash-based lookup for CivitAI, HuggingFace, CivArchive, and LoRA Manager Archive
- Update search UI to accept SHA-256 hashes and refine link/name toggle styling
- Refresh HuggingFace author index metadata
2026-08-04 05:41:51 +02:00
Dariusz L cf08aa97de Unify custom URL result builders 2026-08-03 14:12:25 +02:00
Dariusz L c6070d9531 Remove obsolete CivArchive compatibility shims 2026-08-03 13:28:13 +02:00
Dariusz L 8d9ca189fc Remove obsolete compatibility aliases 2026-08-03 13:11:59 +02:00
Dariusz L 510aa570ce Unify remote dead-link detection 2026-08-03 12:54:55 +02:00
Dariusz L 0531f4e9b2 feat: expose CivArchive provider status 2026-08-02 22:00:51 +02:00
Dariusz L ed571a8ec6 feat: classify CivArchive failures 2026-08-02 21:57:46 +02:00
Dariusz L 57b79ba208 refactor: remove dead compatibility shims 2026-08-02 04:03:09 +02:00
Dariusz L c7a0f2f78c fix: prefer selected-file hash over inherited workflow or source hash 2026-08-01 22:50:13 +02:00
Dariusz L a8ba99800c Expand HuggingFace author fallback to multiple known publishers
Support both Comfy-Org and Kijai author indexes as known HuggingFace fallbacks, aggregate their status in the backend, refresh the cached author index, and update the frontend UI and tests.
2026-07-29 16:18:25 +02:00
Dariusz L f8a6e8b626 feat: add HuggingFace model details, variant table, and download context 2026-07-28 17:20:36 +02:00
Dariusz L a5910e1354 Link parent model resources to Civitai images and preserve additional resources 2026-07-27 16:09:08 +02:00
Dariusz L 23af562721 Separate model description from version description in metadata, responses, and UI 2026-07-27 15:31:59 +02:00
Dariusz L 31ad1cde7c refactor: introduce Model Resolver-owned metadata sidecars and build modes 2026-07-27 15:00:18 +02:00
Dariusz L 63ed2b8ca7 feat: support video previews in model downloads, tooltips, and info dialogs 2026-07-26 23:39:09 +02:00
Dariusz L 58e1aeff29 Preserve full CivitAI metadata in LoRA Manager sidecars 2026-07-26 19:56:29 +02:00
Dariusz L e568f81f2b feat(civarchive): prioritize known mirrors for remote size probes 2026-07-24 21:42:11 +02:00