Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.267 ·

Session export/import better preserves tool-use messages

Exported and re-imported session transcripts now correctly preserve tool-use messages, including file writes

Group of 2 You'll notice Improvements
JSON All of v2.1.267
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.267,
ImprovementsSection of the release

What

  • When rebuilding an assistant message during session export/import, stop_reason is no longer always set to end_turn; it is now set to tool_use when the message actually contains tool-use blocks.
  • When importing an assistant message, file-write tool calls are now reconstructed and re-added as tool_use blocks (with their file_path and content), in addition to the existing text-block handling.

Why Previously, exporting and re-importing a session could lose or mislabel tool-use information, such as file writes a session had made. This keeps transcripts more faithful when moved between sessions or environments.

See this entry in the whole of v2.1.267 →

Feedback