anomalyco / anomalyco/opencode
[macOS 26] Desktop sidecar exits silently with code 15 (SIGTERM) after ~2 minutes
@Hona is already working on this.
Since Sep 13, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Note: This is distinct from #44475 (Windows, exit code 0). This is macOS 26 + Apple Silicon + exit code 15 (SIGTERM) — the sidecar is being killed by the OS/Electron utility process manager, not shutting down cleanly. Related to #27557, #32694, #22630.
Bug Report
Environment:
- macOS: 26.5.2 (25F84) — Sequoia
- Architecture: Apple Silicon (M-series)
- OpenCode Desktop: 1.18.30
- Electron: 42.3.3 (bundled)
- Installation:
brew install --cask opencode-desktop
Symptom:
- Launch OpenCode Desktop
- Sidecar spawns, logs "server ready" with URL
- ~2 minutes later: sidecar exits with code 15 (SIGTERM)
- UI shows "Cannot reach local server. Retrying automatically..."
- No stderr output, no crash report, no error in main.log between "server ready" and exit
Logs:
Workaround: CLI (opencode) works perfectly — same engine, no Electron utility process.
Related issues: #27557, #32694, #22630
Plugins
None (disabled all plugins, clean install)
OpenCode version
1.18.30 (Desktop) / 1.18.30 (CLI)
Steps to reproduce
- macOS 26.5.2 on Apple Silicon (M-series)
brew install --cask opencode-desktop(v1.18.30)- Launch OpenCode.app
- Wait ~2 minutes
- Observe sidecar exit code 15, UI shows "Cannot reach local server"
Screenshot and/or share link
Operating System
macOS 26.5.2 (25F84) — Sequoia, Apple Silicon
Terminal
Not applicable (Desktop app bug). CLI works: /opt/homebrew/bin/opencode (Bun 1.4.0)
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.
Assessment
This issue has not been assessed yet.