Expand description
Catalog REST surface. Live HF + Civitai proxy with a 5-min in-process cache; the bulk-scrape DB and scanner are gone.
Structs§
- Companion
Job - One queued companion download surfaced in the
POST /api/catalog/:id/downloadresponse. - Installed
Query - List
Loras Query - Live
Search Query
Functions§
- get_
catalog_ entry - list_
families - list_
installed_ catalog GET /api/catalog/installed— enumerate installed catalog entries from the per-install sidecar files undermodels_dir. The LoRA picker uses this as its primary data source.- list_
loras GET /api/loras— list installed LoRA adapters, optionally filtered by model compatibility. This is a small MCP-friendly view over the catalog sidecars used by the web picker.- live_
search_ catalog GET /api/catalog/search— live proxy to upstream catalog APIs with a 5-min in-process cache. Replaces/api/catalogon the read path for the SPA’s catalog tab. The bulk-scrape DB is retained until a follow-up release.- post_
catalog_ dispatch - POST dispatcher for
/api/catalog/*id— routes sub-actions based on the trailing path segment. Currently only/downloadis handled; everything else returns 404. - post_
catalog_ download