v0.0.21
Added
- Unit tests for the core API client (
lib/bq.ts). The transport layer's
contract is now pinned by tests: error mapping (HTTP errors, non-JSON bodies,
empty/204 responses, invalid JSON), the HTTP-200-{ok:false}throw convention
andhealth()'s opt-out, server-vs-agent auth-header scoping, the scoped
auth:requiredevent on 401, and URL/body construction for representative
endpoints (encoding,{limit}/{concurrency}shapes, optional bodies). - Aggregate test-coverage floor in CI.
bun run test:coverageruns the
suite with coverage andscripts/check-coverage.tsenforces a floor on the
lcov totals (lines ≥ 62%, functions ≥ 55%), so overall coverage can only go
up. (Bun's owncoverageThresholdis applied per file, which a single
legitimately low-coverage module would fail regardless of the aggregate.)
Changed
/cron-managernow redirects to/cron. The two routes served the same
CronManagerpage; the alias is kept as a redirect so old bookmarks keep
working.- Docs caught up with the shipped app.
CLAUDE.md's layout and
docs/pages.md's route/page tables now document every routed page —
Benchmark, Flows, MCP guide, QueuesOverview, QueueDetailPro, Bulk Add, the
demo-mode fetch shim, the Copilot assistant, the client-side alert engine —
and no longer claim Alerts is unrouted.
Full Changelog: v0.0.20...v0.0.21