Agui Event Parser
Parse a stream of JSON strings (one AG-UI event per element) into typed AguiEvents.
Failures are materialised as AguiStreamEvent.ParseError so a malformed or unknown-type event does not tear down the run.
Parse a stream of JSON strings (one AG-UI event per element) into typed AguiEvents.
Failures are materialised as AguiStreamEvent.ParseError so a malformed or unknown-type event does not tear down the run.