From 5dd20c0a9d4453896926db8a09b28fe25beaffd6 Mon Sep 17 00:00:00 2001 From: Sam Biggins Date: Thu, 6 Aug 2026 04:52:53 -0700 Subject: [PATCH] fix: add positive idle detection for kiro-cli prompt (#2301) * fix: add positive idle detection for kiro-cli prompt refs discussion #982 * fix: remove manifest integration tests per reviewer request --------- Co-authored-by: Can Celik --- src/detect/manifests/kiro.toml | 16 ++++++++++++++-- website/agent-detection/kiro.toml | 16 ++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/detect/manifests/kiro.toml b/src/detect/manifests/kiro.toml index 9b0fb3d0..59ac0a06 100644 --- a/src/detect/manifests/kiro.toml +++ b/src/detect/manifests/kiro.toml @@ -1,7 +1,7 @@ id = "kiro" -version = "2026.06.10.1" +version = "2026.08.01.1" min_engine_version = 1 -updated_at = "2026-06-10T00:00:00Z" +updated_at = "2026-08-01T00:00:00Z" aliases = ["kiro-cli"] [[rules]] @@ -33,6 +33,18 @@ all = [ { any = [{ contains = ["approve all pending"] }, { contains = ["configure individually"] }, { contains = ["exit (cancel subagents)"] }] }, ] +[[rules]] +id = "prompt_idle" +state = "idle" +priority = 200 +region = "bottom_non_empty_lines(5)" +visible_idle = true +contains = ["ask a question or describe a task", "/copy to clipboard"] +not = [ + { contains = ["kiro is working"] }, + { contains = ["esc to cancel"] }, +] + [[rules]] id = "kiro_working_marker" state = "working" diff --git a/website/agent-detection/kiro.toml b/website/agent-detection/kiro.toml index 9b0fb3d0..59ac0a06 100644 --- a/website/agent-detection/kiro.toml +++ b/website/agent-detection/kiro.toml @@ -1,7 +1,7 @@ id = "kiro" -version = "2026.06.10.1" +version = "2026.08.01.1" min_engine_version = 1 -updated_at = "2026-06-10T00:00:00Z" +updated_at = "2026-08-01T00:00:00Z" aliases = ["kiro-cli"] [[rules]] @@ -33,6 +33,18 @@ all = [ { any = [{ contains = ["approve all pending"] }, { contains = ["configure individually"] }, { contains = ["exit (cancel subagents)"] }] }, ] +[[rules]] +id = "prompt_idle" +state = "idle" +priority = 200 +region = "bottom_non_empty_lines(5)" +visible_idle = true +contains = ["ask a question or describe a task", "/copy to clipboard"] +not = [ + { contains = ["kiro is working"] }, + { contains = ["esc to cancel"] }, +] + [[rules]] id = "kiro_working_marker" state = "working"