diff --git a/cli/package.json b/cli/package.json index 295e558a05..0498054778 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "cline", - "version": "2.0.4", + "version": "2.0.5", "description": "Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more", "main": "dist/cli.mjs", "bin": { diff --git a/cli/src/components/AuthView.tsx b/cli/src/components/AuthView.tsx index 33b1521329..42ff7949e2 100644 --- a/cli/src/components/AuthView.tsx +++ b/cli/src/components/AuthView.tsx @@ -5,6 +5,7 @@ import { Box, Text, useApp, useInput } from "ink" import Spinner from "ink-spinner" +// biome-ignore lint/style/useImportType: React is used as a value by JSX (jsx: "react" in tsconfig) import React, { useCallback, useEffect, useMemo, useState } from "react" import { StateManager } from "@/core/storage/StateManager" import { openAiCodexOAuthManager } from "@/integrations/openai-codex/oauth" @@ -12,7 +13,6 @@ import { AuthService } from "@/services/auth/AuthService" import { liteLlmDefaultModelId, openAiCodexDefaultModelId, openRouterDefaultModelId } from "@/shared/api" import { openExternal } from "@/utils/env" import { COLORS } from "../constants/colors" -import { getAllFeaturedModels } from "../constants/featured-models" import { useStdinContext } from "../context/StdinContext" import { useOcaAuth } from "../hooks/useOcaAuth" import { useScrollableList } from "../hooks/useScrollableList" @@ -48,9 +48,6 @@ type AuthStep = | "bedrock" | "import" -// Featured models loaded from shared constants -const featuredModels = getAllFeaturedModels() - interface AuthViewProps { controller: any onComplete?: () => void @@ -864,7 +861,7 @@ export const AuthView: React.FC = ({ controller, onComplete, onEr {index === menuIndex ? "❯ " : " "} {item.label} - {item.value === "cline_auth" && (try Kimi K2.5 free!)} + {item.value === "cline_auth" && (try Opus 4.6!)} ))} diff --git a/cli/src/components/FeaturedModelPicker.tsx b/cli/src/components/FeaturedModelPicker.tsx index cf63cbf916..96f7cd9ebc 100644 --- a/cli/src/components/FeaturedModelPicker.tsx +++ b/cli/src/components/FeaturedModelPicker.tsx @@ -45,15 +45,15 @@ export const FeaturedModelPicker: React.FC = ({ {model.name} - {model.label && ( - + {model.labels.map((label) => ( + - + {" "} - {model.label}{" "} + {label}{" "} - )} + ))} {model.description} diff --git a/cli/src/constants/featured-models.ts b/cli/src/constants/featured-models.ts index 336975550e..5828eaa464 100644 --- a/cli/src/constants/featured-models.ts +++ b/cli/src/constants/featured-models.ts @@ -7,48 +7,54 @@ export interface FeaturedModel { id: string name: string description: string - label: string + labels: string[] } export const FEATURED_MODELS = { recommended: [ { - id: "anthropic/claude-opus-4.5", - name: "Claude Opus 4.5", + id: "anthropic/claude-opus-4.6", + name: "Claude Opus 4.6", description: "State-of-the-art for complex coding", - label: "Best", + labels: ["BEST"], }, { id: "openai/gpt-5.2-codex", name: "GPT 5.2 Codex", description: "OpenAI's latest with strong coding abilities", - label: "New", + labels: ["NEW"], }, { id: "google/gemini-3-pro-preview", name: "Gemini 3 Pro", description: "1M context window for large codebases", - label: "Trending", + labels: ["TRENDING"], }, ] as FeaturedModel[], free: [ + { + id: "minimax/minimax-m2.1", + name: "MiniMax M2.1", + description: "Exceptional Multi-Programming Language Capabilities", + labels: ["FREE"], + }, { id: "moonshotai/kimi-k2.5", name: "Kimi K2.5", description: "State-of-the-art model topping benchmarks", - label: "FREE", + labels: ["FREE"], }, { id: "kwaipilot/kat-coder-pro", name: "KAT Coder Pro", description: "Advanced agentic coding model", - label: "FREE", + labels: ["FREE"], }, { id: "arcee-ai/trinity-large-preview:free", name: "Trinity Large Preview", description: "US built open source coding model", - label: "FREE", + labels: ["FREE"], }, ] as FeaturedModel[], }