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
2025-08-31 19:52:43 -04:00
committed by GitHub
parent c833f8905b
commit 129bff8358
@@ -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 {