Claude Code v2.1.145
Claude Code v2.1.145 adds JSON session listing, OTEL agent span parenting, GitHub PR context in status lines, pre-install plugin details, and fixes a Bash env-variable permission-prompt bypass.
What's changed 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 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 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…
- github.comClaude Code v2.1.145primary