Skip to content

Conversation

@sutt
Copy link

@sutt sutt commented Nov 26, 2025

Per #2372 create setting which allows sound to play when agent is finished.

  • This is off by default.
  • If enabled via "notificationSound": true, will use system bell.
  • If notificationSound is not a boolean, a system-specific command/sound can be specified for this action, see below:

Full possible config:

 {
    // System bell (most portable, but often disabled in terminals)
    "notificationSound": true,

    // Or custom command:
    // macOS
    "notificationSound": "afplay /System/Library/Sounds/Glass.aiff",

    // Linux (with PulseAudio)
    "notificationSound": "paplay
  /usr/share/sounds/freedesktop/stereo/complete.oga",

    // Windows
    "notificationSound": "powershell -c (New-Object Media.SoundPlayer
  'C:\\Windows\\Media\\chimes.wav').PlaySync()"
  }

Audio / Visual Demo

video1016864812.mp4

@ariane-emory
Copy link
Contributor

ariane-emory commented Nov 27, 2025

FWIW, this is already easily achievable with plugins. Here's an example (just ignore the parts about prompt-enhancer-semaphore, I have a special need/mechanism to conditionally play two different sounds that won't apply other users won't have): https://gist.github.com/ariane-emory/6e696c5139a2b1e4649714b3ee12b019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants