From e9fca548bff6a60cbd8ff0d0e261b8365be8882c Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 29 Apr 2026 05:04:39 +0000 Subject: [PATCH 1/2] test: add expected entries for new CUA models in public-api type test --- packages/core/tests/unit/public-api/llm-and-agents.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/tests/unit/public-api/llm-and-agents.test.ts b/packages/core/tests/unit/public-api/llm-and-agents.test.ts index baf5f3665..e7b0b6ca0 100644 --- a/packages/core/tests/unit/public-api/llm-and-agents.test.ts +++ b/packages/core/tests/unit/public-api/llm-and-agents.test.ts @@ -40,9 +40,12 @@ describe("LLM and Agents public API types", () => { "openai/computer-use-preview", "openai/computer-use-preview-2025-03-11", "openai/gpt-5.4", + "openai/gpt-5.4-mini", + "openai/gpt-5.5", "anthropic/claude-opus-4-5-20251101", "anthropic/claude-opus-4-6", "anthropic/claude-sonnet-4-6", + "anthropic/claude-haiku-4-5", "anthropic/claude-haiku-4-5-20251001", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-sonnet-4-5-20250929", From 690517549955d0d552be151658b25759fca0a558 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 29 Apr 2026 05:04:44 +0000 Subject: [PATCH 2/2] chore: add gpt-5.4-mini, gpt-5.5, and claude-haiku-4-5 to supported CUA models --- packages/core/lib/v3/agent/AgentProvider.ts | 3 +++ packages/core/lib/v3/types/public/agent.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/core/lib/v3/agent/AgentProvider.ts b/packages/core/lib/v3/agent/AgentProvider.ts index b9bdfdd53..736eb2fb1 100644 --- a/packages/core/lib/v3/agent/AgentProvider.ts +++ b/packages/core/lib/v3/agent/AgentProvider.ts @@ -15,6 +15,8 @@ import { MicrosoftCUAClient } from "./MicrosoftCUAClient.js"; // Map model names to their provider types export const modelToAgentProviderMap: Record = { "gpt-5.4": "openai", + "gpt-5.4-mini": "openai", + "gpt-5.5": "openai", "computer-use-preview": "openai", "computer-use-preview-2025-03-11": "openai", "claude-sonnet-4-20250514": "anthropic", @@ -22,6 +24,7 @@ export const modelToAgentProviderMap: Record = { "claude-opus-4-5-20251101": "anthropic", "claude-opus-4-6": "anthropic", "claude-sonnet-4-6": "anthropic", + "claude-haiku-4-5": "anthropic", "claude-haiku-4-5-20251001": "anthropic", "gemini-2.5-computer-use-preview-10-2025": "google", "gemini-3-flash-preview": "google", diff --git a/packages/core/lib/v3/types/public/agent.ts b/packages/core/lib/v3/types/public/agent.ts index 52ea87948..7b2ed8e07 100644 --- a/packages/core/lib/v3/types/public/agent.ts +++ b/packages/core/lib/v3/types/public/agent.ts @@ -450,11 +450,14 @@ export type AgentType = export const AVAILABLE_CUA_MODELS = [ "openai/gpt-5.4", + "openai/gpt-5.4-mini", + "openai/gpt-5.5", "openai/computer-use-preview", "openai/computer-use-preview-2025-03-11", "anthropic/claude-opus-4-5-20251101", "anthropic/claude-opus-4-6", "anthropic/claude-sonnet-4-6", + "anthropic/claude-haiku-4-5", "anthropic/claude-haiku-4-5-20251001", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-sonnet-4-5-20250929",