Skip to content

Run Cursor SDK through the shared facade in evals and the example - #2889

Open
github-actions[bot] wants to merge 23 commits into
evals/consolidation-13-harness-contract-adoptionfrom
external-contributor-pr-2771
Open

Run Cursor SDK through the shared facade in evals and the example#2889
github-actions[bot] wants to merge 23 commits into
evals/consolidation-13-harness-contract-adoptionfrom
external-contributor-pr-2771

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Replace Cursor CLI execution with the Cursor SDK on the shared Stagehand facade mount, and retain the runnable integration contributed in #2771. The eval harness and documented example share one SDK session implementation for settings isolation, tool events, cancellation, and cleanup.

Stack base: the harness contract adoption PR (evals/consolidation-13-harness-contract-adoption). This existing #2889 takes the planned Cursor replacement position; no additional Cursor PR is needed.

The example keeps its docs, icon, MCP/stdio entrypoint, isolated workspace, and SIGINT/SIGTERM handling. It now consumes the shared SDK instead of maintaining a second agent lifecycle. The shared SDK accepts an explicit API key for hosts that supply an isolated environment.

Validation: 64 focused tests pass (28 SDK, 19 example, 17 eval boundary); SDK/dependency and eval CLI/ESM builds, three package typechecks, scoped format/lint, and changeset validation pass. No new live browser/model validation is claimed here.

Original contribution: @antonvishal, #2771, source head 7b1d52d117c92bbda79a4b3cce6775ff60154712, approved and claimed by @miguelg719. Contributor ancestry is preserved through normal merges. Follow-up integration changes are maintained manually on this internal branch as part of the consolidation stack; do not trigger an external-source mirror refresh for these follow-ups.

@github-actions
github-actions Bot requested a review from a team as a code owner September 5, 2026 21:49
@mintlify

mintlify Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stagehand 🟢 Ready View Preview Sep 5, 2026, 9:50 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@github-actions github-actions Bot added external-contributor Tracks PRs mirrored from external contributor forks. external-contributor:mirrored An internal mirrored PR currently exists for this external contributor PR. labels Sep 5, 2026
@changeset-bot

changeset-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 18fd04a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

This mirrored PR tracks external contributor PR #2771 at source SHA 7b1d52d117c92bbda79a4b3cce6775ff60154712, approved by @miguelg719.
Original PR: #2771

When the external PR gets new commits, this same internal PR will be refreshed in place after the latest external commit is approved.

@socket-security

socket-security Bot commented Sep 5, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​cursor/​sdk@​1.0.31991008398100

View full report

@miguelg719 miguelg719 changed the title [Claimed #2771] feat(integrations): add Cursor SDK integration Run Cursor SDK through the shared facade in evals and the example Sep 8, 2026
@miguelg719
miguelg719 changed the base branch from main to evals/consolidation-13-harness-contract-adoption September 8, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor:mirrored An internal mirrored PR currently exists for this external contributor PR. external-contributor Tracks PRs mirrored from external contributor forks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants