diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-11 17:38:52 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-11 17:38:52 +0300 |
| commit | f3cbe03fdb07b860a4543c684fb81c5b346e6913 (patch) | |
| tree | 01c51ed8d802be4ca09c26e15803f579f4278746 /distribution | |
| parent | cd7edeb06048892ce6d6bb1a9dc37b9af494e966 (diff) | |
fix: detect cline launchers and idle states (#3959)
refs #2396
Diffstat (limited to 'distribution')
| -rw-r--r-- | distribution/agent-detection/cline.toml | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/distribution/agent-detection/cline.toml b/distribution/agent-detection/cline.toml index b30f4417..2d314087 100644 --- a/distribution/agent-detection/cline.toml +++ b/distribution/agent-detection/cline.toml @@ -1,7 +1,7 @@ id = "cline" -version = "2026.06.10.1" +version = "2026.09.11.1" min_engine_version = 1 -updated_at = "2026-06-10T00:00:00Z" +updated_at = "2026-09-11T00:00:00Z" [[rules]] id = "tool_permission" @@ -18,6 +18,43 @@ any = [ ] [[rules]] +id = "inline_tool_permission" +state = "blocked" +priority = 300 +region = "bottom_non_empty_lines(16)" +visible_blocker = true +contains = ["Cline needs permission", "Approve tool call?", "[y] Approve", "[n] Deny"] + +[[rules]] +id = "inline_question" +state = "blocked" +priority = 300 +region = "bottom_non_empty_lines(24)" +visible_blocker = true +line_regex = ['^\s*Cline is asking a question\s*$', '^\s*>\s+\S'] +contains = ["(Tab)", "Shift+Tab"] + +[[rules]] +id = "active_turn" +state = "working" +priority = 200 +region = "bottom_non_empty_lines(20)" +visible_working = true +any = [ + { line_regex = ['^\s*[\x{2801}-\x{28FF}]\s+\S'] }, + { contains = ["Thinking... (esc to cancel)"] }, +] + +[[rules]] +id = "composer_idle" +state = "idle" +priority = 100 +region = "bottom_non_empty_lines(12)" +visible_idle = true +line_regex = ['^\s*❯(?:\s.*)?$'] +contains = ["─", "(Tab)", "Shift+Tab"] + +[[rules]] id = "default_cline_working" state = "working" priority = -10 |
