@pi-plugins/exit
Exit command extension for pi-agent.
Package details
Install @pi-plugins/exit from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@pi-plugins/exit- Package
@pi-plugins/exit- Version
0.1.1- Published
- Jul 23, 2026
- Downloads
- 95/mo · 15/wk
- Author
- kedom1337
- License
- MIT
- Types
- extension
- Size
- 4.5 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/index.mjs"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@pi-plugins/exit
A pi-agent extension that exits pi when you
submit exit or quit as the whole prompt.
Install
pi install npm:@pi-plugins/exit
For a one-off run without adding it to settings:
pi -e npm:@pi-plugins/exit
For local development, load it straight from this directory:
pi -e ./plugins/exit
Usage
Submit either command by itself:
exit
quit
The extension handles the input locally and requests pi's normal graceful shutdown, so the prompt is not sent to the model.