chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
import type { FallbackEntry } from "./model-requirements";
export type ModelResolutionInput = {
userModel?: string;
inheritedModel?: string;
systemDefault?: string;
};
export type ModelSource = "override" | "category-default" | "provider-fallback" | "system-default";
export type ModelResolutionResult = {
model: string;
source: ModelSource;
variant?: string;
};
export type ExtendedModelResolutionInput = {
uiSelectedModel?: string;
userModel?: string;
userFallbackModels?: string[];
categoryDefaultModel?: string;
fallbackChain?: FallbackEntry[];
availableModels: Set<string>;
systemDefaultModel?: string;
};
export declare function resolveModel(input: ModelResolutionInput): string | undefined;
export declare function resolveModelWithFallback(input: ExtendedModelResolutionInput): ModelResolutionResult | undefined;
/**
* Normalizes fallback_models config (which can be string or string[]) to string[]
* Centralized helper to avoid duplicated normalization logic
*/
export declare function normalizeFallbackModels(models: string | string[] | undefined): string[] | undefined;