github / github/copilot-cli

Allow assistant to access output from commands executed with ! prefix

Đang mở
#634 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:context-memory area:tools
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the bug

Problem

Currently, when I execute commands directly using the ! prefix (e.g., !ping google.com), the
assistant cannot see the output of those commands. This creates a disconnect where I can run
commands myself, but then cannot ask the assistant to analyze or interpret the results.

Current Behavior

- User runs: !ping google.com
- Command executes and shows output in terminal
- User asks: "what are the results of the ping command to google.com?"
- Assistant responds: "I don't have access to commands you run directly with !"

Expected Behavior

When a user runs a command with !, the output should be accessible to the assistant in
subsequent interactions within the same session, allowing the assistant to:

- Analyze command results
- Answer questions about the output
- Provide insights based on the data

Use Case

This would enable a more natural workflow where users can:

- Quickly execute commands themselves using !
- Ask the assistant to interpret, summarize, or analyze the results
- Get help troubleshooting based on actual command output

### Affected version

Version 0.0.361 · Commit fdd8f6541

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

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.