Skip to main content

Module browser_powers

Module browser_powers 

Source
Expand description

What a browser-pane Auto-approve grant carries (docs/specs/SPEC_BROWSER_WEB_TERMINAL_TYPING_2026_10_23.md §3).

Every grant lifts the wait for committing clicks. On top of that the person can add powers the grant names one by one, so a banner or a Settings row says in plain words what an agent will be able to do on a site, and an agent asking for a grant can’t get more than the person was shown.

Enums§

Power 🔒
One thing a grant lets the agent do on the granted sites.

Functions§

asking_each_line 🔒
powers with the terminal asking about each line: the person’s “Allow, asking for each line” on a request for the terminal.
granted_by_the_person 🔒
The powers a standing grant can carry beyond committing clicks, which every grant has: what Settings offers a checkbox for.
names 🔒
The wire names of powers, for the pane’s strip and the banner.
parse 🔒
The powers an agent asked for, checked. Committing clicks are always in (it is what a grant is); none asked means just that. An unknown name is an error rather than ignored, so an agent doesn’t think it asked for more than the person will be shown.