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

Function open

graph-ui/tools/handtest-fixes-chat.mjs:132–136  ·  view source on GitHub ↗
(page, project, workspace)

Source from the content-addressed store, hash-verified

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 });
135 await wait(1500);
136}
137const agentLabel = (page) => page.locator('.atlas-browser-ai-action').first().getAttribute('aria-label').catch(() => '');
138async function agentActive(page, timeout = 300000) {
139 return page.waitForFunction(() => /Agent active/.test(document.querySelector('.atlas-browser-ai-action')?.getAttribute('aria-label') ?? ''), null, { timeout })

Callers 6

galaxyWithJsonbFunction · 0.70
k11Function · 0.70
openWorkflowFileFunction · 0.70
k14Function · 0.70
k10Function · 0.70
k24Function · 0.70

Calls 1

waitFunction · 0.70

Tested by

no test coverage detected