- 2.1.333 This release
- 2.1.332 Previous
Claude Code 2.1.333: --allowedTools breaks, compaction gets lighter
2.1.333 refuses some --allowedTools and --tools lists passed as several separate arguments, and compaction no longer re-attaches uploaded files, downloads and saved tool results.
Claude Code 2.1.333, out November 30, 2026, ships around fifty additions (most of them for the mod API), roughly twenty behavior changes, 32 improvements and 163 bug fixes. Two changes deserve your attention right away if you script Claude Code or run long sessions: --allowedTools and --tools now refuse some tool lists passed as several separate arguments, and compaction no longer automatically re-attaches uploaded files, downloads and saved tool results. The rest stacks a massive expansion of the mod API, REVIEW.md support for local /code-review, and a dense batch of reliability fixes, VS Code leading the pack.
--allowedTools and --tools: one value, not several arguments
Some tool lists passed to --allowedTools or --tools as several separate values now stop the launch. The changelog doesn't say which ones, and gives the fix: put the list in a single comma-separated value, such as --allowedTools "Read,Edit,Write". The CLI reference documents --tools for restricting which built-in tools are available, with an example already in that form (--tools "Bash,Edit,Read"), and --allowedTools for tools that run without asking for permission.
If a script, hook, CI pipeline or shell alias builds this command by stacking tool names as separate arguments, which happens easily with a hand-built argv or a wrapper that just shifts through a list, it may break on the next launch. Switch to one quoted string before you update, rather than discovering it mid-CI run.
Compaction stops re-attaching everything: files, downloads, tool results
The doc on what survives compaction lists what comes back automatically after a /compact or an automatic compaction: the system prompt, the project-root CLAUDE.md, auto memory, up to five recently read or edited files, invoked skill bodies. Uploaded files, downloads and saved tool results aren't on that list, and 2.1.333 stops re-attaching them: they no longer come back into context right after compaction.
Claude can still read them again, but only when it actually needs them, not by reflex. For a long session that piles up attachments or large tool results, a big web search, an export, that means less wasted context after each compaction, so /compact leaves a lighter conversation behind. The flip side: if you were counting on that automatic re-attachment to keep a file or a result on hand without asking for it again, expect Claude to re-read it before using it again.
The rest that matters
/code-review run locally from your session now reads the REVIEW.md file at the root of your repository's default branch. Until now, this file only drove hosted reviews triggered automatically on GitHub pull requests; the local command ignored it. If your team already has a REVIEW.md to tune what Code Review flags, it now applies when you run /code-review yourself on your branch too.
On the SDK and headless side (claude -p, hosts that drive Claude Code programmatically), 2.1.333 changes a default behavior that directly matters for automated routines like the one writing this digest: once the host is gone and no subagent is still running, Claude Code now ends background commands, monitors and scheduled wakeups instead of leaving them running with nothing to report to. CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 opts out of this cleanup if a pipeline deliberately depends on it. If you orchestrate SDK sessions that kick off background work and then exit, make sure that work gets time to finish before the host detaches, or adjust that variable.
The biggest chunk of additions in this release targets neither app developers nor teams, but mod authors, the plugins that extend Claude Code's own interface. New hooks for drawing UI, reading and writing files with a version check before each write, streaming model responses piece by piece. A good chunk of the existing interface, the progress bar, /radio, spinner tips, becomes a built-in plugin you can turn off in /plugin. Even if you never write a mod, you'll notice: /plugin gains a Built-in tab listing those plugins and an "Example prompts" switch that turns off the "Try …" examples, and /radio and the shipped spinner tips stop working when their built-in plugin is off.
Among the 163 bug fixes, several close real hangs rather than cosmetic details: claude -p on macOS and Linux losing the tail end of its piped output when a downstream reader lagged (it now waits up to 30 seconds), MCP tool calls that could freeze for up to five minutes against an HTTP server offering no GET stream, memory growing by gigabytes with the CPU stuck at 100% when a build created and removed many files in the repository on Linux, and an endless wakeup loop when an asyncRewake hook kept exiting quickly with code 2, now capped at eight wakeups in a row (CLAUDE_CODE_STOP_HOOK_BLOCK_CAP changes the cap). VS Code absorbs most of the rest, with dozens of accessibility, keyboard focus and menu fixes.
Previous release: 2.1.332, November 25.
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.