Expand description
Everything but the CLI entry point, so server/tests/ drives the real
router and admin commands.
Modules§
- access_
log - One INFO line per response on target
access, since production runs at INFO, whereTraceLayersays nothing. - admin
- The
tokensubcommands. A raw token exists only inmint’s return value; every other command works on its hash. - auth
- Who may see a package: bearer token → sha256 → credential row → decision.
Raw tokens are never stored or logged; only
hash_tokenof one leaves a request. - db
- The libSQL auth database: credentials and their grants, never packages.
Queries stay plain SQL so that moving to remote Turso is only a
--db-urlchange. - error
- reports
- Conflict reports from installers: two selected packages wrote the same file, the later one won, and only the operator can fix the catalogue.
- routes
- The HTTP surface. Handlers stay thin: access rules live in
auth, package lookups instore. - store
- The data root: package zips on disk, the generated manifest that lists them, and the message of the day.