docs(coding-agent): clarify dependency categories

This commit is contained in:
Mario Zechner 2026-01-27 00:13:54 +01:00
parent 484b605ca0
commit bec72c428c

View file

@ -106,7 +106,7 @@ If no `pi` manifest is present, pi auto-discovers resources from these directori
## Dependencies
Third party runtime dependencies belong in `dependencies` in `package.json`. When pi installs a package from npm or git, it runs `npm install`, so those dependencies are installed automatically.
Third party runtime dependencies belong in `dependencies` in `package.json`. Dependencies that do not register extensions, skills, prompt templates, or themes also belong in `dependencies`. When pi installs a package from npm or git, it runs `npm install`, so those dependencies are installed automatically.
Pi bundles core packages for extensions and skills. If you import any of these, list them in `peerDependencies` with a `"*"` range and do not bundle them: `@mariozechner/pi-ai`, `@mariozechner/pi-agent-core`, `@mariozechner/pi-coding-agent`, `@mariozechner/pi-tui`, `@sinclair/typebox`.