github / github/copilot-cli

Allo implicit acces to files mentioned in the prompt

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

説明

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

Sometimes it is useful to refence an external file (e.g. documentation or other examples) and then copilot ask to access this file out of the allowed list. As its quite obvious I want it to access that file it would be good if implicit access could be granted (read only).

### Proposed solution

There should be some `--grant-implicit` flag that if I mention a file or website in my prompt grants read only access to that resource even if outside the current allowed directory range.

### Example prompts or workflows

Something like:

> The documentation at /home/myuser/balbal.txt describes how we need to implement the new feature X in this session, make you familiar with that and create a plan.

or

> Our implementation of A violates section abc of specification at http://example.test/rfc123.txt and we need to make it compliant.

### Additional context

_No response_

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

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

評価

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

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

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