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
Desktop: session-ID links fail to open sessions on another connected server #56471
Clicking a session-ID button in an assistant reply shows “This session cannot be found” when the session belongs to another connected server. A local-server session button works from the same reply.
Expected: Desktop opens the session on the connected server that owns it.
Plugins
Reproduced with all external plugins disabled on both servers, verified through /api/plugin. Only built-in plugins remained active.
OpenCode version
Desktop and local CLI: 2.0.32. Docker server: 2.0.31.
Steps to reproduce
Open a conversation on server A in OpenCode Desktop.
Start an isolated Docker-hosted OpenCode server B with its port published locally.
Pair Desktop with B and confirm it is connected.
Create an empty session on each server:
opencode2 api post /api/session \
--data '{"title":"Session link repro"}'
Confirm B’s session exists using GET /api/session/<id> on B.
In the conversation on A, have the assistant include both complete session IDs as inline code in the same reply.
Click each rendered session-ID button.
Reproduced with newly created, empty sessions; no model execution or provider credentials required. A’s button opens successfully; B’s shows the error above. B’s API returns its session; A’s API returns SessionNotFoundError for that ID.
Screenshot and/or share link
No screenshot or shared conversation attached. Exact toast: “This session cannot be found”.
Operating System
macOS
Terminal
OpenCode Desktop; the failing interaction is in the conversation UI, not a terminal.
Thanks for the detailed report and the clear reproduction steps!
You're asking for session-ID buttons in assistant replies to open sessions that live on another connected server, with Desktop switching to the server that owns the session.
This matches how Desktop currently behaves. When you click a session-ID button, Desktop looks the ID up only on the server the current conversation is attached to. If that server doesn't have the session, it shows "This session cannot be found". Desktop doesn't check your other connected servers yet. Making the button find and open sessions on those servers would be new behaviour, so I've marked this as a feature request. Maintainers will consider it.
Activity
opencode-agent commentedon Oct 17, 2026
Thanks for the detailed report and the clear reproduction steps!
You're asking for session-ID buttons in assistant replies to open sessions that live on another connected server, with Desktop switching to the server that owns the session.
This matches how Desktop currently behaves. When you click a session-ID button, Desktop looks the ID up only on the server the current conversation is attached to. If that server doesn't have the session, it shows "This session cannot be found". Desktop doesn't check your other connected servers yet. Making the button find and open sessions on those servers would be new behaviour, so I've marked this as a feature request. Maintainers will consider it.
Related issues:
prathameshgaikwad commentedon Nov 1, 2026
still open?