MCPcopy
hub / github.com/garrytan/gstack / parseResolvedEdges

Function parseResolvedEdges

bin/gstack-gbrain-sync.ts:1366–1369  ·  view source on GitHub ↗
(out: string)

Source from the content-addressed store, hash-verified

1364 * summary line, not the bracketed `[cycle.resolve_symbol_edges] start` markers.
1365 */
1366export function parseResolvedEdges(out: string): number | null {
1367 const m = out.match(/resolve_symbol_edges\b[^\n]*?\bresolved\s+(\d+)/i);
1368 return m ? parseInt(m[1], 10) : null;
1369}
1370
1371/**
1372 * Inspect a completed (exit-0) `gbrain dream` log and return a WARN summary when

Callers 3

runDreamFunction · 0.85
classifyDreamOutcomeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected