{"version":"2.1.225","anchor":"sdk-can-defer-permission-mode-resolution-to-the-cli","canonical_anchor":"sdk-can-defer-permission-mode-resolution-to-the-cli","heading":"SDK can defer permission mode resolution to the CLI","tier":"use","area":"SDK","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225\/e\/sdk-can-defer-permission-mode-resolution-to-the-cli","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225","markdown":"### SDK can defer permission mode resolution to the CLI\n\nSDK callers can let the CLI pick the permission mode from settings instead of forcing \"default\".\n\n**What**\n\nThe 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.\n\n**Details**\n\n- Previously an unspecified `permissionMode` was always sent as \"default\".\n- With the option set and no mode given, the field is omitted entirely and settings decide.\n- Without the option, the old \"default\" fallback still applies, so existing callers are unaffected.\n- Opt-in per call site.\n\n**Evidence**\n\n`resolvePermissionModeInCli`\n\n- Area: SDK\n- Names: `resolvePermissionModeInCli`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 0\/5"}