Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.239 ·

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

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

You'll notice In Development
JSON All of v2.1.239
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Directory SyncArea: what it touches
In DevelopmentKind: in v2.1.239,
In DevelopmentSection of the release
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.

See this entry in the whole of v2.1.239 →

Feedback