Add Checkpoints-Restore to Chat

Sometimes, I prefer to work with Chat only because I have better and more granular control over what I can apply.

I really like Composer, but sometimes, it can be too aggressive when applying changes and making mistakes. But one feature that is really helpful in Composer is the ability to restore a previous version in the session.

Would it be possible to do this in Chat? While working on Chat, I find myself doing a lot of Cmd+Z and losing track of the iteration, so this would fix it.

The only solution I have found is to commit to every small change, but that feels excessive.

This would be a great QoL improvement for people who rely on Chat.

Yes a full diff should be in chat as well from the tool merging the code.

+1 for checkpoints

Moreover, you’ve implemented it in some version but I see it disappeared after. It’s SUPER important for efficient composer usage
I often find composer doing like 70 actions by itself and then it goes sideways, starting to refactor everything, removing half of file context etc.
Usually it’s happening on 40-60th tool call where it misunderstood some concept or custom code or doesn’t read a file and make an assumption.

The best way would be to restore checkpoint right where it went sideways and explain him what he didn’t get.

Currently the only way is to revert ALL 70 steps by editing a message and explain him context there, which is very time inefficient (it may take 7-10 minutes for it to walk through steps) and price inefficient, and also providing unnecessary load on Anthropic API etc.

It’ll be cool if there will be a “Restore checkpoint” link either to every tool call or edit or at least like each 5th so not to lose whole history.