eca icon indicating copy to clipboard operation
eca copied to clipboard

Rollback code changes

Open Kaspazza opened this issue 1 year ago • 4 comments

Recently new feature with rolling back chat history was released. It would be awesome to continue work on this so we can also rollback code changes.

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Kaspazza avatar Nov 26 '25 00:11 Kaspazza

I can think on some definitions to see this working:

  • Only work for ECA native tools that change code: write_file, edit_file, move_file
  • Every time we use one of those tools, we keep in memory the file_changed + its content before the operation, so when we rollback we spit to that file that content

ericdallo avatar Nov 26 '25 00:11 ericdallo

Yeah that would be great, although I wonder what with modifications done manually in the meantime, but I guess those will be lost.

Kaspazza avatar Nov 26 '25 10:11 Kaspazza

I think so

ericdallo avatar Nov 26 '25 12:11 ericdallo

Done! LMK if any bugs

ericdallo avatar Nov 26 '25 17:11 ericdallo