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/amp.toml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/detect/manifests/amp.toml (limited to 'src/detect/manifests/amp.toml') diff --git a/src/detect/manifests/amp.toml b/src/detect/manifests/amp.toml new file mode 100644 index 00000000..97ac99e0 --- /dev/null +++ b/src/detect/manifests/amp.toml @@ -0,0 +1,29 @@ +id = "amp" +version = "2026.06.10.1" +min_engine_version = 1 +updated_at = "2026-06-10T00:00:00Z" +aliases = ["amp-local"] + +[[rules]] +id = "approval_footer" +state = "blocked" +priority = 300 +region = "whole_recent" +visible_blocker = true +any = [ + { contains = ["waiting for approval"] }, + { contains = ["invoke tool"] }, + { contains = ["run this command?"] }, + { contains = ["allow editing file:"] }, + { contains = ["allow creating file:"] }, + { contains = ["confirm tool call"] }, + { contains = ["approve"], any = [{ contains = ["allow all for this session"] }, { contains = ["allow all for every session"] }, { contains = ["allow file for every session"] }, { contains = ["deny with feedback"] }] }, +] + +[[rules]] +id = "esc_cancel_working" +state = "working" +priority = 100 +region = "whole_recent" +visible_working = true +contains = ["esc to cancel"] -- cgit v1.2.3