agent: Make it so delete_path tool needs user confirmation (#37191)

Closes https://github.com/zed-industries/zed/issues/37048

Release Notes:

- agent: Make delete_path tool require user confirmation by default
This commit is contained in:
Peter Tripp authored and GitHub committed 2025-08-31 19:52:43 -04:00
1 parent 9cce5087d0
commit be2e78d24c
1 file changed
+1 -1
@@ -35,7 +35,7 @@ impl Tool for DeletePathTool {
}
fn needs_confirmation(&self, _: &serde_json::Value, _: &Entity<Project>, _: &App) -> bool {
false
true
}
fn may_perform_edits(&self) -> bool {