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

1 month 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.

Ask about 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
  1. 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.

    Slide text
    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
  2. 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.

    Slide text
    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
  3. 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.

    Slide text
    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
  4. 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.

    Slide text
    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
  5. 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.

    Slide text
    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
  6. 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.

    Slide text
    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
  7. 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.

    Slide text
    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

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York