Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.225 Home All releases olderv2.1.224 v2.1.226newer

SDK can defer permission mode resolution to the CLI

Use it now
Useful3 Signal0
SDK Notable not in their notes

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

resolvePermissionModeInCli
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.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.225 →