anomalyco / anomalyco/opencode
Windows OpenCode Desktop never sends prompts; TUI and Web work with the same local server
@Hona is already working on this.
Since Aug 16, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Windows OpenCode Desktop never sends prompts; TUI and Web work with the same local server
Environment
- OS: Windows 11
- CLI version: 1.18.18
- Desktop: latest Windows installer, reinstalled cleanly
- Project: tested a brand-new default project and session
- Models/providers: confirmed working in TUI and Web
- MCP/plugins: disabled during reproduction
Reproduction
- Launch OpenCode Desktop.
- Set built-in Local Server as default.
- Create a new session.
- Send:
Reply only with: ONE. - No response is displayed.
I also tested a manually started server:
opencode serve --hostname 127.0.0.1 --port 4097
Then I added http://127.0.0.1:4097 in Desktop and set it as default.
After sending a prompt in Desktop, the server terminal shows no request/activity.
Expected
Desktop should send the prompt to the server and display the streamed response.
Actual
Desktop accepts/shows the prompt but no model reply is produced. When using an explicit server URL, the server receives no request.
Controls that work
opencodeTUI: works for old and new sessions.opencode web: works for old and new sessions.- All configured models and MCP tools, including Headroom MCP, work in TUI/Web.
Attempted fixes
- Cleared
%USERPROFILE%\.cache\opencode - Reset
opencode.settings.dat,opencode.global.dat, and workspace state files - Removed Desktop Electron caches
- Disabled custom config/MCP
- Rebooted Windows
- Repaired/reinstalled OpenCode Desktop
- Used built-in Local Server and an explicit standalone localhost server
Plugins
No response
OpenCode version
1.18.18
Steps to reproduce
Reproduction
- Launch OpenCode Desktop.
- Set built-in Local Server as default.
- Create a new session.
- Send:
Reply only with: ONE. - No response is displayed.
I also tested a manually started server:
opencode serve --hostname 127.0.0.1 --port 4097
Then I added http://127.0.0.1:4097 in Desktop and set it as default.
After sending a prompt in Desktop, the server terminal shows no request/activity.
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
No response
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.