Claude docs changes for May 21st, 2026 [diff]
Executive Summary
- Claude Code 2.1.146 renames
/simplifyto/code-review(with optional effort level) and fixes 13 bugs including Windows PowerShell failures, MCP pagination dropping items, andCLAUDE_CODE_SUBAGENT_MODELnot forwarding to child processes - New
strictPluginOnlyCustomizationmanaged setting lets enterprise admins lock all customization (skills, agents, hooks, MCP servers) to plugin or managed sources only, blocking user/project-level overrides - 1-hour prompt caching now available on Amazon Bedrock — the feature availability table and caching docs are updated to reflect this expansion
- Hooks clarification: exit 0 in a
PreToolUsehook no longer implies approval — the normal permission flow still applies; only exit 2 or JSON output withdecision: "deny"affects the outcome - New Prompt Library doc for Claude Code provides curated prompts organized by workflow category (understand, plan, build, test, refactor, etc.)
New Claude Code versions
2.1.146
New features
- Renamed
/simplifyto/code-reviewwith an optional effort level (e.g./code-review high)
Existing feature improvements
- Auto mode no longer suppresses
AskUserQuestionwhen the user or a skill explicitly relies on it - Improved auto-updater reliability: native version checks and downloads now retry transient network failures instead of failing immediately
- Improved diff rendering performance for large file edits
Major bug fixes
- Fixed Windows PowerShell tool failing with "command line is invalid" when
pwshis installed via winget or the Microsoft Store (regression in v2.1.124) - Fixed MCP
resources/list,resources/templates/list, andprompts/listdropping items past page 1 on paginating servers - Fixed full-screen strobing in attached background sessions on Windows Terminal while Claude is streaming
- Fixed
/backgroundrefusing sessions whose only typed input was a skill or custom slash command - Fixed backgrounded sessions re-prompting for tool permissions you already granted with "don't ask again"
- Fixed
forceLoginOrgUUIDandforceLoginMethodmanaged-settings policies not being enforced against third-party-provider and API-key sessions - Fixed
CLAUDE_CODE_SUBAGENT_MODELnot being forwarded to child processes in multi-agent sessions - Fixed uncaught exception at the end of streaming sessions when running via the Agent SDK
- Fixed auto-updater status line not showing your current version when an update fails
- Fixed on Windows, removing a background-job worktree no longer follows NTFS junctions into the main repo
- Fixed
/themecolor editor and "New custom theme" dialogs not responding to Esc - Fixed GNOME Terminal right-click and middle-click paste not inserting text
Claude Code changes
New Documents
Prompt library [Source]
New file introducing a curated library of prompts organized by workflow category (Start here, Understand, Plan, Prototype, Build, Test, Refactor, Review, Debug, Git, Release, and more). Includes 52 prompts drawn from Anthropic guides and real team workflows, plus an explanation of the prompting patterns that make them work (outcome-first descriptions, self-verification steps, reference anchoring, measurable targets).
Changed documents
Admin setup [Source]
- Added
strictPluginOnlyCustomizationto the managed policies table — blocks skills, agents, hooks, and MCP servers from user and project sources so they can only come from plugins or managed settings. [line 68] [Source]
Checkpointing [Source]
- Clarified double
Escbehavior: only opens the rewind menu when the prompt input is empty. If the input contains text, doubleEscclears it instead and saves the draft to history soUprecalls it. [lines 25-29] [Source]
Commands [Source]
- Clarified
/desktopavailability: requires macOS or Windows and a Claude subscription (not just OS). [line 46] [Source] - Updated
/loopdescription to note that the autonomous maintenance prompt is not available everywhere. [line 68] [Source]
Desktop [Source]
- Clarified interrupt vs. redirect behavior: clicking the stop button interrupts immediately, while typing a correction and pressing Enter sends it without stopping the running action. [line 47] [Source]
- Added explicit note that
/desktoprequires a Claude subscription and is not available with API key authentication or on Bedrock, Vertex, or Foundry. [line 579] [Source]
Desktop quickstart [Source]
- Clarified interrupt behavior: stop button interrupts immediately; typing a correction sends it without stopping the running action. [line 95] [Source]
Hooks guide [Source]
- Clarified that exit 0 in a
PreToolUsehook reports no objection but does not approve the tool call — the normal permission flow still applies. [line 529] [Source] - Reworded structured JSON output intro: "exit codes only let you block or stay silent" (previously said "allow or block"). [line 540] [Source]
Hooks [Source]
- Clarified that exit 0 means "no decision" — it does not approve a
PreToolUsetool call, and the normal permission flow continues. Multiple locations updated. [line 90] [Source] suppressOutputclarified: hides hook stdout from the transcript (not just the debug log). [line 661] [Source]- Added
SessionStart, Setup, SubagentStartrow to the hook event decision table — these events only support context injection viahookSpecificOutput.additionalContext; SessionStart also acceptsinitialUserMessageandwatchPaths. [line 744] [Source] - New
initialUserMessageSessionStart output field: sets the first user message in non-interactive (-p) mode. [line 831] [Source] - New
watchPathsSessionStart output field: array of absolute paths to watch forFileChangedevents during the session. [line 832] [Source] - New
suppressOriginalPromptfield forUserPromptSubmitblock decisions: whentrue, omits the original prompt text from the block message shown to the user. [line 1004] [Source] setModepermission mode now includesautoas a valid value. [line 1340] [Source]session_cronsin Stop hook input now listsScheduleWakeupas a source alongsideCronCreateand/loop. [line 1821] [Source]PermissionDeniedandTeammateIdleevents upgraded to support all five hook types (command, http, mcp_tool, prompt, and agent); previously only supported the first three. [lines 2382-2406] [Source]- Added blocking behavior for
TeammateIdle: supportscontinueOnBlock: trueto feed the reason back to the teammate instead of stopping it.PermissionDeniedblocking clarified:ok: falsehas no effect; onlyhookSpecificOutput.retrymatters, and only from command hooks. [lines 2476-2481] [Source]
How Claude Code works [Source]
- Clarified interrupt vs. steer distinction:
Esccancels the running tool call immediately; typing a correction and pressingEntersends it without stopping the running tool. [lines 173-177] [Source]
Interactive mode [Source]
Ctrl+Cbehavior clarified: interrupts a running operation; if nothing is running, first press clears the prompt input and a second press exits Claude Code. [line 23] [Source]Esc+Escbehavior clarified: clears input draft (saving to history) when input contains text; opens the rewind menu only when input is empty. [line 36] [Source]
Permissions [Source]
Plugin marketplaces [Source]
- Clarified
claude plugin validatescoping: when pointed at a marketplace directory it validatesmarketplace.jsononly; plugin-level validation (skills, agents, hooks) requires pointing the command at the plugin directory itself. [lines 919-933] [Source]
Scheduled tasks [Source]
- Clarified that the built-in maintenance prompt is not available to everyone and is not supported on Bedrock, Vertex AI, or Microsoft Foundry. Where unavailable,
/loopwith no prompt prints the usage message instead. [line 85] [Source] - Added note that
loop.mdfollows the same availability restriction as the built-in maintenance prompt. [line 110] [Source]
Settings [Source]
- Added
strictPluginOnlyCustomizationto the settings reference table (managed settings only). [line 237] [Source] - Added full documentation section for
strictPluginOnlyCustomization: value can betrue(lock all four surfaces) or an array naming specific surfaces (skills,agents,hooks,mcp). Requires v2.1.82 or later. [lines 916-942] [Source]
Tools reference [Source]
- Added
ScheduleWakeuptool: reschedules the next iteration of a self-paced/loop; Claude calls it automatically at the end of each iteration. Not available on Bedrock, Vertex AI, or Foundry. [line 36] [Source]
API changes
Changed documents
API and data retention [Source]
- Added Claude Managed Agents and MCP tunnels to the ZDR/HIPAA eligibility table — both are not ZDR eligible and not HIPAA BAA eligible. [lines 163-164] [Source]
Claude in Amazon Bedrock [Source]
- Expanded "Feature support" section with detailed supported and not-supported lists, including links to individual feature docs. Supported highlights now include Bash, Computer use, Memory, and Text editor tools. Not-supported items now explicitly list URL input sources, server-side tools, agent infrastructure, and additional API endpoints. [lines 176-204] [Source]
Claude on Amazon Bedrock (legacy) [Source]
- Added detailed supported and not-supported feature lists matching the current Bedrock page format. [lines 184-204] [Source]
Claude on Vertex AI [Source]
- Added new "Data retention" section: data handling for Vertex AI is governed by Google Cloud; link to Vertex AI zero data retention docs. [lines 109-111] [Source]
- Added detailed supported and not-supported feature lists, including web search tool in the supported section. [lines 125-145] [Source]
Features overview [Source]
- Batch processing availability updated: Bedrock and Vertex AI removed from the supported platforms list. [line 42] [Source]
- Fine-grained tool streaming on Microsoft Foundry changed from Beta to GA. [line 80] [Source]
- 1-hour prompt caching now lists Bedrock as GA (previously Bedrock was absent). [line 95] [Source]
Fine-grained tool streaming [Source]
- Added C#, Go, Java, PHP, and Ruby to the SDK language tabs in code examples. [line 14] [Source]
- Simplified the accumulation section: notes that SDK accumulator helpers handle delta concatenation automatically; the manual pattern is only needed when reacting to partial input before the block closes. [lines 52-57] [Source]
MCP tunnels overview [Source]
Managed agents overview [Source]
- Updated research preview features list: outcomes and multiagent removed; MCP tunnels and dreaming added. [line 93] [Source]
- Added explicit note that Claude Managed Agents is not ZDR or HIPAA BAA eligible due to its stateful nature, with guidance on how to delete session data. [line 95] [Source]
Multi-agent [Source]
- Added new "Connect agents to MCP servers" section: explains that MCP servers are agent-scoped while vault credentials are session-scoped, with a code example showing how to declare servers per agent and supply credentials via
vault_ids. [lines 71-114] [Source] - Clarified that all agents in a multiagent session share the same vault credentials (session-scoped). [line 11] [Source]
PDF support [Source]
- Added note that on Amazon Bedrock and Vertex AI, only base64-encoded PDF sources are currently available (URL and Files API sources are not). [line 83] [Source]
Prompt caching [Source]
- 1-hour cache duration is now available on Amazon Bedrock (both current and legacy integrations). [line 438] [Source]
Self-hosted sandboxes [Source]
Vaults [Source]
- Added note that in multiagent sessions, vault credentials apply to every thread and authenticate any agent whose definition declares the matching MCP server. [line 113] [Source]
Vision [Source]
- Added note that on Amazon Bedrock and Vertex AI, only base64-encoded image sources are currently available (URL and Files API sources are not). [line 115] [Source]
Workspaces [Source]
- Added new "Claude Code workspace" section: documents the auto-created workspace that appears when the first org member signs into Claude Code, its per-user API key behavior, separate rate limiting, per-user spend limits, and what happens when it is archived. [lines 18-29] [Source]