fix(models): keep discovery helpers private

This commit is contained in:
Patrick Erichsen
2026-08-11 11:30:28 -07:00
parent 3785628e3a
commit 5174320675
2 changed files with 2 additions and 2 deletions
@@ -210,7 +210,7 @@ export function resolveApiKeyFromCredential(
}
/** Lists auth profile ids whose provider aliases match the requested provider. */
export function listAuthProfilesForProvider(store: AuthProfileStore, provider: string): string[] {
function listAuthProfilesForProvider(store: AuthProfileStore, provider: string): string[] {
const providerKey = resolveProviderIdForAuth(provider);
return Object.entries(store.profiles)
.filter(([, cred]) => resolveProviderIdForAuth(cred.provider) === providerKey)
+1 -1
View File
@@ -11,7 +11,7 @@ export type { ProviderCatalogOutcome } from "./provider-catalog-outcome.js";
export type ProviderCatalogOrder = "simple" | "profile" | "paired" | "late";
export type ProviderCatalogAuthResolution = {
type ProviderCatalogAuthResolution = {
apiKey: string | undefined;
discoveryApiKey?: string;
mode: "api_key" | "aws-sdk" | "oauth" | "token" | "none";