anthropics / anthropics/claude-code

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

Đang mở
#93,156 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:desktop area:permissions enhancement platform:windows
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

## 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
authorization, desktop
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.