Files
pnpm/agent
Zoltan Kochan b4f5c88bc7 fix: correct I line key parsing and add WAL checkpoint
Two bugs that caused headless install to re-download from npm:

1. Client parsed I line key incorrectly: the key format is
   "integrity\tpkgId\tbase64" but the parser split at the first tab,
   giving only the integrity hash as the key. Fixed to split at the
   last tab so key = "integrity\tpkgId".

2. After writing index entries, the WAL wasn't checkpointed. Other
   SQLite connections (in worker threads) used stale WAL indexes.
   Added StoreIndex.checkpoint() which runs PRAGMA wal_checkpoint.

Also removed gzip from /v1/files streaming (was causing corrupt
header errors) and removed debug logging.
2026-04-16 22:40:44 +02:00
..