@firstpick/pi-extension-reverse-last0.2.2
Session-aware undo for Pi write/edit tool changes via /reverse-last.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
Reverse Last for Pi
Undo the most recent changes made through Pi’s write and edit tools.
What you can do
- Tracks changes made through Pi’s write and edit tools.
- Shows which recent change can be undone.
- Restores one or several recent change steps.
- Keeps undo limited to changes it can safely identify.
Install
Install it through Pi:
pi install npm:@firstpick/pi-extension-reverse-last
Restart Pi if the package does not appear in your current session.
How to use it
Run /reverse-last to preview and undo the latest Pi file change. Add a number when you need to reverse several recent change steps together.
/reverse-last [count]— undo last successful file changes in current session.
Before you start
No setup is required. Undo history is kept only for the current Pi session unless you configure another state directory.
Technical details
See TECHNICAL.md for complete commands, configuration, compatibility, security, and troubleshooting information.