Expand description
The routes of Bypass (docs/specs/SPEC_BROWSER_PANE_BYPASS_2026_10_16.md):
an agent’s request_bypass and end_bypass, the person’s Bypass button
and End bypass through the host, and the check that lets a committing
click through without asking. The grants themselves are browser_bypass.
Functions§
- ask_
is_ 🔒payment - Does the committing click
askdescribes pay? The element’s text after its name is judged with the name, so a payment word on any line asks (roadblocks report R7). A control that submits a form (it has anaction, or that is why it asks) is judged on its name as it is. - bypass_
pane 🔒 - The pane a bypass for
targetis recorded on: the pane itself, or for a popup window (which has no AgentMux header of its own) its opener. A popup pane has its own header, so it has its own grant (bypass spec §4.2). - bypassed_
click 🔒 - The click
askdescribes (a committing click’sneeds_approval), made without the person’s approval if they grantedagenta bypass on the site the page is on (bypass spec §4.1).approvedis the act request to send for it.pageis the address the host read from the page itself. A payment still asks (§11.2). None: ask as usual.logdescribes the click for the pane’s action log.routeis the host route that makes the click (act, orpressfor Enter and Space taken as one). - form_
leaves_ 🔒the_ site - Does the form this click submits send its fields to a site other than the page’s? The person’s
grant is for the site they gave, and a fake form on it can point
actionanywhere (now with a secret in its fields), so such a click always asks. A click with no form has noaction. - granted 🔒
- The answer to a request that was granted.
- granted_
asked_ 🔒for - A grant that was already there answers a request for it. It lasts what was asked or less: an ask for fewer minutes cuts it, and the answer says so.
- granted_
cut 🔒 - A grant, and (when an earlier one was cut to what was asked) the minutes it had left before.
- handle_
host_ 🔒browser_ bypass POST /api/v1/host/browser_bypass— the person’s Bypass button and End bypass, relayed by the CEF host (bypass spec §5). Only the host can call it: an agent holding the instance auth key gets 403, so no agent can grant itself a bypass. Body{block_id, on, minutes?, agent, origins}:agentandoriginsare what the confirmation showed; the grant is made only if they are still true.- handle_
ui_ 🔒browser_ end_ bypass POST /api/v1/ui/browser/end_bypass— backs Browser’send_bypass: an agent ends its own bypass when its job is done. An agent can end a grant, never start one.- handle_
ui_ 🔒browser_ request_ bypass POST /api/v1/ui/browser/request_bypass— backs Browser’srequest_bypass(SPEC_BROWSER_PANE_BYPASS_2026_10_16.md §6): a banner asks the person to let this agent act without asking first, on the site the pane shows, for a while; the call waits for their answer. Only their click in the pane, relayed by the host, grants it.- is_
browser_ 🔒pane - Is
block_ida browser pane? - page_
url 🔒 - The address
target(a pane or popup window) shows, as the host reports it from the browser’s own record of the page: never block meta, which a client can write. Not the agent’seval: that scans the whole page for secrets first, which on a large page outlasts the person’s button. - payment_
exception 🔒 - The click
askasks although auto-approve is on for its site, because it pays: the words to add to the banner’s “Asked because”, so that it doesn’t read as auto-approve being broken (#47625).