# Tweaks: approval filtering + two flash modes ## Task Added tool filtering and differentiated flash behavior for approval vs. completion events. ## Changes - **`config.py`**: Added `approval_tools` list (default: Shell, Write, Delete), `sound_name`/`sound_volume`, `pulse_speed` - **`overlay.py`**: Two modes — `pulse()` with sine-wave animation + auto-dismiss when Cursor is focused, `flash()` for brief single flash - **`daemon.py`**: Routes `preToolUse` to pulse+sound (filtered by approval_tools), `stop` to brief flash; stop dismisses active pulse - **`sound.py`**: Re-added for approval pulse events - **Tests**: 19 tests covering tool filtering, both flash modes, cooldown, fallback behavior - **`README.md`**: Documented both behaviors and config options ## Behavior | Event | Tool in approval_tools? | Action | |-------|------------------------|--------| | preToolUse | Yes (Shell, Write, Delete) | Pulse border + play sound until user clicks window | | preToolUse | No (Read, Grep, etc.) | Ignored | | stop | N/A | Brief single flash |