返回全部动态

Claude Code 2.0.41 发布:新增钩子模型参数及多项修复

原标题:2.0.41

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

AI 摘要

Claude Code 发布 2.0.41 版本更新,新增了提示词停止钩子的模型参数,允许用户指定自定义模型进行钩子评估,并修复了多个问题,包括斜杠命令重复加载、插件命令钩子超时崩溃、Bedrock 用户重复 Opus 条目等。此外,该版本还支持插件共享和安装输出样式,并允许更多安全 git 命令无需批准即可运行。

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

正文节选

- Added `model` parameter to prompt-based stop hooks, allowing users to specify a custom model for hook evaluation - Fixed slash commands from user settings being loaded twice, which could cause rendering issues - Fixed incorrect labeling of user settings vs project settings in command descriptions - Fixed crash when plugin command hooks timeout during execution - Fixed: Bedrock users no longer see duplicate Opus entries in the /model picker when using `--model haiku` - Fixed broken security doc


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