[Feat] Allow the agent to send input to a running background terminal (send_to_terminal)
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java
- Lĩnh vực
- cli, developer-experience
Hướng nghiên cứu
Start by locating IRunInTerminalTool and RunInTerminalTool.executeCommand(); the issue identifies these entry points and notes that sendCommand() already uses ITerminalViewControl.pasteString(). Trace how background terminals are opened and how get_terminal_output selects a terminal, then determine how input should target the running process. Done means the agent can send abc to a background interactive terminal and receive got: abc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The copilot agent can start a long-running interactive process with
run_in_terminal (isBackground=true) and read it with get_terminal_output,
but it cannot send further input to that process. Interactive CLIs (debugger
consoles, serial monitors) therefore cannot be driven step by step:
the model has to pre-script all input (stdin pipe + sleeps) and cannot react
to intermediate replies.
Evidence (0.21.0)
IRunInTerminalToolonly exposesexecuteCommand,getBackgroundCommandOutput,
cancelCurrentCommand.RunInTerminalTool.executeCommand()opens a newCopilot-<id>terminal per
background call; a new foreground call first runs
closeRunningForegroundTerminal(...).- Internally
sendCommand()already usesITerminalViewControl.pasteString().
Repro
- Ask the agent to run in background:
powershell -NoProfile -Command 'while ($true) { $l = Read-Host ''input''; Write-Output (''got: '' + $l) }' - Ask it to send
abcto that terminal and showgot: abc.
Observed
Eclipse Copilot: the agent can't type into the running terminal. It ends up writing one script that pipes all input with sleeps and only sees the output at the end.
VS Code Copilot: send_to_terminal works, I get got: abc back.
- Ngôn ngữ chính
- Java
- Star
- 129
- Fork
- 70
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/copilot-for-eclipse
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/copilot-for-eclipse#513 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 54/100
microsoft/copilot-for-eclipse#511 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
microsoft/copilot-for-eclipse#510 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
microsoft/copilot-for-eclipse#508 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
microsoft/copilot-for-eclipse#500 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của microsoft/copilot-for-eclipse
Issue tương tự
-
Good First Issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
hiero-ledger/hiero-sdk-java#3044 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A second build without clean fails in resources-optimizer-maven-plugin because minified files are minified againCó thể đã có người làm @papegaaij đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
hermes-queue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
chrisalunlloyd2-sudo/mindpalace#337 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Regression][98.0.0] Android I/flutter logs are automatically folded by FlutterConsoleFoldingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
flutter/flutter-intellij#9221 ·
Maintainer thường phản hồi trong vòng 1 ngày