#!/bin/bash
# MIRA Development Wrapper
# This script allows running MIRA with tsx in development

# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$( cd "$SCRIPT_DIR/../.." && pwd )"

# Change to project root
cd "$PROJECT_ROOT"

# Run MIRA with tsx
exec npx tsx mira-memory/src/cli.ts "$@"