openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
3 lines • 902 B
JavaScript
import{r as createLazyRuntimeModule}from"./lazy-runtime-Ds6M7vp4.mjs";import"./session-binding-service-TO5btU7E.mjs";import"./conversation-binding-DldAJ2Vq.mjs";import"./session-Cox_jf3d.mjs";import"./pairing-store-DdrlMdAt.mjs";import"./channel-access-compat-BMPN_TZD.mjs";import"./binding-routing-Cl7tiSrP.mjs";import"./thread-bindings-messages-50jodfcd.mjs";import"./thread-bindings-policy-ClGZhBcc.mjs";import"./pairing-labels-BP7p_-Z_.mjs";
//!src/channels/session-meta.ts
const loadInboundSessionRuntime=createLazyRuntimeModule(()=>import(`./inbound.runtime-C2L76i6H.mjs`));async function recordInboundSessionMetaSafe(e){const t=await loadInboundSessionRuntime();const n=t.resolveSessionStorePathCore(e.cfg.session?.store,{agentId:e.agentId});try{await t.recordInboundSessionMeta({storePath:n,sessionKey:e.sessionKey,ctx:e.ctx})}catch(t){e.onError?.(t)}}export{recordInboundSessionMetaSafe as t};