diff options
Diffstat (limited to 'crates/detect-core/src/manifests/antigravity.toml')
| -rw-r--r-- | crates/detect-core/src/manifests/antigravity.toml | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/crates/detect-core/src/manifests/antigravity.toml b/crates/detect-core/src/manifests/antigravity.toml new file mode 100644 index 0000000..5daa8de --- /dev/null +++ b/crates/detect-core/src/manifests/antigravity.toml @@ -0,0 +1,80 @@ +id = "agy" +version = "2026.10.05.1" +min_engine_version = 1 +updated_at = "2026-10-05T00:00:00Z" +aliases = ["antigravity", "antigravity-cli"] + +# Evidence: Antigravity CLI 1.2.17 live pane reads, plus reporter captures +# from 1.1.28 through 1.2.16. +# +# Dialogs replace the prompt box and end with a key-hint row directly above +# the "esc to cancel" footer: +# permission: "↑/↓ Navigate · tab Amend · ctrl+g edit/expand command" +# "↑/↓ Navigate · tab Amend · f full diff" +# question: "↑/↓ Navigate · enter Select · esc Skip" +# trust: "↑/↓ Navigate · enter Confirm" +# slash menu: "↑/↓ Navigate · enter Select · tab Complete" (idle) +# Some captures hold only the two footer rows, so dialog rules must not +# require the question text. +# +# Working turns draw a braille spinner followed by either an -ing word or a +# thought summary above the prompt box, and the footer reads "esc to cancel" +# directly under the prompt box's bottom border. The idle footer reads +# "? for shortcuts". +# +# Background tasks and subagents show "· N task(s)" in the footer and a task +# panel under the prompt box. Once the agent is back at its prompt they do +# not count as working. + +[[rules]] +id = "permission_prompt" +state = "blocked" +priority = 300 +region = "bottom_non_empty_lines(2)" +visible_blocker = true +contains = ["navigate", "tab amend"] + +[[rules]] +id = "question_prompt" +state = "blocked" +priority = 290 +region = "bottom_non_empty_lines(2)" +visible_blocker = true +contains = ["navigate", "esc skip"] + +[[rules]] +id = "trust_prompt" +state = "blocked" +priority = 280 +region = "bottom_non_empty_lines(8)" +visible_blocker = true +contains = ["do you trust the contents of this project?", "yes, i trust this folder", "enter confirm"] + +# Pre-1.1.28 permission dialog. +[[rules]] +id = "legacy_permission_prompt" +state = "blocked" +priority = 270 +region = "whole_recent" +visible_blocker = true +contains = ["requesting permission for:"] +any = [ + { contains = ["do you want to proceed?"] }, + { contains = ["tab amend", "edit command"] }, +] + +[[rules]] +id = "esc_cancel_footer_working" +state = "working" +priority = 110 +region = "bottom_non_empty_lines(2)" +visible_working = true +regex = ['(?m)^\s*─{3,}\s*esc to cancel\b'] + +[[rules]] +id = "spinner_working" +state = "working" +priority = 100 +region = "bottom_non_empty_lines(12)" +visible_working = true +line_regex = ['^\s*[\u2801-\u28FF]+\s+\S'] |
