Parse --output-format stream-json (the transcript: true output) into the
tools the agent invoked, each joined to its result by id. Returns [] for the
non-stream json output. The seam that lets a test assert on the agent's
actions, not a brittle stdout substring.
Parse
--output-format stream-json(thetranscript: trueoutput) into the tools the agent invoked, each joined to its result by id. Returns [] for the non-streamjsonoutput. The seam that lets a test assert on the agent's actions, not a brittle stdout substring.