Commit eb1553c
authored
feat(tui): add audio notification system for completion and approval events (#549)
- Add rodio dependency for cross-platform audio playback
- Create sound.rs module with channel-based audio thread architecture
- Embed WAV files for response completion and approval notification sounds
- Play completion sound when streaming response finishes
- Play approval sound when tool approval is requested
- Graceful fallback to terminal bell when audio unavailable1 parent 712642f commit eb1553c
11 files changed
Lines changed: 448 additions & 6 deletions
File tree
- src/cortex-tui
- src
- app
- runner
- app_runner
- event_loop
- sounds
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
382 | 383 | | |
383 | 384 | | |
384 | 385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| |||
0 commit comments