diff --git a/src/plugin-handlers/tool-config-handler.ts b/src/plugin-handlers/tool-config-handler.ts index dae34fda6..d43bcbbc9 100644 --- a/src/plugin-handlers/tool-config-handler.ts +++ b/src/plugin-handlers/tool-config-handler.ts @@ -122,6 +122,14 @@ export function applyToolConfig(params: { ...denyTodoTools, }; } + const athena = agentByKey(params.agentResult, "athena"); + if (athena) { + athena.permission = { + ...athena.permission, + task: "allow", + question: questionPermission, + }; + } params.config.permission = { webfetch: "allow",