Claude Code 2.1.139: Agent View, Goal Commands, MCP Fixes
Claude Code 2.1.139 ships agent view for session management, /goal command for multi-turn objectives, and 30+ fixes. Major improvements to MCP handling, credential auth, and UI polish across scrolling, plugins, and transcript navigation.
TL;DR
- Agent view lists all Claude Code sessions in one place — run
claude agents /goalcommand sets completion conditions; Claude keeps working until met- Major MCP and credential handling fixes, plus 30+ bug fixes across UI, scrolling, and plugin management
New
- Agent view (Research Preview) — single list of every session (running, blocked, done); run
claude agentsto access /goalcommand — set a completion condition and Claude continues across turns until met; shows live elapsed time, turn count, and token usage overlay/scroll-speedcommand — tune mouse wheel scroll speed with live previewclaude plugin details— shows plugin component inventory and projected per-session token cost- Transcript view navigation —
?for shortcuts,{/}to jump between prompts,vto toggle panel - Hook
argsfield (exec form) — spawns commands directly without shell, eliminating quoting issues for path placeholders - Hook
continueOnBlockoption — set totrueto feed rejection reasons back to Claude and continue the turn - MCP stdio servers now receive
CLAUDE_PROJECT_DIR— matches hooks; plugin configs can reference${CLAUDE_PROJECT_DIR} - Compaction prompt improvement — now asks model to preserve sensitive user instructions
/mcp Reconnectenhancements — picks up.mcp.jsonedits without restart; shows HTTP status and URL on reconnect failures/context alltoken estimates — now account for model's tokenizer and show rounded values- Plugin install auto-refresh —
claude plugin install <name>@<marketplace>now auto-refreshes marketplace and retries before reporting not found - Remote MCP server retry — transient failure retry now enabled for all users
- Subagent API headers — requests now carry
x-claude-code-agent-idandx-claude-code-parent-agent-id; OTEL spans include agent attributes - VSCode shortcut — Cmd/Ctrl+Shift+T reopens most recently closed session tab (configurable)
Fixed
- Credential deadlock blocking
claude auth login/logout/statuswhen expired credentials andforceRemoteSettingsRefreshpolicy were set autoAllowBashIfSandboxednot auto-approving commands with shell expansions like$VARand$(cmd)- Hook writing to terminal corrupting on-screen interactive prompts; hooks now run without terminal access
- Unbounded memory growth from HTTP/SSE MCP servers streaming non-protocol data — response bodies now capped at 16 MB per frame
Skill(name *)permission rules now work as prefix match, matchingBash(ls *)behavior- Settings hot-reload not detecting edits to symlinked
~/.claude/settings.json - Plugin details failing when marketplace key differs from manifest name
/modelpickerSource: Claude Code