diff --git a/CHANGELOG.md b/CHANGELOG.md index 2935693d..3ea4873c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [3.38.2] + +- Add Claude Opus 4.5 + ## [3.38.1] ### Fixed diff --git a/docs/provider-config/anthropic.mdx b/docs/provider-config/anthropic.mdx index ce68c412..233e45e3 100644 --- a/docs/provider-config/anthropic.mdx +++ b/docs/provider-config/anthropic.mdx @@ -17,6 +17,7 @@ description: "Learn how to configure and use Anthropic Claude models with Cline. Cline supports the following Anthropic Claude models: - `claude-haiku-4-5-20251001` +- `claude-opus-4-5-20251101` - `claude-opus-4-1-20250805` - `claude-opus-4-20250514` - `anthropic/claude-sonnet-4.5` (Recommended) diff --git a/package-lock.json b/package-lock.json index decc61d6..c01eba2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "claude-dev", - "version": "3.38.1", + "version": "3.38.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "claude-dev", - "version": "3.38.1", + "version": "3.38.2", "license": "Apache-2.0", "dependencies": { "@anthropic-ai/sdk": "^0.37.0", diff --git a/package.json b/package.json index 2d072c9e..21ca6b81 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "claude-dev", "displayName": "Cline", "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.", - "version": "3.38.1", + "version": "3.38.2", "icon": "assets/icons/icon.png", "engines": { "vscode": "^1.84.0" diff --git a/src/core/api/providers/anthropic.ts b/src/core/api/providers/anthropic.ts index cb0d5332..d1f9f7f0 100644 --- a/src/core/api/providers/anthropic.ts +++ b/src/core/api/providers/anthropic.ts @@ -70,6 +70,7 @@ export class AnthropicHandler implements ApiHandler { case "claude-3-7-sonnet-20250219": case "claude-3-5-sonnet-20241022": case "claude-3-5-haiku-20241022": + case "claude-opus-4-5-20251101": case "claude-opus-4-20250514": case "claude-opus-4-1-20250805": case "claude-3-opus-20240229": diff --git a/src/core/api/providers/vertex.ts b/src/core/api/providers/vertex.ts index d5380831..19b5cc8e 100644 --- a/src/core/api/providers/vertex.ts +++ b/src/core/api/providers/vertex.ts @@ -95,6 +95,7 @@ export class VertexHandler implements ApiHandler { case "claude-haiku-4-5@20251001": case "claude-sonnet-4-5@20250929": case "claude-sonnet-4@20250514": + case "claude-opus-4-5@20251101": case "claude-opus-4-1@20250805": case "claude-opus-4@20250514": case "claude-3-7-sonnet@20250219": diff --git a/src/core/api/transform/openrouter-stream.ts b/src/core/api/transform/openrouter-stream.ts index 0965cf8f..6c346535 100644 --- a/src/core/api/transform/openrouter-stream.ts +++ b/src/core/api/transform/openrouter-stream.ts @@ -44,6 +44,7 @@ export async function createOpenRouterStream( case "anthropic/claude-sonnet-4.5": case "anthropic/claude-4.5-sonnet": // OpenRouter accidentally included this in model list for a brief moment, and users may be using this model id. And to support prompt caching, we need to add it here. case "anthropic/claude-sonnet-4": + case "anthropic/claude-opus-4.5": case "anthropic/claude-opus-4.1": case "anthropic/claude-opus-4": case "anthropic/claude-3.7-sonnet": @@ -107,6 +108,7 @@ export async function createOpenRouterStream( case "anthropic/claude-sonnet-4.5": case "anthropic/claude-4.5-sonnet": case "anthropic/claude-sonnet-4": + case "anthropic/claude-opus-4.5": case "anthropic/claude-opus-4.1": case "anthropic/claude-opus-4": case "anthropic/claude-3.7-sonnet": @@ -151,6 +153,7 @@ export async function createOpenRouterStream( case "anthropic/claude-sonnet-4.5": case "anthropic/claude-4.5-sonnet": case "anthropic/claude-sonnet-4": + case "anthropic/claude-opus-4.5": case "anthropic/claude-opus-4.1": case "anthropic/claude-opus-4": case "anthropic/claude-3.7-sonnet": diff --git a/src/core/controller/models/refreshOpenRouterModels.ts b/src/core/controller/models/refreshOpenRouterModels.ts index a961ea54..7c3f37d2 100644 --- a/src/core/controller/models/refreshOpenRouterModels.ts +++ b/src/core/controller/models/refreshOpenRouterModels.ts @@ -134,6 +134,11 @@ export async function refreshOpenRouterModels(controller: Controller): Promise = ({ taskHistory, shouldShowQuickWins, }) => { - const { lastDismissedInfoBannerVersion, lastDismissedCliBannerVersion } = useExtensionState() + const { lastDismissedInfoBannerVersion, lastDismissedCliBannerVersion, lastDismissedModelBannerVersion } = useExtensionState() const shouldShowInfoBanner = lastDismissedInfoBannerVersion < CURRENT_INFO_BANNER_VERSION - // const shouldShowNewModelBanner = lastDismissedModelBannerVersion < CURRENT_MODEL_BANNER_VERSION + const shouldShowNewModelBanner = lastDismissedModelBannerVersion < CURRENT_MODEL_BANNER_VERSION // Show CLI banner if not dismissed and platform is VSCode (not JetBrains/standalone) const shouldShowCliBanner = @@ -38,7 +39,7 @@ export const WelcomeSection: React.FC = ({
{shouldShowInfoBanner && } {showAnnouncement && } - {/* {shouldShowNewModelBanner && } */} + {shouldShowNewModelBanner && } {shouldShowCliBanner && } {!shouldShowQuickWins && taskHistory.length > 0 && } diff --git a/webview-ui/src/components/common/NewModelBanner.tsx b/webview-ui/src/components/common/NewModelBanner.tsx index 81867839..bb231293 100644 --- a/webview-ui/src/components/common/NewModelBanner.tsx +++ b/webview-ui/src/components/common/NewModelBanner.tsx @@ -9,7 +9,7 @@ import { AccountServiceClient, StateServiceClient } from "@/services/grpc-client import { getAsVar, VSC_INACTIVE_SELECTION_BACKGROUND } from "@/utils/vscStyles" import { useApiConfigurationHandlers } from "../settings/utils/useApiConfigurationHandlers" -export const CURRENT_MODEL_BANNER_VERSION = 2 +export const CURRENT_MODEL_BANNER_VERSION = 3 export const NewModelBanner: React.FC = () => { const { clineUser } = useClineAuth() @@ -31,7 +31,7 @@ export const NewModelBanner: React.FC = () => { }, []) const setNewModel = () => { - const modelId = "anthropic/claude-haiku-4.5" + const modelId = "anthropic/claude-opus-4.5" // set both plan and act modes to use new model handleFieldsChange({ planModeOpenRouterModelId: modelId, @@ -74,10 +74,10 @@ export const NewModelBanner: React.FC = () => { }}>

- Claude Haiku 4.5 + Claude Opus 4.5

- Anthropic's fastest model with frontier-level coding intelligence at a fraction of the cost.{" "} + Anthropic's latest model with SOTA performance at 3x lower cost than Opus 4.1.{" "} {user ? "Try new model" : "Try with Cline account"} →

diff --git a/webview-ui/src/components/settings/OpenRouterModelPicker.tsx b/webview-ui/src/components/settings/OpenRouterModelPicker.tsx index 55d714b4..7366bf9e 100644 --- a/webview-ui/src/components/settings/OpenRouterModelPicker.tsx +++ b/webview-ui/src/components/settings/OpenRouterModelPicker.tsx @@ -52,21 +52,15 @@ const featuredModels = [ label: "Best", }, { - id: "google/gemini-3-pro-preview", - description: "Google's latest reasoning model with 1M context window", + id: "anthropic/claude-opus-4.5", + description: "SOTA performance on coding at 3x lower cost than Opus 4.1", label: "New", }, { - id: "openai/gpt-5.1", - description: "Latest flagship model from OpenAI with enhanced coding capabilities", + id: "google/gemini-3-pro-preview", + description: "Google's latest reasoning model with 1M context window", label: "Trending", }, - { - id: "minimax/minimax-m2", - description: "Compact, high-efficiency model optimized for coding and agentic workflows", - label: "Free", - isFree: true, - }, { id: "x-ai/grok-code-fast-1", description: "Advanced model with 262K context for complex coding", @@ -269,6 +263,7 @@ const OpenRouterModelPicker: React.FC = ({ isPopup, selectedModelId?.toLowerCase().includes("claude-sonnet-4") || selectedModelId?.toLowerCase().includes("claude-opus-4.1") || selectedModelId?.toLowerCase().includes("claude-opus-4") || + selectedModelId?.toLowerCase().includes("claude-opus-4.5") || selectedModelId?.toLowerCase().includes("claude-3-7-sonnet") || selectedModelId?.toLowerCase().includes("claude-3.7-sonnet") || selectedModelId?.toLowerCase().includes("claude-3.7-sonnet:thinking") diff --git a/webview-ui/src/components/settings/providers/AnthropicProvider.tsx b/webview-ui/src/components/settings/providers/AnthropicProvider.tsx index 9892928b..6e6961aa 100644 --- a/webview-ui/src/components/settings/providers/AnthropicProvider.tsx +++ b/webview-ui/src/components/settings/providers/AnthropicProvider.tsx @@ -15,6 +15,7 @@ export const SUPPORTED_ANTHROPIC_THINKING_MODELS = [ "claude-3-7-sonnet-20250219", "claude-sonnet-4-20250514", `claude-sonnet-4-20250514${CLAUDE_SONNET_1M_SUFFIX}`, + "claude-opus-4-5-20251101", "claude-opus-4-20250514", "claude-opus-4-1-20250805", "claude-sonnet-4-5-20250929", diff --git a/webview-ui/src/components/settings/providers/BedrockProvider.tsx b/webview-ui/src/components/settings/providers/BedrockProvider.tsx index c85d6c34..3997525e 100644 --- a/webview-ui/src/components/settings/providers/BedrockProvider.tsx +++ b/webview-ui/src/components/settings/providers/BedrockProvider.tsx @@ -18,6 +18,7 @@ const CLAUDE_MODELS = [ "anthropic.claude-sonnet-4-5-20250929-v1:0", `anthropic.claude-sonnet-4-20250514-v1:0${CLAUDE_SONNET_1M_SUFFIX}`, `anthropic.claude-sonnet-4-5-20250929-v1:0${CLAUDE_SONNET_1M_SUFFIX}`, + "anthropic.claude-opus-4-5-20251101-v1:0", "anthropic.claude-opus-4-1-20250805-v1:0", "anthropic.claude-opus-4-20250514-v1:0", "anthropic.claude-haiku-4-5-20251001-v1:0", diff --git a/webview-ui/src/components/settings/providers/VertexProvider.tsx b/webview-ui/src/components/settings/providers/VertexProvider.tsx index ef717f2f..1690faf8 100644 --- a/webview-ui/src/components/settings/providers/VertexProvider.tsx +++ b/webview-ui/src/components/settings/providers/VertexProvider.tsx @@ -26,6 +26,7 @@ const SUPPORTED_THINKING_MODELS = [ "claude-sonnet-4-5@20250929", "claude-3-7-sonnet@20250219", "claude-sonnet-4@20250514", + "claude-opus-4-5@20251101", "claude-opus-4@20250514", "claude-opus-4-1@20250805", "gemini-2.5-flash",