Files
eggent/docs/releases/0.1.3-oauth-native-cli-providers.md
2026-03-06 15:56:39 +03:00

2.3 KiB

Eggent 0.1.3 - OAuth Native CLI Providers

Date: 2026-03-06
Type: Patch release snapshot

Release Name

OAuth Native CLI Providers

This release upgrades Codex CLI and Gemini CLI integration to API-native OAuth transport, adds guided OAuth connection flow in Settings, and keeps Eggent tool/MCP behavior available in these modes.

What Is Included

1) API-Native OAuth Transport for CLI Providers

  • Added native OAuth transport for codex-cli and gemini-cli providers.
  • Eggent now reads local CLI OAuth credentials and sends requests through provider APIs.
  • Transport keeps Eggent-side tool loop behavior integrated with chat requests.

2) Provider Auth Endpoints and Validation

  • Added provider auth endpoints:
    • POST /api/provider-auth/connect
    • GET /api/provider-auth/status
  • Added OAuth status checks for both CLI providers using local auth files.
  • Enforced OAuth-only mode for codex-cli and gemini-cli in settings/API.

3) Settings Wizard: Provider -> Method -> Connect -> Model

  • Chat model wizard now includes explicit connection method step (API key or OAuth).
  • For CLI providers, UI shows OAuth instructions and a connection status check action.
  • Model list step remains dynamic and gated by selected connection method.

4) Dynamic Model Discovery for Codex/Gemini CLI

  • Added CLI model discovery service with short TTL cache.
  • /api/models now attempts live model discovery for codex-cli and gemini-cli.
  • Falls back to bundled model presets if discovery is unavailable.

5) Provider Base URL Reliability Fixes

  • Added base URL normalization for anthropic and google provider paths.
  • Fixed invalid relative URL failures like /messages or /models/... when base URL is empty.

New in 0.1.3

  • OAuth-native transport for Codex CLI and Gemini CLI providers.
  • Provider auth connect/status API and OAuth credential checks.
  • Updated chat model setup flow with method and connection steps.
  • Dynamic CLI model discovery in model picker.
  • URL normalization fixes for Anthropic and Google providers.
  • Bumped package and health version to 0.1.3.

Upgrade Notes

  • No data migration required.
  • Existing OpenAI/Anthropic/Google/OpenRouter/Ollama API key setups continue to work.
  • For codex-cli and gemini-cli, complete CLI login first, then use OAuth mode in Eggent settings.