Remove ultrawork-model-override hook and per-agent ultrawork model swap config that relied on zen opencode.ai free tier (no longer functional). Removed: - src/hooks/ultrawork-model-override/ (hook, test, index) - ultrawork field from AgentOverrideConfigSchema - ultrawork-model-override from HookNameSchema - UltraworkConfig type from model-fallback-types - Non-max20 sonnet+ultrawork-opus codepath from model-fallback - Claude subscription model table from installation docs - All references in plugin-interface, create-session-hooks, schema.json - Related test cases and updated snapshots
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
|
|
}
|