aboutsummaryrefslogtreecommitdiff
path: root/src/detect/manifests/kiro.toml
blob: 59ac0a061b278d82ffc3d7efa01cde7f4d694f2f (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
id = "kiro"
version = "2026.08.01.1"
min_engine_version = 1
updated_at = "2026-08-01T00:00:00Z"
aliases = ["kiro-cli"]

[[rules]]
id = "tool_approval"
state = "blocked"
priority = 300
region = "whole_recent"
visible_blocker = true
contains = ["requires approval"]
any = [
  { contains = ["yes, single permission"] },
  { contains = ["trust, always allow"] },
  { contains = ["no (tab to edit)"] },
  { contains = ["esc to close"] },
]

[[rules]]
id = "subagent_approval"
state = "blocked"
priority = 290
region = "whole_recent"
visible_blocker = true
contains = ["pending from subagents"]
any = [
  { contains = ["tool approval"] },
  { contains = ["tool approvals"] },
]
all = [
  { any = [{ contains = ["approve all pending"] }, { contains = ["configure individually"] }, { contains = ["exit (cancel subagents)"] }] },
]

[[rules]]
id = "prompt_idle"
state = "idle"
priority = 200
region = "bottom_non_empty_lines(5)"
visible_idle = true
contains = ["ask a question or describe a task", "/copy to clipboard"]
not = [
  { contains = ["kiro is working"] },
  { contains = ["esc to cancel"] },
]

[[rules]]
id = "kiro_working_marker"
state = "working"
priority = 100
region = "whole_recent"
visible_working = true
contains = ["kiro is working"]

[[rules]]
id = "tool_spinner_working"
state = "working"
priority = 90
region = "whole_recent"
visible_working = true
contains = ["esc to cancel"]
line_regex = ['^\s*(◔|◑|◕|●)\s+\p{Alphabetic}']