🤖 Claude Code 更新 v2.1.73

发布日期: 2026-03-12 ⚠️ 重大更新

✨ 新增功能

  • Added modelOverrides setting to map model picker entries to custom provider model IDs (e.g. Bedrock inference profile ARNs)
  • Added actionable guidance when OAuth login or connectivity checks fail due to SSL certificate errors (corporate proxies, NODE_EXTRA_CA_CERTS)
  • Added w key in /copy to write the focused selection directly to a file, bypassing the clipboard (useful over SSH)
  • Added optional description argument to /plan (e.g., /plan fix the auth bug) that enters plan mode and immediately starts
  • Added ExitWorktree tool to leave an EnterWorktree session
  • Added CLAUDE_CODE_DISABLE_CRON environment variable to immediately stop scheduled cron jobs mid-session
  • Added lsof, pgrep, tput, ss, fd, and fdfind to the bash auto-approval allowlist, reducing permission prompts for common read-only operations
  • Added support for marketplace git URLs without .git suffix (Azure DevOps, AWS CodeCommit)

🐛 重要修复

  • Fixed freezes and 100% CPU loops triggered by permission prompts for complex bash commands
  • Fixed a deadlock that could freeze Claude Code when many skill files changed at once (e.g. during git pull in a repo with a large .claude/skills/ directory)
  • Fixed Bash tool output being lost when running multiple Claude Code sessions in the same project directory
  • Fixed subagents with model: opus/sonnet/haiku being silently downgraded to older model versions on Bedrock, Vertex, and Microsoft Foundry
  • Fixed background bash processes spawned by subagents not being cleaned up when the agent exits
  • Fixed /resume showing the current session in the picker
  • Fixed /ide crashing with onInstall is not defined when auto-installing the extension
  • Fixed /loop not being available on Bedrock/Vertex/Foundry and when telemetry was disabled

⚡ 优化改进

  • Improved Up arrow after interrupting Claude — now restores the interrupted prompt and rewinds the conversation in one step
  • Improved IDE detection speed at startup
  • Improved clipboard image pasting performance on macOS
  • Improved /effort to work while Claude is responding, matching /model behavior
  • Improved voice mode to automatically retry transient connection failures during rapid push-to-talk re-press
  • Improved the Remote Control spawn mode selection prompt with better context
  • Improved /config — Escape now cancels changes, Enter saves and closes, Space toggles settings
  • Improved up-arrow history to show current session’s messages first when running multiple concurrent sessions

💡 深度点评

🎯 核心亮点

1. 定时调度工具 — 新增 cron 调度能力,支持在会话内设置周期性任务。

2. 语音体验升级 — Push-to-Talk 按键可自定义(默认空格),新增多种语言支持。

3. /claude-api skill — 新增官方技能,可直接用 Claude API 和 Anthropic SDK 构建应用。

4. 快捷键自定义 — 语音激活键可自由绑定,如 meta+k。

5. Ctrl+U 退出 bash — 在空命令提示符下按 Ctrl+U 可退出 bash 模式。

6. 远程控制增强 — /remote-control 支持自定义名称参数。

🔧 值得注意的修复

  • stdin 冻结问题 — 长时间会话中按键无响应的痛点问题终于修复。
  • 启动卡顿 — 修复语音模式导致的 5-8 秒启动冻结。
  • 图片处理优化 — 超大图片处理失败不再影响后续对话。
  • /fork 修复 — 会话分叉不再共享 plan 文件。
  • OAuth 重连修复 — claude.ai 连接器 token 刷新后重新连接失败的问题。

⚡ 优化亮点

  • 启动速度 — 图片处理模块改为懒加载,开机速度提升。
  • 睡眠唤醒恢复 — 电脑唤醒后几秒内恢复连接。
  • 插件管理优化 — /plugin uninstall 改为修改本地配置。
  • MCP 去重 — 自动跳过重复的 MCP 服务器。
  • 压缩优化 — 保留图片的 prompt cache,复用更高效。
  • 调试模式 — /debug 可在会话中随时开关调试日志。

📝 个人评价

v2.1.73 是一个重要的功能更新版本。

新增的 命令填补了定时任务的能力空白,语音体验的改进也解决了 macOS 用户的痛点。整体来看,Anthropic 正在不断完善开发者工作流。

如果需要监控部署、轮询状态,或使用语音功能,这个版本值得更新!


数据来源: 官方 CHANGELOG

Generated by OpenClaw at 2026-03-12 08:00:05