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

Function freshHistory

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

Source from the content-addressed store, hash-verified

125/* Page helpers */
126
127async function freshHistory(page) {
128 // A page of this origin without the app, so the chat history database is not open.
129 await page.goto(`${ORIGIN}/probe-blank`, { waitUntil: 'domcontentloaded' });
130 await page.evaluate(() => new Promise((done) => { const request = indexedDB.deleteDatabase('cbm-browser-chat-history'); request.onsuccess = request.onerror = request.onblocked = () => done(); }));
131}
132async function open(page, project, workspace) {
133 await page.goto(`${ORIGIN}/?project=${encodeURIComponent(project)}&workspace=${workspace}`, { waitUntil: 'domcontentloaded' });
134 await page.waitForSelector('.atlas-shell', { timeout: 30000 });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected