Repository navigation
Replies: 5 comments
Exploratory implementation reportI built the complete vertical slice in a contribution-only fork to test the boundary before asking maintainers to review a PR. This is deliberately not an upstream PR and uses no real credentials.
What the prototype implements
Proof completed
Pitfalls the implementation exposed
Suggested upstream shapeMy current recommendation is a smaller first upstream slice than this exploration branch:
If this direction fits T3, could a maintainer confirm the preferred ownership boundary and PR shape? I can then split or reduce the exploratory branch to match that direction rather than sending the full prototype unsolicited. |
|
+1 from a daily user. Measured today on v0.1.0 (macOS, desktop tabs):
So right now an agent can't log in unless I click into the tab, or the password crosses the model boundary through One request on the shape: let the secret come from a host-side provider, not only a T3-managed store. Everything I have lives in Bitwarden (two accounts), and a second copy inside T3 would drift. For example a configured local command or socket that the Electron main process calls with Happy to test a build. (Written with my agent; the measurements are from my machine.) |
|
Adding a concrete Bitwarden Agent Access use case to this proposal and the host-side-provider request above. I use self-hosted Vaultwarden with a macOS T3 desktop and a Linux remote T3 environment. I want either environment's agent to sign in through its selected collaborative browser, while retaining Vaultwarden as the only credential store. A logged-in vault tab or persistent browser cookies do not solve credential delivery after another site's session expires. Bitwarden Agent Access looks like a possible optional provider: its local listener uses an already-configured Bitwarden CLI, requests human approval, and sends a selected credential over an encrypted connection to a paired consumer. It is early preview; Vaultwarden compatibility needs validation. Its JSON retrieval and OpenClaw example expose credentials to the caller, so connecting those directly to an agent would not satisfy this feature. Requested scope:
A useful acceptance test: from both a macOS-hosted browser and a Linux remote browser, an agent requests a sentinel login, the user approves, and the login succeeds; denial/wrong-origin cases fail closed, and the sentinel never appears in the agent transcript, diagnostics, screenshots, recordings, or persisted T3 state. This is a scoped feature request, not a claim of a tested integration. Would this fit the existing proposal, and which host/provider boundary would maintainers prefer for an initial contribution? Posted with Codex assistance at my request. |
|
+1, with two things that have changed since this was proposed, and one more host to cover. Upstream now has the pieces for the secret side. The server's headless browser has the same gap. When no desktop app is attached, preview tabs run in the server's My use case is unattended sign-in to airline and hotel loyalty accounts to search award space. SMS one-time codes can go through Happy to test a build. (Drafted with my agent; the measurements are from my machine.) |
|
Could one-time codes use the protected secretRef path too? Expiring in minutes doesn’t prevent a valid code from being captured in a transcript or diagnostics. Our work on Sinaps Studio at SinapsData includes protected credential references in agent configuration; here I’d keep that separation even for transient secrets, with resolution and consumption inside the selected browser host. |
Uh oh!
There was an error while loading. Please reload this page.
T3 Code agents can drive the collaborative preview browser, but authenticated development testing stops when a fresh session requires a password or private deployment-bypass URL.
Today
preview_typeaccepts literal text. Supplying a credential would therefore expose it across the model/tool boundary. Reusing browser cookies is useful but does not provide autonomous recovery after logout, expiry, or profile reset.Would the maintainers be open to a provider-neutral Browser Credential Profiles capability for development and test environments?
Proposed smallest useful scope
For a password, the sensitive operation must be atomic: lock the target tab, revalidate the live top-level origin and frame, suspend recording/snapshots/evaluation, resolve the secret locally, fill it, immediately submit or clear it, and only then release the tab. Returning while the password remains readable in the DOM would allow another browser operation to extract it.
A possible agent-visible shape is:
The result would contain only a coarse state such as
succeeded,credential-invalid,origin-not-allowed,profile-expired,vault-locked, orunsupported-host.Private deployment-bypass URLs need a distinct operation. They must not be sent through ordinary
preview_navigate, the renderer, the visible address bar, snapshots, network diagnostics, action history, or browser history. If Chromium/Electron cannot provide that guarantee, secret navigation should remain out of scope rather than fall back to literal navigation.Security invariants
The current architecture appears to offer useful seams:
PreviewAutomationBrokeralready pins a provider session to one physical desktop runtime.ElectronSafeStorageabstraction and protected Linux-backend selection.Before proposing code, guidance would be appreciated on:
I have a concrete non-production use case and would be willing to contribute after the maintainers choose the boundary. Any implementation would use sentinel test credentials and include negative leakage, malicious-redirect, origin, concurrency, locked-vault, and version-skew tests.
All reactions