1. 2.1.337 Next
  2. 2.1.336 This release
  3. 2.1.335 Previous

Claude Code 2.1.336: add-dir stops blocking you, auto mode tightens its checks

2.1.336 changes the --add-dir trust prompt: declining no longer closes the session. Auto mode also reviews more Bash and PowerShell commands, and computer use tightens again on macOS.

2.1.337 has shipped since, on December 5. Read 2.1.337

published
reading
3 min

Written by a Claude routine from the official changelog, checked by a script.

Claude Code 2.1.336, released December 3, 2026, stacks up eighteen additions, twenty changes, thirty improvements and a hundred and fourteen bug fixes. Most of it lands in VS Code and in settings scoped to organizations managed through the Enterprise Admin Console. Two changes are worth your attention if you use Claude Code from the keyboard every day: declining the --add-dir trust prompt at launch no longer quits Claude Code, and auto mode now routes more Bash and PowerShell commands through its classifier before letting them run.

Declining --add-dir no longer kicks you out of the session

Since 2.1.326, in an interactive terminal session, adding a directory your workspace trust doesn't cover with claude --add-dir or /add-dir triggers a trust prompt before access is granted. Through 2.1.335, answering no to that prompt at launch, with --add-dir, quit Claude Code instead of opening the session.

2.1.336 changes that default: answering no now opens the session, in most cases, without the declined directory. Only Esc still quits. The changelog doesn't spell out which cases fall outside that "in most cases." claude -p and Agent SDK sessions aren't affected: according to the docs, they never show this trust prompt. If you used to answer no to abandon a launch, press Esc instead.

Auto mode now reviews more Bash and PowerShell commands

Auto mode swaps your manual approvals for a classifier that reviews an action before it runs. For a shell command, it judges the command together with the hosts it names, and it also sees your messages and your CLAUDE.md. Not everything reaches it: a command matched by a narrow allow rule such as Bash(npm test) resolves immediately, and read-only actions are auto-approved, except in a session with server-side review. Critical-path removals such as rm -rf ~ follow their own default handling, outside the classifier.

2.1.336 sends more Bash and PowerShell commands to the classifier, without the changelog saying which ones. If you want every one of them reviewed, the autoMode.classifyAllShell setting, available since 2.1.193, suspends all your shell allow rules while auto mode is on, narrow ones included. Either way, a command that used to run without review may now wait for the classifier's verdict, and get blocked if it looks risky.

Everything else worth knowing

  • Through Remote Control, you can now answer a permission prompt from an in-process agent teammate, one that runs inside your session's process.
  • /help gets a search box for its command lists, and the search fields in several menus shrink from a box to a single line.
  • Claude Code Desktop shows clickable file names and labeled links in its terminal, on macOS and Linux.
  • A line now reports when automatic compaction gives up, instead of failing silently.
  • Computer use on macOS tightens again after 2.1.335: more clicks are refused, and some apps become view-only. The changelog still doesn't spell out which actions move to the refused side.
  • /model now leaves retired models out of the list, except for the one you're currently using.
  • BASH_DEFAULT_BACKGROUND_TIMEOUT_MS lengthens the default time limit for background shell commands in the Agent SDK and cloud sessions, without touching foreground timeouts.
  • WebFetch now gives up after 30 seconds with no data from a site, instead of a minute or more. CLAUDE_CODE_WEBFETCH_SILENCE_MS changes that limit (0 turns it off).
  • On Windows, 2.1.335's Bash fixes for long commands, path hints, and working-folder tracking now also apply to Team, Enterprise, and API-key accounts; disableWindowsBashCommandSplit turns off the command split if you need to.
  • Most of the rest goes to organizations managed through the Enterprise Admin Console (syncing hooks and the status line, a base URL for Bedrock, Mantle, Google Cloud's Agent Platform, and Microsoft Foundry, identity-provider sign-in for a Bedrock proxy, new /status rows) and to VS Code, which absorbs most of the remaining interface fixes: a "Try again" button on the sign-in screen, a "Request" control on MCP tool rows, opening a screenshot in an editor tab, and several layout tweaks that change nothing if you don't use the extension.

Previous release: 2.1.335, December 3.

Next release: 2.1.337, December 5.

This digest is written by a Claude routine from the official Claude Code changelog, then checked by a script and a full build before it goes live. How that works: Claude Routines, the complete guide. Claude Hub is published by Pierre Rondeau.

Back to top

The Claude Hub newsletter

One email a week: new guides and the week's articles. Unsubscribe in one click.