It seems like the .claude/setting.json hooks use the bare python interpreter without the package's site_packages to evaluate the nah_guard.py hook, which results in a ModuleNotFound error. I have a PR that ~ fixes it in ryanswrt#1 - I'm not super happy with the impl, it might be cleaner to just have the nah binary do the guard to reduce the number of entrypoints vs a seperate nah-hook script?
It seems like the .claude/setting.json hooks use the bare python interpreter without the package's site_packages to evaluate the nah_guard.py hook, which results in a ModuleNotFound error. I have a PR that ~ fixes it in ryanswrt#1 - I'm not super happy with the impl, it might be cleaner to just have the nah binary do the guard to reduce the number of entrypoints vs a seperate nah-hook script?