aboutsummaryrefslogtreecommitdiff
path: root/crates/detect-core/src/manifests/gemini.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/detect-core/src/manifests/gemini.toml')
-rw-r--r--crates/detect-core/src/manifests/gemini.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/crates/detect-core/src/manifests/gemini.toml b/crates/detect-core/src/manifests/gemini.toml
new file mode 100644
index 0000000..9d7a28e
--- /dev/null
+++ b/crates/detect-core/src/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"]