From 3abbf3da8e87a1cd4c76d14f518d08902d9d387d Mon Sep 17 00:00:00 2001 From: Shri Date: Thu, 19 Nov 2026 04:30:03 +0000 Subject: [PATCH 1/3] Add Gemini 4 Neon model ID --- src/types/constants.ts | 7 +++++-- tests/integration/client-http.test.ts | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/types/constants.ts b/src/types/constants.ts index 4218dd9..471b04b 100644 --- a/src/types/constants.ts +++ b/src/types/constants.ts @@ -60,6 +60,7 @@ export type BrowserUseLlm = | "claude-3-5-haiku-20241022" | "gemini-2.0-flash" | "gemini-2.5-flash" + | "gemini-4-neon" | "gemini-4-hydrogen" | "gemini-3.8-flash"; @@ -131,12 +132,14 @@ export type HyperAgentLlm = /** @deprecated Retires November 30, 2026; use "claude-sonnet-5". */ | "claude-sonnet-4-5" | "gemini-2.5-flash" + | "gemini-4-neon" | "gemini-4-hydrogen" | "gemini-3.8-flash" | "gemini-3.7-flash" | "gemini-3-flash-preview"; export type GeminiComputerUseLlm = + | "gemini-4-neon" | "gemini-4-hydrogen" | "gemini-4-carbon" | "gemini-4-argon" @@ -148,8 +151,8 @@ export type GeminiComputerUseLlm = | "gemini-3-flash-preview" | "gemini-2.5-computer-use-preview-10-2025"; -// Gemini 4 Hydrogen, Gemini 4 Carbon, Gemini 4 Argon, 3.8 Flash, and 3.7 Flash do not support "minimal". -// Only Gemini 4 Hydrogen supports "xhigh". +// Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Carbon, Gemini 4 Argon, 3.8 Flash, and 3.7 Flash do not support "minimal". +// Only Gemini 4 Neon and Gemini 4 Hydrogen support "xhigh". export type GeminiComputerUseReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh"; export type GrokComputerUseLlm = "grok-4.7" | "grok-4.6" | "grok-4.5"; diff --git a/tests/integration/client-http.test.ts b/tests/integration/client-http.test.ts index c4cbcbf..2a27cac 100644 --- a/tests/integration/client-http.test.ts +++ b/tests/integration/client-http.test.ts @@ -437,6 +437,11 @@ describe("client HTTP integration", () => { llm: "gemini-4-hydrogen", reasoningEffort: "xhigh", }); + await client.agents.geminiComputerUse.start({ + task: "Complete the task", + llm: "gemini-4-neon", + reasoningEffort: "xhigh", + }); await client.agents.geminiComputerUse.start({ task: "Complete the task", llm: "gemini-3.6-flash", @@ -484,6 +489,17 @@ describe("client HTTP integration", () => { reasoningEffort: "xhigh", }, }, + { + method: "POST", + url: "/api/task/gemini-computer-use", + apiKey: "test-api-key", + contentType: "application/json", + body: { + task: "Complete the task", + llm: "gemini-4-neon", + reasoningEffort: "xhigh", + }, + }, { method: "POST", url: "/api/task/gemini-computer-use", From 5610399b4fedd2604331451e8a862adbcd0e861c Mon Sep 17 00:00:00 2001 From: Shri Date: Thu, 19 Nov 2026 04:39:52 +0000 Subject: [PATCH 2/3] Limit Gemini 4 Neon to Gemini Computer Use --- src/types/constants.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/types/constants.ts b/src/types/constants.ts index 471b04b..ca95361 100644 --- a/src/types/constants.ts +++ b/src/types/constants.ts @@ -60,7 +60,6 @@ export type BrowserUseLlm = | "claude-3-5-haiku-20241022" | "gemini-2.0-flash" | "gemini-2.5-flash" - | "gemini-4-neon" | "gemini-4-hydrogen" | "gemini-3.8-flash"; @@ -132,7 +131,6 @@ export type HyperAgentLlm = /** @deprecated Retires November 30, 2026; use "claude-sonnet-5". */ | "claude-sonnet-4-5" | "gemini-2.5-flash" - | "gemini-4-neon" | "gemini-4-hydrogen" | "gemini-3.8-flash" | "gemini-3.7-flash" From b70140689c35e950abe176d7c3445a97c3390009 Mon Sep 17 00:00:00 2001 From: Shri Date: Thu, 19 Nov 2026 06:18:43 +0000 Subject: [PATCH 3/3] Bump version to 1.5.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 356734f..d3733ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperbrowser/sdk", - "version": "1.5.4", + "version": "1.5.5", "description": "Node SDK for Hyperbrowser API", "author": "", "repository": {