#!/usr/bin/env bash
# PROTOTYPE runner — throwaway, see README.md
set -euo pipefail
cd "$(dirname "$0")"
if [ ! -x .venv/bin/python ]; then
  if command -v uv >/dev/null 2>&1; then
    uv venv -q .venv
    uv pip install -q --python .venv/bin/python -r requirements.txt
  else
    python3 -m venv .venv
    .venv/bin/pip -q install -r requirements.txt
  fi
fi
exec .venv/bin/python tui_prototype.py
