This repository has been archived on 2026-10-21 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
9cf0e9a4cf4d40f80388b2954e82571c49dbb838
Clean-slate rebuild. The previous entrypoint and modules (routes.py, workflows.py, imagelab_nodes.py, resources.py, etc.) are kept for reference as __init__.py.legacy + untouched files, not loaded. New surface: - hashing.py: SHA256 model hashing keyed by path relative to the models dir (no more bare-filename collisions). .index sidecars under model_index/. Maintains an in-memory index + ETag-style version token. - api.py: GET /imagelab/hashes serves the full cache from memory in one request, with ETag/If-None-Match -> 304 support. - __init__.py: registers the API and builds the hash index in a background thread on startup. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Languages
Python
100%