/** * @elizaos/plugin-browser — public barrel. * * Import specific surfaces through the subpath exports defined in * `package.json`: * - `@elizaos/plugin-browser/contracts` * - `@elizaos/plugin-browser/schema` * - `@elizaos/plugin-browser/packaging` * - `@elizaos/plugin-browser/routes` * - `@elizaos/plugin-browser/plugin` * - `@elizaos/plugin-browser/workspace` (browser-workspace command router) */ export { browserAction } from "./actions/browser.js"; export { executeBrowserAutofillLogin } from "./actions/browser-autofill-login.js"; export { BROWSER_BRIDGE_SUBACTIONS, type BrowserBridgeSubaction, manageBrowserBridgeAction, } from "./actions/manage-browser-bridge.js"; export { WAIT_FOR_URL_DEFAULT_POLL_INTERVAL_MS, WAIT_FOR_URL_DEFAULT_TIMEOUT_MS, type WaitForUrlDeps, type WaitForUrlOptions, type WaitForUrlOutcome, type WaitForUrlStatus, waitForUrl, } from "./actions/wait-for-url.js"; export { buildWaitForUrlPredicate, type WaitForUrlPatternKind, type WaitForUrlPredicate, } from "./actions/wait-for-url-predicate.js"; export * from "./bridge-policy.js"; export * from "./bridge-readiness.js"; export * from "./bridge-records.js"; export { BROWSER_SERVICE_TYPE, BrowserService, type BrowserTarget, } from "./browser-service.js"; export * from "./companion-auth.js"; export * from "./contracts.js"; export { BrowserBridgeAdapter } from "./message-adapter.js"; export * from "./packaging.js"; export * from "./parity/index.js"; export * from "./password-manager-bridge.js"; export { browserPlugin } from "./plugin.js"; export * from "./routes/bridge.js"; export * from "./schema.js"; export * from "./service.js"; export { type BrowserCaptureConfig, FRAME_FILE, startBrowserCapture, stopBrowserCapture, } from "./workspace/browser-capture.js"; export * from "./workspace/index.js"; import { browserAction as _bs_4_browserAction } from "./actions/browser.js"; import { executeBrowserAutofillLogin as _bs_3_executeBrowserAutofillLogin } from "./actions/browser-autofill-login.js"; import { BROWSER_BRIDGE_SUBACTIONS as _bs_5_BROWSER_BRIDGE_SUBACTIONS, manageBrowserBridgeAction as _bs_6_manageBrowserBridgeAction, } from "./actions/manage-browser-bridge.js"; import { waitForUrl as _bs_15_waitForUrl } from "./actions/wait-for-url.js"; import { buildWaitForUrlPredicate as _bs_14_buildWaitForUrlPredicate } from "./actions/wait-for-url-predicate.js"; import { resolveBrowserBridgeCompanionPairingTokenExpiresAt as _bs_13_resolveBrowserBridgeCompanionPairingTokenExpiresAt } from "./bridge-policy.js"; import { resolveBrowserBridgeReadiness as _bs_11_resolveBrowserBridgeReadiness } from "./bridge-readiness.js"; import { createBrowserBridgeCompanionStatus as _bs_12_createBrowserBridgeCompanionStatus } from "./bridge-records.js"; // Bundle-safety: force binding identities into the module's init // function so Bun.build's tree-shake doesn't collapse this barrel // into an empty `init_X = () => {}`. Without this the on-device // mobile agent explodes with `ReferenceError: is not defined` // when a consumer dereferences a re-exported binding at runtime. import { BROWSER_SERVICE_TYPE as _bs_1_BROWSER_SERVICE_TYPE, BrowserService as _bs_2_BrowserService, } from "./browser-service.js"; import { validateBrowserParityMatrix as _bs_16_validateBrowserParityMatrix } from "./parity/browser-matrix.js"; import { browserPlugin as _bs_7_browserPlugin } from "./plugin.js"; import { FRAME_FILE as _bs_8_FRAME_FILE, startBrowserCapture as _bs_9_startBrowserCapture, stopBrowserCapture as _bs_10_stopBrowserCapture, } from "./workspace/browser-capture.js"; // Path-derived symbol so parents that `export *` two of these don't // collide on a shared `__BUNDLE_SAFETY__` name. const __bundle_safety_PLUGINS_PLUGIN_BROWSER_SRC_INDEX__ = [ _bs_1_BROWSER_SERVICE_TYPE, _bs_2_BrowserService, _bs_3_executeBrowserAutofillLogin, _bs_4_browserAction, _bs_5_BROWSER_BRIDGE_SUBACTIONS, _bs_6_manageBrowserBridgeAction, _bs_7_browserPlugin, _bs_8_FRAME_FILE, _bs_9_startBrowserCapture, _bs_10_stopBrowserCapture, _bs_11_resolveBrowserBridgeReadiness, _bs_12_createBrowserBridgeCompanionStatus, _bs_13_resolveBrowserBridgeCompanionPairingTokenExpiresAt, _bs_14_buildWaitForUrlPredicate, _bs_15_waitForUrl, _bs_16_validateBrowserParityMatrix, ]; const bundleSafetyGlobal = globalThis as typeof globalThis & { __bundle_safety_PLUGINS_PLUGIN_BROWSER_SRC_INDEX__?: typeof __bundle_safety_PLUGINS_PLUGIN_BROWSER_SRC_INDEX__; }; bundleSafetyGlobal.__bundle_safety_PLUGINS_PLUGIN_BROWSER_SRC_INDEX__ = __bundle_safety_PLUGINS_PLUGIN_BROWSER_SRC_INDEX__;