Options accepted by delta.repack.
A partial tool call carried by one streaming chunk.
Decodes a stream chunk from its protobuf wire form.
Decodes one tool call fragment.
Encodes a stream chunk to its protobuf wire form.
Builds the chunk that closes a stream.
Concatenates the response text carried by streaming chunks.
Reports whether a stream chunk carries tool call fragments.
Rewrites a chunk stream into the chunk shape a provider style expects.
Builds the chunk that opens a stream.
Builds a chunk carrying visible response text.
Builds a complete single-message stream.
Builds a chunk carrying model reasoning text.
Thrown when a
STREAM_TOOL_DELTApayload is present but malformed.