MCPcopy
hub / github.com/zgsm-ai/costrict / lines

Function lines

apps/cli/src/agent/__tests__/json-event-emitter-result.test.ts:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 }) as unknown as NodeJS.WriteStream
17
18 const lines = () =>
19 chunks
20 .join("")
21 .split("\n")
22 .filter((line) => line.length > 0)
23 .map((line) => JSON.parse(line) as Record<string, unknown>)
24
25 return { stdout: writable, lines }
26}

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected