Skip to content

Update Claude model types and add GPT-6 Luna for HyperAgent - #136

Merged
NikhilShahi merged 3 commits into
mainfrom
fix/retired-claude-models
Oct 25, 2026
Merged

NikhilShahi merged 3 commits into
mainfrom
fix/retired-claude-models

Conversation

@shrisukhani

@shrisukhani shrisukhani commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

HyperAgent requests could not select gpt-6-luna through the public TypeScript types, and the Browser Use tool schema still recommended retired Claude models.

  • Bump the SDK minor version to 1.4.0.
  • Add gpt-6-luna to HyperAgentLlm.
  • Keep legacy Claude IDs available with deprecation guidance, and accept both retired Opus 4 aliases in ClaudeComputerUseLlm so the API can remap them.
  • Update the Browser Use tool's Claude choices to Sonnet 5, Sonnet 4.6, and Haiku 5.5.

Companion changes: API #1654, Python SDK #148, docs #109.

Validation

  • Built the SDK and verified the npm dry-run package metadata for version 1.4.0.
  • yarn build, yarn lint, and yarn typecheck passed.
  • yarn test: 837 tests passed across 32 files.
  • Compiled public HyperAgent request examples using gpt-6-luna with versions 0.8.0 and 1.1.0.

Note

Low Risk
Changes are limited to version bump, TypeScript unions, and tool JSON schema enums with no request-handling logic modified.

Overview
Releases @hyperbrowser/sdk 1.4.0 with LLM identifier updates aligned to the API.

HyperAgent typings now include gpt-6-luna. Legacy Claude model strings stay on BrowserUseLlm, ClaudeComputerUseLlm, and HyperAgentLlm but are marked @deprecated with retirement dates or API remap targets; ClaudeComputerUseLlm also adds retired Opus alias IDs for server-side remapping.

The Browser Use tool JSON schema BROWSER_USE_LLM_SCHEMA no longer lists retired Claude 3.x IDs in its enum—it defaults the documented choices to claude-sonnet-5, claude-sonnet-4-6, and claude-haiku-5-5.

Reviewed by Cursor Bugbot for commit 0c97c1e. Bugbot is set up for automated code reviews on this repo. Configure here.

- Add current Claude models to the public type unions
- Mark retired/deprecated IDs as deprecated
- Refresh the browser-use tool schema
@shrisukhani

Copy link
Copy Markdown
Contributor Author

All checks are green and review threads are resolved. @NikhilShahi @Dingway98 could one of you take a look when you get a chance? Thanks!

@NikhilShahi NikhilShahi changed the title Update Claude model types for current models Update Claude model types and add GPT-6 Luna for HyperAgent Oct 25, 2026
@NikhilShahi
NikhilShahi added this pull request to the merge queue Oct 25, 2026
@NikhilShahi
NikhilShahi removed this pull request from the merge queue due to a manual request Oct 25, 2026
@NikhilShahi
NikhilShahi merged commit 9b42c58 into main Oct 25, 2026
3 checks passed
@shrisukhani
shrisukhani deleted the fix/retired-claude-models branch October 25, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants