# Claude Code v2.1.334

> Claude Code v2.1.334, released 1 Dec 2026 (2026-12-01). 544 entries read out of the shipped bundle. Unofficial, and not affiliated with Anthropic.

[Web version](https://changelogs.core-directive.com/v/2.1.334)

You can now run `claude gateway --check config` to check the gateway's settings file without starting the gateway. A new `--health-host` option lets the health check listen only on 127.0.0.1 instead of every network connection. Programs using the SDK can now remove a working directory in the middle of a session. A program can also send a message to a running background agent by its task ID. A tools server can now give each subagent its own git worktree and run that agent's tool calls there. Host apps get new environment variables, including CLAUDE_CODE_KEEP_LAUNCH_SIGN_IN, which Claude Code passes on to the processes it starts.

The page lists 40 entries that are in the build but not switched on yet. A new Auto-compact window setting will let you choose when automatic compacting kicks in. Auto mode's safety check can read files before deciding, but only when you set `CLAUDE_CODE_AUTO_MODE_CLASSIFIER_TOOL_CALLS`. Computer use can refuse a click when the pointer is off target, and it is not switched on yet. Plugin servers started with npx or uvx can be held to package versions from when the plugin was listed, behind a server switch. A full-size panel layout with a tabs header is in place, but nothing turns it on.

Resuming a worktree no longer resets it when that could lose commits. When a hook rewrites a tool's result, the rewritten version is now the one recorded and shown. Expired sign-in errors are no longer left out of the wait-and-retry path. A crashed plugin worker no longer stops a plugin from loading. On Windows, plugins no longer crash on some versions of the Bun runtime. Remote sessions drop the socket-based event stream that CLAUDE_CODE_CCR_WORKER_SOCKET used to turn on.

## Sections

Each section is its own markdown document of whole entries, in pages of about 40 KB. The whole release in one document is [full.md](https://changelogs.core-directive.com/v/2.1.334/full.md).

- [What probably matters to you](https://changelogs.core-directive.com/v/2.1.334/what-probably-matters-to-you.md): 26 entries
- [New Features](https://changelogs.core-directive.com/v/2.1.334/new-features.md): 2 entries
- [Improvements](https://changelogs.core-directive.com/v/2.1.334/improvements.md): 250 entries, 7 pages
- [Bug Fixes](https://changelogs.core-directive.com/v/2.1.334/bug-fixes.md): 76 entries, 2 pages
- [In Development](https://changelogs.core-directive.com/v/2.1.334/in-development.md): 33 entries, 2 pages
- [Internal Changes](https://changelogs.core-directive.com/v/2.1.334/internal-changes.md): 156 entries, 4 pages
- [Removed](https://changelogs.core-directive.com/v/2.1.334/removed.md): 1 entry

## What probably matters to you

The first 10 of 26, one line each. The section's own pages have every one in full.

- [Sessions can keep their launch sign-in, and remote sessions check delivered tokens](https://changelogs.core-directive.com/v/2.1.334/e/new-host-env-var-claude-code-keep-launch-sign-in.json): A new CLAUDE_CODE_KEEP_LAUNCH_SIGN_IN variable keeps the launch sign-in, and remote sessions keep current credentials if delivered tokens look wrong
- [New host variables for narrowing served settings and Stop hook events](https://changelogs.core-directive.com/v/2.1.334/e/new-host-managed-env-var-claude-code-host-narrows-served-set.json): Two new environment variables for programs that launch Claude Code: one narrows remotely served settings, one relates to Stop hook events
- [Auto-compact window gets a new default, an offer dialog, a cap and a settings row](https://changelogs.core-directive.com/v/2.1.334/e/autocompact-window-default-and-one-time-notice-for-1m-models.json): The auto-compact window gains a lower default for 1M models with a notice, a choice prompt, a cap on the threshold and a settings row
- [New CLAUDE_AX_SCREEN_READER_FROM_EDITOR variable for screen-reader sessions started from an editor](https://changelogs.core-directive.com/v/2.1.334/e/claude-ax-screen-reader-from-editor-suppresses-frame-metrics.json): `CLAUDE_AX_SCREEN_READER_FROM_EDITOR` is a new screen-reader variable that Claude Code now accepts and that stops it timing screen frames
- [Plugin MCP servers can be limited to package versions from when the plugin was listed](https://changelogs.core-directive.com/v/2.1.334/e/plugin-launches-via-npxuvx-can-be-pinned-to-the-directory-l.json): Plugin MCP servers started with npx or uvx can be held to package versions that existed when the Anthropic Directory listed the plugin, under `tengu_cozy_horizon`
- [Sending messages to running background agents, with a notice when delivery fails](https://changelogs.core-directive.com/v/2.1.334/e/send-task-message-control-request-for-sending-a-message-to-a.json): send_task_message now delivers a message to a running background agent, and an error notice can appear when a message is not delivered
- [Added folders can now be removed during a session with remove_directory](https://changelogs.core-directive.com/v/2.1.334/e/control-request-remove-directory-added-add-directory-now-se.json): A new `remove_directory` control request detaches an added folder mid-session, and add and remove requests now run in order
- [Long PDFs can be read as text from every page](https://changelogs.core-directive.com/v/2.1.334/e/pdf-at-mentions-can-be-read-as-text-with-a-long-pdf-bound.json): A PDF over the page limit can now come back as text from all its pages, with prompt wording and an image-safety note to match
- [Computer use checks the pointer before clicking and can bring your terminal back](https://changelogs.core-directive.com/v/2.1.334/e/computer-use-pointer-verification-and-terminal-restore.json): Computer use now refuses a click when the pointer is off target and can return focus to your terminal on macOS
- [`claude gateway --check config` checks gateway settings without starting it](https://changelogs.core-directive.com/v/2.1.334/e/claude-gateway-gets-a-check-option-to-validate-config-and.json): `claude gateway` now takes --check config, which checks the gateway's settings file and exits without starting the gateway
