返回全部动态

Claude Code 2.1.89 更新:新增钩子权限决策与多项修复

原标题:2.1.89

Claude Code Changelog一手来源产品发布质量 69

AI 摘要

Claude Code 发布 2.1.89 版本更新,新增 PreToolUse 钩子的 "defer" 权限决策、无闪烁渲染选项、PermissionDenied 钩子、命名子代理 @ 提及、MCP 非阻塞连接等能力,并修复了结构化输出缓存、内存泄漏、Windows CRLF、语音模式、提示缓存等多处问题。此次更新还改进了 Bash/PowerShell 工具行为、钩子输出处理与上下文压缩逻辑,整体提升了长会话稳定性与跨平台体验。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

- Added `"defer"` permission decision to `PreToolUse` hooks — headless sessions can pause at a tool call and resume with `-p --resume` to have the hook re-evaluate - Added `CLAUDE_CODE_NO_FLICKER=1` environment variable to opt into flicker-free alt-screen rendering with virtualized scrollback - Added `PermissionDenied` hook that fires after auto mode classifier denials — return `{retry: true}` to tell the model it can retry - Added named subagents to `@` mention typeahead suggestions - Added `MC


发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic
阅读原文raw.githubusercontent.com