Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Permission-mode validation returns error codes

Errors from checking a permission mode now carry a code such as invalid_mode or bypass_disabled

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

A permission mode controls how often Claude Code asks you before it acts. When a requested mode fails its checks, the error now comes with one of these codes:

  • invalid_mode
  • bypass_restricted
  • bypass_disabled
  • bypass_not_launched
Why

A program reacting to these errors can tell the different kinds of failure apart by their code, instead of having to read the wording of the message.

See this entry in the whole of v2.1.281 →

Feedback