@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 — every frame and the summary are one line each, so a consumer can read the stream line by line.

      Parameters

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

      Returns string