Skip to main content

Module browser_vault_fill

Module browser_vault_fill 

Source
Expand description

Browser fill with vault: an agent names a Vault entry, the person says where it may go, and the host types it (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §6).

The value never reaches the agent. It goes from the sealed row to the host in the request that types it, and the agent’s answer says only that the field was filled. Every use is in the Vault’s Activity: who, which entry, which site and field, and what became of it; never the value.

Modules§

card 🔒
Browser fill with vault: "<card id>" (or "card", the default card): one question for the person, then every card field the form has is filled (docs/specs/SPEC_VAULT_CARD_ENTRIES_FULL_CARD_DATA_AND_AUTOFILL_2026_11_08.md §6).

Structs§

Approval 🔒
What the person’s answer, or the standing grant, settled.
Field 🔒
What the host says about the field.
Fill 🔒
One fill, as the steps after the field is known see it.
VaultFillRequest 🔒
Waiting 🔒
Takes a use request down, and tells every window, however the wait ends: the agent’s call can be dropped (it disconnected, or was stopped) while the person still has the prompt open, and the prompt must go then too.

Enums§

Plan 🔒
What happens before the host types: refused, allowed without asking, or asked.

Constants§

ANSWER_WAIT 🔒
How long the person has to answer.
HOST_WAIT 🔒

Functions§

answer_body 🔒
What the agent is told: that the field was filled, never with what.
approve 🔒
Whether the field is refused, filled on a standing grant, or the person is asked, and what they answered.
field_of 🔒
What the host says about the field ref_ of the pane block_id.
fill_request 🔒
The question for the person about filling field from target: why they are asked (ask: whether “Always” is offered, and the reason) and what the agent says it is for.
find_target 🔒
The entry and part, by name only: nothing here reads the value yet.
framed_in 🔒
The page’s origin when the field is in another site’s frame, else empty: what a question shows beside origin.
grant_site 🔒
The site a use is asked about and granted for: the origin of the frame the field is in, and when that is another site’s frame (Stripe Elements, Braintree, Adyen, a bank’s hosted field), the page it is on too. A grant is for that pair, so a look-alike frame on the page, or the provider’s frame on another page, never inherits it.
handle_vault_fill 🔒
POST /api/v1/ui/browser/vault_fill.
how_of 🔒
How an outcome reads in the pane’s Log.
keep_or_touch 🔒
After the page took the value: keep a typed one in the Vault if the person asked (the new entry’s id, or a note saying why not), or mark the entry used.
parse_field 🔒
plan 🔒
The table in spec §6.3: a granted site and a field that looks like the entry’s kind fill without asking; anything else asks, and “Always” is offered only when the field looks like the entry’s kind.
reason_given 🔒
From an entry, the agent says why, before anything is read or asked.
record 🔒
type_into_field 🔒
Asks the host to type value; returns its answer and whether the page flagged the value as invalid.
value_to_type 🔒
The value to type: what the person typed, or the entry’s, read from the sealed row.