From d83a2c55c5ed945bdec7053da5708359b4a5de33 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 2 Dec 2025 18:32:16 -0800 Subject: [PATCH 1/2] Increase terminal command timeout from 30s to 120s --- extensions/cli/src/tools/runTerminalCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/cli/src/tools/runTerminalCommand.ts b/extensions/cli/src/tools/runTerminalCommand.ts index 69706c21a..cfa096655 100644 --- a/extensions/cli/src/tools/runTerminalCommand.ts +++ b/extensions/cli/src/tools/runTerminalCommand.ts @@ -88,7 +88,7 @@ IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed const TIMEOUT_MS = process.env.NODE_ENV === "test" && process.env.TEST_TERMINAL_TIMEOUT ? parseInt(process.env.TEST_TERMINAL_TIMEOUT, 10) - : 30000; // 30 seconds default, configurable for tests + : 120000; // 120 seconds default, configurable for tests const resetTimeout = () => { if (timeoutId) { From 28d3374f388fa6b2ae88bee4ca30d969069906a6 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Wed, 3 Dec 2025 02:34:32 +0000 Subject: [PATCH 2/2] docs: Update terminal command timeout from 30s to 120s in shell-mode.md Co-authored-by: nate Generated with [Continue](https://continue.dev) Co-Authored-By: Continue --- extensions/cli/spec/shell-mode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/cli/spec/shell-mode.md b/extensions/cli/spec/shell-mode.md index 06ad477e9..2a4693b8a 100644 --- a/extensions/cli/spec/shell-mode.md +++ b/extensions/cli/spec/shell-mode.md @@ -44,8 +44,8 @@ Output handling - Stdout is streamed into memory; Stderr is captured and appended as a trailing "Stderr: ..." section on success. - If the process exits non-zero and Stderr contains content, the tool call is marked as error and the error text is shown. - Output is truncated to the first 5000 lines if exceeded. -- Timeout behavior: If no output is received for 30 seconds (configurable in tests), the process is terminated and the result includes a note like: - "[Command timed out after 30 seconds of no output]". +- Timeout behavior: If no output is received for 120 seconds (configurable in tests), the process is terminated and the result includes a note like: + "[Command timed out after 120 seconds of no output]". Keyboard behaviors (summary)