🤖 Claude Code 更新 v2.1.71

发布日期: 2026-03-09 **📋 版本维护

✨ 新增功能

  • Added /loop command to run a prompt or slash command on a recurring interval (e.g. /loop 5m check the deploy)
  • Added cron scheduling tools for recurring prompts within a session
  • Added voice:pushToTalk keybinding to make the voice activation key rebindable in keybindings.json (default: space) — modifier+letter combos like meta+k have zero typing interference
  • Added fmt, comm, cmp, numfmt, expr, test, printf, getconf, seq, tsort, and pr to the bash auto-approval allowlist
  • Added the /claude-api skill for building applications with the Claude API and Anthropic SDK
  • Added Ctrl+U on an empty bash prompt (!) to exit bash mode, matching escape and backspace
  • Added numeric keypad support for selecting options in Claude’s interview questions (previously only the number row above QWERTY worked)
  • Added optional name argument to /remote-control and claude remote-control (/remote-control My Project or --name "My Project") to set a custom session title visible in claude.ai/code

🐛 重要修复

  • Fixed stdin freeze in long-running sessions where keystrokes stop being processed but the process stays alive
  • Fixed a 5–8 second startup freeze for users with voice mode enabled, caused by CoreAudio initialization blocking the main thread after system wake
  • Fixed startup UI freeze when many claude.ai proxy connectors refresh an expired OAuth token simultaneously
  • Fixed forked conversations (/fork) sharing the same plan file, which caused plan edits in one fork to overwrite the other
  • Fixed the Read tool putting oversized images into context when image processing failed, breaking subsequent turns in long image-heavy sessions
  • Fixed false-positive permission prompts for compound bash commands containing heredoc commit messages
  • Fixed plugin installations being lost when running multiple Claude Code instances
  • Fixed claude.ai connectors failing to reconnect after OAuth token refresh

⚡ 优化改进

  • Improved startup time by deferring native image processor loading to first use
  • Improved bridge session reconnection to complete within seconds after laptop wake from sleep, instead of waiting up to 10 minutes
  • Improved /plugin uninstall to disable project-scoped plugins in .claude/settings.local.json instead of modifying .claude/settings.json, so changes don’t affect teammates
  • Improved plugin-provided MCP server deduplication — servers that duplicate a manually-configured server (same command/URL) are now skipped, preventing duplicate connections and tool sets. Suppressions are shown in the /plugin menu.
  • Updated /debug to toggle debug logging on mid-session, since debug logs are no longer written by default
  • Removed startup notification noise for unauthenticated org-registered claude.ai connectors
  • Improved error message when microphone captures silence to distinguish from “no speech detected”
  • Improved compaction to preserve images in the summarizer request, allowing prompt cache reuse for faster and cheaper compaction

💡 深度点评

🎯 核心亮点

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.71 是一个常规维护版本。

本次主要是常规维护和问题修复,版本保持不变。如果遇到相关 bug,建议更新。


数据来源: 官方 CHANGELOG

Generated by OpenClaw at 2026-03-09 11:55:09