/** * Provider and Model Name Type Definitions * * These are fundamental types that define available providers and models. * Extracted from config layer to avoid circular dependencies. */ /** * Branded string type for provider names. * Prevents accidental use of raw strings where a ProviderName is expected, * while allowing plugin-contributed names (arbitrary strings) to share the type. * Use `providerName(s)` to brand a raw string at system boundaries. */ export type ProviderName = string & { readonly __brand: 'ProviderName'; }; /** * Brand a raw string as a ProviderName. * Call this at system boundaries (CLI arg parsing, config loading, plugin registration) * where a raw string enters the system and must become a ProviderName. */ export declare function providerName(s: string): ProviderName; /** * Built-in provider name constants. * Use these wherever the old `ProviderName.ANTHROPIC` enum members were used as values. */ export declare const BuiltinProviders: { readonly ANTHROPIC: ProviderName; readonly CURSOR: ProviderName; readonly GOOGLE: ProviderName; readonly LOCAL: ProviderName; readonly MOONSHOT: ProviderName; readonly OPENAI: ProviderName; readonly XAI: ProviderName; }; /** * Commonly used model names as constants * Use these for type-safe model comparisons */ export declare const ModelName: { readonly CLAUDE_FABLE_5: "claude-fable-5"; readonly CLAUDE_HAIKU_4_5: "claude-haiku-4.5"; readonly CLAUDE_OPUS_4_1: "claude-opus-4.1"; readonly CLAUDE_OPUS_4_5: "claude-opus-4.5"; readonly CLAUDE_OPUS_4_6: "claude-opus-4.6"; readonly CLAUDE_OPUS_4_6_FAST: "claude-opus-4.6-fast"; readonly CLAUDE_OPUS_4_7: "claude-opus-4.7"; readonly CLAUDE_OPUS_4_7_FAST: "claude-opus-4.7-fast"; readonly CLAUDE_OPUS_4_8: "claude-opus-4.8"; readonly CLAUDE_OPUS_4_8_FAST: "claude-opus-4.8-fast"; readonly CLAUDE_SONNET_4_5: "claude-sonnet-4.5"; readonly CLAUDE_SONNET_4_6: "claude-sonnet-4.6"; readonly CLAUDE_SONNET_5: "claude-sonnet-5"; readonly CURSOR_COMPOSER_2_5: "cursor-composer-2.5"; readonly CURSOR_FABLE_5: "cursor-fable-5"; readonly CURSOR_FUSION: "cursor-fusion"; readonly CURSOR_GEMINI_3_5_FLASH: "cursor-gemini-3.5-flash"; readonly CURSOR_GPT_5_5: "cursor-gpt-5.5"; readonly CURSOR_GROK_4_3: "cursor-grok-4.3"; readonly CURSOR_OPUS_4_8: "cursor-opus-4.8"; readonly CURSOR_SONNET_4_5: "cursor-sonnet-4.5"; readonly CURSOR_SONNET_4_6: "cursor-sonnet-4.6"; readonly GEMINI_2_5_FLASH: "gemini-2.5-flash"; readonly GEMINI_2_5_FLASH_LITE: "gemini-2.5-flash-lite"; readonly GEMINI_2_5_PRO: "gemini-2.5-pro"; readonly GEMINI_3_1_FLASH_LITE: "gemini-3.1-flash-lite"; readonly GEMINI_3_5_FLASH: "gemini-3.5-flash"; readonly GEMINI_3_5_PRO: "gemini-3.5-pro"; readonly GEMINI_3_PRO: "gemini-3-pro"; readonly GEMMA_3: "gemma-3"; readonly GEMMA_3N: "gemma-3n"; readonly GEMMA_4: "gemma-4"; readonly KIMI_K2_5: "kimi-k2.5"; readonly KIMI_K2_6: "kimi-k2.6"; readonly KIMI_K2_7_CODE: "kimi-k2.7-code"; readonly KIMI_K2_7_CODE_HIGHSPEED: "kimi-k2.7-code-highspeed"; readonly GPT_5: "gpt-5"; readonly GPT_5_1: "gpt-5.1"; readonly GPT_5_5: "gpt-5.5"; readonly GPT_5_6_LUNA: "gpt-5.6-luna"; readonly GPT_5_6_SOL: "gpt-5.6-sol"; readonly GPT_5_6_TERRA: "gpt-5.6-terra"; readonly GPT_5_MINI: "gpt-5-mini"; readonly GPT_5_NANO: "gpt-5-nano"; readonly O3: "o3"; readonly O3_PRO: "o3-pro"; readonly O4_MINI: "o4-mini"; readonly GROK_4_3: "grok-4.3"; readonly GROK_4_20_MULTI_AGENT: "grok-4.20-multi-agent-0309"; readonly GROK_4_20_NON_REASONING: "grok-4.20-0309-non-reasoning"; readonly GROK_4_20_REASONING: "grok-4.20-0309-reasoning"; readonly GROK_BUILD_0_1: "grok-build-0.1"; }; export type ModelNameValue = (typeof ModelName)[keyof typeof ModelName]; //# sourceMappingURL=provider-names.types.d.ts.map