{"_id":"@ctogg/pi-stash","_rev":"3-333e19642f317d75fcb57898410ab653","name":"@ctogg/pi-stash","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@ctogg/pi-stash","version":"0.1.0","keywords":["pi","pi-package","pi-extension","stash","prompt"],"author":"","license":"MIT","_id":"@ctogg/pi-stash@0.1.0","maintainers":[{"name":"ctogg","email":"christoffer@cto.gg"}],"homepage":"https://github.com/cristeahub/pi-stash#readme","bugs":{"url":"https://github.com/cristeahub/pi-stash/issues"},"pi":{"extensions":["./prompt-stash.ts"]},"dist":{"shasum":"06c56663df988e22f7c80cd26ddf91ab8e6ac2f5","tarball":"https://registry.npmjs.org/@ctogg/pi-stash/-/pi-stash-0.1.0.tgz","fileCount":4,"integrity":"sha512-f9WktT45o1RGo1tOZEA3TjbyPWKcNCkXuMm2m9mCNdFFpTx08gV7fjnoXyPrXRhZzMdhqkjuLYGtxOIj3Pdg3g==","signatures":[{"sig":"MEQCIHe7hGeDExxenZ3KfoB5ca8/I2g8fJp/yRcoGszF8aqjAiA26h8Q9KzS2t37x9aog9RyVmsMWSJVltETjOUxuCkDug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15012},"type":"module","gitHead":"e93ae0f6aa7020112b586950c2523e90f699f19e","scripts":{"build":"echo 'nothing to build'","check":"echo 'nothing to check'","clean":"echo 'nothing to clean'"},"_npmUser":{"name":"ctogg","email":"christoffer@cto.gg"},"repository":{"url":"git+https://github.com/cristeahub/pi-stash.git","type":"git"},"_npmVersion":"10.9.3","description":"Git-style prompt stashing for pi — save what you're typing, clear the editor, and come back to it later.","directories":{},"_nodeVersion":"22.19.0","_hasShrinkwrap":false,"peerDependencies":{"@mariozechner/pi-tui":"*","@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-stash_0.1.0_1776357284414_0.14013526547398247","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ctogg/pi-stash","version":"0.1.1","keywords":["pi","pi-package","pi-extension","stash","prompt"],"author":"","license":"MIT","_id":"@ctogg/pi-stash@0.1.1","maintainers":[{"name":"ctogg","email":"christoffer@cto.gg"}],"homepage":"https://github.com/cristeahub/pi-stash#readme","bugs":{"url":"https://github.com/cristeahub/pi-stash/issues"},"pi":{"extensions":["./prompt-stash.ts"]},"dist":{"shasum":"fe36880b3263990cb7fe555b316646b0cd47b958","tarball":"https://registry.npmjs.org/@ctogg/pi-stash/-/pi-stash-0.1.1.tgz","fileCount":4,"integrity":"sha512-6ItKLaR4srCfO7BLJbOjWK5RPBrOcxi1bFAjfcxpGbanEnfMFu4tH6SL7sQh3aTQwTaUDZ7EEi1GsKdb5/FZDQ==","signatures":[{"sig":"MEYCIQDd1gg+QD8/hhq8LXPzeAPDeFSuNgLrnTims20NQ8vxmAIhAKqTeds3aVr4n+jfFcw7WeAxvPY7pxpy0xN1yjsx8aP0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16092},"type":"module","gitHead":"ba7e4456f5792fb4e3dcc90a062e0cf6acfd5f37","scripts":{"build":"echo 'nothing to build'","check":"echo 'nothing to check'","clean":"echo 'nothing to clean'"},"_npmUser":{"name":"ctogg","email":"christoffer@cto.gg"},"repository":{"url":"git+https://github.com/cristeahub/pi-stash.git","type":"git"},"_npmVersion":"10.9.3","description":"Git-style prompt stashing for pi — save what you're typing, clear the editor, and come back to it later.","directories":{},"_nodeVersion":"22.19.0","_hasShrinkwrap":false,"peerDependencies":{"@mariozechner/pi-tui":"*","@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-stash_0.1.1_1776357540489_0.19395573943947975","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ctogg/pi-stash","version":"0.1.2","description":"Git-style prompt stashing for pi — save what you're typing, clear the editor, and come back to it later.","type":"module","keywords":["pi","pi-package","pi-extension","stash","prompt"],"license":"MIT","author":"","repository":{"type":"git","url":"git+https://github.com/cristeahub/pi-stash.git"},"homepage":"https://github.com/cristeahub/pi-stash#readme","bugs":{"url":"https://github.com/cristeahub/pi-stash/issues"},"pi":{"extensions":["./prompt-stash.ts"]},"scripts":{"clean":"echo 'nothing to clean'","build":"echo 'nothing to build'","check":"echo 'nothing to check'"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*","@earendil-works/pi-tui":"*"},"_id":"@ctogg/pi-stash@0.1.2","gitHead":"cd04c75c3db62d15ba54c8fd3241ec1dffa7d09f","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-507gXQB8EEEfzanXEhuNKgfXxo2UMsTi7PM6s9BVNte6pxZuyKr0z07C83w5hVqRmsF9Cr2Zlu07yhTVZq+fhg==","shasum":"a01898569b1067d14bad1baff29bccfa77631319","tarball":"https://registry.npmjs.org/@ctogg/pi-stash/-/pi-stash-0.1.2.tgz","fileCount":4,"unpackedSize":16110,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDQa+S1FBzQDrJLeY+455eObsoualTqxHVIJZloiAG/XQIhAK/yugEROD8L2WtPVD3WUNdPYrtkvT+5lUK/3B9yFb0J"}]},"_npmUser":{"name":"ctogg","email":"christoffer@cto.gg"},"directories":{},"maintainers":[{"name":"ctogg","email":"christoffer@cto.gg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-stash_0.1.2_1778232106218_0.4068027810784913"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-16T16:34:44.338Z","modified":"2026-05-08T09:21:46.472Z","0.1.0":"2026-04-16T16:34:44.568Z","0.1.1":"2026-04-16T16:39:00.664Z","0.1.2":"2026-05-08T09:21:46.370Z"},"bugs":{"url":"https://github.com/cristeahub/pi-stash/issues"},"license":"MIT","homepage":"https://github.com/cristeahub/pi-stash#readme","keywords":["pi","pi-package","pi-extension","stash","prompt"],"repository":{"type":"git","url":"git+https://github.com/cristeahub/pi-stash.git"},"description":"Git-style prompt stashing for pi — save what you're typing, clear the editor, and come back to it later.","maintainers":[{"name":"ctogg","email":"christoffer@cto.gg"}],"readme":"# pi-stash\n\nGit-style prompt stashing for [pi](https://github.com/earendil-works/pi-mono).\n\nSave what you're typing, clear the editor, and come back to it later.\n\n## Install\n\n```bash\npi install npm:@ctogg/pi-stash\n```\n\nTry it for a single session without adding it to your settings:\n\n```bash\npi -e npm:@ctogg/pi-stash\n```\n\nTo install into the current project only (writes to `.pi/settings.json`):\n\n```bash\npi install -l npm:@ctogg/pi-stash\n```\n\nThen `/reload` in pi (or restart).\n\n### Developing locally\n\nClone the repo and symlink the extension into your global extensions directory:\n\n```bash\ngit clone https://github.com/cristeahub/pi-stash\ncd pi-stash\nln -s \"$(pwd)/prompt-stash.ts\" ~/.pi/agent/extensions/prompt-stash.ts\n```\n\nMake sure the npm-installed version is removed first (`pi remove npm:@ctogg/pi-stash`) so you don't load two copies.\n\n## Usage\n\n### Shortcuts\n\n| Key            | Action                    |\n| -------------- | ------------------------- |\n| `Ctrl+Q`       | Stash current editor text |\n| `Ctrl+Shift+Q` | Stash with a message      |\n\n### Commands\n\n| Command        | Action                               |\n| -------------- | ------------------------------------ |\n| `/stash`       | Interactive stash picker             |\n| `/stash list`  | Interactive stash picker             |\n| `/stash pop`   | Picker locked to pop mode            |\n| `/stash apply` | Picker locked to apply mode          |\n| `/stash drop`  | Picker locked to drop mode           |\n| `/stash clear` | Drop all stashes (with confirmation) |\n\n### Picker Keys\n\n| Key       | Action                                      |\n| --------- | ------------------------------------------- |\n| `j` / `↓` | Move down                                   |\n| `k` / `↑` | Move up                                     |\n| `Enter`   | Apply or pop (configurable, default: apply) |\n| `a`       | Apply — paste into editor, keep stash       |\n| `p`       | Pop — paste into editor, remove stash       |\n| `d`       | Drop — delete stash without pasting         |\n| `Esc` / `Ctrl+Q` | Close picker                           |\n\n## Configuration\n\nAll settings in `~/.pi/stash-config.json`:\n\n```json\n{\n  \"stash\": \"ctrl+q\",\n  \"stashWithMessage\": \"ctrl+shift+q\",\n  \"enterAction\": \"apply\"\n}\n```\n\n| Key                | Default        | Description                                         |\n| ------------------ | -------------- | --------------------------------------------------- |\n| `stash`            | `ctrl+q`       | Quick stash shortcut                                |\n| `stashWithMessage` | `ctrl+shift+q` | Stash with message shortcut                         |\n| `enterAction`      | `\"apply\"`      | What Enter does in the picker: `\"apply\"` or `\"pop\"` |\n\nOnly include keys you want to override. `/reload` after editing.\n\n## Storage\n\nStashes persist in `~/.pi/stash.json` across all sessions and projects.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}