Repository navigation
chore(deps): update dependency anthropics/claude-code to v2.1.307 - #55
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.
This PR contains the following updates:
2.1.303→2.1.307v2.1.318(+8)Release Notes
anthropics/claude-code
v2.1.307Compare Source
What's changed
/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
What's changed
claude -pinside cloud sessions reporting "Not logged in" when started without the session's environment variablesv2.1.305Compare Source
What's changed
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
What's changed
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 threadConfiguration
📅 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.