ZIm/crates/assistant_tool
Smit Barmase a9c44ac551
assistant_tool: Fix rejecting edits deletes newly created and accepted files (#35622)
Closes #34108
Closes #33234

This PR fixes a bug where a file remained in a Created state after
accept, causing following reject actions to incorrectly delete the file
instead of reverting back to previous state. Now it changes it to
Modified state upon "Accept All" and "Accept Hunk" (when all edits are
accepted).

- [x] Tests

Release Notes:

- Fixed issue where rejecting AI edits on newly created files would
delete the file instead of reverting to previous accepted state.
2025-08-05 06:02:42 +05:30
..
src assistant_tool: Fix rejecting edits deletes newly created and accepted files (#35622) 2025-08-05 06:02:42 +05:30
Cargo.toml agent: Push diffs of user edits to the agent (#34487) 2025-07-16 14:38:58 +00:00
LICENSE-GPL assistant: Add tool registry (#17331) 2024-09-03 19:14:36 -04:00