From eeacb45b4b6ab4446c5bea1331f743fee5e5b9f8 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 9 Jun 2026 04:24:12 +0300 Subject: fix: remove idle screen patterns from agent detection --- src/detect/agents/codex.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/detect/agents/codex.rs') diff --git a/src/detect/agents/codex.rs b/src/detect/agents/codex.rs index b77b7d25..93d2998c 100644 --- a/src/detect/agents/codex.rs +++ b/src/detect/agents/codex.rs @@ -14,13 +14,8 @@ pub(super) fn detect(content: &str) -> AgentState { return AgentState::Working; } - // Idle - if has_codex_current_prompt(content) { - return AgentState::Idle; - } - - // Weak blocked patterns are too broad to scan above a visible prompt. They - // only apply when Codex does not currently show an idle prompt region. + // Weak blocked patterns are too broad to become visible blockers, but the + // legacy state detector still reports them as blocked for compatibility. if has_codex_weak_blocked_prompt(&lower) { return AgentState::Blocked; } -- cgit v1.2.3