2 people reported

All time, since Oct 3.

Stream-json stdout output lost

In print mode with --output-format stream-json, frames such as the result line never reach stdout though the session JSONL has them.

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/1880/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Stream-json stdout output lost while transcript records full turn.

Is this your bug?

File my report
Where
print mode
Versions
2.1.283 to 2.1.296
Platforms
Linux, macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. -p --output-format stream-json exits before flushing stdout, so a slow reader loses the end of the reply and the result line#101641
  2. --print --input-format stream-json --output-format stream-json: CLI stops writing to stdout while still recording assistant turns in the session JSONL#99194

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.