aboutsummaryrefslogtreecommitdiff
path: root/crates/detect-core/src/manifests/maki.toml
blob: 5c58404a52a9326f66227142da90dc389947cad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
id = "maki"
version = "2026.07.09.2"
min_engine_version = 1
updated_at = "2026-07-09T00:00:00Z"

# Maki renders a persistent one-line status bar on the bottom row. It starts
# with the mode label "[BUILD]", "[PLAN]", or "[BASH]" when idle and gets a
# leading braille spinner cell while the agent is streaming. Permission
# requests and the plan-complete form replace the input box above the status
# bar. Maki does not set OSC title or OSC 9;4 progress.

[[rules]]
id = "permission_prompt"
state = "blocked"
priority = 980
region = "whole_recent"
visible_blocker = true
contains = ["permission required"]
any = [
  { contains = ["y allow", "n deny"] },
  { contains = ["confirm allow"] },
  { contains = ["confirm deny"] },
  { contains = ["enter deny", "esc cancel"] },
]

[[rules]]
id = "plan_complete_form"
state = "blocked"
priority = 970
region = "whole_recent"
visible_blocker = true
contains = ["plan complete", "enter confirm"]
any = [
  { contains = ["space toggle parallel"] },
  { contains = ["edit plan"] },
]

[[rules]]
id = "status_bar_spinner_working"
state = "working"
priority = 900
region = "bottom_non_empty_lines(1)"
visible_working = true
line_regex = ['^( [\x{2800}-\x{28FF}]){1,2} \[(BUILD|PLAN|BASH)\]']

[[rules]]
id = "status_bar_idle"
state = "idle"
priority = 850
region = "bottom_non_empty_lines(1)"
visible_idle = true
line_regex = ['^ \[(BUILD|PLAN|BASH)\]']

# On narrow panes the right side of the status bar overwrites the mode label,
# so fall back to the prompt chevron above the input box border. The not-gates
# keep this from matching the streaming placeholder or a status bar that still
# shows the spinner.
[[rules]]
id = "prompt_box_idle"
state = "idle"
priority = 840
region = "bottom_non_empty_lines(3)"
visible_idle = true
line_regex = ['^❯ ']
not = [
  { contains = ["queue another prompt"] },
  { line_regex = ['^( [\x{2800}-\x{28FF}]){1,2} '] },
]