Install pipeline: - cli-installer.ts, tui-installer.ts, tui-install-prompts.ts - install-validators.ts Model fallback: - model-fallback-types.ts, fallback-chain-resolution.ts - provider-availability.ts, provider-model-id-transform.ts
30 lines
510 B
TypeScript
30 lines
510 B
TypeScript
export interface ProviderAvailability {
|
|
native: {
|
|
claude: boolean
|
|
openai: boolean
|
|
gemini: boolean
|
|
}
|
|
opencodeZen: boolean
|
|
copilot: boolean
|
|
zai: boolean
|
|
kimiForCoding: boolean
|
|
isMaxPlan: boolean
|
|
}
|
|
|
|
export interface AgentConfig {
|
|
model: string
|
|
variant?: string
|
|
}
|
|
|
|
export interface CategoryConfig {
|
|
model: string
|
|
variant?: string
|
|
}
|
|
|
|
export interface GeneratedOmoConfig {
|
|
$schema: string
|
|
agents?: Record<string, AgentConfig>
|
|
categories?: Record<string, CategoryConfig>
|
|
[key: string]: unknown
|
|
}
|