{"version":"2.1.333","anchor":"cloud-session-init-schema-sandboxed-field-written-at-new","canonical_anchor":"cloud-session-init-schema-sandboxed-field-written-at-new","heading":"Cloud session messages carry new fields for sandboxing, timing and errors","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/cloud-session-init-schema-sandboxed-field-written-at-new","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Cloud session messages carry new fields for sandboxing, timing and errors\n\nCloud session data gains a sandboxed flag, a written_at time on startup messages, and extra details on API errors\n\n**What**\n\nClaude Code exchanges structured messages with programs that host it, such as tools built on the SDK. The SDK is the kit developers use to build on Claude Code. Several new fields appear in these messages:\n\n- `sandboxed`: a true-or-false flag on cloud sessions. It is also accepted in the remote session state alongside the policy and channel fields, and is left unset if the value is invalid.\n\n- `written_at`: an optional time on the startup messages a session sends.\n\n- `launcher_helper`: a new detail on API errors.\n\n- `refusal`: a new detail on API errors, which can be `session_owner_profile`.\n\n- `body_kind`: a new detail on unexpected-response errors.\n\n**Why**\n\nPeople who build or host tools on top of Claude Code get more information to work with, such as whether a cloud session is sandboxed.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}