fix(cli/run): set default timeout to 30 minutes to match help text

This commit is contained in:
YeonGyu-Kim
2026-02-09 21:12:00 +09:00
parent 564bb20f6a
commit bb2df9fec6

View File

@@ -11,7 +11,7 @@ import { pollForCompletion } from "./poll-for-completion"
export { resolveRunAgent }
const DEFAULT_TIMEOUT_MS = 0
const DEFAULT_TIMEOUT_MS = 30 * 60 * 1000
export async function run(options: RunOptions): Promise<number> {
process.env.OPENCODE_CLI_RUN_MODE = "true"