# Mecha10 Project Configuration
# ============================================================================
# AUTHENTICATION
# ============================================================================
# Credentials are stored globally at ~/.mecha10/credentials.json after running:
# mecha10 auth login
#
# For QA/development, you can point to a custom auth server:
# MECHA10_AUTH_URL=http://192.168.1.106:8100/auth mecha10 auth login
#
# Or export it for the session:
# export MECHA10_AUTH_URL=http://192.168.1.106:8100/auth
# ============================================================================
# ROBOT IDENTITY
# ============================================================================
ROBOT_ID={{robot_id}}
FLEET_ID=default-fleet
# ============================================================================
# REDIS CONFIGURATION
# ============================================================================
# Redis URL for host-side nodes (running outside Docker)
REDIS_URL=redis://localhost:6380
REDIS_PORT=6380
REDIS_PASSWORD=
# Redis URL for Docker containers (internal network)
REDIS_URL_INTERNAL=redis://redis:6379
# ============================================================================
# LOGGING
# ============================================================================
LOG_LEVEL=info
RUST_LOG=info
# ============================================================================
# AI / LLM CONFIGURATION
# ============================================================================
# OpenAI API Key (for llm-command node)
# Get your key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Anthropic API Key (for llm-command node with Claude)
# Get your key from: https://console.anthropic.com/
ANTHROPIC_API_KEY=
# Local LLM endpoint (for Ollama or local models)
# OLLAMA_ENDPOINT=http://localhost:11434/api/chat
# ============================================================================
# DEVELOPMENT
# ============================================================================
DEV_MODE=true
MOCK_HARDWARE=false
# Framework Development Mode (optional)
# Uncomment to use local monorepo packages instead of published ones
# MECHA10_FRAMEWORK_PATH=/path/to/mecha10-monorepo
# ============================================================================
# WEBRTC CAMERA STREAMING (Auto-configured)
# ============================================================================
# These values are automatically injected by `mecha10 dev`:
# - WEBRTC_RELAY_URL: From mecha10.json networking.relay.url
# - ROBOT_API_KEY: From ~/.mecha10/credentials.json (mecha10 auth login)
#
# You only need to set these manually if:
# - Running nodes directly (not via mecha10 dev)
# - Testing with specific override values
#
# WEBRTC_RELAY_URL=ws://192.168.1.106:8100/webrtc-relay
# ROBOT_API_KEY=your_api_key_here