github / github/copilot-cli

Custom tool whitelist

Đang mở
#2,174 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:tools
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the feature or problem you'd like to solve

Must currently use allow-all, or constantly respond to grant access to bash tools

### Proposed solution

It would be nice if in the config.json, we could configure a whitelist of bash tools to allow. Things such as grep, xargs, gradlew, etc., are fairly harmless and I would feel comfortable allowing these to always run. However, I would pretty much *never* use /allow-all due to the risk. I would also like this whitelist to persist across sessions.

### Example prompts or workflows

_No response_

### Additional context

_No response_

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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.