Skip to content

Add Stagehand extension - #2382

Open
shrey150 wants to merge 1 commit into
vercel:mainfrom
shrey150:shrey/stg-2765-stagehand-extension
Open

Add Stagehand extension#2382
shrey150 wants to merge 1 commit into
vercel:mainfrom
shrey150:shrey/stg-2765-stagehand-extension

Conversation

@shrey150

@shrey150 shrey150 commented Aug 21, 2026

Copy link
Copy Markdown

Summary

Adds a Stagehand extension template with run, snapshot, and screenshot tools. Model code is compiled in the Node.js host to work within Chrome's extension CSP, while a serialized session and explicit close() provide recovery and bounded cleanup.

The template uses keepAlive: false, shares one browser per process, and treats snapshot IDs as informational.

Validation

The focused suite passed 20/20 tests. The packed extension built successfully in a fresh Eve app with Stagehand's browser assets intact, and a real Browserbase eval passed all 9 gates across navigation, state reuse, snapshot, screenshot, and close; the remote session reached COMPLETED.

Checklist

  • This change was requested or approved by a maintainer
  • I ran the relevant checks from CONTRIBUTING.md
  • I added tests and documentation where relevant
  • I added a changeset if this touches the published eve package
  • DCO sign-off passes for every commit (git commit --signoff)

No changeset is needed because this adds a private template.

Diff size

Docs — 2 files · +123 / -0

Documents setup and the model-facing browser contract.

Implementation — 12 files · +635 / -2

Adds the Eve tools, session lifecycle, package configuration, and lockfile entries.

Tests — 3 files · +483 / -0

Covers execution, recovery, and cleanup behavior.

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

@shrey150 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@shrey150
shrey150 marked this pull request as draft August 21, 2026 15:42
@shrey150
shrey150 force-pushed the shrey/stg-2765-stagehand-extension branch from 7ce8f16 to cf99fa9 Compare August 21, 2026 15:52
@vercel
vercel Bot temporarily deployed to Preview – eve-docs-4759 August 21, 2026 15:52 Inactive
@vercel
vercel Bot temporarily deployed to Preview – eve-pkg August 21, 2026 15:52 Inactive
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
eve-docs-4759 Skipped Skipped Aug 21, 2026 3:57pm
eve-pkg Skipped Skipped Aug 21, 2026 3:57pm

@socket-security

socket-security Bot commented Aug 21, 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/​@​browserbasehq/​stagehand@​4.0.1100100100100100

View full report

Signed-off-by: Shrey Pandya <shrey150@yahoo.com>
@shrey150
shrey150 force-pushed the shrey/stg-2765-stagehand-extension branch from cf99fa9 to 99436a7 Compare August 21, 2026 15:57
@vercel
vercel Bot temporarily deployed to Preview – eve-pkg August 21, 2026 15:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – eve-docs-4759 August 21, 2026 15:57 Inactive
@shrey150
shrey150 marked this pull request as ready for review August 21, 2026 15:58
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