# Temporal Sandbox Agent

set dotenv-load
set dotenv-path := ".env"

# Ensure extras are installed
[private]
sync:
    @uv sync --extra temporal --extra daytona --extra e2b --extra docker 2>&1 | grep -v "^Audited\|^Resolved" || true

# Start the local Temporal dev server
temporal:
    temporal server start-dev

# Start the Temporal worker
worker: sync
    uv run --extra temporal --extra daytona --extra e2b --extra docker python temporal_sandbox_agent.py worker

# Start the TUI client
tui: sync
    uv run --extra temporal --extra daytona --extra e2b --extra docker python temporal_sandbox_agent.py run
