You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copilot Harness on Windows: Allow agent terminals to be opened in the Terminal view #341717
Allow terminals used by the Copilot harness on Windows to be opened in the Terminal view, so I can scroll through the full buffer and interact with them, the same way the Local harness allows.
Current behavior
Local harness: commands the agent runs execute in real terminals. I can bring any of them forward in the Terminal view to scroll the buffer, inspect output, or type into a running process.
Copilot harness on Windows: commands run through the Copilot SDK's built-in shell tool. Their output is only shown inline in the chat as a read-only output stream. There is no terminal behind it, so nothing appears in the Terminal view and I cannot scroll the full buffer or interact with the process.
chat.agentHost.customTerminalTool.enabled would route Copilot sessions through Agent Host's own terminal tool, which creates real terminals that can be shown in the Terminal view. However, it is forced off on Windows (process.platform !== 'win32' in both copilotSessionLauncher.ts and copilotSessionSandbox.ts), and its description says "Not supported on Windows, where sessions use the SDK's terminal and sandbox runtime." Setting it to true on Windows has no effect.
Requested behavior
On Windows, Copilot harness sessions should be able to use terminals that can be revealed in the Terminal view, for example by:
supporting chat.agentHost.customTerminalTool.enabled on Windows, or
opening the SDK shell tool's output in the Terminal view (read-only is still useful), with interaction where the runtime allows it.
Motivation
Parity with the Local harness. Switching harnesses currently drops a workflow I rely on.
Inspecting long output. The inline chat output is not a good place to scroll through long build, test, or log output. A real terminal buffer with search and scrollback is.
Interacting with processes. When a command prompts for input, hangs, or a long-running server needs attention, I need to type into it or stop it myself instead of asking the agent.
Debugging agent behavior. Seeing exactly what ran, in the same shell and environment, makes it much easier to understand why a command failed.
changed the title [-]Copilot harness on Windows: Allow agent terminals to be opened in the Terminal view[/-][+]Copilot Harness on Windows: Allow agent terminals to be opened in the Terminal view[/+]on Oct 15, 2026
An alternative that might be lighter than real terminals: make the Background Shells details interactive.
For running shells, the Copilot harness already shows a Background Shells pill above the chat input. Each shell's details stream live output into a small read-only terminal preview with a Stop Shell button. That covers watching output, but I still cannot type into the process.
Proposal:
Let the terminal preview in the Background Shells details accept keyboard input for attached shells, forwarding what I type to the shell's input.
Optionally, add an "Open in Terminal view" action there for a full-size buffer with search and scrollback.
Because this builds on the SDK shell tool rather than chat.agentHost.customTerminalTool.enabled, it would not depend on that setting being supported on Windows. It may need Copilot SDK support for writing to a running shell's input.
Activity
[-]Copilot harness on Windows: Allow agent terminals to be opened in the Terminal view[/-][+]Copilot Harness on Windows: Allow agent terminals to be opened in the Terminal view[/+]conmilo commentedon Oct 15, 2026
An alternative that might be lighter than real terminals: make the Background Shells details interactive.
For running shells, the Copilot harness already shows a Background Shells pill above the chat input. Each shell's details stream live output into a small read-only terminal preview with a Stop Shell button. That covers watching output, but I still cannot type into the process.
Proposal:
Because this builds on the SDK shell tool rather than
chat.agentHost.customTerminalTool.enabled, it would not depend on that setting being supported on Windows. It may need Copilot SDK support for writing to a running shell's input.