feat: update CLI timeout handling and add active execution state management

This commit is contained in:
catlog22
2026-01-04 22:14:43 +08:00
parent 81f4d084b0
commit 373f1d57c1
5 changed files with 112 additions and 7 deletions

View File

@@ -783,7 +783,7 @@ async function execAction(positionalPrompt: string | undefined, options: CliExec
model,
cd,
includeDirs,
timeout: timeout ? parseInt(timeout, 10) : 300000,
timeout: timeout ? parseInt(timeout, 10) : 0, // 0 = no internal timeout, controlled by external caller
resume,
id, // custom execution ID
noNative,