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

Function state

graph-ui/tools/handtest-fixes-galaxy.mjs:238–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 const backButton = page.getByRole('button', { name: 'Back', exact: true });
237 const forwardButton = page.getByRole('button', { name: 'Forward', exact: true });
238 const state = async () => ({ scope: await scopeName(page), layers: await layerText(page), count: await countText(page),
239 back: await backButton.getAttribute('title', { timeout: 1000 }).catch(() => null),
240 backDisabled: await backButton.isDisabled({ timeout: 1000 }).catch(() => null),
241 forward: await forwardButton.getAttribute('title', { timeout: 1000 }).catch(() => null),
242 forwardDisabled: await forwardButton.isDisabled({ timeout: 1000 }).catch(() => null),
243 history: await page.evaluate(() => { const h = globalThis.__atlasGalaxy?.history; return h ? { index: h.index, entries: h.entries.length } : null; }) });
244 const steps = [];
245 await select(page, ROOT);
246 await settled(page);

Callers 1

checkK2Function · 0.70

Calls 3

layerTextFunction · 0.85
countTextFunction · 0.85
scopeNameFunction · 0.70

Tested by

no test coverage detected