ZIm/crates/agent/src
Oleksiy Syvokon 7671f34f88
agent: Create checkpoint before/after every edit operation (#36253)
1. Previously, checkpoints only appeared when an agent's edit happened
immediately after a user message. This is rare (agent usually collects
some context first), so they were almost never shown. This is now fixed.

2. After this change, a checkpoint is created after every edit
operation. So when the agent edits files five times in a single dialog
turn, we will now display five checkpoints.

As a bonus, it's now possible to undo only a part of a long agent
response.

Closes #36092, #32917

Release Notes:

- Create agent checkpoints more frequently (before every edit)
2025-08-15 15:37:24 +00:00
..
prompts agent: Send stale file notifications using the project_notifications tool (#34005) 2025-07-07 19:48:18 +03:00
agent.rs Extract an agent_ui crate from agent (#33284) 2025-06-23 18:00:28 -07:00
agent_profile.rs Pull action_log into its own crate (#35959) 2025-08-10 21:57:55 +00:00
context.rs Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
context_server_tool.rs Pull action_log into its own crate (#35959) 2025-08-10 21:57:55 +00:00
context_store.rs Move UI code from assistant_context_editor -> agent_ui (#33289) 2025-06-23 22:22:01 -07:00
history_store.rs agent: Don't error when the agent navigation history hasn't been persisted (#35863) 2025-08-08 14:01:48 +00:00
thread.rs agent: Create checkpoint before/after every edit operation (#36253) 2025-08-15 15:37:24 +00:00
thread_store.rs Fully support all mention kinds (#36134) 2025-08-13 20:11:32 +00:00
tool_use.rs Allow edit tool to access files outside project (with confirmation) (#35221) 2025-07-28 14:01:34 -04:00