refactor: unify hook notification system, remove duplicate broadcasts

- 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)
This commit is contained in:
2026-02-24 11:07:34 -06:00
parent 5bd115e197
commit 2edb3623c8
10 changed files with 23 additions and 333 deletions

View File

@@ -12,7 +12,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 5000
}
]
@@ -24,7 +24,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 5000
}
]
@@ -36,7 +36,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 5000
}
]
@@ -48,7 +48,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 5000
}
]
@@ -59,7 +59,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 5000
}
]
@@ -70,7 +70,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 5000
}
]
@@ -82,7 +82,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 5000
}
]
@@ -94,7 +94,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 5000
}
]
@@ -115,7 +115,7 @@
"hooks": [
{
"type": "command",
"command": "powershell -NoProfile -File hooks/forward-hook.ps1 nucleo000",
"command": "powershell -NoProfile -File hooks/notify.ps1 nucleo000",
"timeout": 10000
}
]