One stream envelope as one line: compact NDJSON for every structured format
(a multi-line YAML document cannot be a stream line), and a short row for
text. Router text is JSON-escaped so it cannot carry terminal control
bytes. In text, only frame and sample rows are data
(isStreamDataLine); the CLI writes the rest to stderr, and an empty
string (a started line without tips) prints nothing.
One stream envelope as one line: compact NDJSON for every structured format (a multi-line YAML document cannot be a stream line), and a short row for
text. Router text is JSON-escaped so it cannot carry terminal control bytes. In text, onlyframeandsamplerows are data (isStreamDataLine); the CLI writes the rest to stderr, and an empty string (astartedline without tips) prints nothing.