Install
Install with PiG
pig install npm:@henryqw/pi-undoInstall with Pi
pi install npm:@henryqw/pi-undoPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./extensions/undo.ts"
]
}README
Written by the package's publisher, shown as published in version 3.2.1 (README.md). PiG does not review it.
@henryqw/pi-undo
Return to the latest user prompt on the current branch, without later conversation context. Edit and resend the prompt in place instead of copying it into a new turn.
Install
pi install npm:@henryqw/pi-undo
Use
Run /undo with no arguments. It cancels active work, waits for it to stop, then returns to the undo target.
The command does not select prompts on other branches. If the current branch has no user message, Pi displays Nothing to undo.
Limits and recovery
Conversation rewind does not revert filesystem changes. Review or restore files separately before you resend the prompt.