Skip to content

Add Meta Computer Use agent - #116

Merged
NikhilShahi merged 6 commits into
mainfrom
cursor/add-meta-computer-use-115d
Sep 7, 2026
Merged

Add Meta Computer Use agent#116
NikhilShahi merged 6 commits into
mainfrom
cursor/add-meta-computer-use-115d

Conversation

@NikhilShahi

@NikhilShahi NikhilShahi commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds Meta Computer Use to the Node SDK, matching Grok Computer Use and the current Hyperbrowser API (muse-spark-1.1 / 1.2 / 1.3, including max reasoning on 1.3).

Changes

  • client.agents.metaComputerUse with start, get, getStatus, stop, and startAndWait
  • Custom keys via useCustomApiKeys + apiKeys.meta
  • No SDK-side defaults; only task is required
  • Step history types match compacted Meta responses: unix-int timestamps, {code,message} errors, and {effort,summary} reasoning
  • Task envelope matches other agents (jobId, status, metadata, data, error, liveUrl)

Validation

  • yarn lint
  • yarn build
  • yarn test:integration
  • Live API: start, getStatus, get, stop, and startAndWait against https://api.hyperbrowser.ai
Open in Web Open in Cursor 

Expose start, status, get, stop, and startAndWait for Muse Spark 1.1 computer-use tasks.

Co-authored-by: nikhil <nikhil@metlo.com>
@NikhilShahi
NikhilShahi marked this pull request as ready for review September 6, 2026 23:20

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

cursoragent and others added 2 commits September 6, 2026 23:22
Co-authored-by: nikhil <nikhil@metlo.com>
Align Meta Computer Use LLM and reasoning-effort types with the current API.

Co-authored-by: nikhil <nikhil@metlo.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5283c91. Configure here.

Comment thread src/types/constants.ts

export type MetaComputerUseLlm = "muse-spark-1.1" | "muse-spark-1.2" | "muse-spark-1.3";

export type MetaReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | "max";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid reasoning effort value allowed

Medium Severity

MetaReasoningEffort includes max, which is not a valid Muse Spark reasoning effort. The supported values are minimal, low, medium, high, and xhigh. Callers who pick max from the public type will send a value the API rejects.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5283c91. Configure here.

Timestamps are unix integers, errors are objects, and reasoning uses
effort/summary instead of the Grok string/any placeholders.

Co-authored-by: nikhil <nikhil@metlo.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

The production get payload includes createdAt, finishedAt, liveDomain,
and jobParams in addition to the compacted step history.

Co-authored-by: nikhil <nikhil@metlo.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

Keep the task response aligned with Grok/CUA: no createdAt, finishedAt,
liveDomain, or jobParams.

Co-authored-by: nikhil <nikhil@metlo.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@NikhilShahi
NikhilShahi merged commit becc3e1 into main Sep 7, 2026
3 checks passed
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.

2 participants