agent: Disable `project_notifications` by default (#34615)

Oleksiy Syvokon created

This tool needs more polishing before being generally available.

Release Notes:

- agent: Disabled `project_notifications` tool by default for the time
being

Change summary

assets/settings/default.json | 4 ++--
crates/agent/src/thread.rs   | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)

Detailed changes

assets/settings/default.json 🔗

@@ -819,7 +819,7 @@
           "edit_file": true,
           "fetch": true,
           "list_directory": true,
-          "project_notifications": true,
+          "project_notifications": false,
           "move_path": true,
           "now": true,
           "find_path": true,
@@ -839,7 +839,7 @@
           "diagnostics": true,
           "fetch": true,
           "list_directory": true,
-          "project_notifications": true,
+          "project_notifications": false,
           "now": true,
           "find_path": true,
           "read_file": true,

crates/agent/src/thread.rs 🔗

@@ -3583,6 +3583,7 @@ fn main() {{
     }
 
     #[gpui::test]
+    #[ignore] // turn this test on when project_notifications tool is re-enabled
     async fn test_stale_buffer_notification(cx: &mut TestAppContext) {
         init_test_settings(cx);