mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 09:30:58 -07:00
Introduces foundational architecture for pluggable authentication providers for A2A remote agents: - A2AAuthProvider interface extending SDK's AuthenticationHandler - BaseA2AAuthProvider abstract class with default retry logic - A2AAuthProviderFactory for creating providers (lazy-loaded) - Type definitions for all auth configs (google-credentials, apiKey, http, oauth2, openIdConnect) - Add auth field to RemoteAgentDefinition - validateAuthConfig for checking config against AgentCard requirements Files staged: - packages/core/src/agents/auth-provider/types.ts (new) - packages/core/src/agents/auth-provider/base-provider.ts (new) - packages/core/src/agents/auth-provider/factory.ts (new) - packages/core/src/agents/auth-provider/index.ts (new) - packages/core/src/agents/types.ts (modified - adds auth field)