New Features
- Bedrock sessions can now authenticate with
AWS_BEARER_TOKEN_BEDROCK, enabling Converse API access without local SigV4 credentials. See docs/providers.md#amazon-bedrock.
Added
- Added Bedrock bearer-token authentication support via
AWS_BEARER_TOKEN_BEDROCK, enabling coding-agent sessions to use Bedrock Converse without local SigV4 credentials (#3125 by @wirjo)
Fixed
- Fixed
/scoped-modelsAlt+Up/Down to stay a no-op in the implicitall enabledstate instead of materializing a full explicit enabled-model list and marking the selector dirty (#3331) - Fixed Mistral Small 4 default thinking requests to use the model's supported reasoning control, avoiding
400errors when starting sessions onmistral-small-2603andmistral-small-latest(#3338) - Fixed Qwen chat-template thinking replay to preserve prior thinking across turns, so affected OpenAI-compatible models keep multi-turn tool-call arguments instead of degrading to empty
{}payloads (#3325) - Fixed exported HTML transcripts so text selection no longer triggers click-based expand/collapse toggles (#3332 by @xu0o0)
- Fixed flaky git package update notifications by waiting for captured git command stdio to fully drain before comparing local and remote commit SHAs (#3027)
- Fixed system prompt dates to use a stable
YYYY-MM-DDformat instead of locale-dependent output, keeping prompts deterministic across runtimes and locales (#2814) - Fixed auto-retry transient error detection to treat
Network connection lost.as retryable, so dropped provider connections retry instead of terminating the agent (#3317) - Fixed compact interactive extension startup summaries to disambiguate package extensions and repeated local
index.tsentries by using package-aware labels and the minimal parent path needed to make local entries unique (#3308) - Fixed git package dependency installation to use production installs (
npm install --omit=dev) during both install and update flows, so extension runtime dependencies must come fromdependenciesand notdevDependencies(#3009) - Fixed
tool_result/afterToolCallextension handling for error results by forwardingdetailsandisErroroverrides throughAgentSessioninstead of dropping them whenisErrorwas already true (#3051) - Fixed missing root exports for
RpcClientand RPC protocol types from@mariozechner/pi-coding-agent, so ESM consumers can import them from the main package entrypoint (#3275) - Fixed OpenAI Codex service-tier cost accounting to trust the explicitly requested tier when the API echoes the default tier in responses, keeping session cost displays aligned with the selected tier (#3307 by @markusylisiurunen)
- Fixed parallel tool-call finalization to convert
afterToolCallhook throws into error tool results instead of aborting the remaining tool batch (#3084) - Fixed Bun binary asset path resolution to honor
PI_PACKAGE_DIRfor built-in themes, HTML export templates, and interactive bundled assets (#3074) - Fixed user-message turn spacing in interactive mode by restoring an inter-message spacer before user turns (except the first user message), preventing assistant and user blocks from rendering flush together.
- Fixed interactive
/importhandling to support quoted JSONL paths with spaces, route missing JSONL files through the non-fatalSessionImportFileNotFoundErrorpath, and document theimportFromJsonl()exceptions (SessionImportFileNotFoundError,MissingSessionCwdError).