#!/usr/bin/env bash
# run.sh — start the passive WhatsApp reader daemon in the foreground.
# Used by launchd (com.jarvis.whatsapp-reader.plist) or run manually.
#
# Pure read-only by default. To enable the gated reply capability, export
# WA_ALLOW_SEND=1 before launching (opt-in; see README).
#
# chmod +x run.sh   # first time only
set -euo pipefail
cd "$(dirname "$0")"
exec node daemon.js
