Claude Code v2.1.49 Released: Background Agent Kill Fix, Startup Speedups, and Yoga WASM Memory Leaks Squashed
Anthropic ships Claude Code v2.1.49 with roughly 20 changes, including a fix for Ctrl+C and ESC being silently ignored during background agent execution, multiple startup performance improvements via MCP batching and auth-failure caching, an end to Yoga WASM memory growth in long sessions, file editing in simple mode, and new SDK capability fields.
Anthropic published Claude Code v2.1.49 to npm on February 20, 2026 (UTC), roughly one day after v2.1.47. The release contains approximately 20 changes focused on background agent control, startup performance, persistent memory leaks in long-running sessions, and SDK improvements. v2.1.48 does not appear to have reached the latest tag — v2.1.49 is the direct successor.
Background Agent Control Is Now Reliable
One of the more frustrating regressions in recent builds has been fixed: pressing Ctrl+C or ESC while background agents are running and the main thread is idle was silently ignored. Starting with v2.1.49, pressing either key twice within three seconds will terminate all background agents. For users running parallelized agentic workflows, this restores a basic and critical escape hatch.
Startup Performance: Three Layers of Improvement
Anthropic tackled startup latency from multiple angles in this release.
First, MCP tool token counting is now batched into a single API call instead of one call per tool. On setups with many MCP servers installed, this alone reduces startup HTTP traffic substantially.
Second, authentication failures for HTTP and SSE MCP servers are now cached, eliminating repeated connection attempts to servers that require authentication the user hasn’t configured. Previously, every startup would hammer unavailable endpoints.
Third, the non-interactive mode (-p flag) now skips unnecessary API calls during initialization, making scripted and CI/CD usage faster and cheaper.
Yoga WASM Memory Growth Fixed — Twice
Two separate bugs caused Yoga (the layout engine used for Claude Code’s terminal UI) to grow its WASM linear memory without bound during long sessions. Both are fixed in v2.1.49. Separately, the tree-sitter parser — used for syntax-aware code handling — is now periodically reset to prevent its own WASM memory from accumulating. Stale yoga layout references that could trigger rendering glitches have also been cleaned up.
The practical result: sessions running for hours should no longer see continuously growing RAM usage from these components.
Simple Mode Gains File Editing
The CLAUDE_CODE_SIMPLE environment variable enables a stripped-down interaction mode. Previously this mode only exposed the Bash tool. v2.1.49 adds the file edit tool to simple mode, allowing direct file creation and modification without going through shell commands. This makes simple mode usable for a broader class of coding tasks.
Plugin Scope Auto-Detection
plugin enable and plugin disable now automatically detect the correct scope (user or project) when --scope is not passed explicitly. Previously, the commands always fell back to user scope, which could silently operate on the wrong configuration layer when working inside a project with project-scoped plugins.
SDK Improvements
Model capability discovery. The SDK model info object now exposes supportsEffort, supportedEffortLevels, and supportsAdaptiveThinking fields. SDK consumers no longer need to hardcode per-model capability checks; they can query these fields at runtime.
ConfigChange hook. A new ConfigChange hook event fires whenever configuration files change during an active session. Enterprise deployments can use this to implement security auditing or to block unauthorized settings changes through policy.
Permission suggestions on safety blocks. When a safety check triggers an ask response, permission options are now populated and surfaced to SDK consumers, enabling richer UX in tools built on top of the SDK.
Other Notable Fixes
- Prompt suggestion cache regression fixed. Cache hit rates had dropped in a recent build; this release restores expected behavior.
- Verbose mode toggle bug fixed. Using
/configto toggle verbose mode was not updating the thinking block display. The memo comparators now correctly detect verbose setting changes. --resumepicker cleaned up. Sessions that began with commands like/clearwere showing raw XML tags in the session picker. The display now falls through to the session ID fallback correctly.disableAllHookshierarchy fix. ThedisableAllHookssetting was allowing non-managed configurations to disable hooks set by enterprise policy. The fix enforces that managed hooks cannot be disabled by user-level settings (#26637).- Permission prompts now show context. Prompts triggered by path safety and working directory blocks now display the reason for the restriction rather than presenting a bare prompt with no explanation.
Sonnet 4.6 Gets 1M Context on Max Plan
Anthropic is removing Sonnet 4.5 with 1M context from the Max plan. Sonnet 4.6 — the current frontier Sonnet model — now supports 1M context and replaces it. Users on the Max plan who have Sonnet 4.5 selected in /model will need to switch manually.
Version Details
- Version: 2.1.49
- Published: February 20, 2026 (UTC)
- npm: @anthropic-ai/claude-code
- Install / upgrade:
npm install -g @anthropic-ai/claude-code@2.1.49
Related Articles
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.
Claude Code v2.1.50: Worktree Hooks, Agent Memory Overhaul, Opus 4.6 Gets 1M Context
Anthropic ships Claude Code v2.1.50 with WorktreeCreate/WorktreeRemove hook events, declarative worktree isolation in agent definitions, a fix for session data loss on SSH disconnect, a native module compatibility fix for older glibc Linux systems, an avalanche of memory leak fixes targeting long-running sessions, and Opus 4.6 fast mode now supporting the full 1M context window.
Claude Sonnet 4.6 Becomes the Default for Free and Pro Users — Outperforms Opus 4.5 on Coding Agent Benchmarks
Anthropic has made Claude Sonnet 4.6 the default model for claude.ai's Free and Pro plans. Released February 17, 2026, it matches Sonnet 4.5 pricing at $3/$15 per million tokens while internal Claude Code evaluations show it beating the previous frontier model, Opus 4.5, 59% of the time on agentic coding tasks.
Popular Articles
868 Agentic Skills, One Command: Antigravity Awesome Skills Becomes the Cross-Tool Skill Standard
Antigravity Awesome Skills (v5.4.0) delivers 868+ battle-tested skills for Claude Code, Gemini CLI, Codex CLI, Cursor, GitHub Copilot, and five other AI coding assistants via a single npx command. With official skills from Anthropic, Vercel, OpenAI, Supabase, and Microsoft consolidated under one MIT-licensed repository, it's emerging as the portable skill layer for the fragmented AI coding agent landscape.
How Claude Sonnet 4.6 Agent Teams Achieve 4x Productivity: Practical Insights from Anthropic's Own Research
Two Anthropic studies—a survey of 132 internal engineers and an analysis of 1M+ real-world agent interactions—reveal the precise delegation strategies and autonomy patterns that enable high-performing teams to multiply output with Claude Sonnet 4.6 agent teams.
What Actually Makes OpenClaw Special: The Full Story from VibeTunnel to 200k+ GitHub Stars
The three-stage VibeTunnel→Clawdbot→OpenClaw evolution, Pi runtime philosophy, why HEARTBEAT is the real differentiator from Claude Code, and the ClawHub supply chain attack (12% of skills were malicious). An unvarnished look at the most used and most misunderstood OSS agent.
Latest Articles
Two AI Agent Communication Projects Hit Hacker News Simultaneously, Targeting MCP's Blind Spots
Aqua and Agent Semantic Protocol appeared on Hacker News on the same day, both tackling the same unsolved problem: how AI agents communicate directly without a central broker, across network boundaries, and asynchronously.
Claude Sonnet 4.6 Becomes the Default for Free and Pro Users — Outperforms Opus 4.5 on Coding Agent Benchmarks
Anthropic has made Claude Sonnet 4.6 the default model for claude.ai's Free and Pro plans. Released February 17, 2026, it matches Sonnet 4.5 pricing at $3/$15 per million tokens while internal Claude Code evaluations show it beating the previous frontier model, Opus 4.5, 59% of the time on agentic coding tasks.
Google Permanently Bans AI Pro Users for Accessing Gemini via OpenClaw, Continues Charging $250/Month
A Hacker News post garnering 140 points and 107 comments details how Google terminated Google AI Pro and Ultra accounts without warning after users accessed Gemini through OpenClaw, a third-party client. The incident surfaces deeper issues around prompt caching, subscription economics, and how AI providers enforce terms of service.