claude-code - 💡(How to fix) Fix [VS Code] bypassPermissions mode still shows permission prompts v2.1.109 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49173Fetched 2026-04-17 08:48:49
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×5commented ×1

Root Cause

This issue was first reported in v2.1.92 (GitHub Issue #43953). The root cause was identified in the extension's minified source — the requestToolPermission method always forwards to webview UI without checking permission mode. It appears this bug has not been fixed in subsequent versions.

RAW_BUFFERClick to expand / collapse

Bug Description

VS Code extension v2.1.109 still shows 'Make this edit to [file]?' permission prompts despite: -claudeCode.initialPermissionMode: 'bypassAll' in VS Code settings -allowDangerouslySkipPermissions: true in VS Code settings -permissions.defaultMode: 'bypassPermissions' in ~/.claude/settings.json

Expected: In bypassPermissions mode, all tool calls should be auto-approved without user interaction.

Environment

Extension version: 2.1.109

OS: Windows 11

Steps to Reproduce

  1. Configure bypassPermissions as shown above
  2. Open VS Code with a workspace
  3. Start a new Claude Code session (panel)
  4. Ask Claude to edit any file
  5. Observe 'Make this edit to [file]?' Yes/No prompt appears

Additional Context

This issue was first reported in v2.1.92 (GitHub Issue #43953). The root cause was identified in the extension's minified source — the requestToolPermission method always forwards to webview UI without checking permission mode. It appears this bug has not been fixed in subsequent versions.

extent analysis

TL;DR

The issue can be worked around by modifying the extension's behavior or waiting for a fix in a future version, as the current version still has a bug that prevents the bypass permissions mode from working correctly.

Guidance

  • Verify that the claudeCode.initialPermissionMode, allowDangerouslySkipPermissions, and permissions.defaultMode settings are correctly applied and not overridden by other configurations.
  • Check if there are any other settings or configurations that might be causing the permission prompts to appear, despite the bypass permissions mode being enabled.
  • Consider downgrading to a version where the bug was supposedly fixed or waiting for a future version that addresses this issue.
  • If possible, try to modify the requestToolPermission method in the extension's source code to correctly check the permission mode before forwarding to the webview UI.

Example

No code example is provided as it would require modifying the extension's source code, which is not a recommended or supported solution.

Notes

The issue seems to be a known bug that has not been fixed in the current version of the extension. The provided guidance is based on the information given in the issue and might not be exhaustive.

Recommendation

Apply workaround: Given the bug in the current version, it's recommended to wait for a future version that fixes this issue or explore other workarounds, such as modifying the extension's behavior or using a different version of the extension.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [VS Code] bypassPermissions mode still shows permission prompts v2.1.109 [1 comments, 2 participants]