Agent
Checkpoints
Take a snapshot of your workspace before a large change.
Taking one
Open Checkpoints from the command palette, name the snapshot, and choose Create. Take one before you let an agent make a change you are not sure about.
Checkpoints are not taken for you. If you want to be able to go back, take one first.
Restoring
Pick a checkpoint from the list and choose Restore. Your files return to the state they were in. Chat history is left alone, so you can try a different approach.
What is captured
Your open files, plus the tracked working tree when the folder is a git repository. Untracked files and anything outside the workspace are not included.
Checkpoints and git
Checkpoints are local. They do not create commits and do not move your branch. Use them for quick undo during a session and commits for history you want to keep.