@mariozechner/pi-ai
0.73.1 · 7 May 2026MIT593.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @mariozechner/pi-ai From 0.22.5 to 0.23.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.23.0
Release by release
- Breaking
Hooks: Replaced
session_startandsession_switchevents with unifiedsessionevent. Useevent.reason("start" | "switch" | "clear") to distinguish. Event now includesentriesarray for state reconstruction. - New
Custom tools: Extend pi with custom tools written in TypeScript. Tools can provide custom TUI rendering, interact with users via
pi.ui(select, confirm, input, notify), and maintain state across sessions viaonSessioncallback. See docs/custom-tools.md and examples/custom-tools/. - New
Hook and tool examples: Added
examples/hooks/andexamples/custom-tools/with working examples. Examples are now bundled in npm and binary releases.
- Breaking
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.