Packages

@mariozechner/pi-ai

0.73.1 · 7 May 2026MIT593.1k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: please use @earendil-works/pi-ai instead going forwardWhat to use instead

Upgrading @mariozechner/pi-ai From 0.22.5 to 0.23.0

1 release in betweenevery note read

Other targets from 0.22.5Newest 0.x, Latest0.73.1
  1. 0.22.5yours
  2. 0.23.0target
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

  1. 0.23.0

    Migration needed17 Dec 20252 new
    • Breaking

      Hooks: Replaced session_start and session_switch events with unified session event. Use event.reason ("start" | "switch" | "clear") to distinguish. Event now includes entries array 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 via onSession callback. See docs/custom-tools.md and examples/custom-tools/.

    • New

      Hook and tool examples: Added examples/hooks/ and examples/custom-tools/ with working examples. Examples are now bundled in npm and binary releases.

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.