ZIm/crates/assistant_tool/src
Oleksiy Syvokon a5a116439e
agent: Rejecting agent changes shouldn't discard user edits (#31617)
The fix prevents data loss, but it also results in a somewhat confusing
UX. Specifically, after the user has made changes to an AI-created file,
selecting "Reject" will leave AI changes in place.

This is because there's no trivial way to disentangle user edits from
the edits made by the AI.

A better solution might exist. In the meantime, this change should do.
    
Closes
* #30527 

Release Notes:

- Prevent data loss when reverting changes in an agent-created file
2025-05-28 18:44:49 +00:00
..
action_log.rs agent: Rejecting agent changes shouldn't discard user edits (#31617) 2025-05-28 18:44:49 +00:00
assistant_tool.rs Revert "agent: Namespace MCP server tools" (#31588) 2025-05-28 13:25:53 +00:00
outline.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
tool_registry.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tool_schema.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
tool_working_set.rs agent: Make ToolWorkingSet an Entity (#28757) 2025-04-15 14:42:31 +02:00