/** * Dynamic model resolution powered by OpenCode model discovery. * * Models are discovered at startup via `opencode models --verbose`. * The discovery populates MODEL_IDS and ALL_ACCEPTED_MODELS dynamically. * Default model: github-copilot/claude-opus-4.6 for all agent types. */ export declare const DEFAULT_MODEL = "github-copilot/claude-opus-4.6"; /** Get the recommended "most capable" model for planning tasks. */ export declare function getPlannerModel(): string; export declare const OPUS_MODEL = "github-copilot/claude-opus-4.6"; /** Model IDs exposed in tool schema enum. Computed after discovery. */ export declare function getModelIdsForSchema(): string[]; /** * MODEL_IDS — Returns discovered model IDs + default. */ export declare const MODEL_IDS: string[]; /** All accepted model values for backend validation. Includes full IDs and short IDs. */ export declare function getAllAcceptedModels(): string[]; export declare let ALL_ACCEPTED_MODELS: string[]; /** Call after discovery to refresh static exports. */ export declare function refreshModelExports(): void; /** * Validate and sanitize model selection. * - super-planner uses DEFAULT_MODEL (github-copilot/claude-opus-4.6). * - Discovered models are validated. Unknown models are passed through * (OpenCode server handles validation). */ export declare function resolveModel(requested?: string, taskType?: string): string; /** * Resolve provider. OpenCode manages providers internally. */ export declare function resolveProvider(_provider?: string): string; export interface ModelConfig { id: string; providerID: string; modelID: string; displayName: string; } /** * Get OpenCode model config for a model ID. * Dynamically generated from discovered models. */ export declare function getModelConfig(modelId: string): ModelConfig | undefined; //# sourceMappingURL=models.d.ts.map