pub fn refresh_installed_hooks()Expand description
Silently refresh all hook scripts for agents that are already configured. Called after updates and on MCP server start to ensure hooks match the current binary version. Registry-driven: every Hybrid agent with a global shell hook is covered (the rest are explicitly exempted, enforced by test).