Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/core/tools/ExecuteCommandTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,13 @@ export async function executeCommandInTerminal(
const { response, text, images } = await task.ask("command_output", "")
runInBackground = true

// Handle both user clicking "Continue While Running" (yesButtonClicked)
// and user providing a message (messageResponse)
if (response === "messageResponse") {
message = { text, images }
process.continue()
}
// Always continue the process when user responds
process.continue()
} catch (_error) {
// Silently handle ask errors (e.g., "Current ask promise was ignored")
}
Expand Down
Loading