- the download format follows the file's first bytes and manifest hints: plain SQL -> .sql.gz, tar -> .tar.gz, SQLite -> .sqlite.gz, hub filesystem archive -> .tessera-fs.gz, unknown -> .dump.gz; pg_dump -Fc stays .dump; gzip/zstd/xz/bzip2/zip pass through - gzip is streamed (async-compression) in 64 KiB frames; no Content-Encoding, no Content-Length on compressed bodies, application/gzip, nosniff, no-store; HEAD is 405 - order: authenticate, find, permission, then admission (export slots and free disk), so a caller without permission cannot use up the slots - the export directory, the slot and the audit end-of-download row live with the response body: finished, client disconnect, and a sweep of tessera-export-* at start after a crash - audit export.requested / ready / finished / disconnected Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Tessera web canvas
React 19 + Vite + Tailwind 4 + TanStack Query + Motion.
Dev
npm ci
npm run dev
Proxies /api and /health to http://127.0.0.1:8787 (see vite.config.ts).
Production
npm run build
Hub embeds web/dist at compile time — rebuild tessera-hub after UI changes:
cargo build --release -p tessera-hub
Screen map
See ../docs/UI.md.