UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 591 B
import{O as setRuntimeConfigSnapshot}from"./runtime-snapshot-Bg5K4JNu.mjs";import{s as readConfigFileSnapshot}from"./io.runtime-BvSeVFIY.mjs";import"./health-ByRmSxpM.mjs";import"./runtime-config-snapshot-N0DER8v5.mjs"; //!extensions/browser/src/browser/extension-host-config.ts 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}export{readBrowserHostConfig as t};