Repository navigation
Replies: 3 comments
|
Up |
|
+1, with a fleet use case. I run T3 across several machines: a macOS desktop plus a Linux box ( What would make this work for multi-machine setups:
Codex's in-app browser keeps its own persistent state, and its Chrome extension lets agents use the real signed-in Chrome profile when needed; something equivalent at fleet scope would remove most of the manual sign-in work for agents. |
|
+1, with a concrete proposal and one more gap this thread doesn't cover yet: the server browser. SetupLinux desktop app plus a remote environment on a Hetzner box over T3 Connect. I browse in desktop tabs, and agents on the remote environment drive the remote server browser (headless Chromium under
The original proposal here (partition from the profile id alone) fixes the first two rows. Agents on a remote environment never use a desktop partition, though. A desktop app can't drive a remote server's tabs, so they always run in that host's server browser. That third jar is the one that matters for agent work, and nothing in the UI can seed it. Proposal: model it on "Pull request sharing"Settings → Source control already has Pull request sharing: a per-machine list where each machine is set to off, read, or read-and-act, and the setting applies only to this device. Browser profiles could use the same pattern:
Because sharing signed-in sessions with agents on another machine is a real trust decision, it should be explicit per environment, like PR sharing. Workaround, and evidence it's feasibleI'm running a small script for now. It decrypts Helium's cookies (Linux keyring key, Happy to test a PR on a desktop + remote Linux setup. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
Browser profiles look global, but their cookies are per environment.
With more than one environment connected, I create a profile and sign in to sites under it (or import cookies from Chrome). Then I open a preview tab under that same profile from a thread in another environment, and I'm signed out of everything. The profile name, the list in Settings → Integrations → Browser profiles, and the settings scope showing "All environments" all suggest one shared identity, but each environment gets its own empty cookie jar behind the same name.
Importing makes it worse. The import wizard always writes into the primary environment's partition, so there's no way in the UI to get imported cookies into the other environments. The workaround is to sign in again in every environment, for every profile.
Evidence from main (
3e6b450)browserProfile.ts).[environmentId, profileId], or justenvironmentIdfor Default (resolvePartitionScope).primaryEnvironment.environmentIdonly (IntegrationsSettings.tsx).History
52c77c1) used one shared partition, with the design note: "The sharedpersist:t3code-previewpartition keeps cookies in sync."6c6740e("Refine collaborative browser preview") changed it togetBrowserPartition(environmentId). I couldn't find a stated reason for scoping cookies by environment.Proposal
Make custom profiles one identity across environments: derive their partition from the profile id alone.
Cookies live on the desktop machine either way. Partitions are local to the Electron app and are never sent to a remote environment, so sharing a profile across environments doesn't move any data off the device.
Questions for maintainers
6c6740eintentional? If so, what should it protect against?If this direction and scope look right, I'm happy to send a PR.
All reactions