#!/usr/bin/env bash
# Start the FERAL brain with this repo's tools on the path.
set -euo pipefail
ROOT="$HOME/.theora-starter"
[ -d "$ROOT/venv" ] || { echo "Run ./install.sh first."; exit 1; }
export FERAL_TOOLS_PATH="$ROOT/tools"
export FERAL_HOME="$ROOT"
echo "Tools: $FERAL_TOOLS_PATH"
echo "Starting FERAL. Ctrl-C to stop."
exec "$ROOT/venv/bin/python" -m feral_core
