github / github/copilot-sdk

SDK Prompting for permissions to read an output file created by CLI for large outputs

Aperta
#1,077 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
vs-code
Lingua principale
Java
Stelle
10.5k
Fork
1.5k
Merge medio
1g 11h
PR unite (30g)
128

Descrizione

Image

```
{"type":"tool.execution_complete","data":{"toolCallId":"call_Gy2uDhKI9qIX2yMRS5USIm3C","....,"result":{"content":"Output too large to read at once (74.5 KB). Saved to: /var/folders/tk/xz6l8fxs0cxgphyh0xy2n4hh0000gn/T/copilot-tool-output-1776206629188-gotvti.txt\nConsider using tools like grep (for [\"ts\",\"js\",\"json\"]","matches_found":"true","large_output":"true","large_output_file":"/var/folders/tk/xz6l8fxs0cxgphyh0xy2n4hh0000gn/T/copilot-tool-output-1776206629188-gotvti.txt"},"
```

& then SDK passes permission request onto client to read this file.
CLI should auto approve such reads.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by tracing the CLI large-output handling from the point where the output is saved to a temporary file and the SDK forwards a read permission request to the client. Done means reads of these CLI-created output files are automatically approved without an additional client permission prompt.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
authorization, cli
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
50/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.