Claude Code v2.1.132: SIGINT Graceful Shutdown, MCP Fixes, and Terminal Handling Overhaul

Anthropic shipped Claude Code v2.1.132 with a heavy focus on terminal reliability, MCP server robustness, and edge-case fixes that matter when you're running AI coding agents for hours on end. Here's what changed for developers and CI pipelines.
Environment Variables and Session Plumbing
CLAUDE_CODE_SESSION_IDis now exported into the Bash tool subprocess environment, matching thesession_idpassed to hooks. Useful for tracking tool calls back to a session.CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1lets you opt out of the fullscreen alternate-screen renderer, keeping the conversation in the terminal's native scrollback.
Graceful Shutdown and Resume Fixes
- External
SIGINT(e.g., IDE stop button,kill -INT) now triggers a graceful shutdown: terminal modes are restored and the--resumehint is printed instead of an abrupt exit. --resumeno longer fails withno low surrogate in stringwhen a tool error truncation split an emoji; pre-corrupted sessions are sanitized on load.--permission-modeflag is now respected when resuming a plan-mode session with-p --continue / --resume, and plan mode is re-applied afterExitPlanModewithin the same session.
Terminal and Input Handling
- Fullscreen mode no longer shows a blank screen after laptop sleep/wake or Ctrl+Z/
fguntil the next keystroke or stream output. - Cursor now lands correctly on Ctrl+E/A/K/U/arrow keys when an Indic conjunct or ZWJ emoji wraps across lines.
- Vim operators no longer corrupt text containing decomposed (NFD) accented characters.
- Pasting text starting with
/no longer swallows input or triggers an unknown-command reply. - Stray escape sequences from focus events or mouse-tracking reports interleaved with bracketed paste are no longer dumped into the prompt.
- Mouse wheel scrolling speed normalized in Cursor and VS Code 1.92–1.104 (upstream xterm.js bug) and in JetBrains IDE 2025.2 terminals (spurious arrow keys, wrong-direction events, runaway acceleration).
/usageCtrl+S no longer hangs when copying the stats screenshot to the clipboard on Linux/X11./terminal-setupno longer shows a contradictory error in Windows Terminal — Shift+Enter is natively supported there./effortpicker now reflects theCLAUDE_CODE_EFFORT_LEVELenv var override./statusfixed for showing the wrong default model for some users.- Slash command autocomplete popup now scales vertically with terminal height instead of being capped at ~3–5 visible commands.
- Statusline
context_windowtoken counts now reflect current context usage, not cumulative session totals. - Alt+T (thinking toggle) works on macOS terminals without 'Option as Meta' enabled (iTerm2, Terminal.app defaults).
- Dead keyboard input on Windows after re-opening a background session from
claude agentsis fixed.
MCP Server Stability
- Unbounded memory growth (10GB+ RSS) when a stdio MCP server writes non-protocol data to stdout is fixed.
- MCP servers that connect but fail
tools/listnow retry once and show 'connected · tools fetch failed' in/mcpinstead of silently showing 0 tools. - Unauthorized claude.ai MCP connectors now show as 'needs auth' instead of 'failed', and headless
-pmode no longer retries non-transient 4xx connection failures.
Other Improvements
- Visual consistency improved in slash command dialogs and
/login,/upgrade,/extra-usagedialog spacing. /tui fullscreenstartup banner updated to describe additional renderer benefits (lower memory usage, mouse support, auto-copy on select).- Fixed Bedrock and Vertex 400 errors when
ENABLE_PROMPT_CACHING_1His set.
This release is particularly relevant for developers running Claude Code in headless CI environments (where graceful shutdown and session resume matter), users of IDE terminals with non-standard escape handling, and teams relying on MCP servers for custom tool integrations.
📖 Read the full source: GitHub Claude-Code
👀 See Also

llama.cpp Q8_0 quantization gets 3.1x speedup on Intel Arc GPUs with SYCL reorder fix
A fix to llama.cpp's SYCL backend brings Q8_0 quantization on Intel Arc GPUs from 21% to 66% of theoretical memory bandwidth, achieving 15.24 tokens/second versus 4.88 tokens/second previously on an Arc Pro B70 with Qwen3.5-27B.

India's Sarvam and Krutrim build frugal AI models for local needs
Indian startups Sarvam AI and Krutrim are developing sovereign AI models optimized for low-end smartphones and low bandwidth networks, with Sarvam's 24-billion parameter SarvamM model trained across 10 Indian languages.

Anthropic offers free Claude Max 20x for open-source maintainers
Anthropic's Claude for Open Source Program provides 6 months of free Claude Max 20x to eligible open-source maintainers and contributors. Applications are reviewed on a rolling basis for up to 10,000 contributors.

Anthropic Policy Update Bans Third-Party Tools for Claude Pro/Max Users
Anthropic updated their policy in February 2026 to explicitly ban any script, wrapper, or third-party tool usage with Claude Pro or Max plans, resulting in lifetime bans for users who violate this policy. High-tier Max plan users engaging in heavy coding sessions are being targeted in a March 2026 enforcement wave.