When a turn finishes while the user is watching the page there is no audible cue; the existing browser notifications only cover the background case. Add a `notificationSound` local preference (off by default, next to `browserNotifications`) and play a short bundled chime from the `turn_end` handler only while the page is visible, so background tabs stay silent. - webui/src/lib/notification-sound.ts: visibility- and preference-gated playback of the bundled /notification.wav, one reused Audio element - Overview settings toggle with localized copy in all 10 locales - Tests cover the default-off, visible, hidden, reuse and playback-rejection paths
12 KiB
12 KiB