aboutsummaryrefslogtreecommitdiff
path: root/src/detect/agents
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-08 02:55:23 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-08 02:55:23 +0300
commit27a028aeae0b2ecdd747c90aa34605fd7e810ef1 (patch)
tree38808fa007c0f3d03790ced72aaedb959e5e8432 /src/detect/agents
parente7ba8da29ab27a6f0875c4b99245ef4dc5a3dbbb (diff)
fix: detect codex interrupt status headers
refs #501
Diffstat (limited to 'src/detect/agents')
-rw-r--r--src/detect/agents/codex.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/detect/agents/codex.rs b/src/detect/agents/codex.rs
index 9870bca6..a53d9358 100644
--- a/src/detect/agents/codex.rs
+++ b/src/detect/agents/codex.rs
@@ -152,6 +152,7 @@ fn codex_working_status_line(line: &str) -> bool {
trimmed.starts_with('•')
&& (trimmed.contains("Working (")
|| trimmed.contains("Waiting for background terminal (")
+ || lower.contains(" • esc to interrupt")
|| lower.contains("reviewing approval request (")
|| (lower.contains("reviewing ") && lower.contains(" approval requests ("))
|| trimmed.contains("Booting MCP server:"))