You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Opening additional windows in a remote workspace duplicates terminal output #1082
In the desktop client, opening another window from a remote workspace, such as the local conversation import window, causes terminal output to be displayed repeatedly.
Both typed and pasted text are affected: opencode can appear as ooppeennccooddee. Commands execute normally, but their echo and output are duplicated. Closing the additional window restores normal display for new output.
Steps to reproduce
Connect the desktop client to a remote codeg-server and open a workspace.
Open an integrated terminal.
Open another window, such as the local conversation import window.
Type, paste, or run a command in the terminal and observe duplicated output.
Expected behavior
Opening additional windows should not duplicate terminal output.
Cause
The Rust proxy forwards each frame separately to every subscribed webview using EventTarget::webview(label). Copies for the same remote connection share the event name remote-ws-event-{connectionId}.
The frontend uses a global listen() callback without a target, so it also consumes copies addressed to other webviews. The listener should be scoped to the current webview.
Activity