[BUG] Auto mode is not showing up in the VS code extension on windows
Resolved 💬 17 comments Opened Apr 8, 2026 by dina-smokeball Closed Jul 15, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
On the windows and using the vs code extention, the "Auto mode" is not showing up
Claude code version: 2.1.94
vs code extention version: 2.1.94
Things that may help:
- On mac , same extension version on the same repo is fine. Windows Parllel's vs code has this issue.
- I downgrade my extetion on windows to
2.1.81and the "Auto mode" is showing up. I chose the2.1.81randomly and didn't test from which version it's exactly broken.
What Should Happen?
The Auto mode should show up.
Error Messages/Logs
Steps to Reproduce
- In vs code, on windows (installed on mac via parallel), try the Claude code extention
- get sure
Allow bypass permissions mode. Recommended only for sandboxes with no internet access.is ticked - "Auto mode" is not showing up
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.94
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
17 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Those are not proper duplicates of this issue.
This bug affects the mode selection below the text input field as well as the "Claude Code: Initial Permission Mode" in VSCode Settings. In both the "Auto" option is missing.
If you add
"claudeCode.initialPermissionMode": "auto"to your VSCode's settings.json manually it will show "Auto" briefly but then change back to another mode.I am having the same issue, can confirm the duplicates are not correct this is a real issue. I have opus 4.7 + max 5x + dangerous bypass toggled on and it doesnt appear in the VScode options
Doesn't show up for me on mac either v2.1.121
same
Version: 1.117.0 (Universal)
Commit: 10c8e557c8b9f9ed0a87f61f1c9a44bde731c409
Date: 2026-04-21T16:12:14-07:00
Electron: 39.8.7
ElectronBuildId: 13841579
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0
Identifier
anthropic.claude-code
Version
2.1.123
Last Updated
23 seconds ago
Size
214.54MB
Same here. Just vanished.
mac os v26.4.1, plugin v2.1.133, max plan and auto mode stopped showing
It's strange, but on my new laptop it's showing, but on my PC it's not. Both are windows 11 and latest version of vscode and extensions installed and everything is synced (settings and extensions).
Ok, after some troubles I've got auto mode back. Dunno if it's some kind of update that landed or my actions. Anyway, what I did:
{ "theme": "auto" })The strange thing is that on my new laptop (where auto mode was present in vscode right away) I had another look for model dialog - it's saying that "default" is Opus 4.7 with 1M context window...
<img width="583" height="637" alt="Image" src="https://github.com/user-attachments/assets/86478f6c-be63-4306-bb5d-9ee89146f589" />
<img width="603" height="806" alt="Image" src="https://github.com/user-attachments/assets/b9cb25f3-8259-4579-b3c1-61d3cdcbbc21" />
Which is not what I see on my desktop vscode installation:
<img width="946" height="576" alt="Image" src="https://github.com/user-attachments/assets/822b281f-2ba0-4437-b39d-65294ae06a9d" />
<img width="663" height="764" alt="Image" src="https://github.com/user-attachments/assets/1317bd9c-0ce6-4714-84f6-229219bec7d9" />
Some kind of a/b testing maybe?
Anyway, hope that helps someone. And I still think that this bug should be fixed.
The issue is still present in version 2.1.143 of the extension on Windows.
The issue is still present in version 2.1.144 of the extension on Windows.
Same here on version 2.1.145, Cursor 3.5.17 (VScode 3.5.17) (but happened since few days). Work-around: restart the IDE if need to use it, which is quit troublesome.
It will show it at the restart of the IDE. If you don't choose it for the session, it will disappear of the session and the next sessions as well, until a restart.
Thanks heaps for sharing it @MichaelLogutov.
For Anthropic agents which are going to work on it: I tried it and I wasn't lucky 🤦🏼♀️ and the auto mode in the plugin still not showing up after a complete fresh install of everything. Still needs fixing :D
After upgrading extensions and VSCode to latest version, auto mode has been
restored.
On Wed, Jun 3, 2026 at 8:15 AM Yasin S. Kuralay @.***>
wrote:
--
[image: Logo da Unit] Guilherme Martins Ribeiro Gualtieri
Inovação | Produto | Unit
@.***
Transformando a história dos trabalhadores brasileiros!
(27) 4042-3541 | www.somosunit.com.br
**Root cause from reading the
2.1.168bundle (the extension and the bundledclaudeCLI native binary) — this is really two separate issues, and the second one explains the "shows Auto briefly then reverts" / "is this a/b test?" reports in this thread.**1. The Settings UI dropdown can never list "auto"
package.jsoncontributesclaudeCode.initialPermissionModewithenum: ["default", "acceptEdits", "plan", "bypassPermissions"]. The VS Code Settings editor renders that dropdown directly from the enum, so "auto" can't show up there on any platform.The mode handling itself does know about auto —
getInitialPermissionMode()reads the setting viaconfig.inspect("initialPermissionMode")and returns the raw string, and the runtime mode list is["acceptEdits", "auto", "bypassPermissions", "default", "dontAsk", "plan"]. So manually putting"claudeCode.initialPermissionMode": "auto"insettings.jsonis read at startup — but whether it sticks depends on (2) below.If auto is meant to be user-selectable as a default, the enum needs
"auto"added. If it's still being staged behind the feature flag in (2), the omission may be intentional for now.2. The in-panel picker gates "auto" behind model support + a feature flag, and actively reverts you out of it
The webview builds the mode list as
["default", "acceptEdits", "plan"]and only appends"auto"whenautoModeAvailability === "available"(or transiently"unknown"while you're already in auto).autoModeAvailabilityresolves to"available"only when all of these hold:supportsAutoMode === true,permissions.disableAutoMode/disableAutoModesettings, andexperimentGates.tengu_auto_mode_stateis"enabled"or"opt-in".Otherwise it's
"unavailable", and a reactive effect explicitly runs:i.e. it forces the active mode back to "default". That is the "shows Auto briefly then changes back" behavior several people reported above.
Where
tengu_auto_mode_stateactually comes from (traced into the bundled CLI)It is not computed by the extension or by any local setting. The bundled
claudeCLI native binary (resources/native-binary/claude.exe) computes it from a GrowthBook feature flag and pushes it to the IDE:tengu_auto_mode_config: it readstengu_auto_mode_config.enabledand yields"enabled"/"disabled"/"opt-in"(default"opt-in")."disabled"is an explicit remote circuit-breaker (the CLI even logsauto mode disabled: tengu_auto_mode_config.enabled === "disabled" (circuit breaker)).remoteEval: trueandcacheKeyAttributes: ["id", "organizationUUID"], fetching fromhttps://cdn.growthbook.io/api/features/<clientKey>. So evaluation is server-side and targeted per user id + organization, then cached locally (cachedGrowthBookFeatures+ acachedGrowthBookFeaturesAttimestamp), with a ~1.5s init-before-tools and aDISABLE_GROWTHBOOKenv kill-switch.claude-vscode) asnotification({ method: "experiment_gates", params: { gates: { …, tengu_auto_mode_state } } }). The extension stores it (and caches it inglobalState) and forwards it to the webview asconfig.experimentGates.So this is a server-controlled GrowthBook rollout, not a local config bug — which is why availability differs across accounts/orgs, and why a restart (fresh CLI spawn → fresh remote eval → cache refresh) flips it. For the same user across machines, the difference comes from local cache staleness, the init-race timeout, or a different selected model (
supportsAutoMode), rather than different targeting.One corollary worth noting: the default is effectively on (an absent flag →
.enabledundefined → resolves to"opt-in", which the CLI sends as"enabled"→ available). So when Auto doesn't show up, the likeliest causes are (a) the selected model doesn't advertisesupportsAutoMode, (b) the GrowthBook cache hasn't initialised yet for that session (hence "restart and it appears"), or (c) you've been remotely circuit-broken — not simply "not in the rollout".So the "Windows" framing is at least partly a red herring
Both defects are platform-independent: Defect (1) reproduces for anyone on any OS, and Defect (2) tracks model + GrowthBook state rather than the OS (consistent with the macOS reports in this thread, not just Windows).
<details>
<summary><b>Verification — exact locations (extension 2.1.168)</b></summary>
Minified symbol names (
Zo9,w8,q6e, …) are build-specific and will differ in other versions — the quoted string literals are stable, so grep those. Paths are relative to the installed extension dir (anthropic.claude-code-2.1.168-*).package.jsonauto: grep"initialPermissionMode"→enum: ["default","acceptEdits","plan","bypassPermissions"]extension.jsinspect):getInitialPermissionMode(){CM=["acceptEdits","auto","bypassPermissions","default","dontAsk","plan"]q6e):oe.literal("experiment_gates")onExperimentGatesUpdated(andglobalState.update("experimentGates"globalState.get("experimentGates")webview/index.jsyt), conditionally pushes"auto":function yt(){let $=["default","acceptEdits","plan"]autoModeAvailability):e.experimentGates.tengu_auto_mode_statecurrentModelSupportsAutoMode):return e.supportsAutoMode.value==="unavailable"&&this.permissionMode.value==="auto"→setPermissionMode("default", …)resources/native-binary/claude.exe(Bun-compiled single-file binary; usegrep -a)Zo9/w8), default"opt-in":function Zo9(){let H=w8("tengu_auto_mode_config",{})?.enabledauto mode disabled: tengu_auto_mode_config.enabled === "disabled" (circuit breaker)remoteEval:!0):cacheKeyAttributes:["id","organizationUUID"]https://cdn.growthbook.io(/api/features/<clientKey>)cachedGrowthBookFeaturesAtmethod:"experiment_gates",params:{gates:K}DISABLE_GROWTHBOOK</details>
Closing for now — inactive for too long. Please open a new issue if this is still relevant.