From 6b1eef9959cf181162751a4f50dfa09702cd0e7d Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Mon, 22 Jun 2026 09:19:32 +0800 Subject: [PATCH] fix: type fallback state for CLI runs --- src/agents/cli-runner/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/agents/cli-runner/types.ts b/src/agents/cli-runner/types.ts index 7c0a90c6d903..68ab84678ef5 100644 --- a/src/agents/cli-runner/types.ts +++ b/src/agents/cli-runner/types.ts @@ -71,6 +71,8 @@ export type RunCliAgentParams = { fastModeAutoOnSeconds?: number; /** Shared notification state for nested harnesses that can observe the same tool boundary. */ fastModeAutoProgressState?: FastModeAutoProgressState; + /** True when the outer model fallback loop has reached its final candidate. */ + isFinalFallbackAttempt?: boolean; timeoutMs: number; /** * Explicit run timeout, in milliseconds, when the caller can distinguish a