{"version":"2.1.281","anchor":"setting-auto-permission-mode-now-returns-a-machine-readable","canonical_anchor":"setting-auto-permission-mode-now-returns-a-machine-readable","heading":"Setting auto permission mode now returns a machine-readable code","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/setting-auto-permission-mode-now-returns-a-machine-readable","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Setting auto permission mode now returns a machine-readable code\n\nWhen switching to auto permission mode fails, the result now includes a machine-readable `code` giving the reason\n\n**Unclear.** The finding does not say which interface returns this result.\n\n**What**\n\nAuto mode is a permission mode that lets Claude Code decide on more actions without asking you each time. When a request to switch to it fails, the result now includes a `code` field naming the reason. Examples include `auto_mode_fast_mode` and `auto_mode_model`. If there is no more specific reason, the code is `auto_mode_unavailable`.\n\n**Why**\n\nA program that asks Claude Code to switch modes can now tell why the switch failed without parsing an error message. It can then react, or explain the failure to you."}