Changed
- Added
Ctrl+Jas a default newline keybinding alongsideShift+Enter. - Renamed the displayed
zaiprovider 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-airoot 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 newcreateModels()/provider-factory API). The compat entrypoint and the loader alias will be removed in a future release with a migration guide.
Fixed
- Fixed session names to normalize newline characters before storing or displaying labels (#5999 by @haoqixu).
- Fixed the session selector to order threaded session trees by the latest activity anywhere in each subtree (#5784 by @Perlence).
- Fixed extension-related crash and startup-failure reporting to suggest restarting with
pi -ne. - Fixed inherited OpenAI Responses streams to fail before missing terminal events and fixed context usage and compaction estimates to ignore malformed all-zero assistant usage after truncated responses (#5526 by @dmmulroy).
- Fixed inherited OpenAI Codex Responses WebSocket sessions to reconnect once when OpenAI's connection limit is reached before output starts (#5973).
- Fixed inherited Amazon Bedrock endpoint resolution to honor scoped
AWS_PROFILEvalues. - Fixed inherited Cloudflare providers to require account/gateway configuration and route built-in compat calls through provider auth.
- Fixed provider-scoped auth environment values to reach inherited
Models/ImagesModelsAPI calls and compat API-key injection. - Fixed inherited OpenCode Go GLM-5.2 metadata to expose
xhighreasoning and send the provider's max reasoning effort (#5967). - Fixed
pi --resumeto load user package themes and resolve automatic light/dark theme settings. - Fixed
models.jsoncustom providers so stored credentials can satisfy auth without a redundant provider-levelapiKey(#5953).
Removed
- Removed inherited selective-provider
@earendil-works/pi-ai/baseand@earendil-works/pi-agent-core/baseentrypoints; use the root packages with explicitModelsprovider factories instead.