Expand description
Daemon hook verification and installation.
This module provides self-healing hook management for AI coding agents.
The daemon can call verify_and_install_claude_code_hook at startup to
ensure the RCH hook is installed in Claude Code’s settings.
Enums§
- Hook
Result - Result of hook verification/installation.
Functions§
- installed_
rch_ hook_ command - Read the installed
rchPreToolUse hook command from the user’s Claude Codesettings.json, if present. - is_
claude_ code_ installed - Checks if Claude Code appears to be installed.
- rch_
pretooluse_ hook_ command - Extract the
rchPreToolUse hook command from parsed Claude Code settings. - verify_
and_ install_ claude_ code_ hook - Verifies and installs the RCH hook in Claude Code settings.