Claude Code v2.1.139 Adds Agent View, /goal Command, and Major MCP Improvements

Anthropic just shipped v2.1.139 of Claude Code, bringing a handful of new features and a long list of bug fixes. Here's what matters for daily use.
Agent View (Research Preview)
claude agents now shows a single list of every Claude Code session — running, blocked on you, or done. Useful for checking up on background agents or long-running tasks without digging into terminal history.
/goal Command
/goal lets you set a completion condition (e.g., "fix all failing tests") and Claude will keep working across turns until that condition is met. It works in interactive mode, -p, and Remote Control. A live overlay shows elapsed time, turn count, and token usage. This replaces manual re-prompting for multi-step tasks.
Hook Improvements
Two notable additions: hook args: string[] (exec form) spawns the command directly without a shell — so path placeholders with spaces don't need quoting. Also, continueOnBlock config option for PostToolUse hooks — if set to true, the hook's rejection reason is fed back to Claude, letting it recover and retry.
MCP and Plugin Updates
/mcp Reconnectnow picks up.mcp.jsonedits without restarting the whole session. It also shows HTTP status and URL on reconnect failures.- MCP stdio servers now receive
CLAUDE_PROJECT_DIRin their environment, matching hooks. Plugin configs can reference${CLAUDE_PROJECT_DIR}directly. - Remote MCP server reconnect on transient failures is now enabled for all users.
claude plugin details <name>shows a plugin's component inventory and projected per-session token cost.
Performance and Fixes
- Fixed unbounded memory growth when an HTTP/SSE MCP server streams non-protocol data — response bodies now capped at 16 MB per SSE frame.
- Hooks no longer have terminal access, preventing corruption of interactive prompts.
autoAllowBashIfSandboxednow works with shell expansions like$VARand$(cmd).- Settings hot-reload now detects edits to symlinked
~/.claude/settings.json. - Transcript view shortcuts (
?for shortcuts,{/}to jump between prompts,vto toggle panel) now work after mouse clicks. - Bash-mode up-arrow history no longer repeats the first entry or clobbers the in-progress draft.
- Pasting/dropping multiple images now inserts all of them, not just the last one.
Other Changes
/context all token estimates now account for the model's tokenizer and show rounded values. claude plugin install <name>@<marketplace> auto-refreshes and retries before reporting not found. Subagent API requests carry x-claude-code-agent-id and x-claude-code-parent-agent-id headers for tracing.
Note: Remote Control, /schedule, and claude.ai MCP connectors are disabled when ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN is set. Unset the API key to use those features.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Anthropic Reports Evidence of Mass Claude Distillation by AI Competitors
Anthropic has shared evidence that DeepSeek, Moonshot, and MiniMax were using approximately 24,000 fake accounts to conduct mass distillation of Claude, with over 16 million exchanges recorded.

Cognitive Debt: When AI Output Outpaces Understanding
A Reddit post discusses 'cognitive debt' — the gap between AI-generated output and the team's understanding of it — and argues that creative control means knowing what you shipped. The post itself was written with Claude's help, meta-commenting on the irony.

Setting Up Subagents in OpenClaw: Key Considerations
Users experimenting with OpenClaw are facing issues with setting up subagents, particularly when modifying JSON files.

Google to Provide AI Agents to Pentagon for Unclassified Work
Google will provide AI agents to the Pentagon for unclassified work, according to a Bloomberg report. The article has generated discussion on Hacker News with 61 points and 52 comments.