Repository navigation
Replies: 2 comments
|
+1 from a remote-control angle. I run T3 on a home Mac and drive it from my phone. The agent logs into sites in the host's preview browser, but there's no safe way to get it a password: the preview browser has no 1Password extension, pasting from the phone's 1Password is manual, and Part 2 (a |
|
One thing worth pinning down alongside the That matters for your proposal because Honest gap on our side, in the other direction: we have nothing like a |
Uh oh!
There was an error while loading. Please reload this page.
Agents in T3 sign in to websites for us (dashboards, invoice portals). The password must not enter the model's context, so today we copy it to the clipboard with a password-manager helper and let the agent press
Meta+Vin its preview tab. That paste lands nothing when the tab isn't the one the human is viewing:GuestInputdrops copy/cut/paste for an unfocused tab on purpose (apps/desktop/src/preview/GuestInput.ts, editing commands allowlist). Good for clipboard safety, but it leaves agents no secret-safe way to fill a field in a background tab.request_secretalready keeps a value app-side and returns a one-use, project-boundsecretRef(#15907,apps/server/src/secrets/SecretRequests.ts), and #15907 describes the intent that "tools that need a secret take a secretRef". Onlyschedule_task(signature.secretRef) accepts one today.Proposal
preview_typeacceptssecretRefas an alternative totext(exactly one of the two). Inapps/server/src/mcp/toolkits/preview/handlers.ts(type handler), consume it likeScheduledTaskServicedoes (SecretRequests.consume({ref, projectId})) and pass the value down the existinginsertText/locator.fillpath. Background tabs already work throughwebContents.insertText, so the desktop side needs no change. Keep the value out of spans, logs, tool results and recordings (RecordingInput.tsalready masks password fields).secretRefwithout a human typing it, e.g.t3 secret put --thread <id> --stdin(authenticated like othert3CLI calls) returning{secretRef}. A password-manager CLI (Bitwarden, 1Password) can then hand the value to T3 after its own approval (Touch ID), and the agent only ever sees the ref.With 1 alone,
request_secret+preview_type {secretRef}already covers "human types it once". With 1 + 2, agent logins through a password manager need no clipboard and no tab focus.Out of scope: cross-origin iframe password fields in an unfocused tab still fail as today (
GuestInput.tsfocus check).Happy to send a PR for 1 if the shape is right.
All reactions