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

Function activeWorkspace

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

Source from the content-addressed store, hash-verified

839 return frames;
840};
841const activeWorkspace = (page) => page.locator('[data-workspace-tab][aria-selected="true"]').first().getAttribute('data-workspace-tab').catch(() => '');
842/** The same text as the fresh view of the project, apart from numbers (times, memory) and spacing. */
843const sameText = (left, right) => left.replace(/\d[\d,.:]*/g, '#').replace(/\s+/g, ' ') === right.replace(/\d[\d,.:]*/g, '#').replace(/\s+/g, ' ');
844async function switchTo(page, project) {

Callers 1

k24Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected