Repository navigation
chore(deps): update dependency anthropics/claude-code to v2.1.286 - #46
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
2.1.282→2.1.286v2.1.300(+11)Release Notes
anthropics/claude-code
v2.1.286Compare Source
What's changed
claude --resumeand--continuesometimes losing every turn after a batch of parallel tool calls when the earlier session crashed or was killed/loginsucceeds in another Claude Code window when a leftover~/.claude/.credentials.jsonexistsclaude remote-control) staying connected after your organization's policy turns Remote Control off; they now disconnect with a notice--fallback-modelretries failing when the fallback model can't run fast; they now run at standard speed, with a one-time notice in interactive sessionsclaude auth statusreporting a Console sign-in's stored API key asclaude.ai; it now reportsapi_key, and the VS Code extension treats that session as an API key session/statuslisting an Anthropic profile beside an API key as if both were in effect; the profile is now marked as not in use), quotes,],&or a second@, or that runs past a/to a bracketed host such as[::1]in an ssh URL/feedbacksaves to disk containing invalid JSON lines after secret redaction/usagenot crediting an MCP server for a tool call made while that server was still connecting or had only just connected, such as right after a restart/compact,/clear, and/rewindtyped while viewing a background agent's or teammate's transcript silently acting on the main conversation: a dialog now names the target and asks first/plugin's Discover tab showing a marketplace name unquoted in its "Checking … for new plugins" line when its rows already show that name in quotesverify, Claude is now told to run it right before committing, except for docs-only and tests-only commits/hooks: the closing line of a hook's detail screen now says "this hook" instead of "it"-psessions when a host re-sends an MCP server enable for a server that is already connected/protocol: it now says not to reject unknown input and matches what Claude Code sends today--bareto connect only the MCP servers named on the command line, send the model no system reminders, and start no background tasks; under--bare, a shell command that reaches its timeout now stops instead of moving to the background/artifacts,/mcp,/skills,/hooksand others) to always line up each row's details in one column after the names/hooksto open on one list of your configured hooks grouped by event, so viewing a hook takes one Enter instead of three/exit's Remove worktree to run after Claude Code stops the servers and shells it started there, which on Windows could keep the folder from being deletedclaude-apiskill's Managed Agents examples to create environments with limited networking/ultrareviewandclaude ultrareviewoutputclaude --bgand the agents view refusing a folder thatclaudealready trusts when its trust record was saved with different letter casev2.1.285Compare Source
What's changed
CLAUDE_CODE_DISABLE_WEB_FETCHenvironment variable to turn off the WebFetch toolclaude --desktopto open the Claude desktop app on the current directory, or on a session with--continue/--resume <id>claude plugin configure <plugin>to show a plugin's options and which are unset, or save new values read from stdin with--values-stdin<server>.<key>=<value>toclaude plugin install --config, so a bundled.mcpbMCP server's own settings can be set at install time and it starts without visiting/plugin→ ConfigureallowedProvidersmanaged setting to limit which API providers a machine may use (Anthropic API, a custom endpoint, Bedrock, Mantle, Vertex AI, Foundry, Claude Platform on AWS, or a Cloud gateway)CLAUDE_CODE_NONSTREAMING_TIMEOUT_RETRIESenvironment variable to cap re-sends of a non-streaming fallback request that timed outclaude -pwithCLAUDE_CODE_FORK_SUBAGENT=1: a subagent's own Agent call now runs in the foreground, so the subagent gets the child's resultGIT_SSHor in your git config'score.sshCommandclaude plugin disableandenablewith a fullname@marketplaceid changing a settings entry in another letter case instead of the installed plugin's ownset_modelrequest (such as the Agent SDK'ssetModel) leaving the new model on the built-in output-token limit and auto-compact window until restart@, or all of it when the URL writes its@as%40/teleportfetches taking over the terminal; these fetches now fail fast instead of asking-psessions leaving its tools availableclaude -p --permission-prompt-tool: a background subagent's permission request now goes to the prompt tool instead of being auto-deniedclaude mcp listandclaude mcp get, and the not-found error ofclaude mcp remove,loginandlogout, printing line breaks and terminal escape sequences from MCP server names and valuespython3 -c,node -e) just because they contain=dontAskmode: a fork now runs under its parent's permission mode and cannot exit plan modeclaude remote-control --helpsaying--[no-]chromedefaults to the machine's/chromesetting; spawned sessions keep Claude in Chrome off unless--chromeis passed/remote-envreading only the newest 20 of an account's environmentsclaude plugin installor/pluginputting it into an installed plugin's cache or data folder when their ids differ only in.,-,@or (macOS, Windows) capitals; the install is now refusedANTHROPIC_AUTH_TOKENagainst the Anthropic API never loading the organization's policyagent(),parallel()orpipeline()call that a workflow script awaits later, or not at all, being treated as an unhandled promise rejection, which could end a background sessionsome-daemon &) kept its output open; the hook now finishes shortly after its own process exitsmodelTimeoutExceptionandserviceUnavailableExceptionerrors showing a raw JSON body instead of the error message/autofix-prand/schedulesaying the Claude GitHub App is not installed on a repository whose install status had not been checked yet/artifactsunlinking its file from the artifact, so publishing the same file again created a new artifact instead of updating itArtifactallow rule ("don't ask again") letting the Artifact tool publish a file outside the working directories without asking; add the file's folder with--add-dirfor the rule to cover it/costand SDKmodelUsagereporting a turn under the wrong model when the server answered a refusal with a different fallback model than the client expected/ultrareviewwhen the project folder briefly could not be read/ultrareviewon macOS and Linux failing to upload the working tree from a git worktree whose per-worktree config setscore.longpaths/ultrareviewuploads including uncommitted changes to credential files whose name has a colon before the extension, such asserver:8443.key/ultrareviewuploads on macOS and Linux running slowly on some unusual file names, and their credential-file check missing file or folder names with many backup or editor marksxorrin NORMAL mode no longer breaks a pasted-text placeholder at the end of the prompt.mcpbMCP server that still needs configuration:/plugin, the install message andclaude plugin installnow say so and point to Configure/ultrareviewrefusing to upload a checkout on a Linux volume when a changed file's name has a colon or ends in a dot or spaceCLAUDE_CODE_RESUME_INTERRUPTED_TURNre-running a turn that had ended at--max-turns/ultrareviewuploading a linked worktree of a repository rooted at your home folder in some casesclaude agentsto a background session waiting on a permission prompt sometimes approving the pending commandclaude attach,logs,stop,respawnandrmstarting a new session with the command name as its prompt when options came before it, such as from a shell aliasclaude mcp listleaving out WebSocket (ws) MCP servers; each is now listed with its URL and health statusclaude mcp getshowing no Type, Command, Args, or Environment for stdio servers whose config entry omits thetypefield.claude/settings.local.jsonallow rules being held back outside a git repository when git's trace2 output is configured/claude-apieval runner scaffold and report builder writing through a symlink or hard link planted at an output file/claude-apieval runner scaffold counting responses cut off atmax_tokensin the score averages; they are now marked truncated and counted separately showing as literal text in the terminal when a reply uses it to indent text, such as row labels in a markdown table/clearor/compact/btwside question asked of a session hosted by an app such as Claude Desktop now sees the turn in progress, not only the last finished onepingstream event is now sent every 30 seconds on the Anthropic API, Claude Platform on AWS and gateways/resumeandclaude --resumeon a session that is running in the background: they now open that session instead of refusing, and a prompt given withclaude --resume <id> "prompt"is sent to it as its next turn_meta['anthropic/alwaysLoad']to false stays deferred when its--mcp-config, Agent SDK or plugin server is set toalwaysLoadtimeoutwithrun_in_background, default 30 min, max 2 h); Claude is notified when one is stopped/ultrareviewto run whendisableWorkflowsis on, unless the machine running the review has it set by its own administrator (MDM or the managed-settings file)ANTHROPIC_BASE_URLto use the 1M context window of models that have one (Opus 4.7+, Sonnet 5+, Fable); run/autocompact 200kif your gateway stops at 200Kclaude -pand Python Agent SDK sessions on third-party providers or with telemetry off to start in auto mode when no permission mode is configured, like interactive sessions;--permission-modestill overrides itwidgetsto be reserved in cloud sessions and on self-hosted runners: your own server under it, or a close spelling such aswidgets_, no longer loads, so rename it/ultrareviewon macOS and Linux to leave symbolic refs out when uploading a local checkout; a checkout whose current branch is a symbolic ref is now refused with an explanationenvto no longer setALLUSERSPROFILE,SystemDrive, or theCommonProgramFilesvariables; set them in user or managed settings instead/tasksto fold background work Claude Code runs for itself under one "System tasks" row; press Enter on it to show those tasks/ultrareviewon macOS and Linux to require git 2.31 or newer to upload a local repository; checkouts made with--separate-git-dirare now refused instead of being uploaded with an older method/ultrareviewuploads on macOS and Linux to send a partial clone as a working-tree snapshot on git 2.31 or newer, instead of falling back or refusing when git's version looked too old/ultrareviewuploads on macOS and Linux to refuse, instead of fetching, a partial clone missing some of its working tree's files on older git versions; a clone made without--filteruploadsclaude mcp getto hide the command, arguments, and environment values of stdio MCP servers provided by plugins; variable names are still shown/claude-apiso it can no longer be run from Remote Control clients/config chrome=trueto direct you to the /config panel instead of enabling Claude in Chrome by default;/config chrome=falsestill turns it off when it was onCLAUDE_CODE_RESUME_INTERRUPTED_TURNset, even with Continue After Reload offCLAUDE_CODE_SUBAGENT_MODEL_FORCEor an agent's ownmodel).claude/settings.jsonturns onMCP_DISCOVERY_CACHE=1, when set in your cloud environment's variables rather than a settings file, to reuse your connectors' tool lists after a session restart; other MCP servers are no longer cached and connect at startupv2.1.284Compare Source
What's changed
claude-sonnet-5-5), now the default Sonnet model on the Anthropic API — 1M context, $2/$10 per Mtok with $0.20/Mtok cache reads/usageand the status line (for example "$271.40 / $500.00 spent this month") when the gateway runs this version or later; the status line'srate_limits.spend_limitalso gainsused_usd,limit_usdandperiodeffortSlider:decreaseEffort,increaseEffortandtoggleUltracodekeybinding actions, so the/effortslider's arrow and Tab keys can be rebound inkeybindings.json/rate-limit-optionsto/helpand the command menu for claude.ai subscribers, so the usage-limit notices that mention it point to a command you can find/mcp reconnect allin the interactive terminal to retry every MCP server that failed to connect or needs authentication at onceavailableModelsis empty, or leaves out the model Claude Code starts on without settingmodelorenforceAvailableModelsauth: { google: {} }for Claude apps gatewaytelemetry.forward_todestinations, so telemetry can be exported straight to Google Cloud's OTLP endpoint using the gateway's Google Cloud credentialsprivate_key_jwt) between the Claude apps gateway and its identity provider, for identity providers that issue certificate credentials instead of client secretssource, and failing on every later turn after a malformed document block; a malformed image is now replaced with an explanatory note/usage,/extra-usageand IDE usage views now back off instead of re-askingclaude mcp addreporting success when managed settings restrict MCP servers to plugins; it now refuses and says what to do, instead of saving a server that never loads/pluginconfigure screen: boolean options are now a true/false choice instead of free text, number options refuse invalid input, and ←/→ change an options field instead of switching tabsANTHROPIC_FOUNDRY_RESOURCEbeing interpolated into the Foundry endpoint host unvalidated; a value that is not a plain resource name is now refusedbin/directories that don't exist are no longer added to PATH, and inherited entries aren't added twicesparsePathsplugin marketplaces cloning empty and replacing a working local copy on older git (before 2.39), which failed every refresh with "marketplace.json file is no longer present"[in transcript mode writes the conversation to scrollback (macOS and Linux)/configand/pluginbreaking the title and tab labels mid-word in a narrow terminal; a tab that doesn't fit now moves to the next line whole/modelpicker showing "+1 model" below the list after scrolling to the last model; the count now covers only the models below the visible rows/keybindingswriting Backspace and Delete bindings for a footer action that does nothing into the generatedkeybindings.jsonfooter:close) typing "x" instead of itself on the row of the agent you're viewing.not repeating text typed very fast (for example over ssh or in tmux) or pasted without bracketed paste, and leaving the prompt in INSERT mode after repeating a change with nothing typed (such ascwthen Esc)ddon the last line oryyat the end of the prompt, whererorxwould break or delete the image.claude/rulesfrom outside the project being skipped without ever showing the external-imports approval prompt; a.claudedirectory symlinked from outside the project now asks for the same approvalallowed-toolsunder managedallowManagedPermissionRulesOnly; only plugins from an official Anthropic source or a source that managed settings vouch for keep that pre-approvalclaude plugin installleaving the plugin enabled and recorded when a dependency's version range could not be met{"decision":"block"}returned by Elicitation and ElicitationResult hooks being ignored; it now declines the MCP elicitation, as exit code 2 doesSendMessagetool (such as by Claude Desktop) still being told to message other sessions with it/upgradeto users already on the highest Max plan; the warnings and/upgradeitself now point at/usage-creditswhen it is available/loopstatus updates in self-paced mode often not being shown because Claude wrote them only in its reasoning; Claude now writes each update, and the outcome when the loop stops, as visible text/ultrareviewfailing to upload the working tree when started from a git worktree that the Claude desktop app created on macOS or Linuxdata/users/subtree, and added a "view" level toas_level431 Request Header Fields Too Largeto every request from a sign-in whose identity provider lists many groups; it now accepts request headers up to 256 KiB/claude-api:hillclimbno longer spends rounds on prompt rewordings too small for the eval to measure, and an extra page you ask for besidereport.htmlis built as one local file that loads nothing from the network/tasks,/copyand/hooks: the details after each name now line up in one column when they fit, and otherwise sit at the right edgeclaude plugin marketplace addto say when it replaces a marketplace already added under the same name from a different source, and how to undo itforceLoginMethodorforceLoginOrgUUID) and an API key, token orapiKeyHelperis configured: it now names the credential in use, where it is set, and how to remove itMEMORY.mdand recalled memory notes before they reach Claudeclaude remote-control: in a folder you haven't trusted yet, it now asks for workspace trust on the terminal instead of exitingpermissions.defaultModestill overrides it/effort(Tab, or/effort ultracode [on|off]): it no longer forces xhigh effort and stays on at any effort levelANTHROPIC_DEFAULT_OPUS_MODELormodelOverrides: on the Anthropic API, the API now picks the model to switch to for each kind of flag, not the pinned model--allowedToolsor anmcp_toolhook, even whenCLAUDE_CODE_MCP_STARTUP_WAIT_MSis0/recapto decline with a short notice when it arrives relayed from a chat thread (your own included) or from a routine or webhook; typed in the terminal, the Claude apps, Remote Control,-por an SDK host, it runs as before/artifactsto show its filter tabs beside the title with one-word labels (All, Mine, Shared), using the same tab bar as/configand/plugin\\host\sharepath or a/netautomount) unless it is on a mapped network drive added with--add-dir/modeland Enter printing usage text into the chat instead of opening the model selector/feedbackon Vertex, Bedrock and Foundry being refused after you pressed Send; the report is now saved on this computer, as the terminal does/mcp,/configor/settingscommand being shadowed by the extension's dialogCLAUDE_CONFIG_DIRin theclaudeCode.environmentVariablessetting to apply only when it is an absolute path, and passed it to terminals that continue the chatv2.1.283Compare Source
What's changed
x-claude-code-prompt-idto the gateway hint headers so LLM gateways can group the requests that serve one user prompt; opt in withCLAUDE_CODE_GATEWAY_HINT_HEADERS=1availableModelsMatchmanaged setting: with"exact", anavailableModelsentry allows only the model version it names, so new releases stay blocked until listeddeniedModelsmanaged setting to block specific models, even whenavailableModelsallows themtool.outputOpenTelemetry span event whenOTEL_LOG_TOOL_CONTENT=1/doctor prompt-audit(also/checkup prompt-audit) to audit your CLAUDE.md files, skills, agents and commands for prompting patterns written for older modelspathto--plugin-dirload-failure entries in the stream-jsonsystem/initplugin_errors, naming the directory that did not loadload_test_modeblock to the Claude apps gateway config: requests are built and signed but not sent upstream, and clients get a canned reply, so a deployment can be load testedmantleupstream provider to the Claude apps gateway for Amazon Bedrock's Mantle endpointresult.usage/mcpno longer offers Authenticate for such servers/usageand the VS Code usage meters when telemetry is disabled/modelaccepting Sonnet 4.6 or Sonnet 5 with[1m]when the id carried a date or-v1:0suffix, in the cases where the plain id was refused/modelpicker showing a hardcoded Haiku version and price whenANTHROPIC_DEFAULT_HAIKU_MODELpins a different modelDISABLE_PROMPT_CACHING_HAIKUhaving no effect when Haiku is the session's main modelclaude plugin validatesaying Claude Code accepts a plugin or marketplace name it cannot install; such names inmarketplace.jsonnow fail validationclaude plugin validatepassing plugins whoseoutputStyles,themes,monitors, orlspServerspaths are missing or point outside the plugin directoryclaude plugin detailsshowing 0 MCP servers for plugins that declare their servers inplugin.jsonclaude plugin marketplace removenot saying which installed plugins it uninstalled with the marketplace; it now lists themclaude plugin uninstallremoving the other of two installed plugins whose ids differ only in case, with its options and secrets, when the one named had noenabledPluginsentry at that scopeinstalled_plugins.jsonshowing no plugins when it holds a record under an invalid plugin id; such a file loads againinstalled_plugins.jsonbeing rewritten, losing records, when it holds a record this version cannot read;claude plugincommands now name the record and say how to recover/contextnot counting MCP server instructions: they now appear as their own row and count toward the totalclaude mcp add,add-json, andremovereporting success when the user or local config file could not be written, for example inside a sandboxcmdan alias ofmeta, which could producecmd+shortcuts most terminals never sendkeybindings.jsonsilently accepting a misspelleConfiguration
📅 Schedule: (UTC)
* * * * 4)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.