import { providerRegistry } from '@/modules/providers/provider.registry.js'; import type { ProviderAuthStatus } from '@/shared/types.js'; export const providerAuthService = { /** * Resolves a provider and returns its installation/authentication status. */ async getProviderAuthStatus(providerName: string): Promise { const provider = providerRegistry.resolveProvider(providerName); return provider.auth.getStatus(); }, };