@asermax/pi-save
v1.0.3
Published
Stash and restore your Pi prompt via alt+s
Downloads
84
Readme
pi-save
Stash and restore your Pi prompt via alt+s.
Temporarily save what you're typing so you can send a different message first. The stash is restored automatically after you send, or manually via the shortcut again.
Install
pi install npm:@asermax/pi-saveOr from git:
pi install git:[email protected]:asermax/pi-save.gitUsage
| Action | Result |
|--------|--------|
| alt+s (with text in editor) | Stashes the current prompt, clears the editor, shows indicator |
| alt+s (with stash active) | Restores the stashed text into the editor |
| Send a message (with stash active) | Auto-restores the stash into the editor immediately |
The stash survives across sessions — if you start a new session while a prompt is stashed, it'll be restored into the editor on startup.
Development
This package uses semantic-release. To trigger a release, push conventional commits to main:
feat:→ minor bumpfix:→ patch bumpfeat!:orBREAKING CHANGE:in footer → major bump
No manual versioning or tagging needed — the CI handles it all.
