-
Notifications
You must be signed in to change notification settings - Fork 236
[Refactor]: Stagehand MCP becoming the Browserbase MCP #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
2f58ed3
stagehand migration v1
Kylejeong2 e9e1e78
stagehand tools using browser context similar to browserbase + stageh…
Kylejeong2 022b65a
rm legacy tool call and separate tools into individual files
Kylejeong2 e1c8f80
clean up readonly functions
Kylejeong2 e2431ed
cleanup tools
Kylejeong2 c5a8d66
remove unnecessary logger, updated readme, converted to smithery, cus…
Kylejeong2 352b9c2
migration to just one mcp server in the repo + readme updates
Kylejeong2 f1d7dec
change to structured extract, better prompts for tools
Kylejeong2 91e313f
better extract + update tool names + add pnpm prettier lint
Kylejeong2 f32fd05
v0 multi-session tools
Kylejeong2 a0204a5
add husky for commits + pnpm exec husky init + move around mcp specif…
Kylejeong2 98f4cb0
prettier-fix
Kylejeong2 ff674aa
better husky script, multisession prompting updates + stagehand store…
Kylejeong2 9c4a533
zod fix
Kylejeong2 70d99c4
add deps
the-roaring 95834ab
[Fix]: add workflows to publish to npm + bug fixes (#93)
Kylejeong2 a4d74f6
rename session list to multi session, added better prompting
Kylejeong2 d6fb91d
add modelapikey to config
Kylejeong2 d81dcc8
moving types around, removing unnecessary code, reworking stagehand s…
Kylejeong2 64d70df
typo in navigate tool
Kylejeong2 763acaf
fix potential mem leak, pnpm, prompts session typeof
Kylejeong2 73b205d
pnpm fix ci, screenshot unique, transport validation, formatting
Kylejeong2 8c485a3
fix pnpm versioning in ci
Kylejeong2 398101a
console errors if user runs stdio with no api key + gemini key valida…
Kylejeong2 774c6d0
smithery cli tools
Kylejeong2 5fd6b2f
smithery yaml fix + smithery cli
Kylejeong2 b6e7dd1
rm sse + dockerfile update to support pnpm
Kylejeong2 85d9e96
dockerfile
Kylejeong2 0026ccc
switch to container deploy
Kylejeong2 156fd63
adjusting dockerfile and config imports
Kylejeong2 f7f4885
smithery yaml update
Kylejeong2 970dc55
await session cleanup
Kylejeong2 c1059d1
lazy loading of keys
Kylejeong2 68b2ebf
rm unused deps:
Kylejeong2 927db9b
race condition in cleanup + better JSDoc in config + dockerfile forma…
Kylejeong2 24e0bde
changing to original smithery setup + stagehand page
Kylejeong2 b3db1a0
add back dockerfile
Kylejeong2 9bab822
add back custom smithery yanml
Kylejeong2 e96d5dc
update readme to have server url + keys && updated prompts for mcp
Kylejeong2 7adf35f
remove apikey and projectid flags + fix smithery config
Kylejeong2 1fc8326
changing config for build
Kylejeong2 867a973
npm for smithery deploy
Kylejeong2 38958c3
npm for smithery deploy
Kylejeong2 c62b928
correct modelname
Kylejeong2 1548d1c
change all modelnames
Kylejeong2 7044d8e
build every time with smithery dockerfile
Kylejeong2 4488798
fix modelapikey requirement
Kylejeong2 0201dc4
change to available models type + adding debug url to tool outputs
Kylejeong2 67fb1ce
simplify readme + add image for smithery + change precommit
Kylejeong2 66a6043
rm alternative installations
Kylejeong2 6b8b7fb
wrap link around image for cursor quickstart
Kylejeong2 127bb8b
wrap link around image for cursor quickstart
Kylejeong2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js 22 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22" | ||
cache: "pnpm" | ||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
- run: pnpm run build | ||
- name: Run ESLint | ||
run: pnpm run lint | ||
- name: Ensure no changes | ||
run: git diff --exit-code |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Publish | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
publish-npm: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 8 | ||
- run: pnpm install --frozen-lockfile | ||
- run: pnpm publish --provenance | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
pnpm pre-commit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Use npm for package management | ||
engine-strict=true |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.