@vanillagreen/pi-prompt-stash
v1.0.3
Published
Pi package for per-session prompt stash history with Alt+S stash/restore workflow.
Maintainers
Readme
pi-prompt-stash

Per-session prompt stash history for Pi.
Install
Via npm:
pi install npm:@vanillagreen/pi-prompt-stashVia vstack:
cargo install --git https://github.com/vanillagreencom/vstack.git vstack
vstack add vanillagreencom/vstack --pi-extension pi-prompt-stash --harness pi -yRestart Pi after installation.
Commands
| Command | Action |
| --- | --- |
| /prompt-stash | Open the stash popup. |
Keys
Alt+Swith editor text: stash the current prompt and clear the editor.Alt+Swith an empty editor: open the stash popup.
Popup controls:
| Key | Action |
| --- | --- |
| Type | Search stashed prompts. |
| ↑ / ↓ | Move selection. |
| Enter | Restore the selected prompt into the editor. The stash is unchanged. |
| Ctrl+D or Delete | Delete the selected prompt. |
| Ctrl+X, then Enter | Delete all stashed prompts. |
| Esc | Close. |
Storage
Stashes are stored per Pi session under ~/.pi/agent/vstack/prompt-stash/sessions/<session-id>/prompt-stash.json, even when the package is enabled by project settings. Legacy manager config under prompt-stash is still read, and legacy .pi/prompt-stash.json files are imported into the current session and removed on load/use.
