Claude docs changes for April 17th, 2026 [diff]
Executive Summary
- Claude Opus 4.7 launched as the most capable generally available model, with step-change improvements in agentic coding, high-resolution image support (up to 2576px), and a new
xhigheffort level — requires Claude Code v2.1.111+ - Task budgets (beta) introduced for Opus 4.7: a new advisory token budget that lets the model self-regulate token spend across an agentic loop using the
task-budgets-2026-03-13beta header /ultrareviewcommand added: runs a deep, multi-agent code review in a cloud sandbox with independent verification of findings, available for Pro/Max users with 3 free runs- Session recap automatically generates a one-line summary when you return to a terminal after 3+ minutes away, keeping you oriented in long sessions
ENABLE_PROMPT_CACHING_1Hnow covers Vertex AI and Foundry in addition to Bedrock, and the--enable-auto-modeflag was removed in favor of Auto mode being built into theShift+Tabcycle by default
New Claude Code versions
2.1.111
New features
- Added Claude Opus 4.7 support with new
xhigheffort level, sitting betweenhighandmax. Available via/effort,--effort, and the model picker - Auto mode is now available for Max subscribers when using Opus 4.7
- Added
/ultrareviewfor comprehensive cloud-based code review using parallel multi-agent analysis — invoke with no arguments to review your current branch, or/ultrareview <PR#>for a specific GitHub PR - Added
/less-permission-promptsskill that scans transcripts for common read-only Bash and MCP tool calls and proposes an allowlist for.claude/settings.json - Added "Auto (match terminal)" theme option that matches your terminal's dark/light mode — select from
/theme - Windows: PowerShell tool is progressively rolling out; opt in/out with
CLAUDE_CODE_USE_POWERSHELL_TOOL
Existing feature improvements
- Auto mode no longer requires
--enable-auto-mode; it is now available in theShift+Tabcycle by default - Read-only Bash commands with glob patterns (e.g.
ls *.ts) andcd <project-dir> &&prefixes no longer trigger a permission prompt /effortnow opens an interactive slider when called without arguments, with arrow-key navigation- Plan files are now named after your prompt instead of purely random words
Ctrl+Unow clears the entire input buffer (previously: delete to start of line); pressCtrl+Yto restoreCtrl+Lnow forces a full screen redraw in addition to clearing the prompt input- Transcript view footer now shows
[(dump to scrollback) andv(open in editor) shortcuts - Improved
/setup-vertexand/setup-bedrockto show actualsettings.jsonpath whenCLAUDE_CONFIG_DIRis set, seed model candidates from existing pins on re-run, and offer a "1M context" option - Headless
--output-format stream-jsonnow includesplugin_errorson the init event when plugins are demoted for unsatisfied dependencies - Typo suggestion for near-miss subcommands (e.g.
claude udpate→ "Did you meanclaude update?")
Major bug fixes
- Fixed terminal display tearing in iTerm2 + tmux setups when terminal notifications are sent
- Fixed
@file suggestions re-scanning the entire project on every turn in non-git working directories - Fixed LSP diagnostics from before an edit appearing after it, causing the model to re-read files it just edited
- Fixed tab-completing
/resumeimmediately resuming an arbitrary titled session instead of showing the session picker - Fixed
/cleardropping the session name set by/rename - Fixed Claude calling a non-existent
commitskill for users without a custom/commitcommand - Fixed 429 rate-limit errors on Bedrock/Vertex/Foundry incorrectly referencing status.claude.com
- Windows:
CLAUDE_ENV_FILEand SessionStart hook environment files now apply (previously a no-op) - Windows: permission rules with drive-letter paths are now correctly root-anchored
2.1.112
Major bug fixes
- Fixed "claude-opus-4-7 is temporarily unavailable" error for auto mode
Claude Code changes
New Documents
Errors [Source]
Comprehensive error reference page listing all runtime errors Claude Code displays, with explanations and recovery steps for each. Covers server errors, usage limits, authentication errors, network errors, and request errors including the new thinking.type.enabled error when using Opus 4.7 with an outdated SDK.
Plugin Dependencies [Source]
New guide for plugin authors on declaring versioned dependencies in plugin.json. Covers the ~2.1.0-style semver constraint syntax, how Claude Code resolves and intersects ranges from multiple plugins, release tagging convention ({plugin-name}--v{version}), and how to diagnose range-conflict, dependency-version-unsatisfied, and no-matching-tag errors. Requires Claude Code v2.1.110+.
Plugin Hints [Source]
New guide for CLI/SDK maintainers on how to emit a <claude-code-hint /> tag to stderr to recommend a plugin install to Claude Code users. Claude Code strips the hint from command output (no token impact) and shows a one-time install prompt. Covers format, placement strategies, and requirements for being listed in the official Anthropic marketplace.
Ultrareview [Source]
New document for the /ultrareview command — a deep code review that runs a fleet of reviewer agents in a remote cloud sandbox to find bugs with independent verification. Pro and Max subscribers get 3 free runs; subsequent reviews are billed as extra usage (~$5–$20 per review). Reviews run in the background in 5–10 minutes and results appear as a notification.
Changed documents
Agent SDK - Hooks [Source]
- Clarified that shell command hooks from settings files load when the corresponding
settingSources/setting_sourcesentry is enabled, which it is for defaultquery()options. [line 22] [Source]
Agent SDK - Migration Guide [Source]
- Updated
settingSourcesdefault behavior: current SDK releases have reverted to loading all settings by default forquery(), matching the CLI. PasssettingSources: []explicitly to get isolated behavior; Python SDK 0.1.59 and earlier treated an empty list the same as omitting the option. [line 206] [Source] - Code examples updated to reference
claude-opus-4-7.
Agent SDK - Overview [Source]
- Added note that Opus 4.7 requires Agent SDK v0.2.111 or later, with troubleshooting pointer for
thinking.type.enabledAPI errors. [line 6] [Source] - Clarified that with default options the SDK loads settings from
.claude/in the working directory and~/.claude/;setting_sourcescontrols which sources load.
Agent SDK - Permissions [Source]
- Updated
setting_sourcesdocumentation: project settings load by default forquery()options; passsetting_sourcesexplicitly with"project"if you set it. [line 64] [Source] - Clarified subagent permission inheritance:
acceptEditsandautomodes also inherit to subagents, not justbypassPermissions. [line 83] [Source]
Agent SDK - Python [Source]
effortparameter now accepts"xhigh"as a valid literal for Opus 4.7. [line 756] [Source]setting_sourcesdefault updated to reflect thatquery()now loads all settings by default (CLI defaults: all sources). [line 795] [Source]max_budget_usddocumentation clarified as a client-side cost estimate comparison. [line 770] [Source]
Agent SDK - Quickstart [Source]
- Added troubleshooting section for
thinking.type.enabledAPI error on Opus 4.7, directing users to upgrade to Agent SDK v0.2.111. [line 236] [Source]
Agent SDK - TypeScript v2 Preview [Source]
- All code examples updated to reference
claude-opus-4-7.
Amazon Bedrock [Source]
- Removed promotional banner from the top of the page.
- Added guidance that
ANTHROPIC_DEFAULT_OPUS_MODELdefaults to Opus 4.6 on Bedrock; set it to the Opus 4.7 ID to use the latest model. [line 146] [Source] - Updated
modelOverridesexample to includeclaude-opus-4-7. [line 182] [Source] - Opus 4.7 now supports the 1M token context window on Bedrock; setup wizard offers 1M option when pinning models. [line 250] [Source]
CLI Reference [Source]
--effortnow acceptsxhighas a valid level. [line 48] [Source]--enable-auto-modeflag removed in v2.1.111; auto mode is in theShift+Tabcycle by default; use--permission-mode autoto start in it. [line 48] [Source]- New typo suggestion behavior documented: near-miss subcommands show a "Did you mean?" suggestion. [line 24] [Source]
Claude Code on the Web [Source]
- New "Environment caching" section: the setup script runs once, then Anthropic snapshots the filesystem and reuses it as the starting point for later sessions — keeping startup fast even for large toolchains. Cache rebuilds when the script or allowed network hosts change, or after ~7 days. [line 161] [Source]
- Docker improvements: added guidance for
docker compose upand caching of pulled images in setup scripts. [line 107] [Source] - Setup scripts vs. SessionStart hooks table updated to reflect the new cached environment behavior.
Common Workflows [Source]
- Extended thinking section updated: Opus 4.7 always uses adaptive reasoning and does not support
CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING. [line 540] [Source] - Session picker improvements:
/resumenow has keyboard shortcuts to widen to other worktrees or projects, search, preview, and rename. [line 568] [Source] - Rename shortcut in session picker changed from
RtoCtrl+R. [line 594] [Source]
Desktop [Source]
- Download links for macOS (Universal) and Windows (x64/ARM64) added directly to the page.
- Auto mode availability clarified: now requires Sonnet 4.6, Opus 4.6, or Opus 4.7 on Team/Enterprise/API; Opus 4.7 only on Max plans; not available on Pro or third-party providers. [line 66] [Source]
Environment Variables [Source]
CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING: clarified it has no effect on Opus 4.7, which always uses adaptive reasoning. [line 59] [Source]CLAUDE_CODE_EFFORT_LEVEL:xhighadded as valid value. [line 78] [Source]- New
CLAUDE_CODE_ENABLE_AWAY_SUMMARY: override session recap availability independent of/configtoggle. [line 80] [Source] - New
CLAUDE_CODE_ENABLE_BACKGROUND_PLUGIN_REFRESH: opt in to refreshing plugin state at turn boundaries after a background install in non-interactive mode. [line 81] [Source] ENABLE_PROMPT_CACHING_1HreplacesENABLE_PROMPT_CACHING_1H_BEDROCK(which is now deprecated): now works for API key, Bedrock, Vertex, and Foundry users. [line 167] [Source]- New
FORCE_PROMPT_CACHING_5M: force 5-minute cache TTL even when 1-hour TTL would otherwise apply. [line 170] [Source] CLAUDE_CODE_USE_POWERSHELL_TOOLbehavior updated: now progressively rolling out on Windows; also available on Linux/macOS withpwshon PATH. [line 139] [Source]
Fast Mode [Source]
GitHub Actions [Source]
- Announcement updated: Claude Opus 4.7 is now available; configure the model parameter to
claude-opus-4-7to use it. [line 4] [Source]
Headless [Source]
- New documentation for
system/initevent: listspluginsandplugin_errorsfields for checking plugin load status in CI. [line 119] [Source] - New documentation for
system/plugin_installevents emitted whenCLAUDE_CODE_SYNC_PLUGIN_INSTALLis set. [line 130] [Source] - Read-only command set referenced in
dontAskmode description. [line 149] [Source]
Hooks [Source]
PermissionRequesthookbehavior: "allow"clarified: deny-and-ask rules are still evaluated; a hook returning"allow"does not override a matching deny rule. [line 1031] [Source]updatedInputnow re-evaluated against deny and ask rules after modification. [line 1031] [Source]setModewithbypassPermissionsdocumented: only takes effect when bypass mode was already available at session launch. [line 1064] [Source]
Interactive Mode [Source]
- New "Session recap" section: Claude Code automatically generates a one-line recap when returning to a terminal after 3+ minutes; toggle with
/configorCLAUDE_CODE_ENABLE_AWAY_SUMMARY. [line 279] [Source] Ctrl+G/ external editor now supports a "Show last response in external editor"/configoption that prepends Claude's previous reply as commented context. [line 15] [Source]Ctrl+Lclarified: also forces a full terminal redraw to recover garbled display.- New transcript viewer shortcuts:
[dumps conversation to terminal scrollback;vopens in$VISUAL/$EDITOR. [line 74] [Source] Ctrl+Uupdated: now clears the entire input buffer;Cmd+Backspacedeletes from cursor to line start.
Model Configuration [Source]
opusalias now resolves to Opus 4.7 on the Anthropic API; on Bedrock/Vertex/Foundry it still resolves to Opus 4.6. Opus 4.7 requires Claude Code v2.1.111+. [line 18] [Source]- Default model for Max and Team Premium plans changed to Opus 4.7; Enterprise pay-as-you-go and Anthropic API will switch to Opus 4.7 default on April 23, 2026. [line 111] [Source]
- New effort level table: Opus 4.7 supports
low,medium,high,xhigh,max; Opus 4.6 and Sonnet 4.6 supportlow,medium,high,max. Unsupported levels fall back to the nearest lower supported level. [line 136] [Source] - Opus 4.7 default effort is
xhighfor all plans and providers. [line 136] [Source] /modelpicker now asks for confirmation when switching mid-conversation. [line 18] [Source]
Permissions [Source]
- New "Read-only commands" section: built-in set of commands (ls, cat, grep, find, etc.) always run without a permission prompt; unquoted glob patterns allowed for fully read-only commands. [line 116] [Source]
- New symlink permission rules: allow rules check both symlink and target (require both to match); deny rules block when either matches. [line 159] [Source]
- Permission dialog now writes the space-separated form (e.g.
Bash(ls *)) instead of the:*form for "don't ask again". [line 87] [Source]
API changes
New Documents
What's New in Claude Opus 4.7 [Source]
Launch overview for Claude Opus 4.7 — Anthropic's most capable generally available model. Highlights include high-resolution image support (up to 2576px / 3.75MP, 1:1 pixel coordinates for computer use), the new xhigh effort level, task budgets (beta), and breaking changes from Opus 4.6: extended thinking budgets removed (replaced by adaptive thinking), temperature/top_p/top_k sampling parameters removed, thinking content omitted by default, and a new tokenizer (up to ~35% more tokens).
Task Budgets [Source]
New guide for the task budgets beta feature on Claude Opus 4.7. A task budget (output_config.task_budget) gives Claude an advisory token cap for the full agentic loop (thinking + tool calls + output). The model sees a running countdown and self-regulates to finish gracefully. Distinct from max_tokens (a hard per-request cap). Requires the task-budgets-2026-03-13 beta header; minimum budget is 20k tokens.
CLI Beta - User Profiles API [Source]
New CLI reference for the User Profiles beta API, covering list, create, retrieve, update, and create enrollment URL endpoints.
Changed documents
Agent Skills - Claude API Skill [Source]
- Skill now covers both the Messages API and Claude Managed Agents (beta). Updated language coverage table: Java, Go, PHP, and cURL now also supported for Managed Agents. [line 53] [Source]
- New
/claude-api migratesubcommand that automates model ID swaps, breaking parameter changes, and effort calibration across a codebase when migrating to Opus 4.7. [line 95] [Source] - Added Managed Agents onboarding flow (
/claude-api managed-agents-onboard), deployment constraints documentation, and prompt caching / model migration guidance.
Agent Skills - Quickstart [Source]
- Code examples updated from cURL/Shell to Python format with
claude-opus-4-7.
MCP Connector [Source]
- Code examples updated from cURL to Python format with
claude-opus-4-7.
Tool Use - Overview [Source]
- Claude Opus 4.7 added to tool use system prompt token count table. [line 67] [Source]
- Default code example tab changed from Shell/cURL to Python.
Tool Use - Bash, Code Execution, Computer Use, Fine-Grained Streaming, Memory, Programmatic Tool Calling, Text Editor, Tool Search, Web Fetch, Web Search [Source]
- Across all tool reference pages: default code example tab changed from Shell/cURL to Python; model references updated to
claude-opus-4-7; Computer Use beta header updated to include Opus 4.7; Programmatic Tool Calling model support table adds Opus 4.7; Web Search dynamic filtering now supported on Opus 4.7.
Beta API [Source]
- New
user-profiles-2026-03-24beta header added to the supported headers list. [line 62] [Source] - New
xhighfield added toBetaEffortCapabilitymodel object. [line 292] [Source] BetaManagedAgentsModelenum updated to includeclaude-opus-4-7at the top.
Beta API - Agents Create/Update/List/Retrieve [Source]
claude-opus-4-7added as a supportedBetaManagedAgentsModelwith description "Frontier intelligence for long-running agents and coding".user-profiles-2026-03-24beta header added to all managed agents endpoints.
Beta API - Sessions Create [Source]
claude-opus-4-7added as a supported model for sessions.archived_atexample response value corrected from a placeholder date tonull.
Beta API - User Profiles [Source]
- API path parameter renamed from
{id}to{user_profile_id}across retrieve, update, and create enrollment URL endpoints. [line 16] [Source] - Added field descriptions for
id(prefixeduprof_),metadata(max 16 pairs), andtrust_grantsobject withstatusenum (active,pending,rejected). [line 32] [Source]
Model Deprecations [Source]
claude-opus-4-7added as an active model, not retiring before April 16, 2027. [line 62] [Source]- Replacement recommendations for several deprecated models updated to Opus 4.7 (claude-opus-4-20250514, claude-3-opus-20240229, claude-2.0, claude-2.1); Sonnet 3.7 and Sonnet 3.5 replacements corrected to
claude-sonnet-4-6. [line 86] [Source]
Migration Guide [Source]
- Entire guide rewritten for Claude Opus 4.7 migration. Documents five breaking changes: extended thinking removed (use adaptive), sampling parameters (
temperature/top_p/top_k) removed (400 error), thinking content omitted by default (setdisplay: "summarized"to restore), new tokenizer (up to ~35% more tokens), and prefill removal (carried over from 4.6). [line 1] [Source] - New guidance on choosing an effort level for Opus 4.7 with description of each level. [line 80] [Source]
Models - Choosing a Model [Source]
- Updated recommendation table to list Opus 4.7 for complex reasoning and agentic coding use cases (long-horizon coding, refactoring, complex systems engineering). [line 55] [Source]
Models - Overview [Source]
- Claude Opus 4.7 added as the recommended model with
claude-opus-4-7API ID. Extended thinking is not supported (uses adaptive thinking only). Knowledge cutoff updated to Jan 2026; training data cutoff Jan 2026. [line 4] [Source] - Microsoft Foundry added to the list of supported platforms alongside API, Bedrock, and Vertex.
- Opus 4.7 and Sonnet 4.6 now support up to 300k output tokens on the Batch API via the
output-300k-2026-03-24beta header. [line 43] [Source]
Pricing [Source]
- Claude Opus 4.7 added to all pricing tables ($5/$25 per MTok, same as Opus 4.6; batch: $2.50/$12.50). [line 12] [Source]
- Note added that Opus 4.7 uses a new tokenizer that may use up to 35% more tokens for the same text. [line 28] [Source]
- 1M token context window long-context pricing section updated to include Opus 4.7. [line 128] [Source]
- Data residency pricing (1.1x multiplier) extended to Opus 4.7. [line 81] [Source]