Add `run_stream_messages()` and model message boundary events

Draft
DS
2mo ago
+4357-232

This pull request was posted by Codex Desktop using gpt-5.6-sol on behalf of David.

Adds authoritative ModelRequestEvent, ModelResponseStartEvent, and ModelResponseEndEvent boundaries to the existing event stream, plus run_stream_messages() as a thin projection over run_stream_events().

The design treats requests as atomic committed history messages, while responses have an initial incomplete snapshot, streamed part events, and a final authoritative post-hook history message. Keeping this as a projection avoids a second handler path or another public result wrapper, and the final AgentRunResultEvent preserves output and usage access.

Boundary pairs are ordered in the flattened run stream; because response completion is committed after model-node streaming finishes, a pair may cross node-scoped capability/event-handler invocations. Realtime streaming remains separate for #6324, and TurnCompleteEvent keeps its distinct semantic role.

Checklist

  • Any AI generated code has been reviewed line-by-line by the human PR author, who stands by it.
  • No breaking changes in accordance with the version policy.
  • PR title is fit for the release changelog.