omp packages

pi-undo-edits1.0.0

Undo last N conversation turns and restore edit/write file changes (no git, no bash undo). Usage: /undo [N]

wpbasket Published 29 days ago MIT ~191 downloads/mo

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.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-undo-edits

npm version

An undo button for Pi. If Pi makes a wrong change, you can go back to an earlier point. Your chat goes back, and your files go back too.

What it does

  • Go back one step or many steps in your chat
  • Bring back files as they were before Pi edited them
  • Pick from a list if you are not sure how far to go back
  • Puts your old message back in the typing box so you can fix and resend it

Note: only files Pi edited are restored. Commands run in the terminal stay as they are.

Install

pi install npm:pi-undo-edits

Or from GitHub:

pi install git:github.com/wpbasket/pi-undo-edits

Use

Inside Pi, type:

/undo      # show list and pick where to go back

Pi will ask "are you sure?" once, then undo.

License

MIT

Keywords

pi · pi-agent · pi-extension · pi-package · undo · session · snapshots · restore · pi-undo · pi-undo-edits