anomalyco / anomalyco/opencode

Windows OpenCode Desktop never sends prompts; TUI and Web work with the same local server

Open
#42,882 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. Launch OpenCode Desktop.
  2. Set built-in Local Server as default.
  3. Create a new session.
  4. Send: Reply only with: ONE.
  5. 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

  • opencode TUI: 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

  1. Launch OpenCode Desktop.
  2. Set built-in Local Server as default.
  3. Create a new session.
  4. Send: Reply only with: ONE.
  5. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.