feat(plugin): add team-mode gating to tool execute hooks
This commit is contained in:
@@ -76,6 +76,7 @@ export function createToolExecuteBeforeHandler(args: {
|
|||||||
await hooks.prometheusMdOnly?.["tool.execute.before"]?.(input, output)
|
await hooks.prometheusMdOnly?.["tool.execute.before"]?.(input, output)
|
||||||
await hooks.sisyphusJuniorNotepad?.["tool.execute.before"]?.(input, output)
|
await hooks.sisyphusJuniorNotepad?.["tool.execute.before"]?.(input, output)
|
||||||
await hooks.atlasHook?.["tool.execute.before"]?.(input, output)
|
await hooks.atlasHook?.["tool.execute.before"]?.(input, output)
|
||||||
|
await hooks.teamToolGating?.["tool.execute.before"]?.(input, output)
|
||||||
|
|
||||||
const normalizedToolName = input.tool.toLowerCase()
|
const normalizedToolName = input.tool.toLowerCase()
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user