From ee51c5e5fbaea694e65bb0a4908f75bcaf9707d1 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 8 Jun 2026 20:55:51 +0300 Subject: feat: use pty-first agent detection --- src/detect/agents/codex.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/detect/agents/codex.rs') diff --git a/src/detect/agents/codex.rs b/src/detect/agents/codex.rs index 0a9bdadb..b77b7d25 100644 --- a/src/detect/agents/codex.rs +++ b/src/detect/agents/codex.rs @@ -38,10 +38,6 @@ pub(super) fn has_visible_blocker(content: &str) -> bool { has_codex_strong_blocked_prompt(content) } -pub(super) fn has_prompt(content: &str) -> bool { - has_codex_current_prompt(content) || content.lines().any(codex_prompt_line) -} - pub(super) fn has_visible_working(content: &str) -> bool { has_codex_live_working_at_current_prompt(content) || (!has_codex_current_prompt(content) && has_codex_visible_working_without_prompt(content)) -- cgit v1.2.3