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.
This commit is contained in:
matt 2026-02-21 15:50:59 +09:00
parent d775581118
commit c5db4e3303

View file

@ -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,