Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.31 Home All releases olderv2.1.30 v2.1.32newer
Claude Code v2.1.31

Streamlined SDK Output Types

What

Two new message types for SDK consumers that provide a simplified view of Claude's output, stripping away thinking blocks and tool call details.

Details
  • streamlined_text -- preserves the text content from assistant messages but removes thinking and tool_use blocks
  • streamlined_tool_use_summary -- replaces verbose tool_use blocks with a human-readable summary string (e.g., "Read 2 files, wrote 1 file")
  • These message types are filtered out in the normal CLI transport layer and are intended for SDK streaming consumers
  • Marked as @internal in the schema descriptions
Evidence

New Zod schema types (search for "streamlined_text" and "streamlined_tool_use_summary")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.31 →