#!/bin/bash
# cube - Agent Cube CLI (wrapper for Python implementation)

set -e

# Check if cube-py is installed
if ! command -v cube-py &> /dev/null; then
    echo "❌ Error: cube-py is not installed"
    echo ""
    echo "Install cube-py:"
    echo "  cd python && pip install -e ."
    echo ""
    echo "Or run the install script:"
    echo "  ./install.sh"
    exit 1
fi

# Delegate to Python implementation (TTY tracking handled in Python)
exec cube-py "$@"
