Expand description
Browser signin: an agent signs in with a saved sign-in, and the person
says yes (SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §5.3).
The agent names its pane and, when the page could take more than one, the
entry. Only a login of the tab’s profile saved for exactly the site of a
sign-in form the page shows now can be used. The person is asked in the
Vault’s own prompt, a window modal outside every pane, which no UI click
reaches: “Allow once”, “Always for
Structs§
- Chosen 🔒
- The saved sign-in an agent means: its entry, label, site and user name, the
tab’s profile, and the entry’s
created_at, which tells it from one deleted and made again with the same id while the person was asked. - Refusal 🔒
- Why nothing was typed: the outcome kept in the Vault’s activity, how the pane’s log shows it, and what the agent is told.
- Showing 🔒
- A notice showing: dropped when the sign-in goes ahead or is stopped, and also when the agent’s call is cancelled while it shows, so no notice is left on the pane with a Stop that stops nothing.
- Signin
Request 🔒
Constants§
- ANSWER_
WAIT 🔒 - How long the person has to answer.
- BUSY 🔒
- What the agent is told when another sign-in’s notice shows on the pane.
- NOTICE 🔒
- How long the notice shows before a sign-in under a grant is typed.
- NOT_
SHARED 🔒 - What an agent is told when it names a login it may use for the page that the person hasn’t shared with it.
- NO_
PERSONAL 🔒 - What a container agent is told when its tab would use Personal’s sign-ins (an Incognito tab uses them).
- PENDING_
META_ 🔒KEY - The block meta key of the “is signing in” notice.
Statics§
- PENDING 🔒
- The notices showing, by id: the pane and what stops the sign-in.
Functions§
- approve 🔒
- The person’s yes: under an “Always” the notice shows and nobody pressed
Stop; otherwise they answered the Vault’s prompt, in
agent_pane. True when nobody answered it and it went ahead. - ask 🔒
- Ask the person in the Vault’s prompt; an “Always” is kept under
key. True when nobody answered and it went ahead. - choose 🔒
- Which of the sign-ins the page can take,
(entry, origin, user), is meant. - chosen 🔒
- The saved sign-in of
profilethe agent means, among those that fit a sign-in form the page shows now. - grant_
key 🔒 - The key “Always for
on this site” is kept under, in the grants table web forms use for sites: signin:<agent>|<profile>|<origin>, which can’t be a site’s origin. It names the site and profile the person approved, so an entry whose site or profile is edited afterwards is asked about again. - handle_
signin 🔒 POST /api/v1/ui/browser/signin.- noted 🔒
- notice 🔒
- Show “
is signing in” for NOTICE(kindsignin, oraccountfor an agent making a new account, for as long aswaitsays):Some(true)when nobody stopped it,Nonewhen another notice already shows on the pane. One at a time per pane, so what waits to be typed is always what the pane shows and its Stop stops. - own_uid 🔒
- The agent’s permanent uid when
profileis its own browser profile: the one tab where a login shared with it is offered (A4).Nonefor a tab of any other profile and for an agent that isn’t running. - profile_
of 🔒 - The tab’s profile, and whether it is Incognito, which keeps no sign-ins of its own: it may use Personal’s, asked each time.
- register 🔒
browser.signin_stop, from the window only: the person’s [Stop] on the notice.- reset_
notices 🔒 - Clear the notice saved with every pane that has none showing. Called when the host registers: a notice lives in memory, and one saved with a pane from before srv restarted would show a Stop that stops nothing.
- set_
notice 🔒 - share_
removed 🔒 - The person removed the share of login
idwithwho(an agent’s uid, or*): a card still waiting on a sign-in asked through that share, from an agent the entry no longer names, is answered No, so it does not stay up for a sign-in that cannot go ahead (A7). Any other card on the entry (an ordinary sign-in, another agent’s share) is left for the person. A card answered or timing out later types nothing either if the entry changed: it was bound to the entry as shown. - shared_
grant_ 🔒key grant_keyfor a login shared with the agent: it is used in the agent’s own profile (profile), and the key also names the profile the login is saved for (saved), so a login whose profile is edited afterwards is asked about again whatever writes it (A6).- still_
allowed 🔒 - The agent may still act on the pane after the wait: the person had time to pause it or take it over, and nothing is typed then. The call’s auth was checked when it came; the wait can outlast its freshness window.
- stop 🔒
- The person pressed [Stop] on notice
idof paneblock_id. - use_
request 🔒