idx-cli/docs
hermes 907223a838 fix(npm): install to a user cache when the package is read-only; signal-safe first run
- When the package's bin/ is not writable (a root-owned `sudo npm i -g`
  whose postinstall npm 12 skipped), install the binary to a per-user
  cache ($XDG_CACHE_HOME, ~/.cache, ~/Library/Caches on macOS, under
  <package>/<version>/); the launcher looks in both. Previously the first
  run failed with EACCES and advice to rerun npm install.
- Run the first-run installer asynchronously with SIGTERM/SIGHUP
  forwarded, so a supervisor stopping the launcher stops the download;
  the installer removes its partial file and the launcher exits by the
  same signal.
- Verify an IDX_BINARY_URL local file's checksum on the copy, not the
  source, so the installed bytes are the checked ones.
- npm smoke covers the read-only fallback.

The last three come from a Codex review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3syn2fN2LNo5pvTSqc6eh
2026-10-16 09:54:30 +00:00
..
ARCHITECTURE.md refactor(core): move ownership queries, import, and sync into idx-core 2026-10-14 09:52:17 +00:00
CONVENTIONS.md refactor(core): compile the mock provider only with a testing feature 2026-10-14 09:31:12 +00:00
DESIGN.md chore: release 0.3.0 with idx-mcp 2026-10-14 19:01:29 +00:00
INSTALL.md chore: release 0.3.1 2026-10-15 03:14:45 +00:00
NPM_DISTRIBUTION.md fix(npm): install to a user cache when the package is read-only; signal-safe first run 2026-10-16 09:54:30 +00:00
OWNERSHIP_PUBLISH.md fix(ownership): update syncs when a same-date snapshot is rebuilt 2026-10-14 18:52:13 +00:00
OWNERSHIP_SYNC.md fix: address release review (WAL-aware sync hash, empty MCP inputs) 2026-10-14 19:44:24 +00:00
SMOKE.md test(agents): run opencode 2 as well as opencode 1 2026-10-16 07:40:04 +00:00