debug: add logging to diagnose tool call grouping issue
Adds console logging to trace:
- How messages are being grouped by ID
- Whether tool calls/returns are in the same group
- isStreaming state and streaming group creation
This will help diagnose why tool returns appear orphaned and why
some messages show present tense ('is updating') instead of past
tense ('updated').