Repository navigation
Per-project default browser profile (so agent-opened tabs use the right profile) #13255
Closed
direksethi
started this conversation in
Ideas
Replies: 1 comment
|
Duplicate of tracking issue #13254 (same feature request; this discussion notes it was also filed there). Closing this discussion so we track the work on the issue. Related but not the same: open PR #9704 adds optional |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem or use case
Browser profiles are a great addition. I use them to keep two worlds apart: one profile is logged into my work accounts and one is logged into my personal/client accounts. Mixing them up means signing into the wrong account or giving an agent access to the wrong world.
The problem is that the profile a new tab uses is decided by a single global setting (
browserDefaultProfileId, set with "Set as default" in Settings → Browser). When an agent opens a browser, it always gets that one profile, whatever project the thread belongs to.In practice:
preview_open,preview_navigate, …) don't accept a profile.Proposed solution
Let a project (workspace root) set its own default browser profile:
browserDefaultProfileId→default.profileIdonpreview_open, so agents or skills can ask for a specific profile explicitly. If the requested profile doesn't match the project's profile, it's reasonable to show a warning or refuse.A simpler first step that would already solve most of this: store an optional
browserProfileIdon the project and use it instead ofbrowserDefaultProfileIdwhen a thread in that project opens a tab.Why this matters
Profiles exist to keep cookies and logins separate. Today the separation only holds if the user remembers to flip a global setting, and agents open tabs without asking, so the risky moments are exactly when nobody is watching. A per-project default makes the safe behaviour automatic. It matters most for people who do client or freelance work next to a day job, or who run several clients in parallel.
Environment
T3 Code (Nightly) 0.0.43-nightly.20260922.2123, macOS.
Also filed as an issue: #13254
All reactions