- The enum arrays move from schema.ts to src/lib/db/enums.ts (no imports),
which schema.ts re-exports. The endpoint form and benchmark start imported
ENDPOINT_ENGINES/QUALITY_SECTIONS from the schema, which put drizzle-orm,
every table definition and ulid (18 KB gzipped) on the endpoint pages. An
ESLint rule now refuses value imports from the schema in client code.
- The ⌘K palette dialog is its own chunk, loaded on first open and preloaded
when you hover or focus Search or press ⌘/Ctrl.
- The dot painting's brightness grid was copied into 10 page chunks (~10 KB
gzipped each); it is now one async chunk, parsed once per tab. The canvas
skips redraws when size, pixel ratio and theme are unchanged (the
ResizeObserver's first callback drew everything a second time) and draws at
most once per frame while resizing.
First-load JS per route drops by 10-29 KB gzipped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EooZ9biu7kFNB4eDJrwQc5
- Worker queue with per-model exclusivity and MAX_CONCURRENT_DOWNLOADS,
spawns `hf download --revision <sha> --local-dir ... --include <exact paths>`
with HF_TOKEN via env only
- Progress from bytes on disk (final + .incomplete files matched by etag),
per job and per file, with speed and ETA; post-download size/etag check
- Job logs (sanitized), cancel, graceful interrupt on shutdown,
partial-file cleanup (hf 2.1.1 does not resume partials)
- Single-worker DB lease, free-space check
- SSE live updates for library, model and job pages
- Dockerfile + compose.yaml (web, worker, data/models volumes)
- HF_HUB_DISABLE_XET default on for measurable progress
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>