github / github/copilot-cli

Option to discard temp files created by copilot cli during analysis

未關閉
#3,007 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:sessions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
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 摘要。