diff --git a/src/plugin-handlers/tool-config-handler.ts b/src/plugin-handlers/tool-config-handler.ts index e488d2da..522253cd 100644 --- a/src/plugin-handlers/tool-config-handler.ts +++ b/src/plugin-handlers/tool-config-handler.ts @@ -97,6 +97,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 = { ...(params.config.permission as Record),