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

✍️ OpenClawRadar📅 Published: May 11, 2026🔗 Source
Claude Code v2.1.139 Adds Agent View, /goal Command, and Major MCP Improvements
Ad

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 Reconnect now picks up .mcp.json edits without restarting the whole session. It also shows HTTP status and URL on reconnect failures.
  • MCP stdio servers now receive CLAUDE_PROJECT_DIR in 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.
Ad

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.
  • autoAllowBashIfSandboxed now works with shell expansions like $VAR and $(cmd).
  • Settings hot-reload now detects edits to symlinked ~/.claude/settings.json.
  • Transcript view shortcuts (? for shortcuts, {/} to jump between prompts, v to 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

Ad

👀 See Also