From dce4cccfc2fa62f5bef92093521b62bd38902816 Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Mon, 5 Jan 2026 09:28:49 -0800 Subject: [PATCH] fix: reset interrupted flag before retry to prevent silent stream drops (#469) Co-authored-by: Letta --- src/cli/App.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cli/App.tsx b/src/cli/App.tsx index 1ec84d5..d0adb4e 100644 --- a/src/cli/App.tsx +++ b/src/cli/App.tsx @@ -1902,6 +1902,9 @@ export default function App({ (id) => id !== statusId, ); refreshDerived(); + + // Reset interrupted flag so retry stream chunks are processed + buffersRef.current.interrupted = false; continue; } @@ -1965,6 +1968,8 @@ export default function App({ refreshDerived(); if (!cancelled) { + // Reset interrupted flag so retry stream chunks are processed + buffersRef.current.interrupted = false; // Retry by continuing the while loop (same currentInput) continue; }