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.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Large directory-sync downloads survive an expired token mid-transfer

You'll notice
Useful3 Signal2
Directory Sync

Big sync downloads now resume after a token expires mid-transfer instead of restarting.

What

When Claude Code downloads a file directly during a directory sync, a token expiring partway through no longer restarts or corrupts the transfer. Bytes already received are kept, a fresh read token is fetched, and the download resumes from where it stopped.

Details
  • New read tokens are only issued while the transfer is actually making progress, so a stuck download cannot loop forever.
  • The file's etag is checked to be unchanged between attempts; if the file changed on the server the download does not silently splice two versions.
  • A stall timeout parameter was added.
  • Giving up produces a warning naming exactly how many bytes of the file had arrived.
Evidence

dir-sync: direct download gave up after ${A} read tokens at ${O.received} of ${r.size} bytes

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.248 →