# Xylocopa Environment Variables # Copy to .env and fill in actual values # === Host Paths (REQUIRED — must be absolute paths) === # Projects directory — where all project code lives on the host HOST_PROJECTS_DIR=/home/YOUR_USERNAME/xylocopa-projects # === Claude Config === # Path to Claude CLI credentials file (default: ~/.claude/.credentials.json) # CLAUDE_CREDENTIALS_PATH=/home/YOUR_USERNAME/.claude/.credentials.json # Claude home directory (default: ~/.claude) # CLAUDE_HOME=~/.claude # Claude CLI binary name or path (default: claude) # CLAUDE_BIN=claude # === Optional (needed for voice input) === OPENAI_API_KEY= # === Worker Config === MAX_CONCURRENT_WORKERS=5 MAX_IDLE_AGENTS=20 TASK_TIMEOUT_SECONDS=1800 MAX_RETRIES=3 CC_MODEL=claude-opus-4-8 # --- Model Configuration --- # TRIAGE_MODEL=gpt-4o-mini # Model for task triage # SUMMARY_MODEL=claude-sonnet-5 # Claude model for internal `claude -p` summary/insight jobs (default: claude-sonnet-5) # OPENAI_QUICK_MODEL=gpt-4o-mini # OpenAI model for quick helper calls (keyword translation, insight reranking) # API_BASE_URL= # Internal API base (default: http://localhost:PORT) # GIT_USER_EMAIL=xylocopa@localhost # Git commit email for agent operations # === Sync Engine Tuning === # Delay (seconds) before waking sync after a hook, giving Claude time to flush JSONL (default: 0.15) # JSONL_FLUSH_DELAY=0.15 # Interval (seconds) between session cache refreshes (default: 30) # SESSION_CACHE_INTERVAL=30 # === Backup === # BACKUP_ENABLED=1 BACKUP_INTERVAL_HOURS=24 MAX_BACKUPS=48 # Custom backup directory (default: backups/) # BACKUP_DIR=/path/to/custom/backup/dir # === Web Push (VAPID) === VAPID_PRIVATE_KEY= VAPID_PUBLIC_KEY= VAPID_SUBJECT=mailto:xylocopa@example.com # === Security === # Comma-separated allowed CORS origins (default: http://localhost:3000,http://localhost:8080) CORS_ORIGINS=https://localhost:3000 # Auth session timeout in minutes (default: 30) # AUTH_TIMEOUT_MINUTES=30 # Set to 1 to disable login authentication (dev only — do not use in production) # DISABLE_AUTH=1 # === Server Ports === PORT=8080 FRONTEND_PORT=3000 # === Advanced / Paths === # Database path (default: data/orchestrator.db) # DB_PATH=data/orchestrator.db # Log directory (default: logs/) # LOG_DIR=logs # Logging level: DEBUG, INFO, WARNING, ERROR (default: INFO) # LOG_LEVEL=INFO # Uploads directory (default: ~/.xylocopa/uploads) # UPLOADS_DIR=~/.xylocopa/uploads