feat(coding-agent): remove npm shrinkwrap and recommend the managed installer

npm installs no longer pin transitive dependencies. Pinned installs come
from the pi.dev installer lockfile. pi update on global npm installs now
recommends migrating with the installer.

closes #5653
This commit is contained in:
Armin Ronacher 2026-10-02 17:16:23 +02:00
parent 221cbcb02e
commit 581e7ba781
15 changed files with 37 additions and 2357 deletions

View file

@ -12,7 +12,7 @@ On macOS or Linux, you can use the installer:
curl -fsSL https://pi.dev/install.sh | sh
```
Alternatively, install Pi from npm. This requires Node.js 22.19 or newer:
The installer pins all dependencies and updates Pi with `pi update`. Alternatively, install Pi from npm, which does not pin transitive dependencies. This requires Node.js 22.19 or newer:
```bash
npm install -g --ignore-scripts @earendil-works/pi-coding-agent