Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

SDK hosts can choose how extra working directories are passed in

The SDK's additionalDirectoriesDelivery option sends extra directories on the command line or in the opening message

Use it now Notable No documentation found New Features
JSON All of v2.1.336
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.336,
What probably matters to youSection of the release
What

The SDK lets other programs run Claude Code from their own code. Its additionalDirectoriesDelivery option controls how extra directories Claude Code may work in are handed over:

  • argv, the default, passes them on the command line
  • initialize passes them in the first message sent to Claude Code

Any other value stops with the error "Invalid additionalDirectoriesDelivery. Expected 'argv' or 'initialize'." The temporary folder used when resuming a session also now contains a .claude folder.

Why

Programs embedding Claude Code can send directory lists in the opening message instead of on the command line.

Read from

See this entry in the whole of v2.1.336 →

Feedback