Skip to content

The agent that grows with you

Merge origin/main: SDK export list (WORKSPACE_PAGE_HEADER_AREA beside the profile-group exports)

teknium1b1be493b41f7
diff --cc apps/desktop/src/sdk/index.ts
index c062fb00ed8,229a219ea80..07f4ecb5d0f
--- a/apps/desktop/src/sdk/index.ts
+++ b/apps/desktop/src/sdk/index.ts
@@@ -1602,8 -1605,8 +1607,9 @@@ export
type RouteContribution,
ROUTES_AREA,
SIDEBAR_NAV_AREA,
+ SIDEBAR_PROFILE_GROUP_HEADER_AREA,
- type SidebarNavContribution
+ type SidebarNavContribution,
+ WORKSPACE_PAGE_HEADER_AREA
} from '@/app/routes'
/** THE full per-toolset config panel core Settings renders — provider picker,
diff --cc tools/browser_use_cli.py
index 3dc2840f7ce,9204b4ce9a6..faf0e398e6b
--- a/tools/browser_use_cli.py
+++ b/tools/browser_use_cli.py
@@@ -652,32 -649,22 +655,38 @@@ def browser_exec(code: str, session: st
timeout = _clamp_timeout(timeout_s)
started = time.time()
- try:
- proc = _run_cli_killing_process_group(cmd, code, env, timeout)
- except subprocess.TimeoutExpired:
- return tool_error(f"browser-use exec timed out after {timeout}s. The daemon may still be working; retry "
- f"with a larger timeout_s (max {_MAX_TIMEOUT_S}), or split the work into several calls that "
- "append to workspace files — anything already written to the workspace is preserved.")
- except OSError as e:
- return tool_error(f"Failed to launch browser-use CLI: {e}")
+
+ def dispatch() -> Dict[str, Any]:
+ _attach_vault_supervisor(env, task_id)
+ try:
+ return {"proc": _run_cli_killing_process_group(cmd, code, env, timeout)}
+ except subprocess.TimeoutExpired:
+ return {"error_result": tool_error(
+ f"browser-use exec timed out after {timeout}s. The daemon may still be working; retry "
+ f"with a larger timeout_s (max {_MAX_TIMEOUT_S}), or split the work into several calls that "
+ "append to workspace files — anything already written to the workspace is preserved."
+ )}
+ except OSError as e:
+ return {"error_result": tool_error(f"Failed to launch browser-use CLI: {e}")}
+
+ if bot_desktop_browser:
+ from tools.browser_tool_session import run_fenced
+ dispatched = run_fenced({"features": {"local": True}}, dispatch)
+ else:
+ dispatched = dispatch()
+ if "proc" not in dispatched:
+ if "error_result" in dispatched:
+ return dispatched["error_result"]
+ return tool_result(dispatched)
+ proc = dispatched["proc"]
- result = {"success": proc.returncode == 0, "exit_code": proc.returncode, "output": proc.stdout}
+ # browser_vault_fill registers injected values with this forced model-egress
+ # boundary. Preserve raw stdout only for screenshot-path detection below.
+ result = {
+ "success": proc.returncode == 0,
+ "exit_code": proc.returncode,
+ "output": redact_sensitive_text(proc.stdout, force=True),
+ }
if workspace:
result["workspace"] = workspace
if session: