Claude Code v2.1.301: unattended retry watchdog usage-limit cap
原文链接: https://github.com/anthropics/claude-code/releases/tag/v2.1.301
要点 (中文)
Claude Code 2.1.301(2026-10-15)给无人值守重试模式加了熔断阈值:新增 CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS,当用量限制的重置等待过远时直接结束请求,不再无限等待。可观测性同步增强:OpenTelemetry tool_decision 事件新增 classifier_verdict、permission_mode 与 classifier_category,可区分分类器自动决策与权限规则命中;claude-api skill 附 OTel tracing 配置指南;另有 vim % 括号跳转、mod Input 多行文本字段(Enter 提交、Shift+Enter 换行)。
Key claims (English)
Claude Code v2.1.301 adds CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS so unattended retry mode ends a request when the usage limit resets too far away instead of waiting; OpenTelemetry tool_decision events gain classifier_verdict, permission_mode and classifier_category; plus claude-api skill tracing guidance, vim % motion, and multi-line rows field for mod Input.
Obsidian 证据摘录
2.1.301 给 watchdog 加了「重置过远就停」;最小验证动作:读 release 中 CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS。
—— Hermes 定时任务/X-每日简报/2026-10-15-X-seeds_Codex0163-Claude301-Hermes0222.md
原文抓取
GitHub release API body (published 2026-10-15T19:22:06Z)
What's changed
- Added
CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MSso unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) ends a request at a usage limit that resets too far away instead of waiting - Added OpenTelemetry tracing guidance to the
claude-apiskill, including setting up trace destinations with theantCLI - Added the
%motion to vim mode: jump to the matching bracket, alone or with d/c/y - Added
rowsto a mod'sInput: a text field of several lines in the terminal, where Enter submits and Shift+Enter or a backslash before Enter starts a new line - Added
classifier_verdictandpermission_modeto OpenTelemetrytool_decisionevents, so auto mode classifier decisions can be told apart from permission rules - Added
classifier_categoryto OpenTelemetrytool_decisionevents, naming the built-in rule a classifier block matched, whenOTEL_LOG_TOOL_DETAILS=1 - Fixed quitting removing a worktree made by a
WorktreeCreatehook without asking when it may hold unpushed commits - Fixed the
fable(andbest) model alias erroring on the Anthropic API when the newest Fable model is not available to your organization: Claude Code now retries once on the previous Fable model - Fixed a misleading "Please run /login" error when a full disk keeps the login from being refreshed; the error now names the disk and says to delete files
- Fixed Grep and Gl