返回全部动态

Claude Code 2.1.181 发布:新增配置语法与多项修复

原标题:2.1.181

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

AI 摘要

Claude Code 发布 2.1.181 版本更新,新增 /config key=value 语法、sandbox.allowAppleEvents 设置和 CLAUDE_CLIENT_PRESENCE_FILE 环境变量,并升级 Bun 运行时至 1.4。该版本修复了多项问题,包括提示缓存、文件写入、启动性能、子代理行为及 macOS 兼容性等。

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

正文节选

- Added `/config key=value` syntax to set any setting from the prompt (e.g. `/config thinking=false`) — works in interactive, `-p`, and Remote Control - Added `sandbox.allowAppleEvents` opt-in setting that lets sandboxed commands send Apple Events on macOS - Added `CLAUDE_CLIENT_PRESENCE_FILE` environment variable: point it at a marker file to suppress mobile push notifications while you're at the machine - Upgraded the bundled Bun runtime to 1.4 - Improved streaming of long paragraphs: text now


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