fix(ci): clean up rebased registry types

This commit is contained in:
Peter Steinberger
2026-04-11 13:53:32 +01:00
parent 684ce920fd
commit baeec2f4b2

View File

@@ -1,5 +1,4 @@
import { normalizeProviderId } from "../agents/provider-id.js";
import type { PluginRegistry } from "./registry-types.js";
import { getPluginRegistryState } from "./runtime-state.js";
const BUNDLED_SYNTHETIC_AUTH_PROVIDER_REFS = ["claude-cli", "ollama", "xai"] as const;
@@ -19,7 +18,7 @@ function uniqueProviderRefs(values: readonly string[]): string[] {
}
export function resolveRuntimeSyntheticAuthProviderRefs(): string[] {
const registry = getPluginRegistryState()?.activeRegistry as PluginRegistry | null | undefined;
const registry = getPluginRegistryState()?.activeRegistry;
if (registry) {
return uniqueProviderRefs([
...(registry.providers ?? [])