github / github/copilot-cli

Allow directory access prompt not listing directory

未关闭
#4,142 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:permissions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

I'm getting prompts to allow directory access that are not listing the directory that the request is for or I am getting a partial request.
This is the shell command that it is trying to execute
Shell Check git status in Storage-MDMToKusto repo
git -C C:\Users\shariceg\workspace\Storage-MDMToKusto status --short

Image

Another example

Image

### Affected version

1.0.70

### Steps to reproduce the behavior

_No response_

### Expected behavior

the text in the box should show the path where access is being requested

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

首先在 1.0.70 版本中重现对 `git -C C:\Users\shariceg\workspace\Storage-MDMToKusto status --short` 的目录访问提示,并将显示的请求与命令的完整路径进行比较。当提示始终显示所请求访问的完整目录路径时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。