Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.277 ·

SDK init can expose the session's scratchpad path

SDK init can now include the session's scratchpad directory path

Under the hood No documentation found Internal Changes
JSON All of v2.1.277
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.277,
Internal ChangesSection of the release
What

The initialization payload sent by the SDK (the interface other applications use to embed Claude Code) can now include a scratchpad_path field, giving the client the absolute file path of the session's scratchpad directory (a working-storage area). This field is left out when the scratchpad feature is disabled, and it is also removed from the redacted version of init data sent over Remote Control or to a hosted worker.

Why

This lets SDK clients that need to know where the scratchpad lives access that path directly, while keeping it out of contexts where exposing a local file path wouldn't be appropriate, such as remote or hosted connections.

Read from
Names in the bundlescratchpad_path

See this entry in the whole of v2.1.277 →

Feedback