← Catalog

pi-exit

Minimal pi package that adds a /exit command.

Extension

Install

Install with PiG

pig install npm:pi-exit

Install with Pi

pi install npm:pi-exit
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./extensions/exit.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.

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