Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.225 ·

SDK can defer permission mode resolution to the CLI

SDK callers can let the CLI pick the permission mode from settings instead of forcing "default".

Use it now Notable No documentation found New Features
JSON All of v2.1.225
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.225,
What probably matters to youSection of the release
What

The SDK query builder accepts resolvePermissionModeInCli, which leaves an unspecified permission mode undefined so the CLI resolves it from settings rather than being pinned at the SDK layer.

Details
  • Previously an unspecified permissionMode was always sent as "default".
  • With the option set and no mode given, the field is omitted entirely and settings decide.
  • Without the option, the old "default" fallback still applies, so existing callers are unaffected.
  • Opt-in per call site.
Evidence

resolvePermissionModeInCli

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundleresolvePermissionModeInCli

See this entry in the whole of v2.1.225 →

Feedback