#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if ! command -v bun >/dev/null 2>&1; then
echo "[runner] bun is required but was not found on PATH." >&2
echo "[runner] Install Bun from https://bun.sh and retry." >&2
exit 1
fi
exec bun "$ROOT_DIR/scripts/runner.ts" "$@"