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
parent 9547d42b15
commit 4d1df7bcd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 9 deletions

View file

@ -45,7 +45,7 @@ impl Tool for CopyPathTool {
}
fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool {
true
false
}
fn description(&self) -> String {

View file

@ -35,7 +35,7 @@ impl Tool for CreateDirectoryTool {
}
fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool {
true
false
}
fn description(&self) -> String {

View file

@ -34,7 +34,7 @@ impl Tool for DeletePathTool {
}
fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool {
true
false
}
fn description(&self) -> String {

View file

@ -43,7 +43,7 @@ impl Tool for MovePathTool {
}
fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool {
true
false
}
fn description(&self) -> String {