Skip to content

feat(eve): upgrade extension to stable Eve 1.0 - #3409

Merged
shrey150 merged 13 commits into
mainfrom
cursor/eve-1-0-upgrade-80c0
Nov 16, 2026
Merged

shrey150 merged 13 commits into
mainfrom
cursor/eve-1-0-upgrade-80c0

Conversation

@shrey150

@shrey150 shrey150 commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Rebuilds @browserbasehq/eve against the stable Eve 1.0.0 release. The extension now requires eve: ^1.0.0; the named Eve AI SDK catalog uses ^7.0.172, satisfying the stable runtime's peer requirement.

This retains the minor changeset for the pre-1.0 Browserbase extension because it drops compatibility with Eve 0.71.x. The separate legacy harness remains on Eve 0.71.2 and is also tested with the updated AI SDK dependency.

E2E Test Matrix

Verified on commit 34056f613.

Command / flow Observed output Confidence / sufficiency
pnpm exec turbo run build test:unit typecheck --filter @browserbasehq/eve 6 tasks successful; all 39 tests passed; extension manifest records builtWithEve: "1.0.0" Builds the local SDK and extension and checks extension types and unit behavior.
pnpm exec turbo run build test:unit typecheck --filter @browserbasehq/stagehand-integrations-eve-harness 7 tasks successful; all 32 harness tests passed Checks the shared AI SDK update against the existing legacy harness.
Eve 1.0.0 consumer app mounting the built extension, with AI Gateway openai/gpt-5.4-mini and Browserbase 7 completed tool calls: navigation, snapshot, snapshot-ID field fill, screenshot, persisted DOM read, close, and fresh-browser recreation. Observed Example Domain, input value stable-eve-1.0, a valid 83,576-byte JPEG, and fresh: true. Exercises all three tools through the actual Eve runtime and a real browser using a public page and synthetic input. Not exhaustive model/provider coverage.
Browserbase session cleanup verification Both sessions from the passing run reported COMPLETED through the API without fallback release. Confirms explicit close releases the owned browser and a later turn can create a fresh session.
pnpm pack and archive validation Public entry points present; manifest built with Eve 1.0.0; peer ^1.0.0; workspace dependencies rewritten to published versions. Checks the extension's package contents and runtime compatibility declaration.
Formatting, repository lint, changeset validation, and git diff --check All exited successfully; lint retains existing warnings. Static and release-metadata checks.

- Update workspace catalog from eve 0.71.2 to eve 1.0.0-rc.6
- Update ai peer dependency to ^7.0.137 (eve 1.0's peer requirement)
- Widen peer dependency range to support >=0.71.2 || ^1.0.0-rc.0
- Add E2E compatibility tests for eve 1.0 extension loading and tools
- Extension builds with eve 1.0 manifest format (formatVersion: 3)

All existing native Code Mode tools (run/snapshot/screenshot) work unchanged.
This follows the eve 1.0 upgrade guide which requires rebuilding extensions
built with eve <=0.83 for 1.0 compatibility.

Co-authored-by: Shrey Pandya <[email protected]>
@changeset-bot

changeset-bot Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 266ac2b

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

This PR includes changesets to release 1 package
Name Type
@browserbasehq/eve Minor

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

@socket-security

socket-security Bot commented Nov 6, 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/​eve@​1.0.0981001009880
Updatednpm/​ai@​7.0.122 ⏵ 7.0.1739910010099100

View full report

cursoragent and others added 2 commits November 6, 2026 19:59
Per eve's extension contract, an extension built with eve 1.0 requires
eve 1.0 or later at runtime. The previous peer range >=0.71.2 was
incorrect and unbounded.

Changes:
- Peer dependency: ^1.0.0-rc.0 (removes false backward compat claim)
- Renamed e2e.test.ts to clearly describe structural-only testing
- Documents that browser E2E requires BROWSERBASE_API_KEY
- This extension has no local browser mode; Browserbase is required
- Updated changeset to mark as breaking change

Co-authored-by: Shrey Pandya <[email protected]>
Co-authored-by: Shrey Pandya <[email protected]>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

cursoragent and others added 3 commits November 6, 2026 20:07
The main catalog is used by eve-sdk which has different compatibility.
Only @browserbasehq/eve should use the eve 1.0 version via the
named catalog (catalog:eve).

Co-authored-by: Shrey Pandya <[email protected]>
Addresses review comment about test failing on clean checkout due to
missing _manifest.json. The test reads the generated manifest file,
so the extension must be built first.

Co-authored-by: Shrey Pandya <[email protected]>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 2 files (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread packages/integrations/eve/package.json Resolved
Per review feedback: test:unit is a Turbo leaf, so it should just
run vitest. The Turbo task depends on build, so build runs first.
The standalone 'test' script remains self-contained for direct use.

Co-authored-by: Shrey Pandya <[email protected]>
@shrey150
shrey150 marked this pull request as draft November 6, 2026 20:23
cursoragent and others added 2 commits November 6, 2026 20:27
Removed e2e.test.ts which contained:
- Manifest/schema assertions already covered by build step
- Tool structure tests redundant with existing tools.test.ts
- Documentation-only tests
- Skipped placeholder tests

Minimal changes retained:
- pnpm-workspace.yaml: eve 1.0.0-rc.6 in named catalog
- package.json: peer dep ^1.0.0-rc.0, test:unit simplified for Turbo
- Lockfile updates from dependency changes

Co-authored-by: Shrey Pandya <[email protected]>
The facade code staged to extension/lib/core/ is needed by tests but
not in Turbo's cached outputs. Keeping stage:facade ensures tests
can import the facade error types.

Co-authored-by: Shrey Pandya <[email protected]>
@Kylejeong2
Kylejeong2 marked this pull request as ready for review November 16, 2026 18:05

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant Dev as Extension Developer
    participant Dep as pnpm Workspace
    participant Build as Extension Build (Turbo)
    participant Pkg as @browserbasehq/eve Package
    participant Eve as Eve Runtime (Vercel)
    participant AI as AI SDK (ai package)

    Note over Dev,Eve: Eve 1.0 Extension Build & Runtime Flow

    Dev->>Dep: pnpm install
    Dep->>Dep: Resolve eve catalog (1.0.0-rc.6) + ai (^7.0.137)
    Dep-->>Dev: Lockfile updated

    Dev->>Build: turbo build (extension)
    Build->>Pkg: Compile extension source
    Pkg->>Pkg: Generate eve 1.0 manifest (formatVersion: 3)
    Build-->>Dev: Build artifacts

    Note over Pkg,Eve: Installation into consuming project

    Pkg->>Eve: Declares peerDependency: eve ^1.0.0-rc.0
    Note over Eve: Extension contract: built with 1.0 requires 1.0+ at runtime

    Eve->>AI: Uses ai ^7.0.137 (peer requirement)
    AI-->>Eve: Provide tool execution primitives

    Note over Dev,Eve: Runtime execution of native tools
    Eve->>Pkg: Load extension (validate manifest formatVersion)
    alt Valid manifest (formatVersion 3)
        Eve->>Eve: Register run/snapshot/screenshot tools
        Eve->>Pkg: Execute tool implementation
        Note over Pkg: Calls browserbase.launch() (requires BROWSERBASE_API_KEY)
        Pkg-->>Eve: Tool result
    else Incompatible manifest (older format)
        Eve-->>Dev: Reject extension (requires rebuild)
    end

    %% Unit testing path
    Dev->>Build: turbo test:unit (stage:facade)
    Build->>Pkg: Run vitest (imports facade error types)
    Pkg-->>Dev: Test results (39 tests)
Loading

View guided diff | Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 4 files (changes from recent commits).

Confidence score: 4/5

  • .changeset/eve-1-0-upgrade.md says “or later,” which overstates compatibility beyond the ^1.0.0 peer range. Change it to “Eve 1.x is now required.”
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".changeset/eve-1-0-upgrade.md">

<violation number="1" location=".changeset/eve-1-0-upgrade.md:5">
P2: The peer range is `^1.0.0`, so “or later” overstates compatibility by implying future major versions; say “Eve 1.x is now required.”

(Based on your team's feedback about user-visible changesets.)</violation>
</file>

Tip: Review your code locally with the cubic CLI to iterate faster.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .changeset/eve-1-0-upgrade.md Resolved
@shrey150 shrey150 changed the title feat(eve): upgrade to eve 1.0.0-rc.6 for Vercel eve 1.0 compatibility feat(eve): upgrade extension to stable Eve 1.0 Nov 16, 2026
@shrey150
shrey150 merged commit 03c00e6 into main Nov 16, 2026
67 checks passed
@shrey150
shrey150 deleted the cursor/eve-1-0-upgrade-80c0 branch November 16, 2026 20:48
shrey150 added a commit that referenced this pull request Nov 20, 2026
…3496)

Changesets merged through a mirrored external contributor PR currently
show `Thanks @github-actions!` in release notes, because the mirror PR
is authored by the bot.

This wraps `@changesets/changelog-github` in `.changeset/changelog.cjs`.
For each changeset, if its commit came from a merged PR authored by
`github-actions[bot]` that carries the `external-contributor-pr:owned
source-pr=` marker, it adds `pr:`, `commit:` and `author:` overrides
pointing at the original PR and its author (read from the GitHub API,
not from the PR body text). Changesets that already have overrides, and
every non-mirrored PR, are left unchanged.

Checked locally against the three pending mirrored changesets (#3463,
#3422, #3465 now credit their authors) and a regular PR (#3450 is
unchanged).

If a GitHub lookup fails, the wrapper logs a warning and falls back to
the default credit, so it can't block a release PR.

Dry run (Nov 19) against the live repo with
`@changesets/changelog-github` 0.7.0: `empty-response-header-values` now
credits #3422 / @aryansahai22, `host-only-cookie-matching` credits #3465
/ @Kelvin-Waititu, a regular changeset (`eve-1-0-upgrade`, #3409) is
unchanged, and a simulated API failure falls back to the default line.

No tests added: the failure mode is attribution in release notes, not
publishing, and the release PR diff shows the output before anything
ships.

<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Fixes release notes so changesets merged through mirrored external
contributor PRs credit the original author instead of
`github-actions[bot]`.

- Wraps `@changesets/changelog-github` in `.changeset/changelog.cjs` to
detect mirrored PRs via the `external-contributor-pr:owned` marker and
add `pr:`, `commit:`, and `author:` overrides from the GitHub API.
- Takes the last marker occurrence, since the mirror body quotes the
original PR description before the trusted marker.
- Leaves changesets that already have overrides and non-mirrored PRs
unchanged, and falls back to the default credit when the GitHub lookup
fails so a release can't be blocked.

<sup>Written for commit 72b02d0.
Summary will update on new commits.</sup>

<a
href="https://cubic.dev/pr/browserbase/stagehand/pull/3496?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/browserbase/stagehand/3496?returnTo=https%3A%2F%2Fgithub.com%2Fbrowserbase%2Fstagehand%2Fpull%2F3496&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->

---------

Co-authored-by: Shrey Pandya <[email protected]>
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