pi-prompt-shelf
v1.1.2
Published
Pi extension: stash prompts into a persistent shelf with keyboard shortcuts and interactive picker
Downloads
81
Readme
pi-prompt-shelf
A Pi extension that lets you stash prompts from the editor into a persistent, per-session shelf instead of submitting them. Each session in each project gets its own shelf, and shelved prompts survive restarts. The shelf is always visible as a widget above the editor input.
https://github.com/user-attachments/assets/cb8b28b4-bd8b-41d4-9e0f-a3dc3bac4981
Installation
# From GitHub
pi install https://github.com/tanishqkancharla/pi-prompt-shelf
# Try without installing
pi -e https://github.com/tanishqkancharla/pi-prompt-shelfFeatures
- Session-scoped persistence — each Pi session gets its own shelf under
~/.pi/prompt-shelf/<project>-<hash>/<sessionId>.json; starting a new Pi session starts with an empty shelf, and resuming a session restores its shelf - Widget display — a bordered widget above the editor shows all shelved prompts with timestamps
- Quick restore — restore any prompt by number with
Alt+1..9 - Interactive picker — browse, restore, or delete shelved prompts with the
/shelfcommand
Shortcuts
| Key | Action |
|-----------|----------------------------------|
| Alt+S | Shelve current editor text |
| Alt+1-9 | Restore shelved prompt by number |
| Alt+X | Clear all shelved prompts |
Command
| Command | Description |
|----------|--------------------------------------|
| /shelf | Open shelf picker (restore / delete) |
License
MIT
