New version of pi. Download from npm or view release on GitHub.
Changed
- Added
Ctrl+J as a default newline keybinding alongside Shift+Enter.
- Renamed the displayed
zai provider label to ZAI Coding Plan (Global) for clarity (#5965).
- pi-ai's old global API (
stream/complete/completeSimple, getModel/getModels/getProviders, registerApiProvider, getEnvApiKey, ...) moved off the @earendil-works/pi-ai root entrypoint to @earendil-works/pi-ai/compat. Extensions are not affected at runtime: the extension loader resolves the pi-ai root to the compat entrypoint (a strict superset), so existing extensions keep working unchanged. Extension sources that typecheck against pi-ai's published types should switch those imports to @earendil-works/pi-ai/compat (or migrate to the new createModels()/provider-factory API). The compat entrypoint and the loader alias will be removed in a future release with a migration guide.
Removed
- Removed inherited selective-provider
@earendil-works/pi-ai/base and @earendil-works/pi-agent-core/base entrypoints; use the root packages with explicit Models provider factories instead.
Read more