From 0be5d39453a2b54da779c508b4ca0021ad650de1 Mon Sep 17 00:00:00 2001 From: Yutaka Matsubara Date: Mon, 10 Mar 2025 21:55:00 +0900 Subject: [PATCH 1/2] refactor: add ignore_permission_denied option to watch function --- aider/watch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aider/watch.py b/aider/watch.py index 989aa8bf6..5dd770976 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -140,7 +140,10 @@ class FileWatcher: roots_to_watch = self.get_roots_to_watch() for changes in watch( - *roots_to_watch, watch_filter=self.filter_func, stop_event=self.stop_event + *roots_to_watch, + watch_filter=self.filter_func, + stop_event=self.stop_event, + ignore_permission_denied=True, ): if self.handle_changes(changes): return From 5bac9133e6719c5a5d3550a0ff3ba03a97bc1625 Mon Sep 17 00:00:00 2001 From: Mariusz Korzekwa Date: Tue, 11 Mar 2025 00:18:14 +0100 Subject: [PATCH 2/2] docs: Add remote notifications docs --- aider/website/docs/usage/notifications.md | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/aider/website/docs/usage/notifications.md b/aider/website/docs/usage/notifications.md index 6f31c59ee..e25ab11ad 100644 --- a/aider/website/docs/usage/notifications.md +++ b/aider/website/docs/usage/notifications.md @@ -44,6 +44,30 @@ For example, on macOS you might use: aider --notifications-command "say 'Aider is ready'" ``` +### Remote Notifications + +For remote notifications you can use [Apprise](https://github.com/caronc/apprise) + +It's a cross-platform Python library for sending notifications to various services. + +We can use Apprise to send notifications to Slack + +```bash +aider --notifications-command "apprise -b 'Aider is ready' 'slack://your-slack-webhook-token'" +``` + +or Discord +```bash +aider --notifications-command "apprise -b 'Aider is ready' 'discord://your-discord-webhook-token'" +``` + +or even to your phone via Pushbullet +```bash +aider --notifications-command "apprise -b 'Aider is ready' 'pbul://your-pushbullet-access-token'" +``` + +Check more how to use and configure Apprise on their GitHub page. + ## Configuration You can add these settings to your configuration file: