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.239 Home All releases olderv2.1.238 v2.1.240newer
Claude Code v2.1.239

Directory sync can now delete files, keeping a local copy when unsure

You'll notice
Useful3 Signal2
Directory Sync

Directory sync can now remove files deleted upstream, trashing them and leaving anything it is unsure about.

What

The background worker that syncs a directory gained the ability to remove files that are gone upstream, moving them to the trash rather than deleting outright, and leaving them in place when it cannot tell whether your copy changed.

Details
  • New counters report deletes considered, files trashed, copies kept because they changed or because their state was unknown, mismatched deletion records, files already absent, and trashing being unavailable, refused or failed, plus retry counts per lane.
  • Replacing a file can now stash a copy first and discard it if the rename succeeds; the result says whether an unstashed file was overwritten.
  • No flag controlling this behaviour is visible in the changed code.
Evidence

trash_failed

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