From 84180e3ae24a1f2409b5c9a26578d9c247b8d982 Mon Sep 17 00:00:00 2001 From: lyon Date: Sun, 21 Jun 2026 14:47:06 +0800 Subject: [PATCH] fix: do not seal running agentrun turns on caught-up projection --- internal/cloud/server-code-agent-http.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/cloud/server-code-agent-http.ts b/internal/cloud/server-code-agent-http.ts index 22a2571a..4bc7d711 100644 --- a/internal/cloud/server-code-agent-http.ts +++ b/internal/cloud/server-code-agent-http.ts @@ -3205,8 +3205,6 @@ function codeAgentPayloadHasSealedFinalResponse(payload = {}) { if (!payload || typeof payload !== "object") return false; if (payload.error || payload.blocker) return false; if (!codeAgentFinalResponseText(payload)) return false; - const projectionStatus = textValue(payload.projectionStatus ?? payload.projection?.projectionStatus).toLowerCase().replace(/_/gu, "-"); - if (projectionStatus === "caught-up") return true; const agentRun = payload.agentRun && typeof payload.agentRun === "object" ? payload.agentRun : {}; return isTraceCommandTerminalStatus(payload.status) || isTraceCommandTerminalStatus(agentRun.status) ||