github / github/copilot-cli

Option to discard temp files created by copilot cli during analysis

Abierto
#3,007 0 comentarios 1 reacción 0 asignados Ver en GitHub
area:sessions
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### 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_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.