@mholtzscher/pi-exit
Pi extension: exit command and Vim-style :q handler for clean shutdown
Package details
Install @mholtzscher/pi-exit from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@mholtzscher/pi-exit- Package
@mholtzscher/pi-exit- Version
0.1.1- Published
- Sep 17, 2026
- Downloads
- 281/mo · 6/wk
- Author
- mholtzscher
- License
- MIT
- Types
- extension
- Size
- 3 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@mholtzscher/pi-exit
Pi extension: registers an exit command and intercepts Vim-style :q input so pi shuts down cleanly through either path.
Add "npm:@mholtzscher/pi-exit" to the packages array in ~/.pi/agent/settings.json.