MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / workerMessages

Function workerMessages

graph-ui/tools/handtest-fixes-chat.mjs:211–211  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

209 return page.locator('.cbm-chat-turn').last().innerText().catch(() => '');
210}
211const workerMessages = (page) => page.evaluate(() => window.__probeWorker.slice());
212const markWorker = (page) => page.evaluate(() => window.__probeWorker.length);
213const sentSince = async (page, mark, kind = 'chat') => (await workerMessages(page)).slice(mark).filter((entry) => entry.kind === kind);
214const promptText = (entry) => (entry?.messages ?? []).map((message) => `[${message.role}] ${message.content}`).join('\n\n');

Callers 3

sentSinceFunction · 0.85
k11Function · 0.85
k24Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected