Skip to main content

Module browser_agent_downloads

Module browser_agent_downloads 

Source
Expand description

Where a download in an agent’s own browser pane may be saved without a dialog (docs/specs/SPEC_BROWSER_PANE_DOWNLOADS_2026_10_14.md §7.5, D3b). The host decides inside a CEF callback that can’t wait for srv, so srv pushes it each pane’s workspace (browser_host_sync), only for a pane an agent owns and that the person hasn’t taken over or been handed, and that does not browse as the person (a pane in the Personal profile keeps the dialog: it has the person’s sign-ins, and what it downloads is the person’s to place). The host adds downloads/ itself and checks the folder before writing. Each download, saved or refused, is a row in the Audit view (browser_dialog).

Constants§

SETTING 🔒
The setting that turns it off: the person is asked in the dialog as before. On unless false.

Functions§

browses_as_the_person 🔒
Whether the pane with meta browses as the person (no identity of its own): the Personal profile.
enabled 🔒
workdirs 🔒
What the host is sent: pane -> its owner’s workspace on this computer (a container agent’s /workspace is bound from the same folder).
workdirs_for 🔒
The panes that may save into a workspace: owned by an agent that has one, and not handed to the person. owners is (pane, workspace), the workspace empty when the agent has none on record.