From c04b1d9a6f18282c7cde6c1bb3c6d36579d3c818 Mon Sep 17 00:00:00 2001 From: Eyejoker Date: Mon, 30 Mar 2026 02:53:55 +0900 Subject: [PATCH] docs: update .env.example for unified service architecture --- .env.example | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.env.example b/.env.example index eebb5ed..679a7e1 100644 --- a/.env.example +++ b/.env.example @@ -1,38 +1,38 @@ # ===== EJClaw Environment Configuration ===== # Copy this file to .env and fill in the values. -# For dual-service (Codex), also create .env.codex with DISCORD_BOT_TOKEN for the Codex bot. -# For review failover, create .env.codex-review with a third Discord bot token. +# Single unified service manages all three Discord bots in one process. -# --- Required --- -DISCORD_BOT_TOKEN= # Discord bot token (Claude bot) +# --- Discord bots (3 tokens for 3 bots) --- +DISCORD_BOT_TOKEN= # Claude bot +DISCORD_CODEX_BOT_TOKEN= # Codex-main bot (owner) +DISCORD_REVIEW_BOT_TOKEN= # Codex-review bot (fallback reviewer) + +# --- Agent type configuration --- +OWNER_AGENT_TYPE=codex # codex | claude-code +REVIEWER_AGENT_TYPE=claude-code # claude-code | codex + +# --- API keys --- CLAUDE_CODE_OAUTH_TOKEN= # Claude Code OAuth token (primary account) - -# --- Multi-account rotation (recommended) --- -CLAUDE_CODE_OAUTH_TOKENS= # Comma-separated tokens for auto-rotation on 429 - # e.g. token1,token2 - -# --- Codex support (optional — needed for ejclaw-codex service) --- -OPENAI_API_KEY= # OpenAI API key for Codex -# CODEX_OPENAI_API_KEY= # Override OPENAI_API_KEY for Codex only -# CODEX_MODEL=gpt-5.4 # Codex model -# CODEX_EFFORT=xhigh # Codex reasoning effort +CLAUDE_CODE_OAUTH_TOKENS= # Comma-separated tokens for multi-account rotation +GROQ_API_KEY= # Voice transcription (Groq Whisper, free: console.groq.com) # --- Bot identity --- ASSISTANT_NAME=claude # Trigger name (@claude) -# SERVICE_ID=claude # Service identifier (defaults to ASSISTANT_NAME slug) -# SERVICE_AGENT_TYPE=claude-code # Agent type: claude-code or codex -# --- Voice transcription --- -GROQ_API_KEY= # Groq Whisper (primary, free: console.groq.com) -# OPENAI_API_KEY also used as Whisper fallback +# --- Claude model --- +# CLAUDE_MODEL= # Claude model override +# CLAUDE_EFFORT= # Claude effort level +# CLAUDE_THINKING= # Claude thinking mode -# --- Usage dashboard (optional) --- -# STATUS_CHANNEL_ID= # Discord channel for live status updates -# USAGE_DASHBOARD=true # Enable usage dashboard +# --- Codex model --- +# CODEX_MODEL= # Codex model override +# CODEX_EFFORT= # Codex reasoning effort + +# --- Usage dashboard --- +STATUS_CHANNEL_ID= # Discord channel ID for live status updates # STATUS_SHOW_ROOMS=true # Show room status in dashboard # STATUS_SHOW_ROOM_DETAILS=false # Show detailed room info # --- Advanced --- # MAX_CONCURRENT_AGENTS=5 # Max parallel agent processes -# AGENT_TIMEOUT=1800000 # Agent timeout in ms (default: 30min) # SESSION_COMMAND_ALLOWED_SENDERS= # Comma-separated Discord user IDs for session commands