Re-enable directory-related tools (#29809)

Also `now` in `write` profile

Release Notes:

- Tools for manipulating directories no longer require confirmation, and
are enabled in the Write profile
- Enabled `now` and `list_directory` tools by default in Write profile

---------

Co-authored-by: Cole Miller <m@cole-miller.net>
Co-authored-by: Cole Miller <cole@zed.dev>
This commit is contained in:
Richard Feldman
2025-05-02 16:11:16 -04:00
committed by GitHub
co-authored by Cole Miller Cole Miller
parent 9547d42b15
commit 4d1df7bcd7
5 changed files with 10 additions and 9 deletions
@@ -34,7 +34,7 @@ impl Tool for DeletePathTool {
}
fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool {
true
false
}
fn description(&self) -> String {