Core Concepts

Version History

Every AI generation creates an automatic checkpoint. You can browse and restore any of the last 5 versions.

How checkpoints work

When the AI finishes generating your app, the new HTML is immediately saved to the version history before the preview updates. This means:

  • The very first generation creates version 1
  • Every follow-up message that produces a new app adds another version
  • Restoring a version also creates a new checkpoint from that restored HTML
  • When 5 versions are reached, the oldest is removed

Opening the history drawer

Click the clock icon (History) in the builder toolbar. A panel slides in from the right showing up to 5 versions, each with a relative timestamp ("2 minutes ago", "1 hour ago", etc.).

Restoring a version

Click Restore next to any version. The app HTML is immediately replaced with that version in the preview — no generation step needed. The restored version is also saved as the current app HTML in the database.

Tip: If you accidentally broke something with a bad prompt, open history and restore the last good version. Then continue from there with a more specific follow-up message.