跳到正文
Claude Code Releases· ashwin-ant·· 1 天前AI 评分35

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 Releases · github.com