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

Function pathTokens

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

Source from the content-addressed store, hash-verified

800}
801/** Paths and dotted names a view shows; a stale view shows ones the fresh view of its project does not. */
802const pathTokens = (text) => new Set(text.match(/[\w.@-]+\/[\w./@-]+/g) ?? []);
803/** What the Galaxy draws: its headline names the indexed node count, which differs per project, while the stage text has no paths. */
804const galaxyGraph = (page) => page.evaluate(() => ({ headline: globalThis.__atlasGalaxy?.headline ?? '', nodes: globalThis.__atlasGalaxy?.nodes ?? 0, target: globalThis.__atlasGalaxy?.lastTargetQn ?? '' }));
805async function viewTexts(page, label, shots) {

Callers 1

k24Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected