fix(athena): grant task and question tool permissions
Add Athena to the task tool allow list and grant explicit question tool permission so it can launch council members and present multi-select prompts. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
0ab22daffb
commit
8f0b5d2e1a
@ -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<string, unknown>),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user