Revert file to how it was before a historic prompt with button in chat UI

It would be super nice to have a “revert” little circle on the previous chat prompt that “CTRL-Z’s” you back to the code as of that moment.

If working in a single file and adding features through prompts you might not recognize a bug introduced and want to walk back to the point it was working and approve the next few changes looking for what might’ve gone wrong more closely.

Or you may get a few prompts into building something that you later realize isn’t the way you want it done. Easier to skip back past a few prompts worth of changes.

I’d imagine some cool stuff could be done to give the chat that context that you needed to walk back 3~ prompts and to help it avoid the same mistakes building forward from that point.