Claude docs changes for May 12th, 2026 [diff]
Executive Summary
- Agent view (Research Preview) lands in v2.1.139:
claude agentsopens a single screen to dispatch, monitor, and interact with background sessions running in parallel, with full documentation added /goalcommand: set a completion condition and Claude keeps working across turns until it's met, powered by a session-scoped Stop hook using a small fast model as evaluator- Claude Platform on AWS: comprehensive new documentation covers using Claude Code and the API via AWS authentication, IAM access control, and AWS Marketplace billing
- Hook exec form (
argsfield): commands can now spawn directly without a shell, eliminating quoting issues for path placeholders - Auto mode
hard_denyrules: new unconditional block tier that user intent andallowexceptions cannot override, for security boundaries that must never be crossed
New Claude Code versions
2.1.139
New features
- Added agent view (Research Preview):
claude agentsopens a single list of every Claude Code session — running, blocked, or done — with dispatch, peek/reply, and attach from one screen - Added
/goalcommand: set a completion condition and Claude keeps working across turns until it's met, with a live overlay showing elapsed time, turns, and tokens - Added
/scroll-speedcommand to tune mouse wheel scroll speed with a live preview ruler - Added
claude plugin details <name>to show a plugin's component inventory and projected per-session token cost - Added transcript view navigation:
?for keyboard shortcuts,{/}to jump between user prompts,vto toggle shortcut panel - Added hook
args: string[]field (exec form) that spawns the command directly without a shell, eliminating quoting issues for path placeholders - Added hook
continueOnBlockoption forPostToolUse— set totrueto feed the hook's rejection reason back to Claude and continue the turn - MCP stdio servers now receive
CLAUDE_PROJECT_DIRin their environment; plugin configs can reference${CLAUDE_PROJECT_DIR}in commands - API requests from subagents now carry
x-claude-code-agent-id/x-claude-code-parent-agent-idheaders, and OTEL spans includeagent_id/parent_agent_idattributes
Existing feature improvements
- Compaction prompt now asks the model to preserve sensitive user instructions
/mcpReconnect picks up.mcp.jsonedits without a restart and shows HTTP status and URL when reconnecting fails/context allper-skill token estimates now account for the model's tokenizer and show rounded valuesclaude plugin installnow auto-refreshes the marketplace and retries before reporting a plugin as not found- Remote MCP server reconnect retry on transient failures is now enabled for all users
- Remote Control,
/schedule, claude.ai MCP connectors, and notification preferences are disabled when an API key is set even if a Claude.ai login also exists - [VSCode] Press Cmd/Ctrl+Shift+T to reopen the most recently closed session tab
Major bug fixes
- Fixed a deadlock where expired credentials and
forceRemoteSettingsRefreshblockedclaude auth login/logout/statuswith no recovery path - Fixed
autoAllowBashIfSandboxednot auto-approving commands with shell expansions like$VARand$(cmd) - Fixed unbounded memory growth when an HTTP/SSE MCP server streams non-protocol data — response bodies now capped at 16 MB per SSE frame
- Fixed
Skill(name *)permission rules — the wildcard form now works as a prefix match - Fixed settings hot-reload not detecting edits to symlinked
~/.claude/settings.json - Fixed
/modelpicker "Default" row not reflectingANTHROPIC_DEFAULT_OPUS_MODEL/ANTHROPIC_DEFAULT_SONNET_MODELoverrides - Fixed spurious "stream idle timeout" 5 minutes after a response completed
- Fixed Bash-mode up-arrow history repeating the first entry and clobbering the in-progress draft
- Fixed pasting or dropping multiple images only inserting the last one
Claude Code changes
New Documents
Agent view [Source]
New "Manage multiple agents with agent view" page covering the Research Preview feature introduced in v2.1.139. Documents how to open agent view with claude agents, monitor sessions by state (working, needs input, idle, completed, failed, stopped), peek and reply from the panel without attaching, dispatch new background sessions, manage sessions from the shell (claude attach, claude logs, claude stop, claude respawn, claude rm), and how the supervisor process hosts background sessions. Includes how file edits are isolated into automatic git worktrees and the disableAgentView admin setting.
Agents [Source]
New "Run agents in parallel" comparison page that contrasts subagents, agent view, agent teams, worktrees, and /batch, explaining when to use each and how to check on running work from each approach.
Claude Code on Claude Platform on AWS [Source]
New guide for pointing Claude Code at a Claude Platform on AWS workspace. Covers both authentication methods (SigV4 with standard AWS credential chain or workspace API key via ANTHROPIC_AWS_API_KEY), the required env vars (CLAUDE_CODE_USE_ANTHROPIC_AWS, ANTHROPIC_AWS_WORKSPACE_ID, AWS_REGION), model pinning, Agent SDK usage, routing through a corporate proxy, and troubleshooting common errors.
Goal [Source]
New /goal command documentation. The command sets a completion condition; after each turn a small fast model evaluates whether the condition holds and either keeps Claude working or marks the goal achieved. Covers setting a goal, writing effective conditions, checking status, clearing early, resuming with an active goal, running non-interactively with -p, and how evaluation works under the hood (session-scoped prompt-based Stop hook).
What's New — Week 18 (April 27 – May 1, 2026) [Source]
Week 18 digest covering v2.1.120–v2.1.126: sign in without a browser callback (OAuth code paste), claude project purge, resume by PR URL, Windows without Git Bash, claude ultrareview subcommand for CI, PostToolUse hookSpecificOutput.updatedToolOutput, /skills filter search, gateway model discovery, and more.
What's New — Week 19 (May 4–8, 2026) [Source]
Week 19 digest covering v2.1.128–v2.1.136: plugins from .zip archives and URLs (--plugin-dir / --plugin-url), history search across all projects (restored Ctrl+R default), worktree.baseRef setting, hard_deny auto mode rules, hooks receiving effort level, CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN, parentSettingsBehavior admin key, and OAuth reliability fixes.
Changed Documents
Agent SDK — Hooks [Source]
- New notification hook event types added:
elicitation_responseandelicitation_completealongside the existing types. [line 1] [Source] - Clarified that
permissionDecision: 'allow'or'ask'(not just'allow') is required when usingupdatedInput. [line 1] [Source]
Agent SDK — Overview [Source]
- Claude Platform on AWS added as a supported provider, with
CLAUDE_CODE_USE_ANTHROPIC_AWSandANTHROPIC_AWS_WORKSPACE_IDenv vars documented alongside Bedrock, Vertex, and Foundry. [line 1] [Source]
Agent SDK — Subagents [Source]
- Clarified that
skillsinAgentDefinitioncontrols which skills are preloaded (full content injected), not which skills are accessible; unlisted skills remain invocable through the Skill tool. [line 1] [Source]
Auto Mode Configuration [Source]
- New
autoMode.hard_denyrules tier added — blocks unconditionally regardless of user intent orallowexceptions, for security boundaries that must never be crossed. [line 92] [Source] - Classifier precedence updated to four tiers:
hard_deny→soft_deny→allow→ explicit user intent. [line 95] [Source] claude auto-mode defaultsnow also prints built-inhard_denyrules. [line 135] [Source]
CLI Reference [Source]
- New background session management commands:
claude attach <id>,claude logs <id>,claude respawn <id>,claude rm <id>,claude stop <id>. [lines 28-38] [Source] claude agentsnow opens agent view; when output is piped, it lists configured subagents instead. [line 27] [Source]- New
--bgflag starts a session as a background agent and returns immediately. [line 58] [Source] --worktree/-wnow accepts#<number>or a GitHub PR URL to fetch and branch the worktree from that PR. [line 112] [Source]
Commands [Source]
- New workflow section added explaining which commands to use at each stage (first session, during a task, parallel work, before shipping, between sessions, troubleshooting). [lines 14-25] [Source]
- New
/background [prompt]command to detach the session as a background agent. [line 35] [Source] - New
/goal [condition|clear]command. [line 60] [Source] - New
/radiocommand to open Claude FM lo-fi radio. [line 84] [Source] - New
/scroll-speedcommand (fullscreen only). [line 96] [Source] - New
/stopcommand to stop the current background session. [line 106] [Source] /clearnow accepts an optional name argument to label the previous conversation in the/resumepicker. [line 38] [Source]
Environment Variables [Source]
- New Claude Platform on AWS variables:
ANTHROPIC_AWS_API_KEY,ANTHROPIC_AWS_BASE_URL,ANTHROPIC_AWS_WORKSPACE_ID,CLAUDE_CODE_USE_ANTHROPIC_AWS,CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH. [lines 15-17, 152, 167] - New
CLAUDE_CODE_DISABLE_AGENT_VIEWto disable background agents and agent view. [line 75] [Source] - New
CLAUDE_EFFORTenv var automatically set in Bash and hook subprocesses with the active effort level. [line 175] [Source] - New
CLAUDE_CODE_MAX_TURNSenv var to cap agentic turns globally. [line 122] [Source] - New
DO_NOT_TRACK=1for telemetry opt-out following the cross-tool convention. [line 202] [Source] - New
MCP_CONNECT_TIMEOUT_MSto control how long a query waits for the MCP connection batch. [line 218] [Source]
Fullscreen [Source]
/scroll-speedcommand documented: opens an interactive dialog with a ruler to tune mouse wheel scroll speed; writes the value to~/.claude/settings.json. [line 1] [Source]
Hooks Guide [Source]
- New section on combining results from multiple hooks: clarifies that all matching hooks run to completion before results are merged,
denydoes not short-circuit sibling hooks, and includes a two-hook example. [line 1] [Source]
Hooks [Source]
- New
argsfield in command hooks enables exec form: spawns the executable directly without a shell, so path placeholders need no quoting and special characters pass through verbatim. [lines 307-341] [Source] - New
ExitPlanModehook input documentation:plan,planFilePath, andallowedPromptsfields described, plus how to readtool_response.planinPostToolUse. [lines 1142-1182] [Source] - New
continueOnBlockoption onPostToolUseprompt-based hooks: feeds the rejection reason back to Claude and continues the turn instead of stopping. [line 2358] [Source] SubagentStophooks clarified: do not supportadditionalContext; returningdecision: "block"delivers the reason as the subagent's next instruction. [line 1] [Source]- Note added that
/goalis a built-in shortcut for a session-scoped prompt-based Stop hook. [line 1747] [Source] agent_typefor custom subagents is now thenamefield from frontmatter, not the filename. [line 1] [Source]
Interactive Mode [Source]
- New transcript viewer keyboard shortcuts:
?to toggle help panel,{/}to jump between user prompts (both require fullscreen rendering). [line 1] [Source]
Memory [Source]
- New
claudeMdmanaged setting documented: embeds CLAUDE.md instructions directly inmanaged-settings.jsoninstead of deploying a separate file; honored only in managed and policy settings. [lines 255-263] [Source] - Note that CLAUDE.md scope is "per repository, shared across worktrees" (was "per working tree"). [line 1] [Source]
Permissions [Source]
- Clarified that Read/Edit deny rules now also apply to recognized Bash file commands (
cat,head,tail,sed) — not just the built-in file tools. [line 1] [Source] - New table showing which paths a deny rule matches and does not match depending on its anchor. [line 1] [Source]
- Note added that permission rules are enforced by Claude Code, not the model; CLAUDE.md shapes intent but doesn't enforce boundaries. [line 1] [Source]
Plugins Reference [Source]
${CLAUDE_PROJECT_DIR}added as a third path variable (alongside${CLAUDE_PLUGIN_ROOT}and${CLAUDE_PLUGIN_DATA}), exported to hook processes and MCP/LSP servers. [line 1] [Source]skillsmanifest field now adds to (not replaces) the defaultskills/directory — the default is always scanned. [line 1] [Source]- New
claude plugin details <name>command documented with output format and token-cost breakdown. [line 1] [Source] - Symlink behavior inside marketplaces clarified: within-plugin symlinks are preserved, cross-plugin symlinks are dereferenced, outside-marketplace symlinks are skipped. [line 1] [Source]
Scheduled Tasks [Source]
- Cross-reference to
/goaladded: use/goalto keep a session working until a condition is met rather than running on an interval. [line 1] [Source]
Settings [Source]
- New
disableAgentViewsetting (managed) to turn off background agents, agent view, and the supervisor. [line 178] [Source] - New
claudeMdsetting (managed only) to embed CLAUDE.md instructions directly in managed settings. [line 172] [Source] - New
claudeMdExcludessetting to skip specific CLAUDE.md files by glob or path. [line 173] [Source] - New
policyHelpersetting (managed, requires v2.1.136+): points at an executable that computes managed settings dynamically at startup from device posture, identity, or a remote service. [line 212] [Source] - New
parentSettingsBehaviorsetting (managed, requires v2.1.133+): controls whether SDK/IDE-supplied managed settings apply alongside an admin-deployed managed tier ("first-wins"or"merge"). [line 208] [Source] autoModesetting now documentshard_denyas a fourth array alongsideenvironment,allow, andsoft_deny. [line 163] [Source]- New
worktree.baseRefsetting ("fresh"|"head") controls whether new worktrees branch from the remote default or localHEAD. [line 257] [Source] - New
gcpAuthRefreshsetting for a custom script to refresh GCP Application Default Credentials. [line 196] [Source] - New
syntaxHighlightingDisabledsetting to disable syntax highlighting in diffs, code blocks, and file previews. [line 1] [Source] - New
bwrapPathandsocatPathmanaged-only settings (Linux/WSL2) to specify non-standard paths for sandbox binaries. [line 1] [Source]
Sub-agents [Source]
skillsfield clarified: it preloads full skill content into context at startup; unlisted skills remain invocable through the Skill tool during execution. [line 1] [Source]- Background subagent permission behavior clarified: they auto-deny anything that would otherwise prompt (not "pre-approved before launch"). [line 1] [Source]
namefrontmatter field noted as the value hooks receive asagent_type(filename does not have to match). [line 1] [Source]
What's New — Week 16 [Source]
/ultrareviewmoved from a featured item to the "Other wins" section; mobile push notifications promoted to a featured item. [line 1] [Source]
API changes
New Documents
Claude Platform on AWS [Source]
Comprehensive new guide for Claude Platform on AWS: Anthropic's API with AWS authentication (SigV4 and API key), IAM access control, and AWS Marketplace billing. Covers the architecture differences from Amazon Bedrock, data retention and residency, model support including Agent Skills, Managed Agents, structured outputs, Files API, prompt caching (including 1-hour TTL), how workspace-level cache isolation applies, comparison tables with Bedrock for key features, supported SDK languages, and data governance.
Changed Documents
Agent Skills — Overview [Source]
- Pre-built Agent Skills and custom Skills are now documented as available on Claude Platform on AWS and Microsoft Foundry in addition to the Claude API and claude.ai. [line 1] [Source]
- Custom Skills are now described as "workspace-wide" (not org-wide); all workspace members can access them. [line 1] [Source]
Extended Thinking [Source]
- Clarified that on the Claude API and Claude Platform on AWS,
interleaved-thinking-2025-05-14is accepted without error on any model (ignored where not supported), while on partner-operated platforms (Bedrock, Vertex AI) it causes a failure if passed to unsupported models. [line 1] [Source] - On Claude Opus 4.7 and Opus 4.6, the
interleaved-thinkingbeta header is now described as "deprecated and safely ignored" (not just deprecated). [line 1] [Source]
Fast Mode [Source]
Files [Source]
- Files API availability updated: now also available on Claude Platform on AWS and Microsoft Foundry; still not available on Amazon Bedrock or Vertex AI. [line 1] [Source]
Managed Agents — Overview [Source]
- Claude Managed Agents is also available on Claude Platform on AWS, with a reference to its guide for feature differences. [line 1] [Source]
Managed Agents — Permission Policies [Source]
- Fixed
stop_reason.event_idspath (wasstop_reason.requires_action.event_ids). [line 1] [Source] - MCP toolset
permission_policynow correctly documented underdefault_config.permission_policy. [line 1] [Source]
Managed Agents — Sessions [Source]
- Two-step lifecycle now called out explicitly: first create the session (provisions the container), then send a user event to start work. [line 1] [Source]
Managed Agents — Skills [Source]
- Skills are now described as "workspace-authored" (not "organization-authored"); workspace-level scope replaces org-level scope. [line 1] [Source]
Prompt Caching [Source]
- Automatic caching availability updated: now includes Claude Platform on AWS (in addition to the Claude API and Microsoft Foundry beta); Bedrock and Vertex AI remain unsupported for automatic caching. [line 182] [Source]
- Workspace-level cache isolation described as current (not future): as of February 5, 2026, applies to the Claude API, Claude Platform on AWS, and Microsoft Foundry (beta). [line 387] [Source]
- 1-hour cache duration availability clarified: Claude API, Claude Platform on AWS, Vertex AI, and Microsoft Foundry (beta); Bedrock does not support it. [line 435] [Source]
Skills Guide [Source]
- Skill bundle format described explicitly: directory with a
SKILL.mdat the top level withnameanddescriptionYAML frontmatter; Python SDK providesfiles_from_dir, and zip archives are now also accepted. [line 1] [Source] - Skill
namereserved words clarified to exclude"anthropic"and"claude". [line 1] [Source]