原始内容
pi-extensions
Single-purpose extensions for the pi coding agent, published individually to npm.
Packages
| Package | Description | Tools / commands |
|---|---|---|
switch-model |
Free-form, LLM-driven model switching mid-conversation — no approval loop, no auto-restore. | switch_model |
Install
Each package is published standalone on npm — install only what you need:
pi install npm:pi-switch-model
For local development against this checkout:
pi -e ~/code/pi-extensions/switch-model
Develop
npm install # installs all workspace packages from the repo root
npm run typecheck # tsc --noEmit, per workspace
npm test # node --test, per workspace
Each package under a top-level directory here is an independent npm package with its
own package.json, versioned and published on its own. This repo is the source; npm is
the distribution.