fix: deny switch_agent for all sub-agents
This commit is contained in:
@@ -13,6 +13,7 @@ const EXPLORATION_AGENT_DENYLIST: Record<string, boolean> = {
|
|||||||
edit: false,
|
edit: false,
|
||||||
task: false,
|
task: false,
|
||||||
call_omo_agent: false,
|
call_omo_agent: false,
|
||||||
|
switch_agent: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
const AGENT_RESTRICTIONS: Record<string, Record<string, boolean>> = {
|
const AGENT_RESTRICTIONS: Record<string, Record<string, boolean>> = {
|
||||||
@@ -25,18 +26,21 @@ const AGENT_RESTRICTIONS: Record<string, Record<string, boolean>> = {
|
|||||||
edit: false,
|
edit: false,
|
||||||
task: false,
|
task: false,
|
||||||
call_omo_agent: false,
|
call_omo_agent: false,
|
||||||
|
switch_agent: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
metis: {
|
metis: {
|
||||||
write: false,
|
write: false,
|
||||||
edit: false,
|
edit: false,
|
||||||
task: false,
|
task: false,
|
||||||
|
switch_agent: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
momus: {
|
momus: {
|
||||||
write: false,
|
write: false,
|
||||||
edit: false,
|
edit: false,
|
||||||
task: false,
|
task: false,
|
||||||
|
switch_agent: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"multimodal-looker": {
|
"multimodal-looker": {
|
||||||
@@ -45,6 +49,7 @@ const AGENT_RESTRICTIONS: Record<string, Record<string, boolean>> = {
|
|||||||
|
|
||||||
"sisyphus-junior": {
|
"sisyphus-junior": {
|
||||||
task: false,
|
task: false,
|
||||||
|
switch_agent: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
athena: {
|
athena: {
|
||||||
@@ -54,6 +59,7 @@ const AGENT_RESTRICTIONS: Record<string, Record<string, boolean>> = {
|
|||||||
"athena-junior": {
|
"athena-junior": {
|
||||||
call_omo_agent: false,
|
call_omo_agent: false,
|
||||||
question: false,
|
question: false,
|
||||||
|
switch_agent: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
// NOTE: Athena/council tool restrictions are also defined in:
|
// NOTE: Athena/council tool restrictions are also defined in:
|
||||||
|
|||||||
Reference in New Issue
Block a user