aboutsummaryrefslogtreecommitdiff
path: root/src/detect/manifests
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-08-21 21:05:22 +0300
committerGitHub <noreply@github.com>2026-08-21 21:05:22 +0300
commitf72a5ef99e2fbfed49eb739c4fffb0c273656d0b (patch)
tree800d2f8eb56ca08e64b54df0955c99dbb7903505 /src/detect/manifests
parent8fe09d5ddf77da5c377760682b33b386ebc37640 (diff)
fix: keep background Claude MCP tasks working (#3094)
Diffstat (limited to 'src/detect/manifests')
-rw-r--r--src/detect/manifests/claude.toml22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/detect/manifests/claude.toml b/src/detect/manifests/claude.toml
index 5f9c79d9..696a1978 100644
--- a/src/detect/manifests/claude.toml
+++ b/src/detect/manifests/claude.toml
@@ -1,7 +1,7 @@
id = "claude"
-version = "2026.08.19.1"
+version = "2026.08.21.1"
min_engine_version = 2
-updated_at = "2026-08-19T00:00:00Z"
+updated_at = "2026-08-21T00:00:00Z"
aliases = ["claude-code"]
[[rules]]
@@ -41,6 +41,24 @@ visible_working = true
line_regex = ['^\s*[\x{002A}\x{00B7}\x{2722}\x{2736}\x{273B}\x{273D}]\s+Waiting for [1-9]\d* background agents? to finish\s*$']
[[rules]]
+id = "background_mcp_task_working"
+state = "working"
+priority = 965
+region = "bottom_non_empty_lines(12)"
+visible_working = true
+# Claude renders activity summaries at column zero; wrapped continuations are indented.
+# Keeping that shape prevents user prompt text from impersonating this signal.
+regex = ['(?m)^[\x{002A}\x{00B7}\x{2722}\x{2736}\x{273B}\x{273D}][ \t]+\S[^\n]*?(?:\n[ \t]+[^\n]*?){0,3}ยท(?:[ \t]+|\n[ \t]*)[1-9]\d*(?:[ \t]+|\n[ \t]*)MCP(?:[ \t]+|\n[ \t]*)tasks?(?:[ \t]+|\n[ \t]*)still(?:[ \t]+|\n[ \t]*)running[ \t]*$']
+not = [
+ { contains = ["do you want to proceed?"] },
+ { contains = ["esc to cancel"] },
+ { contains = ["waiting for permission"] },
+ { contains = ["do you want to allow this connection?"] },
+ { contains = ["tab to amend"] },
+ { contains = ["ctrl+e to explain"] },
+]
+
+[[rules]]
id = "btw_overlay_working"
state = "working"
priority = 975