@asermax/pi-save

Stash and restore your Pi prompt via alt+s

Packages

Package details

extension

Install @asermax/pi-save from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@asermax/pi-save
Package
@asermax/pi-save
Version
1.0.3
Published
May 10, 2026
Downloads
71/mo · 8/wk
Author
asermax
License
MIT
Types
extension
Size
4.9 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-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-save

Or from git:

pi install git:git@github.com:asermax/pi-save.git

Usage

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 bump
  • fix: → patch bump
  • feat!: or BREAKING CHANGE: in footer → major bump

No manual versioning or tagging needed — the CI handles it all.