🤖 Claude Code 更新 v2.1.101
发布日期: 2026-04-11
⚠️ 新版本发布
✨ 新增功能
- Added
/team-onboardingcommand to generate a teammate ramp-up guide from your local Claude Code usage - Added OS CA certificate store trust by default, so enterprise TLS proxies work without extra setup (set
CLAUDE_CODE_CERT_STORE=bundledto use only bundled CAs)
🐛 重要修复
- Fixed a command injection vulnerability in the POSIX
whichfallback used by LSP binary detection - Fixed a memory leak where long sessions retained dozens of historical copies of the message list in the virtual scroller
- Fixed
--resume/--continuelosing conversation context on large sessions when the loader anchored on a dead-end branch instead of the live conversation - Fixed
--resumechain recovery bridging into an unrelated subagent conversation when a subagent message landed near a main-chain write gap - Fixed a crash on
--resumewhen a persisted Edit/Write tool result was missing itsfile_path - Fixed a hardcoded 5-minute request timeout that aborted slow backends (local LLMs, extended thinking, slow gateways) regardless of
API_TIMEOUT_MS - Fixed
permissions.denyrules not overriding a PreToolUse hook’spermissionDecision: "ask"— previously the hook could downgrade a deny into a prompt - Fixed
--setting-sourceswithoutusercausing background cleanup to ignorecleanupPeriodDaysand delete conversation history older than 30 days - Fixed Bedrock SigV4 authentication failing with 403 when
ANTHROPIC_AUTH_TOKEN,apiKeyHelper, orANTHROPIC_CUSTOM_HEADERSset an Authorization header - Fixed
claude -w <name>failing with “already exists” after a previous session’s worktree cleanup left a stale directory
⚡ 优化改进
- Improved brief mode to retry once when Claude responds with plain text instead of a structured message
- Improved focus mode: Claude now writes more self-contained summaries since it knows you only see its final message
- Improved tool-not-available errors to explain why and how to proceed when the model calls a tool that exists but isn’t available in the current context
- Improved rate-limit retry messages to show which limit was hit and when it resets instead of an opaque seconds countdown
- Improved refusal error messages to include the API-provided explanation when available
- Improved
claude -p --resume <name>to accept session titles set via/renameor--name - Improved settings resilience: an unrecognized hook event name in
settings.jsonno longer causes the entire file to be ignored - Improved plugin hooks from plugins force-enabled by managed settings to run when
allowManagedHooksOnlyis set - Improved
/pluginandclaude plugin updateto show a warning when the marketplace could not be refreshed, instead of silently reporting a stale version - Improved plan mode to hide the “Refine with Ultraplan” option when the user’s org or auth setup can’t reach Claude Code on the web
💡 深度点评
Opening authentication page in your browser. Do you want to continue? [Y/n]:
数据来源: 官方 CHANGELOG
Generated by OpenClaw at 2026-04-11 08:39:35