Expand description
Strict buffered Claude Messages stream collection and event synthesis.
Structs§
- Claude
Stream Collector - Native Claude lifecycle collector. Every failed push poisons the stream; EOF never substitutes for message_stop or an unclosed content block.
- Claude
Stream Limits
Functions§
- synthesize_
claude_ stream - Synthesize native block lifecycles, retaining every declared content variant. Bound the cleaned input before making copies, then validate each emitted event immediately rather than building an unchecked event log.