@richardgill/pi-parrot
Populate Pi's input box with the last assistant message.
Package details
Install @richardgill/pi-parrot from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@richardgill/pi-parrot- Package
@richardgill/pi-parrot- Version
0.0.2- Published
- May 24, 2026
- Downloads
- not available
- Author
- richardgill
- License
- unknown
- Types
- extension
- Size
- 8.8 KB
- Dependencies
- 2 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@richardgill/pi-parrot
Populate Pi's input box with the last assistant message.
Usage
- Press
Alt+R - Or run
/parrot
Parrot finds the latest assistant message on the current branch, keeps only visible text content, and places it in the Pi input box for you to revise or submit.
Installation
pi install npm:@richardgill/pi-parrot
Configuration
You can override individual settings in parrot.jsonc.
The default location is ~/.pi/agent/parrot.jsonc, or $PI_EXTENSION_CONFIG_DIR/parrot.jsonc when set.
Default config settings:
{
// Keyboard shortcut registered for Parrot.
// Set to false to disable the shortcut while keeping /parrot.
"keyboardShortcut": "alt+r", // "alt+r" (default) | false | any Pi key id
// Open the last assistant message in $VISUAL or $EDITOR before placing/sending it.
"openExternalEditor": false, // true | false (default)
// Submit the text after the external editor exits.
// Only applies when openExternalEditor is true.
"sendAfterEditorClose": false // true | false (default)
}