CHANGELOG と Atom フィードに v2.1.161 を追加
本PRは 2.1.161 のリリースノートを CHANGELOG.md と feed.xml に反映し、利用者と自動化ツールが最新変更点を取得できるようにします。
背景
リリース情報は開発者が機能追加やバグ修正を把握するための重要な情報源であり、CHANGELOG は人間向け、Atom フィード は機械向けに提供されます。2.1.160 までの履歴に続き、2.1.161 で多数の改善が行われたため、両方のドキュメントを同期させる必要が生じました。この同期により、ユーザーはリポジトリ閲覧だけでなく、フィード購読でも正確な更新を得られます。
技術的な変更
CHANGELOG.md に新見出し ## 2.1.161 が追加され、25 件の箇条書き項目が挿入されました。主な変更点は OTEL_RESOURCE_ATTRIBUTES のラベル化、UI 表示改善、ツール呼び出しの独立化、Linux クリップボード機能拡張、各種バグ修正、レンダリング性能向上です。
@@ -1,5 +1,30 @@
# Changelog
+## 2.1.161
+
+- `OTEL_RESOURCE_ATTRIBUTES` values are now included as labels on metric datapoints, so you can slice usage metrics by custom dimensions like team or repo
+- `claude agents` rows now show `done/total` before the detail when work is fanned out; peek shows the longest-running item
+- `/mcp` now collapses claude.ai connectors you've never signed in to behind a "Show unused connectors" row
+- Parallel tool calls: a failed Bash command no longer cancels other calls in the same batch — each tool returns its own result independently
+- Fullscreen mode: clipboard now uses `wl-copy`/`xclip`/`xsel` on Linux when available, copies to both the clipboard and PRIMARY selection for middle-click paste, and the "hold {key} for native selection" hint now shows the correct key per terminal
+- Fixed the `/effort` dialog, workflow animations, and prompt keyword shimmer not honoring the "Reduce motion" setting
+- Fixed `forceLoginOrgUUID`/`forceLoginMethod` managed-settings policies blocking third-party provider sessions (Bedrock, Vertex, Foundry, Mantle) alongside the org pin (regression in 2.1.146)
+- Fixed background subagent output corrupting `claude -p` stdout when using `--output-format text` or `json`
+- Fixed `/usage-credits` starting a re-login for Team and Enterprise admins instead of pointing to the organization's usage settings page
+- Fixed `/autofix-pr` reporting "cannot run on the default branch" when the session is inside a git worktree or another repository
+- Fixed `--resume` picker not showing sessions from the current directory when it isn't a git worktree (e.g., jj workspaces)
+- Fixed Windows hooks that invoke bash explicitly (e.g., `/usr/bin/bash script.sh`) failing with "command not found" or "cannot execute binary file"
+- Fixed OpenTelemetry log events (`user_prompt`, `api_request`, `tool_result`, `tool_decision`) being silently dropped when emitted before telemetry initialization completed
+- Fixed `claude mcp` list/get/add printing secrets to the terminal: `${VAR}` references are no longer expanded, and credential headers and URL secrets are redacted
+- Fixed Workflow agents spawned with `isolation: "worktree"` in background sessions being blocked from editing files inside their own worktree
+- Fixed background sessions dispatched from `claude agents` booting on a stale model from the daemon's environment instead of the model in `settings.json`
+- Fixed a potential crash when rendering Write tool results after resuming a session
+- Fixed completed subagents getting stuck showing as running when an error occurs while finalizing their result
+- Fixed `EADDRINUSE` errors from tools that bind Unix sockets under `$TMPDIR` when `CLAUDE_CODE_TMPDIR` is set to a deep path
+- Improved terminal rendering performance by stabilizing the layout engine's JIT compilation profile
+- Improved rendering performance for large file writes
+- [VSCode] Added a tip suggesting disabling terminal GPU acceleration (or running `/terminal-setup`) to fix garbled glyphs
feed.xml では <updated> タグが最新時刻 2026-06-02T21:58:16Z に更新され、同時に新しい <entry> 要素が追加されました。エントリはリリース ID、タイトル、リンク、更新日時、そして CHANGELOG と同内容の HTML エンコードされた <content> を含みます。さらに、過去の不要エントリ(v2.1.138)が削除され、フィードは最新リリースに焦点を合わせる形に整理されました。
@@ -6,7 +6,35 @@
<author><name>Anthropic</name></author>
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md"/>
<link rel="self" type="application/atom+xml" href="https://raw.githubusercontent.com/anthropics/claude-code/main/feed.xml"/>
- <updated>2026-06-02T02:10:17Z</updated>
+ <updated>2026-06-02T21:58:16Z</updated>
+ <entry>
+ <id>https://github.com/anthropics/claude-code/releases/tag/v2.1.161</id>
+ <title>Claude Code v2.1.161</title>
+ <link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.161"/>
+ <updated>2026-06-02T21:58:16Z</updated>
+ <content type="html">…(CHANGELOG の箇条書きが HTML で埋め込まれる)…</content>
+ </entry>
設計判断
リリース情報を Atom フィード の <content> に HTML 形式で丸ごと埋め込む選択は、フィード利用者が追加パース処理なしで完全な変更点を取得できるようにする意図を示しています。これにより、CLI ツールや CI パイプラインが直接変更内容を取得しやすくなります。古いエントリ(v2.1.138)を削除したのは、フィードの肥大化防止と最新情報の可視性向上という方針によります。過去バージョンの詳細は Git のタグやリリースページで参照可能です。
まとめ
本PRは CHANGELOG.md と feed.xml を同時に更新し、v2.1.161 のリリース情報を人間向け文書と機械可読フィードの両方で一貫して提供できるようにしました。これによりユーザーはブラウザでの閲覧だけでなく、フィード購読でも正確かつ即時に変更点を取得でき、開発フローの可視性が向上します。