Skip to content

Desktop app: terminal content blank after upgrading to v1.4.0 #21596

@leoncheng57

Description

@leoncheng57

Description

After upgrading to v1.4.0, the desktop app terminal tabs render but the terminal content area is completely blank — no shell output appears. Only a cursor is visible. Downgrading to v1.3.17 resolves the issue.

Steps to Reproduce

  1. Upgrade OpenCode Desktop from v1.3.x to v1.4.0
  2. Open a project
  3. Observe the terminal pane — tabs (Terminal 1, Terminal 2) appear but content is blank

Expected Behavior

Terminal content should render with a working shell session.

Actual Behavior

Terminal tabs are visible but the content area is empty. The sidecar logs show service=server error= failed (with an empty error field) repeating every ~4 seconds continuously. The TypeScript LSP also fails to initialize (45s timeout).

Environment

  • OS: macOS (Apple Silicon)
  • Version: v1.4.0 (desktop)
  • Previous working version: v1.3.17

Relevant Logs

From ~/Library/Logs/ai.opencode.desktop/:

INFO  opencode_lib: Sidecar health check OK
INFO  opencode_lib: Loading done, completing initialisation
INFO  sidecar: opencode_lib::cli: ERROR service=server error= failed
INFO  sidecar: opencode_lib::cli: ERROR service=server error=NotFoundError failed
INFO  sidecar: opencode_lib::cli: ERROR service=server error= failed
# above line repeats every ~4 seconds indefinitely
INFO  sidecar: opencode_lib::cli: ERROR service=lsp.client serverID=typescript error=Operation timed out after 45000ms initialize error
INFO  sidecar: opencode_lib::cli: ERROR service=lsp error=LSPInitializeError Caused by: Operation timed out after 45000ms Failed to initialize LSP client typescript

The service=server error= failed loop starts immediately after sidecar initialization and never recovers.

Troubleshooting Attempted

  • Cleared ~/.cache/opencode and relaunched — no fix
  • Fully quit and relaunched multiple times — no fix
  • Downgraded to v1.3.17 — fixes the issue

MCP Configuration

5 MCP servers configured (playwright, notion x2, atlassian, grafana) — all connect and initialize successfully. The MCP "failed to get prompts" errors are benign (servers that don't support the prompts method).

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)webRelates to opencode on web / desktop

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions