Repository navigation
Description
Problem or use case
A second Orca desktop client cannot discover and use the remote Orca servers already connected to the desktop it is paired with, while Orca Mobile can use those servers through the same upstream desktop.
For example:
Orca Mobile -> Desktop A -> Remote Orca server C: works
Desktop B -> Desktop A -> Remote Orca server C: no equivalent discoverable workflow
I want Desktop A to be the connection hub, so I can continue working from either my phone or another desktop without configuring each downstream server again on every device.
Environment and reproduction
- Desktop A: macOS on Apple Silicon, Orca 1.4.261.
- Server C: an Orca runtime in an ARM64 Linux container, connected to Desktop A through a desktop-managed SSH tunnel.
- The mobile behavior and the limitation on Desktop B are user-observed. Desktop B and mobile version numbers were not captured, and a separate end-to-end reproduction on Desktop B was not performed while preparing this report.
Steps to compare:
- Connect Desktop A to remote Orca server C and confirm C is usable from A.
- Pair Orca Mobile with Desktop A. Mobile can display and use C through A.
- Connect Desktop B to Desktop A as a remote Orca desktop.
- Try to find C and open its workspaces or sessions through A from Desktop B.
Actual: I cannot find an equivalent desktop workflow for using A's already-connected remote server C. The mobile workflow exposes a broader set of usable servers than the desktop workflow.
Expected: Desktop B can discover C through A and operate C's workspaces through A, with the execution host and connection route clearly identified.
Proposed solution
Provide desktop clients with the same upstream-server discovery and forwarding workflow available to mobile:
- List remote Orca servers connected on the paired desktop.
- Let the client open and use those servers' workspaces, agent sessions, and interactive terminals through the paired desktop.
- Reuse the upstream desktop's existing connection, including its SSH tunnel, without requiring a direct network route from Desktop B to C.
- Clearly identify the owning server and intermediary desktop, and report upstream disconnections without silently running an operation on another host.
- Negotiate support across client/server versions and keep downstream credentials on the upstream desktop.
Alternatives or additional context
Independently connecting Desktop B to C is a workaround, but requires configuring another SSH connection or pairing and network route. Copying A's loopback tunnel endpoint to B does not work because that endpoint is local to A.
Related tracking:
- [Feature]: Show the desktop's managed Orca servers in a paired web client #29396 covers the equivalent managed-server discovery and relay gap for a paired web client. This report adds the desktop-to-desktop-to-server workflow and the mobile-versus-desktop comparison.
- feat(remote): relay paired desktop and web clients to a server's managed hosts #35195 proposes server-side relay for paired desktop/web clients. It was open and unmerged when checked for this report; its description explicitly leaves client routing and interactive desktop terminal forwarding to follow-up work.
- [Feature]: Desktop-to-Desktop Remote Session Support for Orca #19267 discusses desktop-to-desktop remote sessions more generally.
Please feel free to consolidate this report into #29396 if that is the preferred tracking location. The requested outcome is an end-to-end desktop workflow, including host discovery and interactive use, rather than only the server-side relay primitive.
Activity