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

Function readerLines

graph-ui/src/twin/reader-rewrite.ts:107–111  ·  view source on GitHub ↗
(entries: { id: string; text: string }[])

Source from the content-addressed store, hash-verified

105
106/** Build the `ReaderLine` list for a set of sentences, facts already extracted. */
107export function readerLines(entries: { id: string; text: string }[]): ReaderLine[] {
108 return entries
109 .filter((entry) => entry.text.trim().length > 0)
110 .map((entry) => ({ id: entry.id, text: entry.text, facts: factsOf(entry.text) }));
111}
112
113/** The text a rewrite is asked to reword: one sentence per line, in order. */
114export function readerSubjectText(lines: readonly ReaderLine[]): string {

Callers 8

sectionLinesFunction · 0.90
juniorFunction · 0.90
seniorFunction · 0.90
architectFunction · 0.90
narrativeFunction · 0.90
FlowOverlayFunction · 0.90
TurnFunction · 0.90

Calls 1

factsOfFunction · 0.70

Tested by

no test coverage detected