min_engine_version = 1
[[rule]]
id = "tool_permission"
state = "blocked"
priority = 300
region = "whole_recent"
gate = { any = [
{ contains = "let cline use this tool" },
{ all = [ { contains = "[act mode]" }, { contains = "execute command?" }, { contains = "yes" } ] },
{ all = [ { contains = "[act mode]" }, { contains = "use this tool?" }, { contains = "yes" } ] },
{ all = [ { contains = "[plan mode]" }, { contains = "execute command?" }, { contains = "yes" } ] },
{ all = [ { contains = "[plan mode]" }, { contains = "use this tool?" }, { contains = "yes" } ] },
] }
[[rule]]
id = "default_cline_working"
state = "working"
priority = -10
region = "whole_recent"
gate = { regex = '(?s).+' }