diff --git a/settings.json b/settings.json index cc9ee90..4fd9c0a 100644 --- a/settings.json +++ b/settings.json @@ -10,7 +10,12 @@ "general": { "preferredEditor": "neovim", "previewFeatures": true, - "enablePromptCompletion": true + "enablePromptCompletion": true, + "sessionRetention": { + "warningAcknowledged": true, + "enabled": true, + "maxAge": "3650d" + } }, "context": { "fileName": [ @@ -31,9 +36,38 @@ "tools": { "shell": { "showColor": true - } + }, + "enableHooks": true }, "ui": { "showStatusInTitle": true + }, + "hooks": { + "Notification": [ + { + "matcher": "", + "hooks": [ + { + "name": "code-notify-notification", + "type": "command", + "command": "/opt/homebrew/lib/code-notify/core/notifier.sh notification gemini", + "description": "Desktop notification when input needed" + } + ] + } + ], + "AfterAgent": [ + { + "matcher": "", + "hooks": [ + { + "name": "code-notify-complete", + "type": "command", + "command": "/opt/homebrew/lib/code-notify/core/notifier.sh stop gemini", + "description": "Desktop notification when task complete" + } + ] + } + ] } -} \ No newline at end of file +}