aboutsummaryrefslogtreecommitdiff
path: root/src/detect/agents/cline.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-09 04:24:12 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-09 04:26:19 +0300
commiteeacb45b4b6ab4446c5bea1331f743fee5e5b9f8 (patch)
tree063e99ff0a40ce7ef00002ac00130aeb3f30f6d7 /src/detect/agents/cline.rs
parent120001b591e64d80a557d81e3b112460b9987fc6 (diff)
fix: remove idle screen patterns from agent detection
Diffstat (limited to 'src/detect/agents/cline.rs')
-rw-r--r--src/detect/agents/cline.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/detect/agents/cline.rs b/src/detect/agents/cline.rs
index 13509606..c0ce6f6e 100644
--- a/src/detect/agents/cline.rs
+++ b/src/detect/agents/cline.rs
@@ -1,18 +1,11 @@
use super::super::AgentState;
pub(super) fn detect(content: &str) -> AgentState {
- let lower = content.to_lowercase();
-
// Blocked
if has_visible_blocker(content) {
return AgentState::Blocked;
}
- // Idle
- if lower.contains("cline is ready for your message") {
- return AgentState::Idle;
- }
-
// Cline defaults to working (unlike most agents that default to idle)
AgentState::Working
}