@pi-plugins/exit

Exit command extension for pi-agent.

Packages

Package details

extension

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.0
Published
May 25, 2026
Downloads
158/mo · 14/wk
Author
kedom1337
License
MIT
Types
extension
Size
4.3 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 one-off testing without adding it to settings:

pi -e npm:@pi-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.