# Hub runtime configuration. Copy to .env and fill in. # PostgreSQL connection string. DATABASE_URL="postgresql://paradigm:paradigm@127.0.0.1:5432/paradigm" # OpenRouter API key — used as ANTHROPIC_AUTH_TOKEN for Claude Code SDK. # OpenRouter's "Anthropic Skin" (https://openrouter.ai/api) is Anthropic-API # compatible, so Claude Code SDK speaks its native protocol directly. # Get one at https://openrouter.ai/keys OPENROUTER_API_KEY="" # Claude Code SDK auth — derived from OpenRouter. Do NOT set ANTHROPIC_API_KEY # to a real value; it must be explicitly empty to avoid auth conflicts. ANTHROPIC_BASE_URL="https://openrouter.ai/api" ANTHROPIC_AUTH_TOKEN="" # Set to same value as OPENROUTER_API_KEY ANTHROPIC_API_KEY="" # Model override (optional). Defaults to Claude Sonnet. To use GLM: # ANTHROPIC_DEFAULT_SONNET_MODEL="z-ai/glm-4.7" # ANTHROPIC_DEFAULT_OPUS_MODEL="z-ai/glm-4.7" # ANTHROPIC_DEFAULT_HAIKU_MODEL="z-ai/glm-4.6" # Feishu (lark) bot credentials. FEISHU_APP_ID="" FEISHU_APP_SECRET="" FEISHU_BOT_OPEN_ID="" # Path to the `cph` binary (ADR-0016). Defaults to `cph` on PATH. # CPH_BIN="/usr/local/bin/cph" # Hub server port. Defaults to 8788. PORT=8788