跳到正文
Claude Code:GitHub Releases· ashwin-ant·· 5 小时前AI 评分29

Claude Code v2.1.294 发布

v2.1.294

AI 导读

Claude Code v2.1.294 修复了以指令形式编写的 prompt 与 agent hooks(如“拦截以下命令”)此前未按预期拦截的问题。该版本还改进了对 Stop 和 SubagentStop 上以指令形式编写的 prompt hooks(如“构建失败则继续”)的判断,Claude 因此更不容易提前停止。

正文

What's changed

  • Fixed prompt and agent hooks written as instructions (such as "Block commands that...") allowing what they should block
  • Improved how prompt hooks on Stop and SubagentStop written as instructions (such as "Carry on if the build is broken") are judged, so Claude is less likely to stop early

来源:Claude Code:GitHub Releases · github.com