←新闻详情

Claude Code:GitHub Releases更新于 10月14日 11:58

Claude Code v2.1.289 发布

Release v2.1.289 · anthropics/claude-code · GitHub

AI 导读

Claude Code 发布 v2.1.289,修复了复合 shell 命令中嵌套部分的 deny/ask 规则在托管机器上无法覆盖用户安装 mod 审批的问题,并解决了短代码块含大量未闭合标签或深层嵌套 ${ 替换时终端卡死的问题。该版本还回退了 VSCode 中 2.1.288 对 claude auth status 的改动(该改动可能导致更频繁退出登录),并新增 agent.spawn 等能力。

正文

当前显示原文,中文全文译文尚未就绪。

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

No results found

What's changed

Fixed a deny or ask rule on a nested part of a compound shell command not holding over a user-installed mod's approval on managed machines; Fixed the terminal freezing on short code blocks with many unclosed tags or deeply nested ${ substitutions; Fixed Read deny rules not applying to files @-mentioned, changed, or selected in the IDE through a symlink; [VSCode] Reverted a 2.1.288 change to claude auth status that may have made sign-outs more frequent; Improved how quickly large files open in a plugin code pane by laying the highlighted view out once at its final width; Fixed plugin list, plugin eval and plugin update showing a stale copy of a plugin installed from a local folder marketplace, and hot reload for a symlinked --plugin-dir; Fixed installed mods not loading in the first session after an upgrade; Fixed a plugin's rows above the prompt showing a stale row while the Background tasks dialog was open in fullscreen; Fixed plugin panes drawing nothing when a link used a localhost address, an @ in its path, an uppercase host or a file: path; Fixed a user-installed plugin being able to rewrite the descriptions of an organization-managed MCP server's sign-in tools; Fixed a freeze or forced quit at launch when a plugin drew a Box with a border style the terminal does not know; Fixed supervised and background sessions ending when a plugin's on-screen handler threw asynchronously; Fixed sessions ending with an interface error when a plugin region with no height kept growing; Fixed Bash deny and ask rules missing a command behind an environment variable prefix with an expanded value (e.g. TZ="$HOME" rm -rf build) when the sandbox auto-allows commands; Fixed a Bash deny or ask rule being skipped under sandbox auto-allow when a bare variable assignment came before the command; Fixed claude plugin validate skipping the plugin when the folder also holds a marketplace manifest; Added agent.spawn for teammates, one agent id across plugin hook events, and idle and waiting states in $.agent.list(); Fixed sessions ending with "unrecoverable interface error" when a value a mod's ui.render hook wrote made a row throw while drawn; the engine now draws its own row instead; Fixed text with a tab, a stray escape and a C1 control, or a short text with a tab and CRLF line endings, drawing over the rows below it; Fixed right-aligned content in a mod's pane or band drawing under the close mark or [-], which now also keep one column in from the terminal's edge; Fixed a mod's Client that fails while drawn taking down everything the mod drew around it; it now fails alone and raises ui.fault; Fixed claude plugin validate failing an Anthropic marketplace's own plugin and listing a clean plugin.json in --json; Fixed a mod's band that fails to draw briefly telling the cards under it to step aside; Fixed a failed plugin component showing Error or nothing as its reason when the failure carried no message; Improved the line a mod's author sees when its band or pane fails to draw: it names the mod and says nothing was drawn; Fixed published artifact pages freezing or crashing the reader's browser tab on short code blocks with many unclosed tags; Fixed a mod's Client region staying failed for the whole session after the terminal threw while drawing it

Uh oh!

There was an error while loading. Please reload this page.

👍 14 reactions; 😄 4 reactions; 🎉 7 reactions; ❤️ 6 reactions; 🚀 5 reactions; 👀 6 reactions

来源

Claude Code:GitHub Releases