openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 555 B
JavaScript
import{Lr as e}from"./disk-budget.worker-sqlite-readonly-worker-Bob4L7Jx.mjs";import{in as t,rn as n}from"./disk-budget.worker-openclaw-agent-db-registry-listing-pnEHqahY.mjs";function listConfiguredSessionStoreAgentIds(r){let i=new Set(t(r).map(t=>e(t))),addAcpAgentId=t=>{let n=t?.trim()??``;n&&n!==`*`&&i.add(e(n))};addAcpAgentId(r.acp?.defaultAgent);for(let e of r.acp?.allowedAgents??[])addAcpAgentId(e);for(let e of n(r))e.runtime?.type===`acp`&&addAcpAgentId(e.runtime.acp?.agent??e.id);return[...i]}export{listConfiguredSessionStoreAgentIds as t};