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

Claude Code v2.1.248 ·

Directory sync loads a mid-turn hook from a separate build chunk

Directory sync loads an extra chunk to register a mid-turn hook, logging failures.

Under the hood In Development
JSON All of v2.1.248
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Cloud SessionsArea: what it touches
In DevelopmentKind: in v2.1.248,
In DevelopmentSection of the release
What

When the managed cloud worker starts syncing your directory, it now also loads a separate build chunk and registers a mid-turn hook. If that load fails it logs dir_sync_mid_turn_import_failed at warn level and continues.

Details
  • The hook's implementation is in a build chunk that is not part of the readable bundle, so what it does mid-turn is not visible here; only that dir sync now has a mid-turn registration path alongside its existing start path.
  • Reachable only when the dir-sync worker runs; setting CLAUDE_CODE_DISABLE_DIR_SYNC suppresses it.
Evidence

dir_sync_mid_turn_import_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.248 →

Feedback