Repository navigation
The Copilot CLI asks for permission to access the /repos/Neoteroi/rodi folder used in the 'gh api /repos/Neoteroi/rodi' tool command #216
Copy link
Copy link
Closed
Description
Activity
Hi! We're looking into ways to improve our path detection heuristic. Thanks for the report!
Reacted by Yuri VictorovichAlso this:
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ This operation accesses path(s) outside allowed directories: //--------------------------------------------------------------------. │ │ │ │ Would you like to add these directories to the allowed list? │ │ │ │ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ //-------------------------------------------------------------------- │ │ │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ ❯ 1. Yes │ │ 2. No (Esc) │ │ │ │ Confirm with number keys or ↑↓ keys and Enter, Cancel with Esc │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯We've improved both the
gh api /repos/user/repocase and the code comment case in 0.0.351! Go check it out :)The problem is still there:
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ Allow directory access │ │ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ │ This action may read or write the following path outside your allowed directory list. │ │ │ │ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ //tensorflow/tools/pip_package:wheel │ │ │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ Do you want to allow this? │ │ │ │ 1. Yes │ │ ❯ 2. Yes, and add these directories to the allowed list │ │ 3. No (Esc) │ │ │ │ ↑↓ to navigate · Enter to select · Esc to cancel │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯```
Metadata
Metadata
Assignees
Labels
No labels
Describe the bug
'gh api /repos/{account-name}/{project-name}' is an API access point for gh.
It doesn't access
/repos/{account-name}/{project-name}as a directory.How to let copilot know that
/repos/{account-name}/{project-name}is not a directory?Affected version
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response