github / github/copilot-sdk

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

Đang mở
#1,077 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
vs-code
Ngôn ngữ chính
Java
Star
10.5k
Fork
1.5k
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
128

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.