feat(hooks): Add interactive-bash-blocker hook

- Prevent interactive bash commands from being executed automatically
- Block commands in tool.execute.before hook
- Register in schema and main plugin initialization
This commit is contained in:
YeonGyu-Kim
2025-12-14 22:27:19 +09:00
parent 1aaa6e6ba2
commit 4b6b725f13
6 changed files with 189 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ export const HookNameSchema = z.enum([
"startup-toast",
"keyword-detector",
"agent-usage-reminder",
"interactive-bash-blocker",
])
export const AgentOverrideConfigSchema = z.object({