Cell API
    Preparing search index...

    Class Reporter

    Prints command results. Human output is short text; with --json stdout carries exactly one JSON document with schemaVersion (docs/design/agent-first.md R6), and everything else goes to stderr.

    Index
    json: boolean
    stderr: Writable = process.stderr
    stdout: Writable = process.stdout
    warnings: string[] = []
    SCHEMA_VERSION: 1
    • Output of a child process: stderr stays stderr, stdout moves to stderr in JSON mode.

      Parameters

      • chunk: string
      • stream: "stdout" | "stderr"

      Returns void

    • Parameters

      • command: string
      • data: Record<string, unknown>
      • human: string

      Returns void

    • Anything that is not a CellError is a bug in Cell or a module: say so instead of dumping a stack.

      Parameters

      • error: unknown

      Returns CellError