prjct-cli 2.19.0 → 2.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.19.3] - 2026-05-11
4
+
5
+ ### Features
6
+
7
+ - `prjct daemon restart` — graceful stop (with force-kill fallback) followed by a fresh spawn. Mirrors the existing top-level `prjct restart` shortcut so users who think of `daemon` as a noun discover it under the same namespace as `start`/`stop`/`status`.
8
+ - `prjct daemon logs [--lines=N | -n N] [--all] [--follow|-f]` — prints the tail of `~/.prjct-cli/run/daemon.log`. Defaults to the last 50 lines; `--all` dumps the entire file; `-f` streams via `tail -f` and forwards SIGINT for clean exit.
9
+ - The unknown-subcommand error now lists all five `daemon` subcommands.
10
+
11
+ ## [2.19.2] - 2026-05-11
12
+
13
+ ### Bug Fixes
14
+
15
+ - `prjct sync` hung indefinitely when the daemon held concurrent RW handles on `prjct.db` (no error, no daemon log activity). Set `PRAGMA busy_timeout = 5000` on every SQLite connection (per-project DB + system DB) before migrations run, so writer/schema lock contention waits instead of failing silently or hanging.
16
+ - Added per-phase `log.debug` instrumentation in `syncService.sync()` covering all numbered phases (context7, migrate, sweep, gather, incremental, index, skills, update-files, metrics, archive, install-global, verify). Visible via `PRJCT_DEBUG=debug` for future hang diagnosis.
17
+ - Wrapped heavy phases without internal abort paths (migrate, gather, index) with a 60s timeout (`Promise.race`, configurable via `PRJCT_SYNC_PHASE_TIMEOUT_MS`). On timeout, sync now fails with `sync phase '<phase>' timed out after Nms` instead of hanging from the user's perspective.
18
+
3
19
  ## [2.19.0] - 2026-05-05
4
20
 
5
21
  ### Features