Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.97 ·

--session-mirror Flag (SDK Internal)

Entry
JSON All of v2.1.97
EntryKind: in v2.1.97,
New FeaturesSection of the release
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 →

Feedback