UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 459 B
import{o as getGatewayToolCallerIdentity}from"./gateway-caller-context-Dw9IijqV.mjs"; //!src/agents/tools/gateway-retained-requester.ts function readRetainedRequesterToolCaller(){const e=getGatewayToolCallerIdentity();const t=e?.personalToolIdentityScoped?e.personalToolSelection:void 0;return e&&t?{agentId:e.agentId,sessionKey:e.sessionKey,requesterOrigin:t.requesterOrigin,assertCurrent:t.assertCurrent}:void 0}export{readRetainedRequesterToolCaller as t};