Fix agent-run tasks incorrectly prompting user with "press any key" input request (#301536)
* Initial plan * Fix agent-run tasks incorrectly prompting "press any key" input request Remove the `isTaskInactive` check in `OutputMonitor._handleIdleState()`. When the execution is a task and the output contains a VS Code task finish message, always treat it as a stop signal regardless of the task's active state (which can be stale from `getBusyTasks()`). The generic "press any key" prompt is now only shown for non-task executions. Co-authored-by: meganrogge <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: meganrogge <[email protected]>
C
Copilot committed
b14be9a32dc5b3a0e215f716c9f5d93f0e1764d3
Parent: 83c783c
Committed by GitHub <[email protected]>
on 3/13/2026, 6:39:23 PM