openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
5 lines • 1.99 kB
JavaScript
import{c as normalizeE164}from"./utils-Dlk0IYAa.mjs";import{r as createLazyRuntimeModule}from"./lazy-runtime-Ds6M7vp4.mjs";import{l as resolveSessionStorePathCore}from"./paths-CcxgiC3g.mjs";import{r as loadConfig}from"./io.runtime-BvSeVFIY.mjs";import"./config-DkZ8y8Gv.mjs";import{n as resolveSessionKey,t as deriveSessionKey}from"./session-key-D8yb_DsO.mjs";import{t as createDefaultDeps}from"./deps-DA-Pf4pS.mjs";import{i as handlePortError,n as describePortOwner,r as ensurePortAvailable,t as PortInUseError}from"./ports-s-pm0xgU.mjs";import{t as applyTemplate}from"./templating-DSLcixfi.mjs";
//!src/cli/wait.ts
function waitForever(){setInterval(()=>{},1e6);return new Promise(()=>{})}
//!src/library.ts
const loadReplyRuntime=createLazyRuntimeModule(()=>import(`./get-reply-Dudh0z0Z.mjs`));const loadPromptRuntime=createLazyRuntimeModule(()=>import(`./prompt-57-vh2Zi.mjs`));const loadBinariesRuntime=createLazyRuntimeModule(()=>import(`./binaries-BnuwmHQv.mjs`));const loadExecRuntime=createLazyRuntimeModule(()=>import(`./exec-Nk4ZKR_f.mjs`));const loadWebChannelRuntime=createLazyRuntimeModule(()=>import(`./runtime-web-channel-plugin-C48tFRm6.mjs`));const getReplyFromConfig=async(...e)=>(await loadReplyRuntime()).getReplyFromConfig(...e);const promptYesNo=async(...e)=>(await loadPromptRuntime()).promptYesNo(...e);const ensureBinary=async(...e)=>(await loadBinariesRuntime()).ensureBinary(...e);const runExec=async(...e)=>(await loadExecRuntime()).runExec(...e);const runCommandWithTimeout=async(...e)=>(await loadExecRuntime()).runCommandWithTimeout(...e);const monitorWebChannel=async(...e)=>(await loadWebChannelRuntime()).monitorWebChannel(...e);export{PortInUseError,applyTemplate,createDefaultDeps,deriveSessionKey,describePortOwner,ensureBinary,ensurePortAvailable,getReplyFromConfig,handlePortError,loadConfig,monitorWebChannel,normalizeE164,promptYesNo,resolveSessionKey,resolveSessionStorePathCore as resolveStorePath,runCommandWithTimeout,runExec,waitForever};