← Back to all releases

v2.1.145 Claude Code Release Notes

Claude's Analysisby Sonnet 4.6
Full Analysis

Major stability pass fixing a security permission bypass plus 11 bugs across agents, hooks, Windows, MCP, and plugins; claude agents --json adds live session scripting.

Changes
20
Total Changes (vs Average)
0.9×
Version Type
Patch
Release Focus
Bug Fixes
Day Since Prior Release
1
Release # This Month
#16 of 27
Bug Fix Ratio
60%
Post-Release Edits
—
How does this release compare? Release pace, fix share and issue trends since April 2025.See all-time statistics
Change Category
Ecosystem Impact
Windows has appeared in 9 of the last 10 releases and Plugins/Skills in 8 of 10 — the most sustained non-core platform concentration of May's release cycle, reflecting a clear push for Windows parity and plugin ecosystem maturity.
Key Themes
1Security: Permission Bypass Patched|6Agent Observability & Orchestration|5Plugin, Skill & MCP Hardening|4Terminal & Cross-Platform Reliability|4Developer Workflow & GitHub Integration
May Help If You've Noticed
Bash commands that assign to environment variables were silently approved without a permission prompt
Your terminal spinner or elapsed time freezes until you press a key after resizing the window
Cross-project session resume throws an error in Windows PowerShell 5.1
A skill using context: fork causes Claude to loop indefinitely instead of completing
Reading a large file with Claude causes a hard error instead of returning partial content

Changes in Claude Code v2.1.145

Added2 changes

  • •Added claude agents --json to list live Claude sessions as JSON for scripting (tmux-resurrect, status bars, session pickers)
  • •Added agent_id and parent_agent_id attributes to claude_code.tool OTEL spans, and fixed trace parenting so background subagent spans nest under the dispatching Agent tool span

Improved1 change

  • •Improved the Read tool to return a truncated first page with a "PARTIAL view" notice instead of a hard error when a whole-file read exceeds the token limit

Fixed12 changes

  • •Fixed a permission-prompt bypass where bare variable assignments to non-allowlisted environment variables in Bash commands were auto-approved
  • •Fixed MCP prompt slash commands showing raw server validation errors when a required argument is omitted — the error now names the missing argument and shows expected usage
  • •Fixed the spinner and elapsed-time display freezing until a keypress after the terminal was resized or refocused
  • •Fixed the cross-project resume hint failing in default Windows PowerShell 5.1 — Windows now uses ; as the command separator
  • •Fixed voice push-to-talk not working in the agent view's reply pane
  • •Fixed task lists rendering in random order when several tasks are created at once
  • •Fixed stale "Failed to install Anthropic marketplace" banner showing when the marketplace is already installed
  • •Fixed the PR badge in the footer not updating immediately after gh pr create and other PR-state-changing commands run in-session
  • •Fixed Agent Teams teammates with non-ASCII names failing every API call due to invalid header encoding
  • •Fixed /review using a deprecated projectCards GraphQL query that errored on repos with Classic Projects
  • •Fixed claude plugin validate not flagging skills: entries that point at a file instead of a directory — the error now suggests the parent directory
  • •Fixed an infinite loop where a skill using context: fork could repeatedly re-invoke itself instead of running

Other5 changes

  • •Status line JSON input now includes GitHub repo and PR information when detected
  • •/plugin Discover and Browse screens now show a plugin's commands, agents, skills, hooks, and MCP/LSP servers before installation
  • •claude agents terminal tab title now shows the awaiting-input count so an alt-tabbed window tells you when an agent needs attention
  • •Slash command and @-mention suggestion list now supports mouse hover and click in fullscreen mode
  • •Stop and SubagentStop hook input now includes background_tasks and session_crons fields