banner_hook.sh 302 B

1234567
  1. #!/bin/sh
  2. if python3 -c 'import sys' >/dev/null 2>&1; then
  3. python3 "$(dirname -- "$0")/banner_notice.py"
  4. else
  5. printf '%s\n' '{"systemMessage":"\n⚠️ Claude Security needs a working python3 (3.9 or newer) on PATH and could not run one. Install Python 3, then start a new session.\n"}'
  6. fi
  7. exit 0