Problem#
The desktop app currently assumes a local backend flow. That makes it harder to use the same T3 Code state across multiple machines or to point the desktop client at a backend that is already running elsewhere.
Proposal#
Add a supported mode where the desktop app can connect to a remote T3 Code backend instead of always assuming a local one.
Why this would help#
- lets a desktop client connect to an existing backend running on another machine
- improves continuity across laptop, desktop, phone, and web usage
- makes it easier to keep one shared session/state backend instead of treating each desktop app instance as isolated
Questions#
- should remote backend support live behind an explicit opt-in desktop setting?
- what auth model would be expected for a remote desktop-to-backend connection?
- should the desktop app support switching between local and remote backends without restarting?
This feels closely related to #671.
My understanding is that
#671is framed around WSL first, but the architecture being discussed there looks broad enough that this could fit under the same umbrella.The difference seems to be mostly level of abstraction:
#671talks about the backend-target architecture and how to model non-local runtimes cleanly#820talks more directly about the user-facing outcome: letting the desktop app connect to an already running remote T3 Code backendBecause of that, I would probably treat
#820as a sub-problem or a slice of#671, rather than as a completely separate feature area.So at minimum these should probably be cross-linked, I think it will help the maintainers track for remote backend support,
#671seems like the more natural so far.I am pretty sure they mentioned once that remote is in their plans.