Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

SDK permission responses can switch the session mode

Programs using the SDK can now change the session's permission mode when they allow a tool

Use it now New Features
JSON All of v2.1.281
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.281,
What probably matters to youSection of the release
What

The SDK lets another program run Claude Code and answer its permission questions. When that program allows a tool and includes an updatedPermissions entry of type setMode, Claude Code now switches to the mode named there. It accepts "default" or "acceptEdits".

Why

A program built on the SDK can now approve a request and change how later requests are handled in the same answer, for example moving to acceptEdits so file edits stop needing approval each time.

Read from
Names in the bundleupdatedPermissionssetMode
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up updatedPermissions, on Agent SDK reference - TypeScript. | `suggestions` | [`PermissionUpdate`](#permissionupdate)`[]` | Suggested permission updates so the user is not prompted again for this tool. Bash prompts include a suggestion with the `localSettings` [destination](#permissionupdatedestina… agent-sdk/typescript see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up updatedPermissions, on Agent SDK reference - TypeScript.

See this entry in the whole of v2.1.281 →

Feedback