Repository navigation
Treat same-machine saved environments as local for Open in and Reveal in file manager #18515
Replies: 6 comments
|
Still happens on 0.1.0 (macOS). Same setup: the background service runs under launchd, the desktop app has Local environment turned off, and the service is added as a saved environment. Two additions:
|
|
Yes, this is extremely annoying in particular since the latest version as praveen said above! |
|
I have never came across such a complex setup for a background service. Theo always focuses on the great UI/UX and to have my laptop as a T3 service and able to to use it with the GUI APP, I have to go through an impossible mission. Not sure why the GUI App doesn't just use the service to connect and doesn't have a service option in the settings to run and maintain it's service so we don't have to juggle the service commands and GUI. Used to work before this recent update but now we do need help for this issue. |
|
@juliusmarminge asking for direction approval before opening a PR. On #20250 you described this as the supported way to run the desktop next to the always-on background service: turn off Local environment, then add the service as a saved environment. In that setup, Open in, Reveal in file manager and the file preview's editor picker all treat the service as remote. They need SSH deep links, Remote Login, and a route back to the same machine (#18473). #18473 noted the missing piece: "the server reports no machine ID that would let the app tell it's the same Mac". The desktop already has one. The service owns the same T3 home, and Proposed scope:
What it leaves alone:
Open in still runs through that environment's own RPC, so a wrong ID gives the renderer no extra privilege. The change is ready and tested: 16 files, about +150/−26, mostly tests and a param rename. |
|
I’m affected by this on Linux using the supported background-service setup described in #20250 : Local environment is disabled in the desktop app, and the app connects to a T3 Code service running on the same machine. “Open in VS Code” generates an SSH Remote URI for this machine’s Tailscale hostname instead of opening the local path. Opening the same path with local VS Code works, and connecting through I would be happy to test the fix on Linux. |
|
Another place the same gap shows up: browser profile cookie import. In Settings → Browser, "Import from" Chrome / Microsoft Edge / Safari is disabled with "Connect to an environment to import cookies", although the window is connected to the same-Mac saved environment over 127.0.0.1. The menu only enables for the desktop's own Local environment (the primary connection target), so a saved environment on the same Mac never qualifies. Treating same-machine saved environments as local would cover this too. Desktop 0.1.0, server 0.1.2. |
Uh oh!
There was an error while loading. Please reload this page.
Follow-up to #18473, as suggested there. Related bug: #7530.
Setup
The T3 server runs as the background service on a Mac (127.0.0.1:3773). The desktop app on that same Mac has Local environment turned off and connects to the service as a saved environment, so one server owns one database. Turning Local environment back on would start a second backend on the same T3 home (#14115, #17003). A second server with its own
--base-dir(here, one per Claude account) is also saved as an environment at 127.0.0.1.Problem
The app treats only its own Local backend as local. Every saved environment, including one at 127.0.0.1 on the same machine, goes through the remote path:
Proposal
Treat a saved environment as local for Open in and Reveal when it is on the same machine. Either:
Option 1 also covers #7530 (a same-machine browser reaching the server by LAN IP) and multi-server setups on one Mac.
All reactions