Newline-delimited JSON, in emission order: one event per agent turn
(opencode's --format json shape). Malformed or non-object lines are
skipped rather than failing the whole parse — a harness's stderr chatter
or a truncated final line shouldn't cost the events already captured.
Newline-delimited JSON, in emission order: one event per agent turn (opencode's
--format jsonshape). Malformed or non-object lines are skipped rather than failing the whole parse — a harness's stderr chatter or a truncated final line shouldn't cost the events already captured.