跳到正文
Claude Code:GitHub Releases· ashwin-ant·· 2026-04-29AI 评分52

版本v2.1.122更新摘要

v2.1.122

AI 导读

本次更新主要新增了通过环境变量选择Bedrock服务层级的功能,并支持在/resume搜索框粘贴PR链接以定位创建该PR的原始会话。同时修复了多项关键问题:修正了源会话含时间线回退条目时,/branch命令可能创建失败分支的问题;解决了发送给新版模型的图像被错误调整为2576px(应为2000px上限)的问题;增强了OpenTelemetry日志记录,确保数字属性以数值类型输出;并修复了Vertex AI/Bedrock在生成会话标题等场景下可能返回无效请求错误的问题。此外,还包含对MCP工具显示、CLI命令退出行为等多项细节的优化与修正。

正文 · 原文

What's changed

  • Added ANTHROPIC_BEDROCK_SERVICE_TIER environment variable to select a Bedrock service tier (default, flex, or priority), sent as the X-Amzn-Bedrock-Service-Tier header
  • Pasting a PR URL into the /resume search box now finds the session that created that PR (GitHub, GitHub Enterprise, GitLab, and Bitbucket)
  • /mcp now shows claude.ai connectors hidden by a manually-added server with the same URL, with a hint to remove the duplicate
  • Clarified the /mcp message shown when an MCP server is still unauthorized after the browser sign-in flow
  • OpenTelemetry: numeric attributes on api_request/api_error log events are now emitted as numbers, not strings
  • OpenTelemetry: added claude_code.at_mention log event for @-mention resolution
  • Fixed /branch producing forks that fail with "tool_use ids were found without tool_result blocks" when the source session contained entries from rewound timelines
  • Fixed /model not showing the Effort option for Bedrock application inference profile ARNs, and those ARNs not receiving output_config.effort
  • Fixed Vertex AI / Bedrock returning invalid_request_error: output_config: Extra inputs are not permitted on session-title generation and other structured-output queries
  • Fixed Vertex AI count_tokens endpoint returning 400 errors for users behind proxy gateways
  • Fixed spinnerTipsOverride.excludeDefault not suppressing the time-based spinner tips
  • Fixed ToolSearch missing MCP tools that connected after session start in nonblocking mode
  • Fixed !exit / !quit in bash mode terminating the CLI instead of running as a shell command
  • Fixed images sent to newer models being resized to 2576px per side instead of the correct 2000px maximum
  • Fixed remote control session idle status redrawing twice per second, which could flood tmux -CC control pipes and pause the terminal
  • Fixed assistant messages appearing blank in some sessions due to a stale view preference
  • Fixed a malformed hooks entry in settings.json no longer invalidating the entire file
  • Voice mode: keybindings bound to Caps Lock now show an error since terminals don't deliver Caps Lock as a key event
  • claude-darwin-arm64.tar.gz sha256:fff293765fcb3fd254aabba9d86bfa5ddef9b2c1c37b6e548db740cf4eb367e7 60.7 MB 2026-04-28T17:40:28Z
  • claude-darwin-x64.tar.gz sha256:57005a864bcba70e9b9a4cb602496f0b80ac3119ed07e8462b667f0e9d5c9820 62.4 MB 2026-04-28T17:40:28Z
  • claude-linux-arm64-musl.tar.gz sha256:af09d7054debd6cd5d79910c064145bf4b7782194160a14dabbaacc66153d706 71.2 MB 2026-04-28T17:40:28Z
  • claude-linux-arm64.tar.gz sha256:df342c954b211d1f1d2c490710cfe94d224178fca06ac80b6f9991f01c4d5879 73.2 MB 2026-04-28T17:40:28Z
  • claude-linux-x64-musl.tar.gz sha256:97fe273a7787a53de762d88b49289ee31afdd5034f4d013ee66fd269c670a48c 71.6 MB 2026-04-28T17:40:28Z
  • claude-linux-x64.tar.gz sha256:1fa60f019ebc6263a4cc24cc3d110c40a2c362ec7711b9452d9068770827cfab 73.4 MB 2026-04-28T17:40:32Z
  • claude-win32-arm64.zip sha256:7c9a39cd547341fe19a889d79a40d1d015d5cc6f3f96486eeaa5a78bf53ec001 72.9 MB 2026-04-28T17:40:32Z
  • claude-win32-x64.zip sha256:659cb525d68f0e3db80f7ecf7fb4bbd8ba46bf4497f2733ef40d30d3701dd60f 74.7 MB 2026-04-28T17:40:33Z
  • SHASUMS256.txt sha256:16d3f4545646a06bba3e7eda4d68fc214b33d15c4ad6c8f1c96248de1c432617 734 Bytes 2026-04-28T17:40:33Z
  • SHASUMS256.txt.sig sha256:249e5ad02a64ece30ac460a36edbf9d97e057fa5eba87cb59d5fb3e3ebd269fc 833 Bytes 2026-04-28T17:40:33Z
  • Source code(zip) 2026-04-28T22:05:09Z
  • Source code(tar.gz) 2026-04-28T22:05:09Z

来源:Claude Code:GitHub Releases · github.com