Cover core networking: connect/disconnect, challenge handshake, event routing, request/response, error handling, timeout, reconnect behavior, and credential updates. Adds __APP_VERSION__ define to vitest.config.ts for test env. Total test count: 95 → 107.
- Add vitest.config.ts with v8 coverage provider - Add npm run test:coverage script - Add coverage step to CI (Node 22, reports in job summary) - Coverage tracks src/lib/ utilities (currently ~21% lines) - Install @vitest/coverage-v8 dev dependency