#!/usr/bin/env bash
set -euo pipefail

if ! command -v npx >/dev/null 2>&1; then
  echo "APort installer requires Node.js and npx. Install Node.js 18+ and try again." >&2
  exit 1
fi

exec npx --yes @aporthq/aport-agent-guardrails "$@"
