New Locked Pi Install (opens in new tab)
For Pi we currently publish npm-shrinkwrap.json with @earendil-works/pi-coding-agent. That gives the CLI install a vetted dependency graph, but it also makes the package behave poorly as a library. In particular, npm can install duplicate copies of internal Pi packages such as @earendil-works/pi-ai, which breaks module-level singleton state like provider registries. npm 12 is also moving away from shrinkwrap support, so keeping shrinkwrap as the application install mechanism is not an option ...
Read the original article