@jasonish/pi-prompt-history

Pi extension: search user prompt history across all sessions with Ctrl+Alt+R

Package details

extension

Install @jasonish/pi-prompt-history from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@jasonish/pi-prompt-history
Package
@jasonish/pi-prompt-history
Version
0.1.0
Published
Feb 10, 2026
Downloads
11/mo · 5/wk
Author
jasonish
License
MIT
Types
extension
Size
15.5 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-prompt-history

Search your user prompt history across all sessions with a keyboard shortcut.

Shortcut

  • Ctrl+Alt+R — open prompt history search

Behavior

  1. Press Ctrl+Alt+R
  2. A live-search picker opens
  3. Type to fuzzy-filter results (fzf-style)
  4. Press Enter to load the selected prompt into the editor

On first load (or cache refresh), a loading panel shows indexing progress. Current session prompts are merged in immediately, so new prompts appear without waiting for cache expiry.

Result Ordering

  • Results are shown in recency order (newest first)
  • Filtering does not reorder by fuzzy score; it only filters matches

No slash commands are added.

License

MIT