From c5db4e3303d43a1cff9de58172f230697680de51 Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 21 Feb 2026 15:50:59 +0900 Subject: [PATCH] feat: disable default notification triggers for better control - Updated the default notification triggers to set 'enabled' to false for the .env File Access Alert, Tool Result Error, and High Token Usage triggers, allowing for more controlled notification management. --- src/main/services/infrastructure/TriggerManager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/services/infrastructure/TriggerManager.ts b/src/main/services/infrastructure/TriggerManager.ts index b1ad8961..51374e8d 100644 --- a/src/main/services/infrastructure/TriggerManager.ts +++ b/src/main/services/infrastructure/TriggerManager.ts @@ -31,7 +31,7 @@ export const DEFAULT_TRIGGERS: NotificationTrigger[] = [ { id: 'builtin-bash-command', name: '.env File Access Alert', - enabled: true, + enabled: false, contentType: 'tool_use', mode: 'content_match', matchPattern: '/.env', @@ -41,7 +41,7 @@ export const DEFAULT_TRIGGERS: NotificationTrigger[] = [ { id: 'builtin-tool-result-error', name: 'Tool Result Error', - enabled: true, + enabled: false, contentType: 'tool_result', mode: 'error_status', requireError: true, @@ -55,7 +55,7 @@ export const DEFAULT_TRIGGERS: NotificationTrigger[] = [ { id: 'builtin-high-token-usage', name: 'High Token Usage', - enabled: true, + enabled: false, contentType: 'tool_result', mode: 'token_threshold', tokenThreshold: 8000,