#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
# Validate the new parent-cancellation path before opening the VPN window.
node --check scripts/vpn-phone-run.mjs
bash scripts/phantom-lifecycle-check.sh
exec node scripts/vpn-phone-run.mjs run