UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines (18 loc) • 749 B
import { O as setRuntimeConfigSnapshot } from "./runtime-snapshot-WbwbY5b7.mjs"; import { s as readConfigFileSnapshot } from "./io.runtime-DsJ2dLCQ.mjs"; import "./health-C4weL4aU.mjs"; import "./runtime-config-snapshot-Dy0VFqWf.mjs"; //#region extensions/browser/src/browser/extension-host-config.ts /** Standalone browser helpers must not observe, repair, or migrate Gateway state. */ async function readBrowserHostConfig() { const e = await readConfigFileSnapshot({ observe: false, pluginValidation: "core-only" }); if (!e.valid) throw new Error("Browser host configuration is invalid"); const t = e.runtimeConfig ?? e.config; setRuntimeConfigSnapshot(t, e.sourceConfig); return t; } //#endregion export { readBrowserHostConfig as t };