Files follow the conversation.
Choose a user message and restore to before it. Rewind across several turns, then use multiple levels of redo to return.
Rewind your files and conversation together. Preview what changes, return to an earlier message, and redo when you change your mind.
pi install npm:pi-better-rewind-redoRequires Pi + Node.js 22.19+. Installs filesnap automatically. No Rust build.
Developed for Pi 0.85.1. Tested on Linux x64.
// Workspace file export const greeting = "Welcome back.";
Choose a user message and restore to before it. Rewind across several turns, then use multiple levels of redo to return.
Snapshots live outside your workspace. No commits, no index changes, and no Git repository required.
See planned writes and deletions before restoring. A rescue snapshot and saved recovery journal help you recover if the operation is interrupted.
Coverage combines Git-indexed paths, files declared before Pi’s edit/write operations, and a bounded scan of recent files. Text and binary contents are supported.
Bash, MCP, and external tools can be rewound only for paths captured before the change. Newly created, undeclared files may remain. Ignore rules apply in both directions.
Use one writer during restore. Recovery needs a saved session; snapshots are not automatically pruned. See the documentation for symlink, remote-file, and metadata limits.
Read the full documentation →