chore(deps): update dependency @anthropic-ai/claude-code to v2.1.310 #293
All Vouch review confidence checks passed
Residual risk 0.35 = Change Risk (0.57) × (1 − Review Confidence (0.39)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 31% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #293"
general
weight: 0.35
pjbgf
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @anthropic-ai/claude-code |
2.1.296→2.1.310| !age | !confidence |---
Release Notes
<details>
<summary>anthropics/claude-code (@​anthropic-ai/claude-code)</summary>
v2.1.310Compare Source
effort-2025-11-24beta value or mid-conversation system messages; Claude Code now retries without themcleanupPeriodDaysis set to a very large value-p, Agent SDK) during compaction when the transcript file is very largeImageto draw inside tmux withallow-passthroughandfocus-eventson, in kitty, Ghostty, and iTerm2 3.5+ with fullscreen rendering, where it showed only itsalttext/sandboxand the sandbox startup warning to name Ubuntu's AppArmor restriction on user namespaces, and how to lift it, when it keeps bubblewrap from starting the sandbox!commands such as!restartand!helpas ordinary messages when sent in bold, italic or strikethroughv2.1.309Compare Source
denyWriteglob patterns not applying at a path's real location when the pattern's folder is reached through a symlink--mcp-configcdis wrapped or prefixed, as they do for a plaincdEdit(path)deny rule not blocking a Bash redirect to that path in some commands that also held a subshell!modejqcould not parse/procclaude remote-controlstatus line showingHEADas the branch for a folder that is not in a git repository--toolsrules given on the leader's command line/renameappearing to other sessions under a generated name after a VS Code window reload or a non-interactive--resume/rewindlist showing "No code changes" for a turn that changed checkpointed files through/code-review --fix, a subagent or a shell command/privacy-settingsshowing an out-of-date "Help improve our AI models" value; it now also says when the setting can't be fetched--add-dirfolder being unreachable when another skill already held its name; it is now offered as<folder>:<name>/verifyand/code-reviewnot finding a nested package's own skill when its files were changed from the shellant beta:worker poll --on-workpasses trace context to the commandPreToolUseandPermissionRequesthooks with"shell": "powershell"failing open when Git for Windows isn't installedturn.stephook that names a model by alias, such ashaiku, failing every request with a model error: the alias now resolves to its modelANTHROPIC_BEDROCK_BASE_URLis set to the defaultbedrock-runtime.<region>.amazonaws.comendpointSet-Locationorcdcommands that target the current directory and carry extra arguments; these now prompt for approval--startup-timeout-minstopping a session whose first prompt, such as/code-review, was still working in a subagent; a frozen process is still stoppedapca(text, background)function to its palette validator scripts, and say whether a label inside a colored chart fill should be white or near-blacksed -ito get the standard Bash prompt and run as written, not a simulated file-edit preview; like other Bash edits, it is no longer restored by/rewindclaude ultrareviewto require workspace trust: it asks on a terminal, else refuses; scripts pass--trust-workspace, which takes no value (put a PR number or base branch before it), or setCLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK=1rmandrmdirprompt in bypass permissions mode in the Desktop app and VS Code to deny the command at once with a rewrite hint, so unattended sessions keep going/claude-apiskill to build Managed Agents subagent teams onmultiagent_20261001with dynamic workflows on by default, instead ofcoordinator/goalfilling the chat panel; they now fold behind Show more like other prompts (#​97469)@claude review stop; its check now closes and says whyv2.1.308Compare Source
v2.1.307Compare Source
/claude-api api-versionto move Claude API code to API version2026-10-21claude_code.safety_eventOpenTelemetry event for each tool call a permission rule, auto mode, a safety check, a hook or the sandbox stopped, prompted or sent backCLAUDE_CODE_DISABLE_1M_CONTEXTis set and the model is an alias with the[1m]suffix, such asopus[1m]prompt-caching-scopebeta header being sent behind customANTHROPIC_BASE_URLgateways and on Foundry, where it has no effectclaude -pon macOS while the login keychain was locked; they now say why, and the next run after an unlock connects without a new sign-in/autocompactin cloud sessions going back to the default window after the session restarted/clearsometimes coming back when a cloud or self-hosted runner session restartedCLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MSbeing ignored in Claude apps gateway sessionsOTEL_EXPORTER_OTLP_HEADERSis set/permissions> Recently denied not showing the denied shell command, and auto mode's local classifier ignoring an approval from there when it checks a retried command; approving a row now names the command, not its description/helpand the/command menu showing long model-facing descriptions for bundled skills such as/claude-apiinstead of their short descriptionssetModel(), and apps built on it, being refused when the API took more than 5 seconds to confirm the model; Claude Code now waits up to 15 seconds--use-anthropic-git-proxycommitting a.claude/settings.local.jsonleft in the clone by an earlier sessionaxScreenReadersetting andCLAUDE_AX_SCREEN_READERin a settingsenvblock to apply only from user, managed or--settingssettings (since 2.1.305)--checkout-hook-timeout-minor set it to0[runner:warn]line gives the number left outNODE_EXTRA_CA_CERTSis set only in~/.claude/settings.json; it now also followsCLAUDE_CODE_CERT_STORENODE_EXTRA_CA_CERTSfile named in the environment or in user settings@claude review stop(alsooffandpause) to Code Review, ending an@claude review alwayssubscription on a pull request without starting a new reviewv2.1.306Compare Source
claude -pinside cloud sessions reporting "Not logged in" when started without the session's environment variablesv2.1.305Compare Source
sandbox.allowNestedUserNamespacesso sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the sandbox's file protectionsCLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MSso unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) notices a usage limit that was lifted before its reset--tools(a 2.1.304 regression): Claude Code now retries without it/effortand/autocompactsettings not applying when the model name differed from amodelOverridesvalue by letter case or a[1m]tagENOSPCfile path: the error now says the disk is full and that nothing ransetMcpServersbeing replaced later in the session by a same-named server from your own settingspipeline()andparallel()agents instead of serving them from the run's journal/resumeafter switching conversations with/resume/usagerows being cut off in narrow terminalsResource temporarily unavailablewhenTERMis set (a 2.1.300 regression)GIT_CONFIG/usage: each warning is now a one-line fix that names its source, andfapplies the fixes; the same fixes appear in VS Code and/doctorImageto draw its picture in iTerm2 3.5 and later with fullscreen rendering, where it showed only itsalttextwnow says the new mode is saved for the folder, and a laterclaude remote-controlstart that uses the saved mode says where it came fromallowedMcpServersto stop filteringmanaged-mcp.jsonstdio servers that use${VAR}only inenv: one your allowlist left out now loads on upgrade; usedeniedMcpServersto keep it offallowed-toolswhen your organization's managed settings setallowManagedPermissionRulesOnly/artifactsdelete confirmation to take 1 or Enter to keep, 2 to delete, and Esc to cancel;yandnno longer answer itspinnerVerbssetting replaces the built-in verbs with short onesv2.1.304Compare Source
decider: "person"to a mod'stool.checkanswer: only the permission dialog or a host's callback can approve the ask, and it is refused with the mod's reason where nobody can be askede.isReadOnlyto a mod'stool.checkevent, set when the tool call is read-only/auto-mode-setup: a guided setup that reads your project and recent sessions to teach auto mode about your environment, now also available on Bedrock, Vertex, Foundry, Claude apps gateway and telemetry-disabled sessions/claude-api managed-agents-secure, which compares a Managed Agents agent's settings with Anthropic's published security guide, without changing anythingANTHROPIC_API_KEYat startup or switching "Use custom API key" in/configsandbox.filesystem.denyReadglob contains brackets that are not a character class, such as a[user-id]route folderrm -rof a mounted drive or a folder at its top level (/Volumes,/media, WSL's/mnt/c) not getting the safety prompt thatrm -rf /ApplicationsgetsCLAUDE_CODE_TRANSCRIPT_LOCAL_GCdropping messages from the saved transcript when the disk filled up while the file was being trimmed--max-turns, Stop, or ended input by spawning subagents or re-running a finished onekeywere redrawn unchangedplugin-authoringskill stopping at the secret scan on machines with managed settings and on Team and Enterprise plans../../…; they now show~/…or the full pathcontext_management: Extra inputs are not permittederrors behind LLM gateways; Claude Code now resends the request without that field/privacy-settingsoffering choices that may not apply to you after a network or server errorclaude --helptext for--tools,--resume,--debug,--json-schema,--disable-slash-commands,--system-prompt-snapshotandclaude updateto match actual behaviorclaude --worktreeremoving the worktree and its branch without asking at exit when HEAD was detached or on another branch, which could lose commits/effort status,/effort ultracodeand the prompt's effort indicator showing a guessed effort level whenCLAUDE_CODE_EFFORT_LEVELisautoorunsetand no level is sent/loopwakeups scheduled at the 1-hour maximum firing just after the 1-hour prompt cache expired, so those wakeups no longer re-read the conversation uncachedoncehook also removing another skill's identical hook after it ran{and}landing the prompt on an inconsistent row, or off screen, instead of the transcript's first rowCLAUDE_CODE_AUTO_COMPACT_WINDOW=200ksilently setting a 100K window: the variable now acceptskandMsuffixes like--autocompact, and warns when a value is out of range or ignored/usageto say when a rate limit on usage data ends instead of "try again in a moment"alwaysLoad: trueclaude -pinvalid-settings warning: a file that did not load lists only what stopped it, and long lists are capped per filesettings.readhooks to receive each settings layer and rewrite the merged settings, so a managed mod can make an organization's setting a ceiling, including thecleanupPeriodDaysthe retention sweep uses/artifactsdelete confirmation to show numbered choices: 1 or Enter keeps the artifact, 2 deletes it, and y, n and Esc still workANTHROPIC_BASE_URL; a 400 or 422 from the gateway is retried without it/reload-skillsnow sends only new or changed skillsallowed-toolsantCLI on Claude Platform on AWS instead of falling back to the SDK or curlclaude plugin validatethat predicted where a mod's hooks would run/fastdialog title on Opus 5.5claudeCode.claudeProcessWrapperis set@Claude !forktyped outside a thread getting no visible reply; Claude now shows you a private note saying to run it from inside a threadv2.1.303Compare Source
v2.1.302Compare Source
CLAUDE_CODE_AUTO_MODE_MODELto choose the model the client-side auto mode classifier uses; it does not change the model for server-side auto modeIdle compactionrow to/configfor turning idle compaction off or back on; the notices shown after an idle compaction now say how to turn it off/design-syncand/design-loginthat standalone Claude Design (claude.ai/design) closes by December 14, 2026/autocompactand/effortsaving to the wrong model when a gateway names Opus 4 or 4.1 with a prefix, such asanthropic/claude-opus-4-1claude pluginand other subcommands sometimes exiting before a queued settings or config write finished, which could lose the change or leave a.tmpfile behindbin/folder, and reporting an error when a search that finds nothing (rg, grep, findstr, git grep) is piped intoSelect-Objector another formatting cmdlet/mcpto authorize or reconnect an MCP server where that option isn't availableclassifier_categorymissing from OpenTelemetrytool_decisionevents for most auto mode classifier blocks, and newtool_decisionattributes pushing outtool_use_id,tool_sourceandtool_parameterswhenOTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMITis lowclaude remote-control --helpnot printing its usage and exiting when not signed in/design consentand/design revokesuggesting/design-loginwhen they fail in a cloud session, where it isn't available; the message now points to claude.ai/design/settingsresultType,ttlMsorcacheScopeclaude plugin details <name>@​builtinsuggestingclaude plugin list, which never shows built-in plugins, when the plugin isn't found; it now points to/plugin.gitfile points at a directory that doesn't exist--plugin-dirclaude -pand Agent SDK sessions with no permission mode to start indefaultmode on third-party providers, with telemetry off or on a fresh install;--permission-mode autokeeps autosubagent_type: "fork") to be on by default inclaude -p, the Agent SDK, the desktop app and VS Code, as they already are in the terminal;CLAUDE_CODE_FORK_SUBAGENT=0turns them off, andclaude mcp servenever offers themclaude -p, the Agent SDK, the desktop app and VS Code now run in the foreground by default← for agentsfooter hint to hide 10 seconds after a session opens; the count of agents waiting on you still shows/feedback: it now points to GitHub issues instead of an organization admin@browserbanner saying "Browser connected" when no browser with the Claude extension can be reachedv2.1.301Compare Source
CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MSso unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) ends a request at a usage limit that resets too far away instead of waitingclaude-apiskill, including setting up trace destinations with theantCLI%motion to vim mode: jump to the matching bracket, alone or with d/c/yrowsto a mod'sInput: a text field of several lines in the terminal, where Enter submits and Shift+Enter or a backslash before Enter starts a new lineclassifier_verdictandpermission_modeto OpenTelemetrytool_decisionevents, so auto mode classifier decisions can be told apart from permission rulesclassifier_categoryto OpenTelemetrytool_decisionevents, naming the built-in rule a classifier block matched, whenOTEL_LOG_TOOL_DETAILS=1WorktreeCreatehook without asking when it may hold unpushed commitsfable(andbest) model alias erroring on the Anthropic API when the newest Fable model is not available to your organization: Claude Code now retries once on the previous Fable model>0qcovering the folder trust prompt, and>4mbefore the shell prompt at exit, in terminals built on VTE older than 0.53 such as MATE Terminal on RHEL 8GOKtext appearing in the prompt at startup in some versions of iTerm2application-inference-profilerunning yourawsAuthRefreshcommand and delaying model-switch hooks when the provider is not Bedrockclaude auth statusorclaude plugin listexited in the middle of a token refresh/rewindaskdecision not showing which plugin or skill the hook comes from/diffnot noticing a conflicted cherry-pick or revert in reftable repositories when one of its git checks timed out or failedcdin the same session</details>
---
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by Renovate Bot.
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6ZGVwcyJdfQ==-->