Pi 0.67.4
New version of pi. Download from npm or view release on GitHub.
New Features
--no-context-files(-nc) disables automaticAGENTS.md/CLAUDE.mddiscovery when you need a clean run without project context injection. See README.md#context-files.loadProjectContextFiles()is now exported as a standalone utility for extensions and SDK-style integrations that need to inspect the same context-file resolution order used by the CLI. See README.md#context-files.- New
after_provider_responseextension hook lets extensions inspect provider HTTP status codes and headers immediately after response creation and before stream consumption. See docs/extensions.md.
Added
- Added
--no-context-files(-nc) to disableAGENTS.mdandCLAUDE.mdcontext file discovery and loading (#3253) - Exported
loadProjectContextFiles()as a standalone utility so extensions can discover project context files without instantiating a fullDefaultResourceLoader(#3142) - Added
after_provider_responseextension hook so extensions can inspect provider HTTP status codes and headers after each provider response is received and before stream consumption begins (#3128)
Changed
- Added
claude-opus-4-7model for Anthropic. - Changed Anthropic prompt caching to add a
cache_controlbreakpoint on the last tool definition, so tool schemas can be cached independently from transcript updates while preserving existing cache retention behavior (#3260)