outputFormat property

String? outputFormat
final

--output-format <format> (issue #695): text (default) or stream-json — NDJSON agent events on stdout for headless runs (pi --mode json / claude-code stream-json parity). --mode json is an exact alias. Null = text (the flag was absent).

Implementation

final String? outputFormat;