fix(ci): repair voice-call typing and provider contracts

This commit is contained in:
Vincent Koc
2026-03-22 20:17:01 -07:00
parent d949dffc6e
commit 04cd389ef8
2 changed files with 12 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ import xiaomiPlugin from "../../../extensions/xiaomi/index.js";
import zaiPlugin from "../../../extensions/zai/index.js";
import { bundledWebSearchPluginRegistrations } from "../../bundled-web-search-registry.js";
import { createCapturedPluginRegistration } from "../captured-registration.js";
import { resolvePluginProviders } from "../providers.js";
import { resolvePluginProviders } from "../provider-auth-choice.runtime.js";
import type {
ImageGenerationProviderPlugin,
MediaUnderstandingProviderPlugin,
@@ -139,10 +139,10 @@ function loadBundledProviderRegistry(): ProviderContractEntry[] {
cache: false,
activate: false,
})
.filter((provider): provider is ProviderPlugin & { pluginId: string } =>
.filter((provider: ProviderPlugin): provider is ProviderPlugin & { pluginId: string } =>
Boolean(provider.pluginId),
)
.map((provider) => ({
.map((provider: ProviderPlugin & { pluginId: string }) => ({
pluginId: provider.pluginId,
provider,
}));