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.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Directory sync can upload and download files directly to a filestore

Under the hood
Useful2 Signal3
Cloud Sessions

Large sync payloads can now go straight to a filestore, falling back if the server refuses.

What

Directory sync gains a third way to move data alongside the existing row and file carriers: a direct lane that uploads content straight to a filestore, addressed by a sha256 of the content and keyed off the session id. There is no client flag for it. The client offers it for outbound payloads above a minimum size, and a server replying unsupported marks the lane refused and puts it on a cooldown before it is tried again, falling back to the row lane meanwhile.

Details
  • New client calls begin an upload, commit it, and fetch a download descriptor against per-session synced_file endpoints, returning a filestore url, id and JWT plus an upload path.
  • Transfers are resumable: expired or not_found responses trigger a retry, and inbound transfers have their own size cap.
  • Repeated non-429 failures back the lane off; a server that never implements it costs one attempt per cooldown window.
  • The lane is wired live at both places directory sync builds its transport, so whether it does anything is decided entirely by the server.
Evidence

/v1/code/sessions/${n}/synced_file/uploads/commit, dir-sync: direct commit refused: the declared name holds other bytes

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