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

Function readerSeam

graph-ui/tools/smoke-w4c.mjs:300–304  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

298
299/** Wo der Editor gerade steht: Datei und angeleuchtete Zeile. */
300const readerSeam = (page) =>
301 page.evaluate(() => ({
302 path: globalThis.__atlasReader?.document?.path ?? '',
303 line: globalThis.__atlasReader?.editor?.getPosition?.()?.lineNumber ?? 0,
304 }));
305
306async function main() {
307 const totalStarted = Date.now();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected