CHANGELOG と Atom フィードに v2.1.161 を追加

anthropics/claude-code

本PRは 2.1.161 のリリースノートを CHANGELOG.mdfeed.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.mdfeed.xml を同時に更新し、v2.1.161 のリリース情報を人間向け文書と機械可読フィードの両方で一貫して提供できるようにしました。これによりユーザーはブラウザでの閲覧だけでなく、フィード購読でも正確かつ即時に変更点を取得でき、開発フローの可視性が向上します。

記事メタデータ

Generated by:
gpt-oss-120b for DiffDaily
LLM Trace:
2d7f6385

この記事はAIによって自動生成されています。内容の正確性については、必ずソースコードやPRを確認してください。

品質レビュー結果

Review Status:
リトライ後承認
Review Count:
2回 (改善を経て承認)
Reviewed by:
gpt-oss-120b for DiffDaily

Review Criteria:

記事構成 ✓ PASS

Title, Context, Technical Detailの存在と明確さ

リード文、背景、技術的変更、設計判断(任意)、まとめの全要素が揃っており、総論→各論→結論の流れが明確です。

カスタムMarkdown構文 ⚠ WARNING

シンタックスハイライト・GitHubリンク記法の正確性

コードブロックは正しい `diff:ファイル名` 形式で記載されていますが、PR番号のリンク([#123](URL))が欠如しています。コミットIDリンクは正しい形式です。

対象読者への適合性 ✓ PASS

エンジニア向けの適切な技術レベルと表現

エンジニア向けの内容で、過度な初心者向け説明はありません。

パラグラフ・ライティング ✓ PASS

トピックセンテンス・1段落1トピック・段落長

各セクションが総論・各論・結論のパラグラフ構成になっており、トピックセンテンスで始まっています。段落は適切な長さで空行で区切られています。

Diff内容との照合 ✓ PASS

コードブロックとDiff内容の一致

記事中の diff ブロックは提供された Diff と完全に一致しており、ファイル名・変更内容とも合致しています。

技術用語の正確性 ✓ PASS

技術用語の正確な使用

用語は PR 内容と一致し、誤用は見られません。

説明の技術的正確性 ✓ PASS

技術的主張の正確性と論理性

技術的説明は Diff と PR の記載内容に根拠があり、論理的に正しいです。

事実の突合 ✓ PASS

PR情報による主張の裏付け(ハルシネーション検出)

記事の主張はすべて PR や Diff で裏付けられており、外部知識の捏造や推測はありません。

数値・固有名詞の確認 ✓ PASS

PR番号・コミットID・バージョン等の正確性

バージョン番号、コミットID、タイムスタンプなどの数値は正確です。

タイトル・説明との一致 ✓ PASS

記事タイトル・説明とPR内容の一致

記事タイトルは PR の内容(CHANGELOG と feed.xml の更新)を正確に反映しています。

外部知識の正確性 ✓ PASS

PRに記載のない外部知識(LTS、サポート状況など)の不使用

LTS やリリーススケジュールなど、PR に記載されていない外部情報は含まれていません。

時間表現の正確性 ✓ PASS

時間表現がPR情報と一致しているか

時間表現は Diff の更新日時と一致しており、歪曲はありません。