[Feat] Allow the agent to send input to a running background terminal (send_to_terminal)
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- java
- Área
- cli, developer-experience
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 129
- Forks
- 70
- Merge medio
- 3 d 2 h
- PR fusionados (30 d)
- 15
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/copilot-for-eclipse
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
microsoft/copilot-for-eclipse#513 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 54/100
microsoft/copilot-for-eclipse#511 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
microsoft/copilot-for-eclipse#510 ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 20/100
microsoft/copilot-for-eclipse#508 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
microsoft/copilot-for-eclipse#500 · 1 comentario ·
Los mantenedores suelen responder en 2 días
Todos los issues de microsoft/copilot-for-eclipse
Issues similares
-
hermes-queue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
chrisalunlloyd2-sudo/mindpalace#337 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ucsb-cs156/proj-frontiers#844 ·
-
Update spring-ldap to 4.0.7Abiertotype: dependency-upgrade
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
spring-projects/spring-security#20057 ·
Los mantenedores suelen responder en 1 día
-
Spark benchmarks crash with `[INVALID_DRIVER_MEMORY]` on JVMs whose default heap is below Spark's ~450 MB minimumPosiblemente ocupada @sendaoYan la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
moquette-io/moquette#980 ·