pi-exit
Minimal pi package that adds a /exit command.
Package details
Install pi-exit from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-exit- Package
pi-exit- Version
0.1.4- Published
- Apr 30, 2026
- Downloads
- 517/mo · 517/wk
- Author
- lukaspanni
- License
- MIT
- Types
- extension
- Size
- 2.5 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./extensions/exit.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-exit
Minimal pi package that adds a /exit command.
Install
From GitHub:
pi install https://github.com/lukaspanni/pi-exit
From npm:
pi install npm:pi-exit
Usage
Reload pi or restart it, then run:
/exit
This requests a clean shutdown via ctx.shutdown().
Package contents
extensions/exit.ts- registers/exit