SDK callers can let the CLI pick the permission mode from settings instead of forcing "default".
What's wrong with this entry?
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.
- Previously an unspecified
permissionModewas 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.
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.