Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0013-mcp-surface FR-006
The standard streams as the transport of a tool server (commons headless 0013-mcp-surfaceFR-006): lines from standard input, lines to standard output, and nothing else on standard output. linesOf is the pure framing (chunks of bytes into lines, a partial line kept for the next chunk), so a test drives it with no stream.
Chunks of text into lines: each push gives the lines it completed and keeps the rest; end gives what is left. A \r before the line break is not part of the line.