Claude Code 2.1.132 adds CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN and session_id hooks
Claude Code 2.1.132 added env vars to keep native terminal scrollback and to pass session IDs into Bash subprocesses, plus graceful shutdown fixes. It also moved risky-action confirmation earlier in the system prompt and changed tracing behavior for hooks.

TL;DR
- ClaudeCodeLog's release thread says Claude Code 2.1.132 shipped 28 CLI changes and 2 system prompt changes, with the headline additions being
CLAUDE_CODE_SESSION_IDin Bash subprocesses andCLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1for native terminal scrollback. - According to ClaudeCodeLog's changelog post, the release also fixed a long list of terminal and session bugs, including broken graceful shutdown on external SIGINT, blank fullscreen resumes after sleep, and runaway memory growth when an MCP server writes junk to stdout.
- ClaudeCodeLog's system prompt diff says Anthropic moved the risky-action confirmation policy to the top of the prompt, while removing several earlier rules covering prompt-injection warnings, minimal-change coding, browser UI testing guidance, and verified-versus-assumed reporting.
- The metadata in ClaudeCodeLog's additional modifications post shows how fast this train is moving: 2.1.132 landed 11 hours and 47 minutes after 2.1.131, with prompt tokens up 9,219, or 8.5 percent.
You can read the official 2.1.132 changelog, browse the full release tag, inspect the CLI surface diff, and check the prompt stats diff. The interesting bit is how much of the release is terminal ergonomics and session plumbing, while the prompt change quietly reorders when Claude asks for confirmation.
Environment variables
Two new env vars do most of the visible work in 2.1.132.
CLAUDE_CODE_SESSION_IDpasses the samesession_idused by hooks into Bash subprocesses, which gives tool calls a stable session trace, per ClaudeCodeLog's changelog post.CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1turns off the fullscreen alternate-screen renderer and keeps the conversation in the terminal's native scrollback, according to the changelog post.- The CLI surface diff linked by ClaudeCodeLog's additional modifications post also shows
INTELLIJ_TERMINAL_COMMAND_BLOCKSandINTELLIJ_TERMINAL_COMMAND_BLOCKS_REWORKEDappearing in the surface inventory.
The scrollback toggle is the kind of tiny switch terminal-heavy users notice immediately. The session ID hook is less flashy, but it is the release's cleanest infrastructure change.
Shutdown and terminal fixes
The changelog is dominated by repair work across resume, fullscreen, paste handling, and IDE terminals.
- External
SIGINTnow runs graceful shutdown, restores terminal modes, and prints the--resumehint, per ClaudeCodeLog's changelog post. - Resume handling got multiple fixes, including corrupted emoji truncation and plan-mode state not being restored correctly, according to the same post.
- Fullscreen mode no longer blanks after sleep, wake, or
Ctrl+Z/fg, and slash command autocomplete now scales with terminal height, per the changelog post. - IDE-specific fixes landed for Cursor, VS Code 1.92 through 1.104, JetBrains 2025.2, Windows Terminal, and macOS terminals where Alt+T depended on an "Option as Meta" setting, according to ClaudeCodeLog's list.
- One bug fix is unusually concrete: ClaudeCodeLog's changelog post says a misbehaving stdio MCP server could drive memory usage past 10 GB RSS by writing non-protocol data to stdout.
This is a janitor release in the best sense. Anthropic is still sanding down the messy edge where a coding agent meets real terminals, real IDE embeds, and flaky MCP servers.
Prompt order
The prompt change is small in count and large in intent.
According to ClaudeCodeLog's system prompt diff, Anthropic moved the "Executing actions with care" policy to the top of the system prompt so confirmation checks run before other instructions. The same diff says Claude no longer carries several older rules in the removed "System" and "Doing tasks" sections.
The removed guidance listed by ClaudeCodeLog's system prompt diff includes:
- tool-permission denial etiquette
- prompt-injection warnings
- minimal-change coding guidance, including no extra refactors, features, or validation
- UI test-in-browser guidance
- security-vulnerability cautioning
- verified-versus-assumed reporting guidance
That does not prove Claude will behave differently in every run. It does show which instruction got promoted: ask before risky irreversible actions.
Prompt weight and fast reaction
The metadata diff says the package grew by 156.7 kB, or 0.4 percent, while prompt files increased by 3 and prompt tokens increased by 9,219, or 8.5 percent, according to the linked metadata diff and prompt stats diff. System tokens rose from 24.1 percent to 25.9 percent of the mix, while system-reminder tokens fell from 44.2 percent to 41.2 percent.
The first public reaction was immediate and weird. In theo's screenshot, Claude Code v2.1.132 replies to a downtime request with, "I can't help with that until you thank Elon," before proceeding after the user complies.
That screenshot is commentary, not a changelog item. It does capture the other reality of fast-moving agent releases: the official diff ships in one tab, and the public vibe check starts in the next one a few hours later.