Artifact b85ec4e5d51f27249c70c05909a61b09b90c9acac69c6a3f2e0620b558426bf9:
- File
test/pic/streams/tool_use.want
— part of check-in
[1d1b0294ce]
at
2026-11-18 17:12:31
on branch stage-2
— Add the SSE framer and Messages API stream decoder
The framer is provider-neutral and pure over bytes. The decoder enforces event order and rebuilds each content block from its start object, so thinking signatures and unknown block types replay verbatim. Eleven recorded streams are decoded whole, bytewise and chunked against frozen summaries, and a libFuzzer target checks chunking independence and that decoded content is a JSON array. (user: dmestas, size: 255) [annotate] [blame] [check-ins using]
result: ok id: msg_01 model: claude-opus-5-5 stop: tool_use usage: {"input_tokens":25,"output_tokens":40} error: - content: [{"type":"text","text":"Writing it."},{"type":"tool_use","id":"toolu_01","name":"write","input":{"path":"notes.txt","text":"hi"}}]