mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 01:29:56 +00:00
Load bridge lifecycle through a browser-owned artifact that reexports the existing owner, instead of loading tool, CLI, service and gateway surfaces. Move all loopback checks to the canonical SDK export and remove the obsolete private wrapper and reexport. Keep activation, auth and cleanup ownership. Follow-up to the async cold bridge activation repair (#138152). Matched source/native probes verify lower cold artifact and cleanup cost; startup RSS remains a documented tradeoff. Preserve full runtime-api consumers.
6 lines
210 B
TypeScript
6 lines
210 B
TypeScript
/** Keep bridge lifecycle and auth state in the same owner as the full runtime. */
|
|
export {
|
|
type BrowserBridge,
|
|
startBrowserBridgeServer,
|
|
stopBrowserBridgeServer,
|
|
} from "./src/browser/bridge-server.js";
|