Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One family

Environment variables, all 1,448.

Names the client reads out of the environment it was started in, to turn something on, off or somewhere else.

Environment variables1,448seen across 149 builds
In v2.1.3081,274the newest inventory on disk
Gone122in an earlier build, not in the newest
Described182have a line in Anthropic's documentation
No docs line1,266no line in the documentation we hold

Every environment variable, and where it lived

1,448 environment variables One tick per build on this box, oldest on the left. A gap is a build the environment variable was not in.

○ not in v2.1.308, ◇ we found no documentation describing it.

Environment variableWhat it doesSpan v2.1.138 → v2.1.308 Status
CLAUDE_CODE_AUTO_MODE_CLASSIFY_ASK_USER_QUESTION ◇ In auto mode, a question can be classified and handled instead of halting the run.never mined ·never mined CLAUDE_CODE_AUTO_MODE_EXTERNAL_PERMISSIONS ◇ No description from anybody.v2.1.160 → v2.1.308 ◆in the build CLAUDE_CODE_AUTO_MODE_MODEL ◇ Claude Code now recognises CLAUDE_CODE_MCP_SERVE_WORKSPACE_ROOT alongside its other variables for running as an MCP serverv2.1.160 → v2.1.308 ◆in the build CLAUDE_CODE_AUTO_MODE_OUTCOME_CODES ◇ The switch controlling outcome codes in auto mode now runs through a wrapper with an empty branch.never mined ·never mined CLAUDE_CODE_AUTO_MODE_REPO_VISIBILITY ◇ Auto mode's awareness of whether your repo is public now has its own environment variable and config field.never mined ·never mined CLAUDE_CODE_AUTO_MODE_SERVER Controls whether Claude Code asks the server to review auto mode actions. Set to 0 to use Claude Code's own classifier requests instead. On a direct connection to the Anthropic API, requires v2.1.281 or later. The linked section lists which sessions ask the server when the variable is unset, and from which version. Requires Claude Code v2.1.271 or laterv2.1.271 → v2.1.308 ◆in the build CLAUDE_CODE_AUTO_MODE_TIER ◇ Setting CLAUDE_CODE_AUTO_MODE_TIER to any value, even "full", makes Claude Code use the "strict" auto mode tierv2.1.286 → v2.1.308 ◆in the build CLAUDE_CODE_AUTOUPDATER_DISABLED_BY_HOST ◇ With CLAUDE_CODE_AUTOUPDATER_DISABLED_BY_HOST set, Claude Code skips plugin auto-updates the host app has pinnedv2.1.295 → v2.1.308 ◆in the build CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS Time in milliseconds Claude Code waits for the AWS default credential provider chain to produce credentials before the request fails with AWS default-chain credential resolve timed out (default: 60000). Raise it when a step in your chain legitimately needs longer, such as a browser-based SSO sign-in with MFA through a wrapper like aws-vault. Applies wherever Claude Code signs with the default chain: Amazon Bedrock, Claude Platform on AWS, and the Mantle endpoint. Requires Claude Code v2.1.207 or laterv2.1.207 → v2.1.308 ◆in the build CLAUDE_CODE_BASALT_COVE ◇ Boolean (1, true, yes or on). When true, the system prompt's user-communication section is the longer # Communicating with the user version (lead with the outcome, write for a teammate catching up) instead of the default # Text output one, unless the turn_updates capability applies, which takes precedence. When unset or false, that section is still chosen for models listed under basalt_cove in client data or matched by other model checks.v2.1.205 → v2.1.308 ◆in the build CLAUDE_CODE_BASE_REF ◇ Git ref Claude Code diffs against when it attaches per-file diffs to Write and Edit tool results (in remote sessions with CLAUDE_CODE_REMOTE set, or bridge sessions with the tengu_bridge_child_tool_diff flag on, default true) and when it computes a branch-point diff of the repository. The base is git merge-base HEAD <ref>; unset, Claude Code uses the repository's default branch instead, and a value starting with - is ignored (the tool-result diff falls back to HEAD, the branch-point diff to uncommitted changes only). A matching entry in CLAUDE_CODE_BASE_REFS takes precedence, and Claude Code's bridge clears this variable from the environment of the sessions it spawns.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_BASE_REFS ◇ Map from checkout name to git ref, keyed like CLAUDE_CODE_REPO_CHECKOUTS (checkout name to path); entries whose value is not a string are dropped, and a parse failure is logged and leaves the map empty. When Claude Code computes a Write or Edit diff for a file inside a listed checkout, that checkout's ref is used as the diff base in place of CLAUDE_CODE_BASE_REF. It is parsed once per session, and Claude Code's bridge clears it from the environment of the sessions it spawns.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_BASH_EDIT_DIFF Set to 0 to turn off the diff of the files that changed while a Bash command ran, or 1 to record it in every permission mode. Takes precedence over the bashEditDiffEnabled setting. Requires Claude Code v2.1.269 or laterv2.1.269 → v2.1.308 ◆in the build CLAUDE_CODE_BASH_OUTPUT_AUDIENCE_NOTE ◇ A new reminder can tell Claude that the user only sees a few lines of Bash output, so it must repeat what matters in its replyv2.1.235 → v2.1.308 ◆in the build CLAUDE_CODE_BASH_SANDBOX_SHOW_INDICATOR ◇ Boolean (1, true, yes or on). When true, a Bash tool call that will run inside the sandbox is shown under the name SandboxedBash instead of Bash.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_BENCH_LIVE_COUNTS ◇ Boolean (1, true, yes or on). When true, the terminal renderer adds live DOM-node and React-fiber counts (domLive, fiberLive) to the per-frame phase timings it reports, sampled at most once every 100 ms.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_BG_CLASSIFIER_MODEL ◇ No description from anybody.v2.1.160 → v2.1.308 ◆in the build CLAUDE_CODE_BG_TASKS_REPORT_RUNNING Set to 0 to make a non-interactive session report an idle status to its host at every turn end, even while background work is still running. By default, the session keeps reporting a running status past turn end while background work such as a background agent or a workflow run is still live. This keeps a host that watches the status, such as a remote session list, from announcing that Claude is waiting for your input mid-work. Background shell commands, such as a dev server, don't hold the running status. The running-status default and the 0 opt-out require Claude Code v2.1.269 or later; on earlier versions, set 1 to hold the running statusv2.1.181 → v2.1.308 ◆in the build CLAUDE_CODE_BISON_CAIRN ◇ A new env var forces the delivering-work-max prompt section on instead of relying on heuristics.v2.1.217 → v2.1.308 ◆in the build CLAUDE_CODE_BLOCKING_LIMIT_OVERRIDE ◇ Token count, used when it parses to a number greater than 0. It replaces the context blocking limit, which is otherwise the model's context window less a per-model reserve of up to 20000 tokens and a further 3000. When the estimated conversation size reaches the limit and the turn was not compacted, Claude Code can end the turn with a Prompt is too long error instead of sending the request.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_BREEZY_HORIZON ◇ You can swap the model a request uses by setting an environment variable, or the server can do it.v2.1.246 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_CHILD_ARTIFACT ◇ New env vars let a bridge-spawned child session default to auto permission mode and force-enable artifactsv2.1.269 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_CHILD_AUTO_DEFAULT ◇ New env vars let a bridge-spawned child session default to auto permission mode and force-enable artifactsv2.1.269 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_CHILD_MACHINE_SETTINGS ◇ Bridge child sessions now get a new CLAUDE_CODE_BRIDGE_CHILD_MACHINE_SETTINGS environment variablev2.1.273 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_CHILD_PROJECTS_ENTRYPOINT ◇ Setting CLAUDE_CODE_SKIP_PLUGIN_LOCAL_MCP_SERVERS keeps only remote MCP servers from plugins, and several other environment variables are newv2.1.304 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_MCP_CARRIER ◇ Processes launched by the bridge mark their marker as spent, so grandchildren are told apart.v2.1.239 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_OWNER_ACCOUNT_UUID ◇ Bridge worker sessions record which account launched them, but the bridge is off.v2.1.251 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_OWNER_ORG_UUID ◇ Two owner-identity bridge variables now pass through to child processes instead of being stripped.v2.1.251 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_PROMPT_SHA256 ◇ Processes launched by the bridge mark their marker as spent, so grandchildren are told apart.v2.1.239 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_SESSION_ID Set automatically in Bash tool and hook command subprocesses while the session has an active Remote Control connection, and removed when the connection ends. The value is the session's ID in session_ form, the same identifier that appears in the session's claude.ai/code URL, so a script can link back to the session that ran it. Requires Claude Code v2.1.199 or later. In cloud sessions, read CLAUDE_CODE_REMOTE_SESSION_ID insteadv2.1.199 → v2.1.308 ◆in the build CLAUDE_CODE_BRIDGE_SOURCE_DIR ◇ Sessions started over the bridge now get a CLAUDE_CODE_BRIDGE_SOURCE_DIR environment variable holding their source directoryv2.1.286 → v2.1.308 ◆in the build CLAUDE_CODE_BRIEF ◇ /brief is hidden by server config, but brief mode still works via an environment variable.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_BRIEF_UPLOAD ◇ Boolean (1, true, yes or on). When true and the REPL bridge is not enabled, local files attached through the SendUserMessage and SendUserFile tools are uploaded with the account's OAuth token and come back with a file_uuid, as they do in remote sessions; the upload lane is recorded as env_brief_upload. It is checked before CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE and CLAUDE_CODE_REMOTE.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_BUBBLEWRAP ◇ Marks the process as running inside a deliberate bubblewrap sandbox. When true, running as root (uid 0) no longer blocks --dangerously-skip-permissions or bypassPermissions mode at startup, as with IS_SANDBOX=1, and on Linux it counts as a sandbox when Claude Code checks whether it runs in a contained environment without internet access.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_BYOC_ENABLE_DATADOG ◇ When CLAUDE_CODE_ENVIRONMENT_KIND is byoc, Datadog event logging is turned off unless this is true. The session runner also copies the value from its own environment into the environment it builds for a BYOC session, next to CLAUDE_CODE_ENVIRONMENT_KIND: "byoc".v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_CALM_MOCHI ◇ A task's token budget can now skip the tokens spent on its starting context, controlled by CLAUDE_CODE_CALM_MOCHIv2.1.290 → v2.1.308 ◆in the build CLAUDE_CODE_CARVED_SLATE ◇ A mode keeps the system prompt static and moves environment details into conversation reminders, off by default.v2.1.251 → v2.1.267 ○gone CLAUDE_CODE_CCR_EARLY_HYDRATE_PREFETCH ◇ Setting CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT makes a resumed --sdk-url session open its remote connection early, before the rest of startup finishesv2.1.259 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_EARLY_PLUGINS_SYNC ◇ With CLAUDE_CODE_CCR_EARLY_PLUGINS_SYNC set, non-interactive hosted sessions sync plugins before the rest of startupv2.1.286 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT ◇ Setting CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT makes a resumed --sdk-url session open its remote connection early, before the rest of startup finishesv2.1.281 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_EARLY_SKILLS_SYNC ◇ Claude Code now reads four new startup environment variables and passes them through to cloud sessions; they do nothing unless setv2.1.287 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_EARLY_SYNC_AFTER_SETTINGS_REFUSAL ◇ A new switch, CLAUDE_CODE_CCR_EARLY_SYNC_AFTER_SETTINGS_REFUSAL, lets cloud sessions take the early sync path when the settings fetch is refusedv2.1.305 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_EVENT_FLUSH_POLICY ◇ A new environment variable, CLAUDE_CODE_CCR_EVENT_FLUSH_POLICY, sets how a remote session sends out its eventsv2.1.305 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_FOLD_FIRST_TURN_RESCAN ◇ Claude Code now reads four new startup environment variables and passes them through to cloud sessions; they do nothing unless setv2.1.287 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_LAZY_SUBAGENT_HYDRATE ◇ Cloud sessions can defer loading subagent transcripts, but the flag is off unless the server enables it.v2.1.247 → v2.1.268 ○gone CLAUDE_CODE_CCR_SKIP_FRESH_MIGRATIONS ◇ Claude Code now reads four new startup environment variables and passes them through to cloud sessions; they do nothing unless setv2.1.287 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_SURFACE ◇ Setting CLAUDE_CODE_CCR_SURFACE=tag adds a hidden claude-tag-plugins marketplace to plugin search and download.v2.1.257 → v2.1.308 ◆in the build CLAUDE_CODE_CCR_WORKER_SOCKET ◇ Five new Claude Code environment variables are now on the list passed to remote sessions, with no other use in this buildv2.1.299 → v2.1.308 ◆in the build CLAUDE_CODE_CERT_STORE Comma-separated list of CA certificate sources for TLS connections. bundled is the Mozilla CA set shipped with Claude Code. system is the operating system trust store, read only on runtimes with tls.getCACertificates: the native binary, or Node 22.15 or later for npm installs. See CA certificate store. Default is bundled,systemv2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_CHILD_SESSION Set to 1 in subprocesses Claude Code spawns via the Bash, PowerShell, and Monitor tools, hook commands, and status line commands. Not set for stdio MCP server subprocesses, which are long-lived and outlive the session that spawned them. Unlike CLAUDECODE, this is only set by Claude Code itself when it launches a subprocess and not by IDE extensions, so it reliably distinguishes a nested session from a top-level claude launched in an IDE-integrated terminal. A nested interactive claude TUI started this way is automatically excluded from --resume, --continue, up-arrow history, and the claude agents list. Non-interactive claude -p sessions still persist. Set CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1 to override this exclusion. Requires Claude Code v2.1.172 or laterv2.1.172 → v2.1.308 ◆in the build CLAUDE_CODE_CHROME_MCP_ORG_DENIED ◇ Chrome extension tool calls now re-check org policy at call time, not just at install.v2.1.260 → v2.1.308 ◆in the build CLAUDE_CODE_CLASSIFIER_SUMMARY ◇ Classification skips the model call when no summary is needed, saving tokens.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_CLIENT_CERT Path to client certificate file for mTLS authenticationv2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_CLIENT_DATA_URL ◇ --client-data-url or CLAUDE_CODE_CLIENT_DATA_URL loads a signed per-model configuration from Anthropic, and Claude Code will not start if it failsv2.1.283 → v2.1.308 ◆in the build CLAUDE_CODE_CLIENT_KEY Path to client private key file for mTLS authenticationv2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_CLIENT_KEY_PASSPHRASE Passphrase for encrypted CLAUDE\_CODE\_CLIENT\_KEY (optional)v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_COLD_COMPACT ◇ When true, automatic compaction sends its summary request in a stripped-down mode: it skips the attempt to reuse the conversation's prompt-cache prefix (normally gated by tengu_compact_cache_prefix), offers the summarizer only its base tool without the extra and MCP tools, and passes the messages through two additional stripping transforms. Off by default; only the auto-compact call site passes it.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_COMMIT_BETWEEN_KEYS ◇ A new environment variable, CLAUDE_CODE_COMMIT_BETWEEN_KEYS, is read by the terminal display code and counts as off when unsetv2.1.281 → v2.1.283 ○gone CLAUDE_CODE_COMMIT_LOG ◇ A file path. When set, the terminal renderer appends timing lines to that file after each render commit: a gap=... reconcile=... creates=... line when the gap since the last commit is over 30 ms, reconcile is over 20 ms or more than 50 nodes were created, a commits=N/s maxGap=... line once more than a second has passed since the last one, SLOW_YOGA when layout takes over 20 ms, and SLOW_PAINT when rendering takes over 10 ms. Unset or empty writes nothing.v2.1.138 or earlier → v2.1.226 ○gone CLAUDE_CODE_CONFIG_PROBE ◇ When the CLAUDE_CODE_CONFIG_PROBE environment variable is set, Claude Code skips two of the routines it normally runs at startupv2.1.286 → v2.1.308 ◆in the build CLAUDE_CODE_CONFIG_WATCH_EVENTS ◇ On Linux, setting CLAUDE_CODE_CONFIG_WATCH_EVENTS makes Claude Code spot config file changes through system change eventsv2.1.288 → v2.1.308 ◆in the build CLAUDE_CODE_CONNECT_TIMEOUT_MS Removed in v2.1.186 and now a no-op. Previously set a separate timeout for the connect, TLS, and response-header phase of a streaming API request. Use API_TIMEOUT_MS for the per-request timeout. For the response-header phase of a streaming request, see CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MSv2.1.182 → v2.1.185 ○gone CLAUDE_CODE_CONSENT_POINTERLESS ◇ With CLAUDE_CODE_CONSENT_POINTERLESS set, some MCP request dialogs preselect neither Accept nor Decline, so pressing Enter alone does nothingv2.1.305 → v2.1.308 ◆in the build CLAUDE_CODE_CONTAINER_ID ◇ Claude Code now records yes or no for whether a remote session ID or container ID is setv2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_COORDINATOR_EXTRA_TOOLS ◇ New CLAUDE_CODE_COORDINATOR_EXTRA_TOOLS env var lets coordinator-mode sessions allow extra toolsv2.1.178 → v2.1.308 ◆in the build CLAUDE_CODE_COORDINATOR_FORCE_WORKER_INHERIT_MODEL ◇ An env var forces coordinator workers onto the session's model, ignoring any requested one.v2.1.248 → v2.1.308 ◆in the build CLAUDE_CODE_COORDINATOR_MODE ◇ Skills can be named with a scope like apps/web:deploy, and coordinator use is read-only.v2.1.152 → v2.1.308 ◆in the build CLAUDE_CODE_COORDINATOR_SKILL_GUIDANCE ◇ Coordinator mode can tell the coordinator to load a skill before briefing workers, when CLAUDE_CODE_COORDINATOR_SKILL_GUIDANCE is setv2.1.281 → v2.1.308 ◆in the build CLAUDE_CODE_COORDINATOR_WORKER_CHECKIN_SECONDS ◇ Set an interval and your coordinator session gets periodic worker status nudges listing each worker's activity.v2.1.246 → v2.1.282 ○gone CLAUDE_CODE_COWORK_FRAME_ARTIFACTS ◇ A new environment variable makes every artifact write and republish ask permission again instead of remembering approval.v2.1.228 → v2.1.308 ◆in the build CLAUDE_CODE_COZY_TEAPOT ◇ A remotely gated A/B test can loosen the bash-first system prompt wording.v2.1.260 → v2.1.308 ◆in the build CLAUDE_CODE_CURRIED_TRINKET ◇ The instructions used to summarize a long conversation now come in four versions, chosen by an environment variable or a server settingv2.1.290 → v2.1.308 ◆in the build CLAUDE_CODE_CUSTOM_OAUTH_URL ◇ Login now trusts a fixed set of Anthropic API origins unless you point it at a custom OAuth URL.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DAEMON_COLD_START ◇ What to do when the background daemon is needed and none is running. A value of transient or ask overrides the daemonColdStart setting; any other value is ignored, and with neither set the default is ask when the tengu_quiet_harbor flag is on and transient otherwise. With ask, Claude Code returns a prompt to run claude daemon install instead of spawning a transient daemon, as long as an extra check passes and the install prompt has not been dismissed.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DAPPER_CUPCAKE ◇ The setting that controls artifacts beside tool results is now CLAUDE_CODE_DAPPER_CUPCAKE, and the old CLAUDE_CODE_SQUISHY_NEWT is ignoredv2.1.301 → v2.1.308 ◆in the build CLAUDE_CODE_DAPPER_LAGOON ◇ An environment variable overrides whether something counts as first-party.v2.1.251 → v2.1.276 ○gone CLAUDE_CODE_DATADOG_FLUSH_INTERVAL_MS ◇ A telemetry flush interval can now be set with either of two environment variable names.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DD_ERROR_TRACKING_FLUSH_INTERVAL_MS ◇ A telemetry flush interval can now be set with either of two environment variable names.v2.1.160 → v2.1.308 ◆in the build CLAUDE_CODE_DEBUG_LOG_LEVEL Minimum log level written to the debug log file. Values: verbose, debug (default), info, warn, error. Set to verbose to include high-volume diagnostics like full status line command output, or raise to error to reduce noisev2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DEBUG_LOGS_DIR Override the debug log file path. Despite the name, this is a file path, not a directory. Requires debug mode to be enabled separately via --debug, /debug, or the DEBUG environment variable: setting this variable alone does not enable logging. The --debug-file flag does both at once. Defaults to ~/.claude/debug/<session-id>.txtv2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DEBUG_REPAINTS ◇ Set CLAUDE_CODE_DEBUG_REPAINTS to capture which components trigger terminal redraws.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DECSTBM ◇ The check that enables scroll-region terminal rendering (DECSTBM) was rewired to new guard functionsv2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DESIGN_OAUTH_CLIENT_ID ◇ OAuth client id used for the Claude Design login, overriding the build's DESIGN_CLIENT_ID. If the resolved id starts with 00000000-, the Design login stops with the error The Claude Design OAuth client is not configured in this build.v2.1.178 → v2.1.308 ◆in the build CLAUDE_CODE_DESKTOP_APP_VERSION ◇ Version of the Claude desktop app, read only when CLAUDE_CODE_ENTRYPOINT is claude-desktop or local-agent. It is sent as anthropic-client-version with anthropic-client-platform: desktop_app on API requests (unless either header is already set) and added to event metadata as desktopAppVersion.v2.1.267 → v2.1.308 ◆in the build CLAUDE_CODE_DESKTOP_SKILL_SWITCHES ◇ Claude Code reads a new desktop skill switches variable at startup and, in some runs, no longer collects details about your machine's toolsv2.1.293 → v2.1.308 ◆in the build CLAUDE_CODE_DESKTOP_SKILLS_PLUGIN_DIR ◇ Claude Code reads CLAUDE_CODE_DESKTOP_SKILLS_PLUGIN_DIR at startup and does not pass it on to programs it startsv2.1.302 → v2.1.308 ◆in the build CLAUDE_CODE_DEV_RAW_CHANGELOG_URL ◇ No description from anybody.v2.1.160 → v2.1.308 ◆in the build CLAUDE_CODE_DIAGNOSTICS_FILE ◇ Diagnostics logging only builds its payload when a diagnostics file is set, and never throws.v2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DIFF_COPY_ROOT ◇ CLAUDE_CODE_DIFF_COPY_ROOT and CLAUDE_CODE_FOUND_REPOSITORY_GIT join a protected list of environment variable namesv2.1.307 → v2.1.308 ◆in the build CLAUDE_CODE_DIR_SYNC_ARCHIVE ◇ CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes.v2.1.242 → v2.1.245 ○gone CLAUDE_CODE_DIR_SYNC_CHAIN ◇ A new 'chained' directory-sync mode exists behind an undocumented CLAUDE_CODE_DIR_SYNC_CHAIN env varv2.1.280 → v2.1.282 ○gone CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING ◇ Cloud file sync writes through directory handles so a swapped symlink can't redirect it, and says when that's unavailable.v2.1.239 → v2.1.283 ○gone CLAUDE_CODE_DIR_SYNC_ENGINE ◇ Set CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape.v2.1.242 → v2.1.284 ○gone CLAUDE_CODE_DIR_SYNC_FFWD ◇ Set CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape.v2.1.242 → v2.1.284 ○gone CLAUDE_CODE_DIR_SYNC_GIT ◇ You can set CLAUDE_CODE_DIR_SYNC_GIT to pick a git-based engine for syncing your directory to a cloud session.v2.1.239 → v2.1.284 ○gone CLAUDE_CODE_DIR_SYNC_OVERLAY ◇ CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes.never mined ·never mined CLAUDE_CODE_DIR_SYNC_STREAM ◇ More environment variables get carried into remote sessions; none are set by default.v2.1.248 → v2.1.284 ○gone CLAUDE_CODE_DISABLE_1M_CONTEXT Set to 1 to disable 1M context window support. When set, 1M model variants are unavailable in the model picker, and Claude Code holds sessions on models with a native 1M window, such as Sonnet 5.5 and the Fable models, to a 200K window; see Extended context for how the hold is enforced. Useful for enterprise environments with compliance requirements. For its role in correcting the window for an unrecognized [1m] model ID, see Correct the window for a gateway or custom model IDv2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING Set to 1 to disable adaptive reasoning on Opus 4.6 and Sonnet 4.6 and fall back to the fixed thinking budget controlled by MAX_THINKING_TOKENS. Has no effect on Fable models, Sonnet 5 and later, or Opus 4.7 and later, which always use adaptive reasoningv2.1.138 or earlier → v2.1.308 ◆in the build CLAUDE_CODE_DISABLE_ADMIN_ENV_UNION Set to 1 to stop Claude Code from merging managed settings env blocks per key across admin sources, so only the highest-priority source's whole env block applies, as before v2.1.223. Set it in the environment that launches Claude Code, since Claude Code ignores a copy delivered through a settings env block. Requires Claude Code v2.1.223 or laterv2.1.223 → v2.1.308 ◆in the build
Feedback