github / github/copilot-cli

Provide copilot with a safe temp area that is automatically cleaned up on close.

Aperta
#1,203 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
area:permissions area:sessions
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Copilot sometimes create some temp files and then ask for confirmation to clean up, this should be automatic.

### Proposed solution

For obvious reasons one don't like to approve `rm` for the whole session, but when copilot creates own temp files it ask to remove them what has several drawbacks:

1. It interrupts the flow
2. The user has to carefully review what is done and identify these files a temporary ones created by copilot

Instead, copilot should get an own temp area it can use (maybe in the session store?) and where it is allowed to remove such files on its own distinction without needing the user to ask.

### Example prompts or workflows

Some examples would be something like e.g. analyze some files in a zip file, then copilot usually extract the content somewhere grep through files and then need to cleanup.

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.