anomalyco / anomalyco/opencode
TUI attention sound plays repeatedly while idle with no events (WSL2)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When a session is idle — no prompts, no tool calls, no permission requests —
the TUI plays the default attention sound (bip-bop, ~3 beeps) repeatedly at
irregular intervals, completely unrelated to any event. The sound is not
triggered by question/permission/error/done events: at the moment it plays,
the log shows zero new entries, process CPU is flat, and there is no UI
activity. Sound stops as soon as opencode exits.
Plugins
None
OpenCode version
1.18.14
Steps to reproduce
- Windows 11 + WSL2 (Ubuntu), opencode 1.18.14 (latest)
- Enable attention sound in
~/.config/opencode/tui.json:
{ "attention": { "enabled": true, "sound": true, "notifications": false, "volume": 0.4 } } - Use opencode normally until the agent completes a task and becomes idle
- Leave the session idle without touching the terminal
- After a short wait the default attention sound plays with no prompting,
and repeats at irregular intervals (observed plays ~40s apart at
22:49:10 / 22:49:50, then a longer gap)
Screenshot and/or share link
No response
Operating System
Windows 11 (opencode runs on WSL2 - Ubuntu)
Terminal
Windows Terminal (WSLg)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the idle session with attention sound enabled under Windows 11/WSL2 Ubuntu and confirm that beeps occur without prompts, tool calls, permission requests, errors, or completion events. Then trace the TUI attention-sound event and timer paths. Done means idle sessions remain silent while genuine attention events still play the configured sound.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, ubuntu
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100