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.277 ·

Session resume now restores accumulated cost, tracked separately

Resuming a session now restores its previously accumulated cost as its own tracked value, separate from unknown-model-cost tracking

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

What

  • When resuming a session with a history_file, the resume path now reads and restores a restoredCostUsd value from that file instead of ignoring cost on resume.
  • The cost-tracking snapshot/restore mechanism now stores a distinct restoredCostUSD value alongside hasUnknownModelCost (previously both were packed into the same internal field), and reset() now explicitly zeroes the restored value.
  • The cost-tracking class gained a restoredCostUSD() accessor and internal counter, and the cost-state schema's totalCostUSD now has a floor instead of being unconstrained.

Why

Restoring accumulated cost correctly when resuming a session keeps the cost totals shown to the user accurate across resumes, instead of resetting or being conflated with the separate tracking of cost from an unknown model.

Read from
Names in the bundlerestoredCostUsd

See this entry in the whole of v2.1.277 →

Feedback