From 36a1b7f86444871f0c38ff36510a6e3c2eec48c6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 10 Jun 2026 15:24:24 +0300 Subject: feat: distribute agent detection manifests --- src/detect/manifests/gemini.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/detect/manifests/gemini.toml (limited to 'src/detect/manifests/gemini.toml') diff --git a/src/detect/manifests/gemini.toml b/src/detect/manifests/gemini.toml new file mode 100644 index 00000000..9d7a28e1 --- /dev/null +++ b/src/detect/manifests/gemini.toml @@ -0,0 +1,25 @@ +id = "gemini" +version = "2026.06.10.1" +min_engine_version = 1 +updated_at = "2026-06-10T00:00:00Z" + +[[rules]] +id = "apply_or_allow_change" +state = "blocked" +priority = 300 +region = "whole_recent" +visible_blocker = true +any = [ + { contains = ["│ Apply this change"] }, + { contains = ["│ Allow execution"] }, + { all = [{ contains = ["yes"] }, { any = [{ contains = ["waiting for user confirmation"] }, { contains = ["│ Do you want to proceed"] }, { contains = ["do you want to proceed?"] }] }] }, + { line_regex = ['(?i)^\s*❯.*(yes|allow)'] }, +] + +[[rules]] +id = "esc_cancel_working" +state = "working" +priority = 100 +region = "whole_recent" +visible_working = true +contains = ["esc to cancel"] -- cgit v1.2.3