github / github/copilot-cli

Feature Request: Tool whitelist for Interactive Mode

オープン
#1,973 コメント 12 件 リアクション 29 件 担当者 0 名 GitHub で見る
area:configuration area:permissions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

Currently Interactive mode requires manual approval for every tool call, including safe read-only operations (grep, cat, find, git log, git status, etc.). The only alternative is /allow-all which also approves destructive operations.

### Proposed solution

Add a persistent allowed_tools whitelist in ~/.copilot/config.json, similar to how antigravity handles tool permissions. Users can pre-approve safe, non-modifying
commands and only be prompted for dangerous operations (file writes, deletes, shell commands that modify state).

### Example prompts or workflows

{
"allowed_tools": ["bash:grep", "bash:find", "bash:cat", "bash:git log", "bash:git status", "view", "glob"]
}

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。