Functionsยง
- generate_
compact_ rewrite_ script - generate_
rewrite_ script - install_
agent_ hook - install_
project_ rules - normalize_
tool_ path - Normalize paths from any client format to a consistent OS-native form.
Handles MSYS2/Git Bash (
/c/Users/...->C:/Users/...), mixed separators, double slashes, and trailing slashes. Always uses forward slashes for consistency. - refresh_
installed_ hooks - 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.
- to_
bash_ compatible_ path