github / github/copilot-cli

Option to discard temp files created by copilot cli during analysis

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

説明

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

During the session, copilot tool calls produced outputs which were save dot temp files. I had a json file in my repo. Copilot created a python script to read the file and that temp file was a result of that. It contains essentially the same information as my json file. Copilot cli should offer a feature to clean up temp files at the end of a task or provide a session cleanup mechanism and options

### Proposed solution

An option to enable the following behaviors: after Copilot finishes reading the temp file and completes the task, it should delete the temp file. Alternatively, at the end of a session, Copilot should clean up all temp files it created.

### Example prompts or workflows

1. I want to optimize disk space afterwards
2. I don't need the space, it can do the job on the principle of coin flips
3. I wish Copilot didn't generate the same information 2x, 3x, 4x...

### Additional context

_No response_

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

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

評価

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

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

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