Files
zeekay 21c07d9112 Rename OPENCLAW_* env vars to BOT_*
The codebase already had 663 BOT_* env-var refs from a partial migration
(BOT_CONFIG_PATH, BOT_SHELL, BOT_GATEWAY_BIND, …). Finish the rename:
every remaining OPENCLAW_ prefix becomes BOT_, unifying the env-var
surface on a single brand-neutral prefix.

3493 occurrences across 684 files (src/, test/, extensions/, apps/*/,
docs/, scripts/, infra configs). Clean break — no backwards-compat
reads. Users with existing OPENCLAW_* exports need to rename those.

Out of scope (separate change):
  - the ai.openclaw.android.* Java package (partial migration to
    ai.hanzo.bot.android.* already in place; finishing it requires
    moving files + AndroidManifest + applicationId + signing)
  - __openclaw__/ HTTP path prefix served by the gateway
2026-05-11 15:40:59 -07:00

1.1 KiB

Google Gemini CLI Auth (Hanzo Bot plugin)

OAuth provider plugin for Gemini CLI (Google Code Assist).

Account safety caution

  • This plugin is an unofficial integration and is not endorsed by Google.
  • Some users have reported account restrictions or suspensions after using third-party Gemini CLI and Antigravity OAuth clients.
  • Use caution, review the applicable Google terms, and avoid using a mission-critical account.

Enable

Bundled plugins are disabled by default. Enable this one:

hanzo-bot plugins enable google-gemini-cli-auth

Restart the Gateway after enabling.

Authenticate

hanzo-bot models auth login --provider google-gemini-cli --set-default

Requirements

Requires the Gemini CLI to be installed (credentials are extracted automatically):

brew install gemini-cli
# or: npm install -g @google/gemini-cli

Env vars (optional)

Override auto-detected credentials with:

  • BOT_GEMINI_OAUTH_CLIENT_ID / GEMINI_CLI_OAUTH_CLIENT_ID
  • BOT_GEMINI_OAUTH_CLIENT_SECRET / GEMINI_CLI_OAUTH_CLIENT_SECRET