fix(plugin-handlers): simplify tool config handler
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -105,10 +105,10 @@ export function applyToolConfig(params: {
|
||||
prometheus.permission = {
|
||||
...prometheus.permission,
|
||||
call_omo_agent: "deny",
|
||||
task: "deny",
|
||||
task: "allow",
|
||||
question: questionPermission,
|
||||
"task_*": "deny",
|
||||
teammate: "deny",
|
||||
"task_*": "allow",
|
||||
teammate: "allow",
|
||||
...denyTodoTools,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user