@tikoci/centrs
    Preparing search index...

    Function renderApiStreamLine

    • Render one --stream envelope as a single line: compact NDJSON (one JSON object per line) for both json and yaml, and a concise human row for text. yaml deliberately falls back to NDJSON here — YAML's multi-line document form is incompatible with line-delimited streaming. Unlike renderApiEnvelope this never pretty-prints — started, every frame and the summary are one line each, so a consumer can read the stream line by line. In text, a started line without tips renders as an empty string.

      Parameters

      • envelope: ApiStreamLine
      • format: "text" | "json" | "yaml" | "ndjson"
      • options: { raw?: boolean; verbose?: boolean } = {}

      Returns string