[Feat] Allow the agent to send input to a running background terminal (send_to_terminal)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Java
- スター
- 129
- フォーク
- 70
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/copilot-for-eclipse のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/copilot-for-eclipse#513 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
microsoft/copilot-for-eclipse#511 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
microsoft/copilot-for-eclipse#510 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
microsoft/copilot-for-eclipse#508 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
microsoft/copilot-for-eclipse#500 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
microsoft/copilot-for-eclipse の issue をすべて見る
似ている issue
-
hermes-queue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
chrisalunlloyd2-sudo/mindpalace#337 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
flutter/flutter-intellij#9221 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ucsb-cs156/proj-frontiers#844 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
AllTheMods/ATM10-Aeronautics#159 ·
メンテナーはふだん 6 日以内に返信
-
type: dependency-upgrade
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
spring-projects/spring-security#20057 ·
メンテナーはふだん 1 日以内に返信