fix(providers): document TRAE_WEB_ORIGIN in .env.example (#12190)

This commit is contained in:
diegosouzapw
2026-09-11 18:27:19 -03:00
parent 1686024792
commit c91a7bcdc0
2 changed files with 6 additions and 0 deletions

View File

@@ -1175,6 +1175,11 @@ CODEX_OAUTH_CLIENT_ID=app_EMoamEEZ73f0CkXaXp7hrann
# Trae OAuth token override. Used by: open-sse/executors/trae.ts.
# TRAE_TOKEN=
# Trae web client Origin/Referer override (fleet-wide bump if Trae moves hosts
# again without a code change). Default: https://work.trae.ai.
# Used by: open-sse/executors/trae.ts.
# TRAE_WEB_ORIGIN=https://work.trae.ai
# ── Gemini / Antigravity (Google-based) ──
# These providers ship public OAuth client_id/secret values embedded in their
# public CLIs. Defaults are baked into the code via

View File

@@ -283,6 +283,7 @@ const ENV_ONLY_ALLOWLIST = new Set([
"PII_WINDOW_SIZE",
"TRAE_STREAM_TIMEOUT_MS",
"TRAE_TOKEN",
"TRAE_WEB_ORIGIN",
]);
// ─── Parsing helpers ───────────────────────────────────────────────────────