fix(codex): keep raw assistant release path intact · openclaw/openclaw@4314ead
steipete
·
2026-05-27
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6303,8 +6303,9 @@ describe("runCodexAppServerAttempt", () => {
|
6303 | 6303 | params.timeoutMs = 200; |
6304 | 6304 | |
6305 | 6305 | const run = runCodexAppServerAttempt(params, { |
6306 | | -turnAssistantCompletionIdleTimeoutMs: 5, |
6307 | | -turnTerminalIdleTimeoutMs: 15, |
| 6306 | +turnCompletionIdleTimeoutMs: 5, |
| 6307 | +turnAssistantCompletionIdleTimeoutMs: 30, |
| 6308 | +turnTerminalIdleTimeoutMs: 500, |
6308 | 6309 | }); |
6309 | 6310 | await vi.waitFor( |
6310 | 6311 | () => |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2454,6 +2454,7 @@ export async function runCodexAppServerAttempt(
|
2454 | 2454 | notification.method === "rawResponseItem/completed" && |
2455 | 2455 | activeTurnItemIds.size === 0 && |
2456 | 2456 | activeAppServerTurnRequests === 0 && |
| 2457 | +!assistantCompletionCanRelease && |
2457 | 2458 | !postToolRawAssistantCompletionNeedsTerminalGuard; |
2458 | 2459 | const shouldArmPostReasoningSourceReplyWatch = |
2459 | 2460 | isCurrentTurnNotification && |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。