Claude Code v2.1.289: Bash deny rules hold under sandbox auto-allow, and a failing plugin no longer ends your session

2 weeks ago

What changed in Claude Code v2.1.289: Bash deny and ask rules now hold under sandbox auto-allow, deny rules hold against mods, plugins and symlinks, a VS Code change that may have caused more sign-outs is reverted, three freezes are fixed, a failing plugin or mod no longer ends your session, and mods get agent.spawn for teammates. https://github.com/anthropics/claude-code/releases/tag/v2.1.289 https://github.com/anthropics/claude-code/blob/v2.1.289/CHANGELOG.md

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Bash rules under sandbox auto-allow
  2. 0:14Deny rules hold
  3. 0:29VS Code sign-outs
  4. 0:40Freezes fixed
  5. 0:51Plugin failures stay contained
  6. 1:04agent.spawn for teammates
  7. 1:15The full changelog
Show transcript

Bash rules under sandbox auto-allow

Claude Code

Bash deny and ask rules now hold when the sandbox auto-allows commands

Variable prefix
TZ="$HOME" rm -rf build
Bare assignment
a variable set before the command
CHANGELOG.md · anthropics/claude-code

Bash deny and ask rules now hold when the sandbox auto-allows commands. A rule used to miss a command behind an environment variable prefix, or after a bare variable assignment. Now your rule applies.

Deny rules hold

Claude Code

>Deny rules now hold against mods, plugins and symlinks

Compound commands
on managed machines, a rule on a nested part beats a user-installed mod's approval
Managed MCP sign-in
a user-installed plugin can't rewrite its tool descriptions
Read deny rules
apply to IDE files reached through a symlink
CHANGELOG.md · anthropics/claude-code

On managed machines, a deny or ask rule on part of a compound command now beats a user mod's approval. User plugins can't rewrite managed MCP sign-in tools. And Read deny rules now follow IDE symlinks.

VS Code sign-outs

Claude Code

>In VS Code, a change that may have caused more sign-outs is reverted

Reverted
the 2.1.288 change to claude auth status
CHANGELOG.md · anthropics/claude-code

If VS Code has been signing you out more often since the last release, Claude Code reverted that release's change to the auth status command, which may have made sign-outs more frequent.

Freezes fixed

Claude Code

>Three freezes fixed: in the terminal, on artifact pages and at launch

Terminal
short code blocks with many unclosed <script> tags or deeply nested ${ substitutions
Artifact pages
the same code blocks no longer freeze or crash the reader's browser tab
Launch
a plugin Box with a border style the terminal does not know
CHANGELOG.md · anthropics/claude-code

A short code block full of unclosed script tags no longer freezes your terminal or an artifact page. And a plugin's unknown border style no longer freezes launch.

Plugin failures stay contained

Claude Code

>A failing plugin or mod no longer ends your session

Background sessions
survive a plugin's on-screen handler throwing asynchronously
A mod's row or Client
fails alone: the engine draws its own row, or the mod gets ui.fault
After an upgrade
installed mods load in the first session
CHANGELOG.md · anthropics/claude-code

Supervised and background sessions now survive a plugin handler that throws. A mod's row or client that breaks while drawing now fails alone. And installed mods now load in the first session after an upgrade.

agent.spawn for teammates

Claude Code

>Mods get agent.spawn for teammates

agent.spawn
for teammates
Plugin hook events
one agent id across them
$.agent.list()
now reports idle and waiting states
CHANGELOG.md · anthropics/claude-code

For mod authors, agent.spawn now works for teammates, a plugin's hook events share one agent ID, and the agent list reports which agents are idle or waiting.

The full changelog

Claude Code

Every fix in this release is in the Claude Code changelog

CHANGELOG.md in anthropics/claude-code

github.com/anthropics/claude-code
CHANGELOG.md · anthropics/claude-code

The release also fixes plugin panes, plugin validate, and text that drew over the rows below it. The full list is in the Claude Code changelog on GitHub.

Up next

1:39

Claude Code's /claude-api now moves your code to the new Claude API version

@claude-code · 8 hours ago

1:30

Claude Code v2.1.305 works again on Vertex and Bedrock, and its Linux sandbox can run Chromium

@claude-code · 1 day ago

1:35

Claude Code’s /auto-mode-setup teaches auto mode your project, and resume warns before it eats your 5-hour limit

@claude-code · 2 days ago

1:54

Claude Code v2.1.302 turns fork subagents on in the Agent SDK and VS Code, and standalone Claude Design closes December 14

@claude-code · 5 days ago

1:36

Claude Code v2.1.301: switching to a smaller model now summarizes your long conversation first

@claude-code · 6 days ago

2:06

Claude Code v2.1.300: one rejected MCP tool no longer fails every turn of your conversation

@claude-code · 1 week ago

1:53

Claude Code v2.1.299: come back from a break without reprocessing your whole session

@claude-code · 1 week ago

1:46

Claude Code v2.1.296: Claude can read a large file in one call

@claude-code · 1 week ago

1:36

Claude Code: hooks can now block an action when they fail

@claude-code · 1 week ago

1:39

Claude Code v2.1.293: Claude Haiku 5.5 becomes the default Haiku model, and finished work stays finished after a compaction

@claude-code · 2 weeks ago

1:32

Claude Code: subagents run at the effort you ask for, plugins install from a marketplace in one command, and network-path reads ask first

@claude-code · 2 weeks ago

1:23

Claude Code v2.1.290: WebSearch refills by the hour, WebFetch says what it left unread, and scheduled tasks stop going missing

@claude-code · 2 weeks ago