- Replace forward-hook.ps1 with notify.ps1 (now accepts optional agent param) - Remove ejecutor settings.local.json (redundant status hooks, deriveStatus covers it) - Remove legacy claude-permission system (route, store methods, terminal broadcast) - Remove redundant deriveStatus + /claude-status POST from claude-hook.ts (broadcastClaudeHook → processHookEvent already handles status derivation) - Clean up HookNotifications.vue permission buttons (dead code)
149 lines
3.0 KiB
JSON
149 lines
3.0 KiB
JSON
{
|
|
"env": {
|
|
"DISABLE_TELEMETRY": "1",
|
|
"AGENT_NAME": "ejecutor"
|
|
},
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__agent-ui*"
|
|
],
|
|
"deny": [
|
|
"Bash",
|
|
"Edit",
|
|
"Write",
|
|
"Read",
|
|
"Glob",
|
|
"Grep",
|
|
"WebFetch",
|
|
"WebSearch",
|
|
"Task",
|
|
"NotebookEdit"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUseFailure": [
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionEnd": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Notification": [
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PermissionRequest": [
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 5000
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/approval-permission.ps1 ejecutor",
|
|
"timeout": 130000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/notify.ps1 ejecutor",
|
|
"timeout": 10000
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "powershell -NoProfile -File hooks/approval-plan.ps1 ejecutor",
|
|
"timeout": 130000
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|