SDK init can now include the session's scratchpad directory path
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.
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.