diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-10 19:31:02 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-10 19:31:02 +0300 |
| commit | 09c0dabfb51d8bc48b450d84958d19b1b647d77a (patch) | |
| tree | b1893d8e41ae42798e2807bd985a5301052a8faa /website/agent-detection/claude.toml | |
| parent | 82468a0e03360219898ebf3735bdf559182009f8 (diff) | |
chore: publish updated agent detection manifests
Diffstat (limited to 'website/agent-detection/claude.toml')
| -rw-r--r-- | website/agent-detection/claude.toml | 152 |
1 files changed, 60 insertions, 92 deletions
diff --git a/website/agent-detection/claude.toml b/website/agent-detection/claude.toml index 84177af6..7bcecf6f 100644 --- a/website/agent-detection/claude.toml +++ b/website/agent-detection/claude.toml @@ -1,10 +1,18 @@ id = "claude" -version = "2026.06.10.1" -min_engine_version = 1 +version = "2026.06.10.3" +min_engine_version = 2 updated_at = "2026-06-10T00:00:00Z" aliases = ["claude-code"] [[rules]] +id = "osc_title_working" +state = "working" +priority = 1100 +region = "osc_title" +visible_working = true +regex = ['^[\x{2800}-\x{28FF}] '] + +[[rules]] id = "transcript_viewer" state = "unknown" priority = 1000 @@ -20,6 +28,29 @@ any = [ ] [[rules]] +id = "live_blocked_form" +state = "blocked" +priority = 980 +region = "after_last_horizontal_rule" +visible_blocker = true +contains = ["enter to select", "esc to cancel"] +any = [ + { contains = ["tab/arrow keys to navigate"] }, + { contains = ["arrow keys to navigate"] }, + { contains = ["arrows to navigate"] }, + { contains = ["↑/↓ to navigate"] }, + { contains = ["↑↓ to navigate"] }, +] + +[[rules]] +id = "dynamic_workflow_prompt" +state = "blocked" +priority = 980 +region = "whole_recent" +visible_blocker = true +contains = ["run a dynamic workflow?", "esc to cancel"] + +[[rules]] id = "live_prompt_box" state = "idle" priority = 950 @@ -47,27 +78,22 @@ not = [ ] [[rules]] -id = "live_blocked_form" +id = "bash_permission_prompt" state = "blocked" -priority = 980 -region = "after_last_horizontal_rule" +priority = 850 +region = "whole_recent" visible_blocker = true -contains = ["enter to select", "esc to cancel"] +contains = ["do you want to proceed?"] any = [ - { contains = ["tab/arrow keys to navigate"] }, - { contains = ["arrow keys to navigate"] }, - { contains = ["arrows to navigate"] }, - { contains = ["↑/↓ to navigate"] }, - { contains = ["↑↓ to navigate"] }, + { contains = ["bash command"] }, + { contains = ["bash("] }, + { contains = ["contains expansion"] }, + { contains = ["tab to amend"] }, + { contains = ["ctrl+e to explain"] }, +] +all = [ + { any = [{ line_regex = ['(?i)^\s*❯?\s*yes\b'] }, { line_regex = ['(?i)^\s*1\.\s*yes\b'] }, { line_regex = ['(?i)^\s*2\.\s*no\b'] }] }, ] - -[[rules]] -id = "dynamic_workflow_prompt" -state = "blocked" -priority = 980 -region = "whole_recent" -visible_blocker = true -contains = ["run a dynamic workflow?", "esc to cancel"] [[rules]] id = "generic_permission_prompt" @@ -86,79 +112,6 @@ all = [ ] [[rules]] -id = "bash_permission_prompt" -state = "blocked" -priority = 850 -region = "whole_recent" -visible_blocker = true -contains = ["do you want to proceed?"] -any = [ - { contains = ["bash command"] }, - { contains = ["bash("] }, - { contains = ["contains expansion"] }, - { contains = ["tab to amend"] }, - { contains = ["ctrl+e to explain"] }, -] -all = [ - { any = [{ line_regex = ['(?i)^\s*❯?\s*yes\b'] }, { line_regex = ['(?i)^\s*1\.\s*yes\b'] }, { line_regex = ['(?i)^\s*2\.\s*no\b'] }] }, -] - -[[rules]] -id = "interrupt_chrome_working" -state = "working" -priority = 970 -region = "above_prompt_box" -visible_working = true -any = [ - { contains = ["esc to interrupt"] }, - { contains = ["ctrl+c to interrupt"] }, -] - -[[rules]] -id = "spinner_activity_working" -state = "working" -priority = 960 -region = "above_prompt_box" -visible_working = true -line_regex = ['^\s*[·✱✲✳✴✵✶✷✸✹✺✻✼✽✾✿❀❁❂❃❇❈❉❊❋✢✣✤✥✦✧✨⊛⊕⊙◉◎◍⁂⁕※⍟☼★☆]\s+.*\p{Alphabetic}.*…'] - -[[rules]] -id = "ascii_spinner_activity_working" -state = "working" -priority = 960 -region = "above_prompt_box" -visible_working = true -line_regex = ['^\s*\*\s+\p{Alphabetic}.*…\s*\([^)]*\b[1-9][0-9]*s\b[^)]*\)'] - -[[rules]] -id = "latest_background_status_working" -state = "working" -priority = 960 -region = "last_non_empty_above_prompt_box" -visible_working = true -any = [ - { regex = ['(?i)^\W*waiting for [1-9][0-9]* background agents? to finish$'] }, - { regex = ['(?i).*\b[1-9][0-9]* shells? still running\b'] }, - { regex = ['(?i).*\b[1-9][0-9]* local agents? still running\b'] }, -] - -[[rules]] -id = "bottom_agent_status_working" -state = "working" -priority = 955 -region = "bottom_non_empty_lines(10)" -visible_working = true -line_regex = ['^\s*◯\s+(?:Explore|Agent)\b.*\b[1-9][0-9]*s\b(?:\s*·.*)?$'] - -[[rules]] -id = "dynamic_workflow_progress_working" -state = "working" -priority = 965 -region = "bottom_non_empty_lines(10)" -visible_working = true -line_regex = ['^\s*[◯●]\s+.*\b(?:[0-9]+/[1-9][0-9]*) agents done\b.*\b[1-9][0-9]*s\b'] - -[[rules]] id = "legacy_no_prompt_blocker" state = "blocked" priority = 300 @@ -177,3 +130,18 @@ any = [ not = [ { regex = ['(?m)^\s*❯\s*$'] }, ] + +[[rules]] +id = "osc_title_idle" +state = "idle" +priority = 250 +region = "osc_title" +visible_idle = true +regex = ['^\x{2733} '] + +[[rules]] +id = "osc_progress_idle" +state = "idle" +priority = 250 +region = "osc_progress" +regex = ['^4;0'] |
