Implements StatsDB class with upsert, batch upsert, get_by_hashes,
get_all, count, and close methods backed by a WAL-mode SQLite database.
Also guards __init__.py relative imports behind __package__ check so
pytest can run without ComfyUI context, and removes empty tests/__init__.py
to prevent pytest Package collector from traversing into the plugin root.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7-task plan covering: SQLite DB layer, fetch service, proxy enrichment,
stats-based sorting, frontend UI (badges/sort/button), and cleanup.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Design for a shim that stores CivitAI stats (downloads, rating,
thumbs up) in a separate SQLite DB and enriches the list API
response via the proxy middleware. Includes bulk fetch button,
card badges, and new sort options.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Proxy JS widget files from the remote instance via /extensions/ComfyUI-Lora-Manager/
prefix, and handle send_sync routes locally instead of falling through to the
original package. This eliminates the requirement to install ComfyUI-Lora-Manager
alongside.
- Add /extensions/ComfyUI-Lora-Manager/ to proxy prefixes
- Replace _SEND_SYNC_SKIP_ROUTES with local handler functions that fetch
data from remote and broadcast events via PromptServer.send_sync()
- Add lm_remote_bootstrap.js to load Vue widget bundle from remote
- Update docstrings and README to reflect standalone operation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remote-aware LoRA Manager nodes that fetch metadata via HTTP from a
remote Docker instance while loading LoRA files from local NFS/SMB
mounts. Includes reverse-proxy middleware for transparent web UI access.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>