Skip to content

Conversation

@jamesefhawkins
Copy link

Summary

  • Add optional notification sounds that play when agent tasks complete
  • Users can choose from three sounds (guitar solo, "I'm ready", cute noise) or disable entirely (default is off)
  • New "Notifications" section in Settings with sound picker and test button

Implementation

  • Created event emitter pattern (sessionEvents.ts) for clean separation between session state and side effects
  • useSessionEventHandlers hook handles audio playback at app level with proper cleanup
  • Sounds imported as ES modules for correct Vite asset handling

Test plan

  • Open Settings, verify "Notifications" section appears after "Appearance"
  • Select a sound from dropdown, click "Test" button to preview
  • Run a task, verify sound plays when agent completes
  • Set to "None", verify no sound plays on completion
  • Restart app, verify setting persists

🤖 Generated with Claude Code

Add optional notification sounds that play when agent tasks complete.
Users can choose from three sounds (guitar solo, "I'm ready", cute noise)
or disable sounds entirely (default).

- Add completion sound setting to settings store
- Add Notifications section to Settings page with sound picker and test button
- Create event emitter pattern for session events (clean separation of concerns)
- Create useSessionEventHandlers hook for handling side effects at app level
- Import sounds as ES modules for proper Vite asset handling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@jamesefhawkins jamesefhawkins requested a review from a team as a code owner December 9, 2025 21:09
Copy link
Contributor

@joshsny joshsny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

massive shareholder value unlocked

@charlesvien charlesvien marked this pull request as draft December 16, 2025 19:26
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.

4 participants