async function e(e){if(!(!e.client||!e.connected||!e.evolutionAgentId||!e.evolutionUserId)){e.evolutionLoading=!0,e.requestUpdate?.();try{e.evolutionRecords=(await e.client.request(`cognitive.evolution.list`,{agentId:e.evolutionAgentId,userId:e.evolutionUserId})).records??[],e.evolutionError=null}catch(t){e.evolutionError=String(t)}finally{e.evolutionLoading=!1,e.requestUpdate?.()}}}async function t(e){if(!(!e.client||!e.connected)){try{e.evolutionAuditEntries=(await e.client.request(`cognitive.evolution.audit`,{})).entries??[]}catch{}e.requestUpdate?.()}}export{t as loadEvolutionAudit,e as loadEvolutionRecords};
//# sourceMappingURL=evolution-iQj3vYqR.js.map