Skip to main content

claude_settings_stale

Function claude_settings_stale 

Source
pub fn claude_settings_stale(path: &Path) -> bool
Expand description

Whether a Claude Code settings file has sqz’s PreToolUse hook but not the allow rules or PostToolUse hook sqz init now writes, as an install from an older sqz does. Without the rules the hook leaves every command alone outside bypass mode.