pi-resume-hint
Pi extension that prints a quirky resume command for the current session when Pi exits.
Package details
Install pi-resume-hint from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-resume-hint- Package
pi-resume-hint- Version
0.1.1- Published
- May 1, 2026
- Downloads
- not available
- Author
- awesome31
- License
- MIT
- Types
- extension
- Size
- 7.1 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-resume-hint
A tiny Pi extension that prints a short, mildly dramatic resume hint when Pi exits.
When you quit Pi, it prints a random exit message and the command to resume it:
╭─ NOOOO don't go. Okay fine. Come back with:
╰─ pi --session 123e4567-e89b-12d3-a456-426614174000
Install
From this local checkout:
pi install /Users/rohittyagi/Documents/learn/pi-resume-hint
Or test for one run without installing:
pi -e /Users/rohittyagi/Documents/learn/pi-resume-hint
After installing, restart Pi or run /reload.
Usage
Quit Pi normally. The extension listens for Pi's session_shutdown event with reason quit and writes the hint to stderr.
You can also show the current hint at any time:
/resume-hint
Disable temporarily
Set this environment variable before starting Pi:
PI_RESUME_HINT_DISABLE=1 pi
Accepted truthy values are 1, true, yes, and on.
Package details
This is a Pi package. package.json declares:
{
"pi": {
"extensions": ["./extensions"]
}
}
Pi loads extensions/index.ts directly; no build step is required.
License
MIT