返回全部动态

Claude Code 2.1.304 更新:新增自动模式配置与多项修复

原标题:2.1.304

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

AI 摘要

Claude Code 发布 2.1.304 版本更新,新增插件钩子跳过提示、mod 工具检查的 decider 与只读标记、/auto-mode-setup 引导式配置、/claude-api managed-agents-secure 安全对比命令等功能,并修复了组织策略刷新、Linux 沙箱启动、rm 安全提示、插件重载、远程控制、上下文压缩等多处问题。此次更新主要提升插件与 mod 系统的可控性、会话与权限管理的稳定性,以及跨平台和网关场景下的兼容性。

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

正文节选

- Added a transcript line when a plugin that runs first skips one of your mod's hooks, naming the event and the plugin - Added `decider: "person"` to a mod's `tool.check` answer: only the permission dialog or a host's callback can approve the ask, and it is refused with the mod's reason where nobody can be asked - Added `e.isReadOnly` to a mod's `tool.check` event, set when the tool call is read-only - Added `/auto-mode-setup`: a guided setup that reads your project and recent sessions to teach


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