Skip to content

Undo & revert

Every AI turn that changes files is saved as a checkpoint, so any change can be rolled back exactly — no AI involved, no credits spent.

  1. Click the Undo last AI change button (the curved-arrow icon) in the builder header. It appears whenever the most recent AI turn changed files and hasn’t been reverted yet.
  2. The confirmation, Undo last change?, shows how many files that turn touched.
  3. Click Undo.

The files that turn changed go back to how they were before it, and the chat adds a note like “Reverted turn — restored 7 files”.

Each AI reply that changed files carries a ±N files badge in the chat:

  • Expand it to see which files that turn created, modified, or deleted.
  • Click Revert this turn to roll back just that turn’s files.
  • Once reverted, the badge is struck through and marked reverted.

Only the files that turn touched are restored — work from other turns stays. If a later turn changed the same files, those later edits to them are rolled back too.

ToolScope
Undo last AI change in the headerThe last AI turn
Revert this turn on a chat messageThat specific turn
Version HistoryThe whole project, any snapshot
  • Typing “undo” in chat is not the same. The chat treats it as an ordinary request: the AI tries to reverse its change by editing files again, which uses credits and isn’t guaranteed to be exact. Use the button or the checkpoint for an exact rollback.
  • If reverting would delete a large part of the project — for example, rolling back to a nearly empty starting point — you’re asked first (This revert removes a lot), with Delete & revert to go ahead.
  • Reverting is itself safe — the state you reverted from remains in Version History.
  • The buttons are disabled while the AI is working on a turn.