@arvoretech/pi-turn-notification
PI extension that sends a native desktop notification at the end of each agent turn (macOS and Linux)
Package details
Install @arvoretech/pi-turn-notification from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@arvoretech/pi-turn-notification- Package
@arvoretech/pi-turn-notification- Version
1.1.1- Published
- Jun 23, 2026
- Downloads
- 227/mo · 18/wk
- Author
- joao.barros.arvore
- License
- MIT
- Types
- extension
- Size
- 5.7 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@arvoretech/pi-turn-notification
Pi extension that sends a native desktop notification at the end of each agent turn.
Works on macOS and Linux:
- macOS: uses
osascriptto trigger native notifications with the "Glass" sound. - Linux: uses
notify-send(libnotify) for the notification, and plays a sound viacanberra-gtk-playorpaplaywhen available.
On Linux, make sure libnotify is installed (notify-send binary). The sound is best-effort and silently skipped if no player is available.
Install
pnpm add @arvoretech/pi-turn-notification
Usage
Add to your .pi/config.json:
{
"extensions": ["@arvoretech/pi-turn-notification"]
}