Repository navigation
Replies: 2 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.) |
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