1 Commits

  • feat(gemini-cli): add Google One login and improve auto-discovery
    Add Google One personal account login to Gemini CLI OAuth flow:
    - CLI --login shows mode menu (Code Assist vs Google One)
    - Web management API accepts project_id=GOOGLE_ONE sentinel
    - Auto-discover project via onboardUser without cloudaicompanionProject when project is unresolved
    
    Improve robustness of auto-discovery and token handling:
    - Add context-aware auto-discovery polling (30s timeout, 2s interval)
    - Distinguish network errors from project-selection-required errors
    - Refresh expired access tokens in readAuthFile before project lookup
    - Extend project_id auto-fill to gemini auth type (was antigravity-only)
    
    Unify credential file naming to geminicli- prefix for both CLI and web.
    
    Add extractAccessToken unit tests (9 cases).