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 namedname, 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_profileon the profiles file atpath; 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).