Pi 0.58.0
New version of pi. Download from npm or view release on GitHub.
New Features
- Claude Opus 4.6, Sonnet 4.6, and related Bedrock models now use a 1M token context window (up from 200K) (#2135 by @mitsuhiko).
- Extension tool calls now execute in parallel by default, with sequential
tool_callpreflight preserved for extension interception. GOOGLE_CLOUD_API_KEYenvironment variable support for thegoogle-vertexprovider as an alternative to Application Default Credentials (#1976 by @gordonhwc).- Extensions can supply deterministic session IDs via
newSession()(#2130 by @zhahaoyu).
Added
- Added
GOOGLE_CLOUD_API_KEYenvironment variable support for thegoogle-vertexprovider as an alternative to Application Default Credentials (#1976 by @gordonhwc) - Added custom session ID support in
newSession()for extensions that need deterministic session paths (#2130 by @zhahaoyu)
Changed
- Changed extension tool interception to use agent-core
beforeToolCallandafterToolCallhooks instead of wrapper-based interception. Tool calls now execute in parallel by default, extensiontool_callpreflight still runs sequentially, and final tool results are emitted in assistant source order. - Raised Claude Opus 4.6, Sonnet 4.6, and related Bedrock model context windows from 200K to 1M tokens (#2135 by @mitsuhiko)