Auto-discover Codex/Gemini OAuth files across common homes

This commit is contained in:
ilya-bov
2026-03-06 23:20:33 +03:00
parent 14588cd9bd
commit a7261c2fbe
3 changed files with 125 additions and 13 deletions

View File

@@ -38,6 +38,7 @@ APP_PORT=3000
# XDG_CACHE_HOME=/app/data/.cache
# Optional CLI OAuth credential file overrides (for codex-cli / gemini-cli provider auth checks).
# If unset, Eggent auto-discovers files in common home directories.
# Useful when Eggent runs under a different user than the CLI login user.
# CODEX_AUTH_FILE=/home/node/.codex/auth.json
# GEMINI_OAUTH_CREDS_FILE=/home/node/.gemini/oauth_creds.json