v4.18.2
Bug Fixes
- daemon hooks never stall on a SQLite write lock: hook work in the daemon (build, detached afterEmit, telemetry) runs under a 150ms
busy_timeoutinstead of the 5000ms default, so a cross-process writer (a detached cold-path afterEmit child,prjct remember, a sync) can no longer freeze every hook — and the agent's turn — for 5s at a time (measuredhook:prompttails of 5s/10s/18s, exact multiples of the old timeout). The budget is bound to the async context (withBusyTimeout), so command-lane work keeps the default. - the daemon's hook-state lane skips queued prompt/stop jobs whose caller already timed out and fell back to the cold path: the hook no longer runs twice for one prompt, and abandoned jobs no longer stack their duration onto the next live caller.
Published to npm as
prjct-cli@4.18.2. The release workflow's npm-visibility check timed out before the tarball and standalone binaries were built, so this release carries no assets; the standalone installer keeps using the latest release with binaries.
bun install -g prjct-cli@4.18.2
npm install -g prjct-cli@4.18.2