The in-memory catalog could outlive the write, so delete-all came back as thousands of empty tiles and a stale badge. Co-authored-by: Cursor <cursoragent@cursor.com>
1.2 KiB
Tasks
Done
-
Library ghost / delete hardening.
removeStillFilesno longer throws, so a locked thumb cannot abort the catalog write.deleteStill,deleteStillFamily, andwipeFolderContentsprune missing masters and write the catalog. Library pages and Studio 2 refetch after delete, clear slots that pointed at the deleted id, and select-all only selects rows already loaded so a later page cannot put a suppressed id back into the selection. -
LoRA folders. Engine matching prefers
xaigen/<engine>/andaigen/<engine>/.xaigenand thexiagentypo stay xAIGen-only.aigen/stays visible on AIGen. Filename prefixes remain the fallback. Refresh withfresh=1still live-scans Comfy, and the stack stores the Comfy-relative path. -
Library delete-all. A folder wipe leaves that folder empty in the catalog that is written, drops the owner's in-memory catalog cache, and the wipe route returns a library read taken after that drop. The client replaces its lists from that response, trusts a server image count of 0, and clears the stage still and photo slots that pointed at wiped ids.
Not in this pass
Klein, Krea, MOSS, MiniMax, and LTX graph changes. Coolify app targets. The studio-2 branch.