Skip to main content

Module browser_profiles

Module browser_profiles 

Source
Expand description

browser_profiles.list / .create / .update / .delete: the named browser profiles (docs/specs/SPEC_BROWSER_PANE_PROFILES_MENU_2026_10_09.md §3, §6), a shared_dir file like the bookmarks. Deleting a profile closes its open tabs first, then the host drops its jar and its folder on the next owned-pane push. Only the window changes profiles: a connection registered as an agent may list them, never create, change or delete one.

Statics§

WRITING 🔒
Held across each read-change-write of the profiles file, so one change can’t overwrite another.

Functions§

close_tabs_of 🔒
Close every tab browsing as profile id.
ensure_agent_profile 🔒
The own profile of the agent owner (its uid), made the first time it is needed and named name, the agent’s. This is the one place an agent makes a profile, and only its own: the calls above stay the user’s (docs/specs/SPEC_AGENT_OWN_BROWSER_PROFILE_2026_11_04.md). The host makes its jar on first use.
ensure_agent_profile_at 🔒
ensure_agent_profile on the profiles file at path; whether the file changed is the second part.
list 🔒
The profiles, or none when the shared folder can’t be resolved.
not_for_agents 🔒
Only the operator’s window, proven by the host, changes profiles.
path 🔒
register
result 🔒
The answer to every profiles call: the profiles, and how many saved sign-ins each holds (none when the Vault can’t be read).