feat: upgrade investigation and presentation runtime
This commit is contained in:
@@ -53,6 +53,7 @@ export async function registerTaskAgentPolicy(ctx: Context) {
|
||||
for (const name of Object.keys(event.tools)) if (!(TASK_READER_TOOLS as readonly string[]).includes(name)) delete event.tools[name];
|
||||
} else if (event.agent !== TASK_AGENT || await policy(event.sessionID) !== "coordinator") {
|
||||
delete event.tools.subagent;
|
||||
delete event.tools.ask_task_user;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user