Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaSDKwhat it touches
KindInternal Changesin v2.1.277,
Under the hood No documentation found

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

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 →