From 6dccea788f654238ec7f3d193141a925488f7629 Mon Sep 17 00:00:00 2001 From: Shri Date: Wed, 11 Nov 2026 10:46:56 +0000 Subject: [PATCH 1/2] Add gpt-6.1-terra to HyperAgent models --- src/types/constants.ts | 1 + tests/integration/client-http.test.ts | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/src/types/constants.ts b/src/types/constants.ts index 4e5ff16..217f4e3 100644 --- a/src/types/constants.ts +++ b/src/types/constants.ts @@ -108,6 +108,7 @@ export type CuaReasoningEffort = "none" | "low" | "medium" | "high" | "xhigh" | export type HyperAgentVersion = "0.8.0" | "1.1.0"; export type HyperAgentLlm = + | "gpt-6.1-terra" | "gpt-6-luna" | "gpt-5.6-luna" | "gpt-5.5" diff --git a/tests/integration/client-http.test.ts b/tests/integration/client-http.test.ts index a07a20e..8b05544 100644 --- a/tests/integration/client-http.test.ts +++ b/tests/integration/client-http.test.ts @@ -63,6 +63,11 @@ const startServer = async ( return; } + if (request.method === "POST" && request.url === "/api/task/hyper-agent") { + sendJson(response, 200, { jobId: "hyper_agent_job_123", liveUrl: null }); + return; + } + if (request.method === "POST" && request.url === "/api/task/claude-computer-use") { sendJson(response, 200, { jobId: "claude_job_123", liveUrl: null }); return; @@ -680,6 +685,25 @@ describe("client HTTP integration", () => { ]); }); + test("HyperAgent accepts GPT-6.1 Terra", async () => { + const server = await startServer(); + servers.push(server); + const client = new HyperbrowserClient({ + apiKey: "test-api-key", + baseUrl: server.baseUrl, + }); + + await client.agents.hyperAgent.start({ + task: "Complete the task", + llm: "gpt-6.1-terra", + version: "1.1.0", + }); + + expect(server.requests.map((request) => request.body)).toEqual([ + { task: "Complete the task", llm: "gpt-6.1-terra", version: "1.1.0" }, + ]); + }); + test("session create can start from a snapshot", async () => { const server = await startServer(); servers.push(server); From f789eadcd8284552e5083f0ca97bc8cc0b740796 Mon Sep 17 00:00:00 2001 From: Shri Date: Fri, 13 Nov 2026 01:37:22 +0000 Subject: [PATCH 2/2] Bump version to 1.5.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 10a6587..d6dce09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperbrowser/sdk", - "version": "1.5.1", + "version": "1.5.2", "description": "Node SDK for Hyperbrowser API", "author": "", "repository": {