MCPcopy Create free account
hub / github.com/EvoMap/evolver / getInteractions

Function getInteractions

src/webui/observer/interactions.js:14–23  ·  view source on GitHub ↗
(query = {})

Source from the content-addressed store, hash-verified

12function _defaultMailboxDir() { return getEvomapPath('mailbox'); }
13
14async function getInteractions(query = {}) {
15 const proxy = getProxySettings();
16 const proxySnapshots = proxy.url ? await readProxySnapshots(proxy.url) : {};
17 const mailbox = readMailboxMessages(query);
18 return {
19 proxy,
20 proxySnapshots,
21 mailbox: paginate(mailbox, query),
22 };
23}
24
25function readMailboxMessages(query = {}) {
26 const mailboxDir = query.mailboxDir || process.env.EVOMAP_MAILBOX_DIR || _defaultMailboxDir();

Callers

nothing calls this directly

Calls 4

getProxySettingsFunction · 0.85
readProxySnapshotsFunction · 0.85
readMailboxMessagesFunction · 0.85
paginateFunction · 0.85

Tested by

no test coverage detected