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.97 Home All releases olderv2.1.96 v2.1.98newer
Claude Code v2.1.97

--session-mirror Flag (SDK Internal)

What

A new CLI flag that enables transcript mirroring on stdout for SDK consumers.

Details
  • Emits transcript_mirror frames on the stdout JSON stream after each successful local transcript write
  • Designed for use by ProcessTransport when a sessionStore is configured — allows the parent process to capture and batch transcript entries
  • New transcript_mirror event type added to the SDK schema
  • Not intended for direct user invocation; primarily benefits SDK/API integrations
Evidence

CLI flag "--session-mirror" with description "Emit transcript_mirror frames on stdout" (search for "transcript_mirror")

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.97 →