#!/usr/bin/env bash
# Wrapper: pnpm install (если node_modules нет), затем tsx runner.ts <scenario>.
set -euo pipefail
cd "$(dirname "$0")"

if [ ! -d node_modules ]; then
  pnpm install --silent
fi

exec pnpm exec tsx runner.ts "$@"
