anthropics / anthropics/claude-code

Browser pane: no way to grant persistent site permission — per-action prompts persist despite launchPreviewAllowedOrigins, tool allowlist, and bypassPermissions

Ouverte
#93,156 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:desktop area:permissions enhancement platform:windows
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

## Summary

The in-app Browser pane requires approval for every single action against an origin, and there appears to be no way to grant persistent permission. The dialog offers only "Deny" and "Allow once" — there is no "Allow always".

## Dialog

> **Allow Claude to access example.com?**
> Site-level permissions are disabled for this site. You'll be asked for each action.
> `{ "origin": "https://example.com" }`
> [Deny] [Allow once]

## Already tried — none of it suppresses the prompt

1. Allowlisted all 19 browser tools in `~/.claude/settings.json` → `permissions.allow` (`mcp__Claude_Browser__navigate`, `__computer`, `__read_page`, `__browser_batch`, `__find`, `__form_input`, …)
2. Added the origin to `preferences.launchPreviewAllowedOrigins` in `%APPDATA%\Claude\claude_desktop_config.json`
3. Set the project folder permission mode to `bypassPermissions`

All three are in place simultaneously. The per-action prompt still fires on every browser tool call.

## Expected

Either an "Allow always" button in the dialog, or for `launchPreviewAllowedOrigins` — which reads as though it is intended for exactly this — to grant persistent per-origin access.

## Actual

Approval is required indefinitely, once per step. Driving a page (navigate → read → click → screenshot) costs one click per action, which makes browser-based verification impractical for real work.

## Environment

- Claude Desktop (Code tab), MSIX install
- Windows 11 Pro, build 10.0.26200.7171

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start with the Browser pane's site-permission dialog and compare its behavior with permissions.allow, launchPreviewAllowedOrigins in claude_desktop_config.json, and bypassPermissions. Trace how these settings are evaluated for the listed browser tools. Done means a site can be granted persistent access, or the configuration is corrected to provide that behavior, with verification that prompts no longer appear for every action.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
authorization, desktop
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.