diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-01 03:50:45 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-01 04:16:36 +0300 |
| commit | 1d56cd0e18fc69a85a0889ca6f9a9f3069a4be3a (patch) | |
| tree | f18bc80137a6dcfbccc7aa3666b94649197dbae5 /src/detect/agents/kilo.rs | |
| parent | 2fcf9b678d0f154b2d41aa5fafa25aaa73ec7f17 (diff) | |
feat: detect kilo code cli
refs #270
Diffstat (limited to 'src/detect/agents/kilo.rs')
| -rw-r--r-- | src/detect/agents/kilo.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/detect/agents/kilo.rs b/src/detect/agents/kilo.rs new file mode 100644 index 00000000..1ab3651a --- /dev/null +++ b/src/detect/agents/kilo.rs @@ -0,0 +1,9 @@ +use super::super::AgentState; + +pub(super) fn detect(content: &str) -> AgentState { + if content.to_lowercase().contains("esc interrupt") { + return AgentState::Working; + } + + super::opencode::detect(content) +} |
