Describe the bug
Copilot CLI incorrectly flags --url "..." argument in az rest command as directory access and asks me for approval
Affected version
1.0.3-0
Steps to reproduce the behavior
- operate cli without autopilot / allow-all / yolo permissions (use standard permissions)
- direct copilot cli to perform
az rest command with --url option
- copilot prompts for directory access approval for path outside approved list
Expected behavior
copilot cli should perform the az rest command without prompting for directory access approval (assuming az rest is an approved bash command)
Additional context
OS: Windows
Shell: Powershell 7