mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 01:35:36 +00:00
npm 12 blocks install scripts of unapproved packages under `npx` and `npm install -g` (its allow-scripts policy). The postinstall download never ran, so `npx -y idx-mcp` exited with "installed binary not found" and MCP clients saw only "Connection closed". Hermes Agent hits this by default: it runs a bare `npx` with its own npm 12. The launcher now runs the installer itself when the binary is missing, logging to stderr so the idx-mcp stdout channel stays clean. This also covers pnpm 10+ and bun, which skip dependency scripts by default. npm-smoke installs idx-mcp with --ignore-scripts and checks that the first run still starts cleanly. Fixes #41 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WB13omP6h7YeyJx7GNtUnF |
||
|---|---|---|
| .. | ||
| audit-msn-fundamentals.sh | ||
| build-latest-ownership-snapshot.sh | ||
| build-ownership-snapshot.sh | ||
| check-ownership-snapshot-freshness.sh | ||
| idx.js | ||
| install-sh-test.sh | ||
| install.js | ||
| live-smoke.sh | ||
| npm-smoke.sh | ||
| publish-ownership-snapshot-test.sh | ||
| publish-ownership-snapshot.sh | ||