Desktop app session out of sync with TUI #4236

Open
opened 2026-02-16 17:43:07 -05:00 by yindo · 2 comments
Owner

Originally created by @escaton on GitHub (Jan 5, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

I have opencode running with TUI, and also a desktop app. My use case is to start session in TUI and primarily work with agent there, but also monitor the execution from the desktop app (testing if it is more convenient). The bug is: session in desktop app only updates if I switch to another session and back. No new messages appear in session automatically, while it is just opened.

Plugins

no

OpenCode version

1.1.2

Steps to reproduce

  1. run opencode
  2. start session in TUI
  3. open opencode-desktop, or opencode-web in the browser (they are same aren't they?)
  4. open running session in desktop, see the latest session snapshot
  5. the session goes normally in TUI, but no new messages appear in desktop

Screenshot and/or share link

No response

Operating System

macOS

Terminal

warp

Originally created by @escaton on GitHub (Jan 5, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description I have opencode running with TUI, and also a desktop app. My use case is to start session in TUI and primarily work with agent there, but also monitor the execution from the desktop app (testing if it is more convenient). The bug is: session in desktop app only updates if I switch to another session and back. No new messages appear in session automatically, while it is just opened. ### Plugins no ### OpenCode version 1.1.2 ### Steps to reproduce 1. run `opencode` 2. start session in TUI 3. open opencode-desktop, or opencode-web in the browser (they are same aren't they?) 4. open running session in desktop, see the latest session snapshot 5. the session goes normally in TUI, but no new messages appear in desktop ### Screenshot and/or share link _No response_ ### Operating System macOS ### Terminal warp
yindo added the bugweb labels 2026-02-16 17:43:07 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 5, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6910: Folders that havent been set up with remotes yet seem to completely break (related to session state issues)
  • #6909: MCP Servers - Potential issue? (related to sync and initialization timeouts)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 5, 2026): This issue might be a duplicate of existing issues. Please check: - #6910: Folders that havent been set up with remotes yet seem to completely break (related to session state issues) - #6909: MCP Servers - Potential issue? (related to sync and initialization timeouts) Feel free to ignore if none of these address your specific case.
Author
Owner

@escaton commented on GitHub (Jan 5, 2026):

UPD: the problem appears only when using opencode-desktop, when opening localhost:4096 (by the opencode cli) it works fine.

@escaton commented on GitHub (Jan 5, 2026): UPD: the problem appears only when using opencode-desktop, when opening localhost:4096 (by the opencode cli) it works fine.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4236