import { p as resolveExistingPathsWithinRoot } from "../../fs-safe-CV86zY9G.js";
import { n as installBrowserAuthMiddleware, r as installBrowserCommonMiddleware } from "../../server-middleware-BuSya8GR.js";
import { n as stopBrowserBridgeServer, t as startBrowserBridgeServer } from "../../bridge-server-BOXkpDA6.js";
import { J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_BROWSER_EVALUATE_ENABLED, f as redactCdpUrl } from "../../cdp.helpers-DZCxUOjF.js";
import { i as resolveProfile, n as resolveBrowserConfig, s as DEFAULT_UPLOAD_DIR } from "../../config-x1aEaM_D.js";
import { n as resolveBrowserControlAuth, t as ensureBrowserControlAuth } from "../../control-auth-DG947B8n.js";
import { i as resolveGoogleChromeExecutableForPlatform, n as readBrowserVersion, t as parseBrowserMajorVersion } from "../../chrome.executables-D9BmrFq0.js";
import { t as movePathToTrash } from "../../trash-CEDm6Kwb.js";
import { _ as browserStop, a as untrackSessionBrowserTab, c as browserDeleteProfile, d as browserOpenTab, f as browserProfiles, g as browserStatus, h as browserStart, i as trackSessionBrowserTab, l as browserDoctor, m as browserSnapshot, o as browserCloseTab, p as browserResetProfile, s as browserCreateProfile, t as closeTrackedBrowserTabsForSessions, u as browserFocusTab, v as browserTabAction, y as browserTabs } from "../../session-tab-registry-D5cP7r7s.js";
import { a as normalizeBrowserRequestPath, c as browserPdfSave, d as browserArmFileChooser, f as browserNavigate, i as isPersistentBrowserProfileMutation, l as browserAct, n as persistBrowserProxyFiles, o as resolveRequestedBrowserProfile, p as browserScreenshotAction, r as runBrowserProxyCommand, s as browserConsoleMessages, t as applyBrowserProxyPaths, u as browserArmDialog } from "../../browser-runtime-Bz1evlUD.js";
import { t as createBrowserRouteContext } from "../../server-context-NnGpLeNV.js";
import { r as getBrowserProfileCapabilities } from "../../target-id-u8B8fCNy.js";
import { o as normalizeBrowserFormField, s as normalizeBrowserFormFieldValue } from "../../pw-role-snapshot-DMj8Fyyo.js";
import { t as registerBrowserRoutes } from "../../routes-BatRxQEN.js";
import { n as stopBrowserControlService, r as createBrowserRouteDispatcher, t as startBrowserControlServiceFromConfig } from "../../control-service-hBEJEiBS.js";
import { i as getBrowserControlState, n as createBrowserControlContext, o as createBrowserRuntimeState, s as stopBrowserRuntime } from "../../plugin-enabled-BRsDs2iu.js";
export { DEFAULT_AI_SNAPSHOT_MAX_CHARS, DEFAULT_BROWSER_EVALUATE_ENABLED, DEFAULT_OPENCLAW_BROWSER_COLOR, DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, DEFAULT_UPLOAD_DIR, applyBrowserProxyPaths, browserAct, browserArmDialog, browserArmFileChooser, browserCloseTab, browserConsoleMessages, browserCreateProfile, browserDeleteProfile, browserDoctor, browserFocusTab, browserNavigate, browserOpenTab, browserPdfSave, browserProfiles, browserResetProfile, browserScreenshotAction, browserSnapshot, browserStart, browserStatus, browserStop, browserTabAction, browserTabs, closeTrackedBrowserTabsForSessions, createBrowserControlContext, createBrowserRouteContext, createBrowserRouteDispatcher, createBrowserRuntimeState, ensureBrowserControlAuth, getBrowserControlState, getBrowserProfileCapabilities, installBrowserAuthMiddleware, installBrowserCommonMiddleware, isPersistentBrowserProfileMutation, movePathToTrash, normalizeBrowserFormField, normalizeBrowserFormFieldValue, normalizeBrowserRequestPath, parseBrowserMajorVersion, persistBrowserProxyFiles, readBrowserVersion, redactCdpUrl, registerBrowserRoutes, resolveBrowserConfig, resolveBrowserControlAuth, resolveExistingPathsWithinRoot, resolveGoogleChromeExecutableForPlatform, resolveProfile, resolveRequestedBrowserProfile, runBrowserProxyCommand, startBrowserBridgeServer, startBrowserControlServiceFromConfig, stopBrowserBridgeServer, stopBrowserControlService, stopBrowserRuntime, trackSessionBrowserTab, untrackSessionBrowserTab };
