diff --git a/assets/settings/default.json b/assets/settings/default.json index 593ec7cbbc..47b65a7f6b 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -669,7 +669,7 @@ "contents": true, "diagnostics": true, "fetch": true, - "list_directory": false, + "list_directory": true, "now": true, "find_path": true, "read_file": true, @@ -683,15 +683,16 @@ "name": "Write", "enable_all_context_servers": true, "tools": { - "copy_path": false, + "copy_path": true, + "create_directory": true, "create_file": true, - "delete_path": false, + "delete_path": true, "diagnostics": true, "edit_file": true, "fetch": true, "list_directory": true, - "move_path": false, - "now": false, + "move_path": true, + "now": true, "find_path": true, "read_file": true, "grep": true, diff --git a/crates/assistant_tools/src/copy_path_tool.rs b/crates/assistant_tools/src/copy_path_tool.rs index 4ea11e999b..07d4e58302 100644 --- a/crates/assistant_tools/src/copy_path_tool.rs +++ b/crates/assistant_tools/src/copy_path_tool.rs @@ -45,7 +45,7 @@ impl Tool for CopyPathTool { } fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool { - true + false } fn description(&self) -> String { diff --git a/crates/assistant_tools/src/create_directory_tool.rs b/crates/assistant_tools/src/create_directory_tool.rs index 4ab8546cee..a0ccd6f425 100644 --- a/crates/assistant_tools/src/create_directory_tool.rs +++ b/crates/assistant_tools/src/create_directory_tool.rs @@ -35,7 +35,7 @@ impl Tool for CreateDirectoryTool { } fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool { - true + false } fn description(&self) -> String { diff --git a/crates/assistant_tools/src/delete_path_tool.rs b/crates/assistant_tools/src/delete_path_tool.rs index fcac081e9c..f5452d0eb8 100644 --- a/crates/assistant_tools/src/delete_path_tool.rs +++ b/crates/assistant_tools/src/delete_path_tool.rs @@ -34,7 +34,7 @@ impl Tool for DeletePathTool { } fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool { - true + false } fn description(&self) -> String { diff --git a/crates/assistant_tools/src/move_path_tool.rs b/crates/assistant_tools/src/move_path_tool.rs index 89691694a6..9c9493c4f5 100644 --- a/crates/assistant_tools/src/move_path_tool.rs +++ b/crates/assistant_tools/src/move_path_tool.rs @@ -43,7 +43,7 @@ impl Tool for MovePathTool { } fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool { - true + false } fn description(&self) -> String {