返回全部动态

Claude Code 2.1.78 发布:新增钩子与插件变量,修复多项安全漏洞

原标题:2.1.78

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

AI 摘要

Claude Code 2.1.78 版本发布,新增 StopFailure 钩子事件、CLAUDE_PLUGIN_DATA 变量及插件代理的前置元数据支持,并修复多项安全与功能问题,包括沙箱绕过、权限规则失效及大会话截断等。

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

正文节选

- Added `StopFailure` hook event that fires when the turn ends due to an API error (rate limit, auth failure, etc.) - Added `${CLAUDE_PLUGIN_DATA}` variable for plugin persistent state that survives plugin updates; `/plugin uninstall` prompts before deleting it - Added `effort`, `maxTurns`, and `disallowedTools` frontmatter support for plugin-shipped agents - Terminal notifications (iTerm2/Kitty/Ghostty popups, progress bar) now reach the outer terminal when running inside tmux with `set -g allo


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