UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 444 B
import{E as e,S as t}from"./session-transcript.worker.js";import{n,t as r}from"./transcript-session-store-target-inventory-oT2rOXIC.mjs";function readSessionStoreTargetWorkerRequest(i){if(i.kind===`session-target-prepare`)return r(i.request);i.request.env=e(i.request.env);let a=n(i.request);if(a.ok)return a.value;let o=t(a.error);if(!o)throw a.error;return{kind:`session-store-target`,readError:o}}export{readSessionStoreTargetWorkerRequest};