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

Function load

graph-ui/tools/smoke-w7b.mjs:649–661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

647
648 /** Laden, bis der Baum steht und die lokalen Kandidaten da sind. */
649 const load = async () => {
650 await page.goto(`${origin}/?project=${PROJECT}`, { waitUntil: 'load' });
651 await page.waitForSelector('[data-testid="atlas-tree-row"]', { timeout: 30000 });
652 // Die Sofort-Vorschlaege kommen aus Baum und Galaxie. Vor dem Laden
653 // zu messen hiesse, den Serverweg zu messen und ihn den lokalen
654 // Vorschlaegen zuzuschreiben.
655 await page.waitForFunction(
656 () => (globalThis.__atlasSearch?.localCandidates ?? 0) > 0,
657 undefined,
658 { timeout: 30000 },
659 );
660 await page.waitForTimeout(400);
661 };
662
663 const readability = async (name) => {
664 const top = await measureReadability(page);

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected