#!/usr/bin/env bash
#
# Orchestrate - Launch Claude Code as the Orchestration Agent
#
# Usage:
#   ./orchestrate                    # Start in current directory
#   ./orchestrate -w /path/to/proj   # Start in specific directory
#   ./orchestrate -t "Analyze code"  # Start with initial task
#
# This launches Claude Code with a system prompt that gives it
# orchestration capabilities - managing projects, spawning agents,
# coordinating work across multiple AI agents.
#

set -e

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

# Run the Claude orchestrator module
python3 -m src.agent_orchestrator.orchestrator.claude_orchestrator "$@"
