agent: Disable `project_notifications` by default (cherry-pick #34615) (#34619)

gcp-cherry-pick-bot[bot] and Oleksiy Syvokon created

Cherry-picked agent: Disable `project_notifications` by default (#34615)

This tool needs more polishing before being generally available.

Release Notes:

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

Co-authored-by: Oleksiy Syvokon <oleksiy@zed.dev>

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 🔗

@@ -817,7 +817,7 @@
           "edit_file": true,
           "fetch": true,
           "list_directory": true,
-          "project_notifications": true,
+          "project_notifications": false,
           "move_path": true,
           "now": true,
           "find_path": true,
@@ -837,7 +837,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);