When asked to do a change in the code, Agent applies the changes without asking for the approve (keep?). If i discard a change from restoring previous checkpoint the char reset but the code still contain the edits.
Same behaviour even when specific model selected.
Steps to Reproduce
Use Auto Agent mode, send a prompt to asking do a code change. and restore a chekpoint
Hey, the first issue (changes are applied without showing diffs) is a known bug being tracked here: Only some diffs are shown when the agent makes changes. A fix is already in progress, so please try updating to the latest version once itās available.
For now, after changes, forcing diffs to show can sometimes help: Ctrl+Shift+P > Developer: Reload Window.
About the checkpoint issue, could you share a bit more about what happens when you restore a checkpoint? Specifically, do the files look like they roll back but the code stays changed, or does nothing change at all?
For me non of the changes showing, but hopefully it will get fixed.
Iām not sure if the video is clear enough. I asked to do a code change (add a paragraph) it did one line change and it was auto applied. then i click āDiscard all changes up to this checkpoint?ā i said Yes, then the chat was reverted but the line it added still stay one the code. File did not role back. and if i asked to new change, it applies on top of the change i asked to revert.
Iāve shared this with the team. For now, as a workaround, make a git commit before agent sessions so you can roll back with git checkout -- <file> or git stash.