@haoyiyin/pi-done-sound
v1.0.3
Published
Pi coding agent extension: play a three-note chime when the agent finishes answering.
Maintainers
Readme
@haoyiyin/pi-done-sound
Pi extension. Plays a three-note chime (E5–G5–C6) when the main agent is fully done — after retries, compaction, and follow-ups. Nested subagent sessions do not chime.
macOS uses afplay. Windows uses System.Media.SoundPlayer. Linux tries paplay / aplay.
Install
pi install npm:@haoyiyin/pi-done-soundTry once without installing:
pi -e npm:@haoyiyin/pi-done-soundUsage
Reload the current session (/reload) after install.
/done-sound— toggle/done-sound on//done-sound off/done-sound test— play now
Custom wav:
export PI_DONE_SOUND=/path/to/file.wavOn/off is stored in ~/.pi/agent/done-sound.json. The generated chime is cached at ~/.pi/agent/done-sound-chime.wav.
