Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Clearer error for an unknown permission mode and a reworded iTerm2 message

An invalid --permission-mode value now gives "Unknown permission mode" and "Use one of:", and the iTerm2 restore failure message is reworded

You'll notice Bug Fixes
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
PermissionsArea: what it touches
Bug FixesKind: in v2.1.326,
Bug FixesSection of the release
What

If you start Claude Code with a value for --permission-mode that it does not recognise, the error now reads "Unknown permission mode", then the value you gave, then "Use one of:" and the list of valid modes. Before, it read "Invalid permission mode" and "Valid modes:". The old message also had a fault in how its text was built.

The message shown when Claude Code fails to restore its iTerm2 setup has also been reworded.

Why

If you mistype a permission mode, the error now says plainly what went wrong and what you can use instead.

Read from
Names in the bundle--permission-mode
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --permission-mode, on Run tool calls from code with Code Mode. * **You started in another mode**: if [auto mode is available](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) to you, exit, then run `claude --continue --permission-mode auto` with Code Mode on code-mode see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --permission-mode, on Run tool calls from code with Code Mode.

See this entry in the whole of v2.1.326 →

Feedback