pub(crate) async fn ensure_agent_profile(
state: &AppState,
owner: &str,
name: &str,
) -> Result<BrowserProfile, String>Expand description
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.