github earendil-works/pi v0.80.0

latest release: v0.80.1
one hour ago

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.

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_PROFILE values.
  • 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/ImagesModels API calls and compat API-key injection.
  • Fixed inherited OpenCode Go GLM-5.2 metadata to expose xhigh reasoning and send the provider's max reasoning effort (#5967).
  • Fixed pi --resume to load user package themes and resolve automatic light/dark theme settings.
  • Fixed models.json custom providers so stored credentials can satisfy auth without a redundant provider-level apiKey (#5953).

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.

Don't miss a new pi release

NewReleases is sending notifications on new releases.