From 0a800d87e17fa7560a8ddcaef7b0159b6b59274b Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Wed, 13 May 2026 10:31:20 -0300 Subject: [PATCH] chore(env): remove orphan vars from .env.example Removes 11 environment variable entries from `.env.example` that no longer correspond to any reference in source code: - Provider API keys with no runtime hook today: CEREBRAS_API_KEY, NEBIUS_API_KEY, PERPLEXITY_API_KEY, MISTRAL_API_KEY, COHERE_API_KEY, TOGETHER_API_KEY, GROQ_API_KEY, XAI_API_KEY, FIREWORKS_API_KEY. Provider credentials are managed via Dashboard/Providers or the encrypted DB; the leftover entries were stubs only. - CURSOR_PROTOBUF_DEBUG (executor uses CURSOR_DEBUG/CURSOR_STREAM_DEBUG). - CLI_COMPAT_KIRO (Kiro is in CLI_COMPAT_OMITTED_PROVIDER_IDS). Kept four entries from the original audit list because they are still exercised at runtime (verified via grep on docker-compose and dynamic `${PROVIDER}_USER_AGENT` lookup in BaseExecutor): - ANTIGRAVITY_USER_AGENT (dynamic in BaseExecutor.buildHeaders) - KIRO_USER_AGENT (same dynamic pattern) - PROD_API_PORT, PROD_DASHBOARD_PORT (docker-compose.prod.yml) Co-Authored-By: Claude Opus 4.7 (1M context) --- .env.example | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.env.example b/.env.example index 1ad4b13a3c..8c49d88cc8 100644 --- a/.env.example +++ b/.env.example @@ -491,7 +491,6 @@ GEMINI_CLI_USER_AGENT="google-api-nodejs-client/10.3.0" # CLI_COMPAT_CLAUDE=1 # CLI_COMPAT_GITHUB=1 # CLI_COMPAT_ANTIGRAVITY=1 -# CLI_COMPAT_KIRO=1 # CLI_COMPAT_CURSOR=1 # CLI_COMPAT_KIMI_CODING=1 # CLI_COMPAT_KILOCODE=1 @@ -509,20 +508,16 @@ GEMINI_CLI_USER_AGENT="google-api-nodejs-client/10.3.0" # Preferred setup: Dashboard → Providers → Add API Key. # Setting here is an alternative for Docker/headless deployments. +# Static API keys for direct-authentication providers wired through the runtime. +# OmniRoute loads provider credentials from the encrypted database or +# data/provider-credentials.json. The variables below are documented escape +# hatches that are referenced in code today. # DEEPSEEK_API_KEY= -# GROQ_API_KEY= -# XAI_API_KEY= -# MISTRAL_API_KEY= -# PERPLEXITY_API_KEY= -# TOGETHER_API_KEY= -# FIREWORKS_API_KEY= -# CEREBRAS_API_KEY= -# COHERE_API_KEY= # NVIDIA_API_KEY= # Embedding Providers (optional — used by /v1/embeddings) -# NEBIUS_API_KEY= -# Provider keys above (OpenAI, Mistral, Together, Fireworks, NVIDIA) also work for embeddings. +# OpenAI/Mistral/Together/Fireworks/NVIDIA configured via Dashboard → Providers +# also work for embeddings. # ═══════════════════════════════════════════════════════════════════════════════ @@ -783,9 +778,6 @@ APP_LOG_TO_FILE=true # ═══════════════════════════════════════════════════════════════════════════════ # These variables enable verbose debugging output. NEVER enable in production. -# Dump Cursor protobuf decode/encode details to console. -# CURSOR_PROTOBUF_DEBUG=1 - # Dump raw Cursor SSE stream data to console. # CURSOR_STREAM_DEBUG=1