anthropics / anthropics/claude-code
[BUG] No way to "Allow all domains" for `WebFetch` and `WebSearch` from mobile Remote Control session
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 147k
- Forks
- 24k
- PR merge metrics
- PR metrics pending
Description
Preflight Checklist
- I have searched existing issues and this hasn't been reported yet
- This is a single bug report (please file separate reports for different bugs)
- I am using the latest version of Claude Code
What's Wrong?
The WebFetch permission prompt only offers per-domain approval ("Yes, and allow all" -- the"all" seems to mean all requests on that domain, not all domains). Any research task that follows links across hosts therefore re-prompts on every new domain. This makes the session completely unusable.
The equivalent rule already exists — WebFetch(domain:*) — but today you can only get it by hand-editing ~/.claude/settings.json or changing permissions in the local host app, which is not reachable from the mobile app or from a Remote Control session. That makes it effectively unavailable to anyone who steps away from their machine mid-task.
Quick Fix: add another option to the WebFetch dialog — "Yes, and allow all domains" — writing WebFetch(domain:*) to .claude/settings.local.json, the same way the existing option writes the single-domain rule.
Context: hit this on iOS driving a Remote Control session, where Auto mode isn't selectable from the app and the settings file isn't editable, so there was no way to stop the prompts without returning to the machine.
What Should Happen?
iOS app should let me allow all WebFetch and WebSearch requests in one dialog.
Error Messages/Logs
Steps to Reproduce
- Fresh install of the MacOS App.
- Enable Remote Control from iOS App.
- Open Remote Control session from iOS
- try a research request that triggers
WebSearchacross many domains. - Dukkha.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.2553.1 (Electron 44.2.0, Node 24.20.0, macOS arm64)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the WebFetch/WebSearch permission dialog and the existing per-domain approval that writes to .claude/settings.local.json. Check how the WebFetch(domain:*) rule is represented, then verify the new choice is available from a mobile Remote Control session and stops prompts across domains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- cli, developer-experience, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100