Add Stagehand extension - #2382
Open
shrey150 wants to merge 1 commit into
Open
Conversation
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
marked this pull request as draft
August 21, 2026 15:42
De-ASI-INTERFACE
approved these changes
Aug 21, 2026
shrey150
force-pushed
the
shrey/stg-2765-stagehand-extension
branch
from
August 21, 2026 15:52
7ce8f16 to
cf99fa9
Compare
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Signed-off-by: Shrey Pandya <shrey150@yahoo.com>
shrey150
force-pushed
the
shrey/stg-2765-stagehand-extension
branch
from
August 21, 2026 15:57
cf99fa9 to
99436a7
Compare
shrey150
marked this pull request as ready for review
August 21, 2026 15:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Stagehand extension template with
run,snapshot, andscreenshottools. Model code is compiled in the Node.js host to work within Chrome's extension CSP, while a serialized session and explicitclose()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
CONTRIBUTING.mdevepackagegit commit --signoff)No changeset is needed because this adds a private template.
Diff size
Docs — 2 files ·
+123 / -0Documents setup and the model-facing browser contract.
Implementation — 12 files ·
+635 / -2Adds the Eve tools, session lifecycle, package configuration, and lockfile entries.
Tests — 3 files ·
+483 / -0Covers execution, recovery, and cleanup behavior.