diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-10 03:43:25 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-10 03:43:25 +0300 |
| commit | 38f3b290deed3008b52c11589a1048b227702894 (patch) | |
| tree | 4cc3e9ef6a4e35f4de493cfd1e783cb3f7e2c5b1 /website/agent-detection/cursor.toml | |
| parent | 350e8c7e4685b12546b145bc5476eb9c3de99751 (diff) | |
chore: publish agent detection manifests
Diffstat (limited to 'website/agent-detection/cursor.toml')
| -rw-r--r-- | website/agent-detection/cursor.toml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/website/agent-detection/cursor.toml b/website/agent-detection/cursor.toml new file mode 100644 index 00000000..c97c03d8 --- /dev/null +++ b/website/agent-detection/cursor.toml @@ -0,0 +1,57 @@ +id = "cursor" +version = "2026.06.10.1" +min_engine_version = 1 +updated_at = "2026-06-10T00:00:00Z" +aliases = ["cursor-agent"] + +[[rules]] +id = "write_file_approval" +state = "blocked" +priority = 320 +region = "bottom_non_empty_lines(8)" +visible_blocker = true +contains = ["write to this file?", "proceed (y)"] +any = [ + { contains = ["reject & propose changes"] }, + { contains = ["esc or n or p"] }, + { contains = ["add write("] }, +] + +[[rules]] +id = "approval_prompt" +state = "blocked" +priority = 300 +region = "whole_recent" +visible_blocker = true +any = [ + { contains = ["waiting for approval", "run this command?"], any = [{ contains = ["run (once) (y)"] }, { contains = ["skip (esc or n)"] }] }, + { contains = ["(y) (enter)"] }, + { line_regex = ['(?i)^\s*allow .*\(y\)'] }, + { contains = ["keep (n)"] }, + { contains = ["skip (esc or n)"] }, + { line_regex = ['(?i)^\s*(run |.*\(y\).*(allow|run \(once\)|→ run))'] }, +] + +[[rules]] +id = "stop_hint_working" +state = "working" +priority = 100 +region = "bottom_non_empty_lines(6)" +visible_working = true +contains = ["ctrl+c to stop"] + +[[rules]] +id = "background_task_status_working" +state = "working" +priority = 95 +region = "bottom_non_empty_lines(5)" +visible_working = true +line_regex = ['(?i)\b[1-9][0-9]*\s+background\s+tasks?\b'] + +[[rules]] +id = "spinner_working" +state = "working" +priority = 90 +region = "bottom_non_empty_lines(8)" +visible_working = true +line_regex = ['^\s*(⬡|⬢|[\u2800-\u28FF]+)\s+\p{Alphabetic}+\w*ing\b'] |
