pi-exit-resume
v0.1.1
Published
Pi extension that copies the resume command when Pi exits.
Downloads
300
Maintainers
Readme
pi-exit-resume
pi-exit-resume copies a Pi resume command to your clipboard when the current Pi session shuts down with reason: "quit".
Install
pi install npm:pi-exit-resumeOr add it directly to Pi settings:
{
"packages": ["npm:pi-exit-resume"]
}What it does
On session_shutdown with reason: "quit", it copies:
pi --session <session-id>The session id comes from Pi's current ctx.sessionManager. If no resume command can be built, nothing is copied.
Disable
Remove pi-exit-resume from Pi packages.
Development
npm run typecheck
npm run lint
npm run format:check