Skip to content

Add operatingSystem and disableSoftwareWebGL browser params - #148

Merged
NikhilShahi merged 3 commits into
mainfrom
cursor/add-webgl-and-os-params-79fe
Nov 25, 2026
Merged

NikhilShahi merged 3 commits into
mainfrom
cursor/add-webgl-and-os-params-79fe

Conversation

@NikhilShahi

@NikhilShahi NikhilShahi commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Adds API params that shipped in the Hyperbrowser server (browserctrl #1874 and #1889).

  • FetchBrowserOptions (used by fetch, batch fetch and crawl): operatingSystem?: OperatingSystem (single value, reusing the existing type) and disableSoftwareWebGL?: boolean.
  • CreateSessionParams: disableSoftwareWebGL?: boolean (when true, Ultra drops software WebGL).
  • SessionLaunchState (response): read-only disableSoftwareWebGL?: boolean, returned by the server's launchState (server/src/services/session/utils.ts).

Field names and placement match browserV2Schema (server/src/routes/api/web/v2/schema.ts) and the session create schema (server/src/services/session/schemas.ts) on browserctrl master.

Also adds a type contract test and bumps the version to 1.5.7, following the repo's convention for feature PRs.

yarn build, yarn lint and yarn test pass locally.

Open in Web Open in Cursor 

Note

Low Risk
Additive optional TypeScript fields and a contract test only; no runtime or auth changes.

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

Fetch, batch fetch and crawl browser options accept operatingSystem
(single OperatingSystem value) and disableSoftwareWebGL. Session creation
accepts disableSoftwareWebGL, which makes Ultra drop software WebGL.

Bump version to 1.5.7.

Co-authored-by: Nikhil Shahi <nshahi1998@gmail.com>
@AHarmlessPyro

AHarmlessPyro commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

cursoragent and others added 2 commits November 25, 2026 22:05
Co-authored-by: Nikhil Shahi <nshahi1998@gmail.com>
Co-authored-by: Nikhil Shahi <nshahi1998@gmail.com>
@NikhilShahi
NikhilShahi added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit deadad5 Nov 25, 2026
3 checks passed
@NikhilShahi
NikhilShahi deleted the cursor/add-webgl-and-os-params-79fe branch November 25, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants