Claude Code v2.1.47 Released: 40+ Bug Fixes, Windows Overhaul, Memory Improvements, and Faster Startup
Anthropic ships Claude Code v2.1.47 with over 40 bug fixes targeting Windows rendering bugs, long-session memory leaks, a ~500ms startup improvement, plan mode preservation after compaction, and a revamped background agent kill shortcut.
Anthropic published Claude Code v2.1.47 to npm on February 18, 2026 (UTC). The release is a broad maintenance update containing more than 40 bug fixes alongside several performance and usability improvements. No new headline features are introduced; the focus is squarely on reliability.
Windows Reliability Overhaul
Windows users receive the densest cluster of fixes in this release.
Terminal rendering was broken by os.EOL (\r\n) line endings leaking into display code, causing line-count displays to show 1 instead of the correct value. Bold and colored Markdown text was also shifting to wrong characters on Windows for the same reason. Both are now fixed.
Bash tool output was being silently discarded for users running MSYS2 or Cygwin shells. A separate fix stops CWD-tracking temp files from accumulating indefinitely (issue #17600). Image pasting now works on WSL2 systems where Windows copies images as BMP format (#25935). Worktree session matching now handles mixed drive-letter casing correctly.
Memory Improvements for Long Sessions
Three independent memory leaks in long-running agent sessions are addressed:
- API stream buffers, agent context, and skill state are now released after use.
- Agent task message history is trimmed after tasks complete.
- An O(n²) message accumulation in agent progress updates is eliminated.
Together these changes meaningfully reduce the memory footprint of multi-hour coding sessions.
Startup Performance
SessionStart hook execution is now deferred, reducing time-to-interactive by approximately 500 milliseconds.
VS Code Plan Preview Improvements
The plan preview panel in the VS Code extension now auto-updates as Claude iterates on a plan. Commenting is enabled only when the plan is ready for review, and rejecting a plan keeps the preview open so Claude can revise rather than closing it.
Background Agent Control Change
The shortcut to kill all background agents has changed. Previously, double-pressing ESC terminated them. Now, ctrl+f kills all background agents while a single ESC cancels only the main thread, leaving background agents running. This gives finer control over agent lifecycle during complex multi-agent sessions.
Session Management
Several session-resume issues are resolved:
/resumeno longer fails to find sessions whose first message exceeds 16KB (#25920, #25721).- Custom session titles set with
/renameare no longer lost after resuming a conversation (#23610). - Session names set via
/renamenow survive context compaction (#26121). - The session resume picker now shows 50 sessions on first load, up from 10 (#26123).
Context Compaction Fixes
Compaction was failing when a conversation contained many PDF documents; document blocks are now stripped alongside images before sending to the compaction API (#26188). A separate fix prevents plan mode from being lost after compaction, which was silently causing the model to switch from planning to implementation mode (#26061).
Agent and Skill Fixes
- User-defined agents now load all files on NFS/FUSE filesystems that report zero inodes, not just the first one (#26044).
- Plugin agent skills referenced by bare name (rather than fully-qualified plugin name) no longer silently fail to load (#25834).
- Project-level
.claude/agents/and.claude/skills/directories are now discovered when running from a git worktree. - The custom
modelfield in.claude/agents/*.mdis now respected when spawning team teammates (#26064). - Concurrent agent sessions no longer trigger API 400 errors (“thinking blocks cannot be modified”) caused by interleaved streaming content blocks.
Other Notable Fixes and Additions
@ file mentions: The file suggestion index is pre-warmed on startup and cached per session with background refresh, making file suggestions appear noticeably faster.
Bash permission classifier: A fix prevents the classifier from generating hallucinated match descriptions that don’t correspond to actual input rules — a subtle but security-relevant correctness bug.
Hook inputs: last_assistant_message is added to Stop and SubagentStop hook inputs, allowing hooks to access the final assistant response without parsing transcript files.
New keybinding: chat:newline is added as a configurable action for inserting literal newlines in multi-line input (#26075).
Statusline JSON: added_dirs is now exposed in the workspace section, making directories added via /add-dir visible to external scripts (#26096).
CJK layout: Wide CJK characters no longer cause misaligned timestamps and layout elements in the TUI (#26084).
Thinking mode: alwaysThinkingEnabled: true in settings.json now correctly activates thinking mode on Bedrock and Vertex providers (#26074).
MCP: MCP servers now appear in the MCP Management Dialog after deferred loading.
macOS FSEvents loop: Read-only git commands no longer trigger file watcher loops on macOS; --no-optional-locks is now passed (#25750).
Background agent results: Background agents now return the agent’s final answer instead of raw transcript data (#26012).
Upgrading
npm install -g @anthropic-ai/claude-code@2.1.47
Or from within Claude Code:
claude update
v2.1.47 was published to the npm registry at 20:15 UTC on February 18, 2026. No GitHub release tag has been created as of this writing. Full changelog is available in the CHANGELOG.md file.
関連記事
Claude Code v2.1.47 リリース - Windows対応強化・メモリ改善・40件超のバグ修正
Anthropicは2026年2月19日、Claude Code v2.1.47をリリースした。Windows環境の描画バグ修正、長時間セッションのメモリ改善、起動速度の向上(約500ms短縮)、コンテキスト圧縮後のプランモード保持など40件以上の修正が含まれる。
Claude Code v2.1.49 リリース - バックグラウンドエージェント制御改善・起動高速化・Sonnet 4.6の1Mコンテキスト対応
Anthropicは2026年2月20日、Claude Code v2.1.49をリリースした。バックグラウンドエージェント実行中のCtrl+C/ESC無視バグの修正、起動パフォーマンスの大幅改善、シンプルモードへのファイル編集ツール追加、Yoga WASMメモリリークの修正などが含まれる。また、MaxプランにおいてSonnet 4.6が1Mコンテキストに対応した。
Claude Code v2.1.50 リリース - Worktreeフック追加・大規模メモリリーク修正・Opus 4.6が1Mコンテキスト対応
Anthropicは2026年2月21日(JST)、Claude Code v2.1.50をリリースした。WorktreeCreate/WorktreeRemoveフックの追加、エージェント定義でのworktreeアイソレーション宣言対応、SSHセッション切断時のデータ損失修正、glibc 2.30以前のLinuxでのネイティブモジュール読み込み不具合修正、長時間セッションを対象とした複数のメモリリーク修正、Opus 4.6(高速モード)への1Mコンテキスト対応拡大などが含まれる。
人気記事
ChatGPT(OpenAI)とClaude(Anthropic)の機能比較 2026年版。コーディング・長文解析・コスト・API料金の違いを検証
ChatGPT(GPT-4o/o3)とClaude(Sonnet 4.6/Opus 4.5)を2026年時点の最新情報で比較する。コーディング能力、長文処理、日本語品質、API料金、無料プランの違いをSWE-benchなどのベンチマーク結果とともに解説する。
【2026年2月20日 所感】「AIがコードを書く」は仮説から現実になった——しかし私たちはその意味をまだ消化できていない
2026年2月20日に観測したコーディングエージェント関連ニュースの総括と所感。Anthropicの自律性研究、cmux、MJ Rathbunのエージェント事故、HN「外骨格 vs チーム」論争、Stripe Minions週1000件PR、Taalas 17k tokens/sec——朝から夜までの流れを通じて見えてきた「AIがコードを書く時代」の実相を考察する。
868のスキルをnpx 1コマンドで——「Antigravity Awesome Skills」が主要AIコーディングエージェントの共通スキル基盤になりつつある
Claude Code・Gemini CLI・Codex CLI・Cursor・GitHub Copilotなど主要AIコーディングアシスタントを横断する868以上のスキルライブラリ「Antigravity Awesome Skills」(v5.4.0)を詳細分析。Anthropic・Vercel・OpenAI・Supabase・Microsoftの公式スキルを統合した設計思想、ロール別バンドル・ワークフロー機能、SKILL.mdによる相互運用性のアーキテクチャを解説する。
最新記事
AIエージェント間通信の標準化競争が始まる——AquaとAgent Semantic Protocolが同日登場
2026年2月23日、Hacker Newsに2つのAIエージェント通信プロジェクトが同日掲載された。Go製CLI「Aqua」とセマンティックルーティングを実装する「Agent Semantic Protocol」は、MCPが解決できないP2P・非同期通信の課題に取り組む。
Claude Sonnet 4.6、無料・Proプランのデフォルトモデルに——社内テストでOpus 4.5を59%の確率で上回る
Anthropicは2026年2月17日にリリースしたClaude Sonnet 4.6を、claude.aiの無料・Proプランのデフォルトモデルに設定した。価格はSonnet 4.5と同額の$3/$15 per 1Mトークン。社内評価ではコーディングエージェント用途でOpus 4.5を上回る結果が出ている。
GoogleがOpenClaw経由のGemini利用ユーザーのアカウントを永久停止——月額$250請求継続のまま
2026年2月23日、Hacker Newsで140pt/107コメントを集めたレポートによると、GoogleはOpenClaw(サードパーティクライアント)経由でGeminiを使用していたGoogle AI Pro/Ultraユーザーを予告なしに永久停止した。技術的・経済的背景を整理する。