Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
e041c10
remove v3 code
Jul 23, 2026
a285200
import v4 spike at 12c87b196547931f0f2e30e704dd193384e1cfae
Jul 23, 2026
a18e4d8
update v4 spike
monadoid Jul 24, 2026
6877f42
Restore the v4 repository foundation (#2399)
monadoid Jul 25, 2026
47fe18c
Restore v3 docs (#2422)
monadoid Jul 27, 2026
5e630aa
Repair imported docs (#2423)
monadoid Jul 27, 2026
d0629ce
Format supported docs files (#2424)
monadoid Jul 27, 2026
f3b8945
Integrate docs with the v4 workspace (#2425)
monadoid Jul 27, 2026
ff9ba92
Establish v4 package identities and versions (#2400)
monadoid Jul 27, 2026
3fe2eb2
Add stable v4 release automation (#2409)
monadoid Jul 27, 2026
e48fbf6
Restore v4 docs (#2428)
monadoid Jul 27, 2026
66027e6
Remove pending protocol schemas (#2429)
monadoid Jul 27, 2026
4d21bf8
Remove stale Stagehand V4 package references (#2456)
monadoid Jul 27, 2026
a575350
Add opt-in v4 previews (#2406)
monadoid Jul 27, 2026
1cd9fec
Restore v3 evals against Stagehand v3 (#2401)
monadoid Jul 27, 2026
66739a2
fix active page handling (#2458)
seanmcguire12 Jul 27, 2026
db7dccb
Use z.strictObject for protocol schemas (#2434)
monadoid Jul 28, 2026
c384b95
fix: track SDK language in v4 metadata (#2467)
shrey150 Jul 28, 2026
77b4231
1/4 Add generated Go protocol models (#2414)
monadoid Jul 28, 2026
89f77fd
2/4 Add the Go SDK client (#2415)
monadoid Jul 28, 2026
1595695
3/4 Add local Chrome support to Go (#2416)
monadoid Jul 28, 2026
6418e05
4/4 Add Browserbase support to Go (#2417)
monadoid Jul 28, 2026
6f3f959
Standardize act, observe, and extract result shapes (#2460)
monadoid Jul 28, 2026
c97eedb
Return simple getter results directly (#2436)
monadoid Jul 28, 2026
39c5fee
Add back in extract({screenshot:true}) functionality (#2435)
monadoid Jul 28, 2026
d4858cb
Restore Action inputs to act (#2427)
monadoid Jul 28, 2026
8882b68
fix: track SDK language in Go Browserbase session metadata (#2477)
shrey150 Jul 28, 2026
69e6403
Require `protocolVersion` and `clientInfo` fields (#2499)
monadoid Jul 29, 2026
91ca153
Rename V3Context to BrowserContext (#2500)
monadoid Jul 29, 2026
aa3d43a
Remove internal diagnostic methods (#2501)
monadoid Jul 29, 2026
c60abd7
Add webmcp (#2479)
seanmcguire12 Jul 29, 2026
beb8039
Use package.json for version synchronization in Go (#2502)
monadoid Jul 29, 2026
d6599a4
Complete straightforward cross-SDK v4 parity work (#2497)
monadoid Jul 30, 2026
e231d98
Rename act `input` to `instruction` (#2480)
monadoid Jul 30, 2026
44a85b3
ci: gate the Go embedded extension against the built server (#2481)
miguelg719 Jul 30, 2026
0355d15
build: adopt turbo for the v4 build and check graph (#2482)
miguelg719 Jul 30, 2026
9a7b62a
test: add the integration-test discovery runner (#2483)
miguelg719 Jul 30, 2026
574d864
ci: extract setup into composite actions and pin every action to a SH…
miguelg719 Jul 30, 2026
03fbc04
ci: restructure into a discover/matrix fan-out (#2485)
miguelg719 Jul 30, 2026
92a1966
test: port the first five integration specs to the v4 SDK (#2487)
miguelg719 Jul 30, 2026
d77c902
Make stagehand.init the first runtime RPC (#2461)
miguelg719 Jul 30, 2026
75cc0cb
Add Go code snippets and support parity to docs (#2504)
akeimach Jul 31, 2026
6d006f9
Add configuration docs and update links (#2508)
akeimach Jul 31, 2026
96c7502
Docs callout for about:blank limitation (#2536)
akeimach Jul 31, 2026
c528eca
Fix duplicate Go logging documentation view (#2538)
miguelg719 Jul 31, 2026
32d852a
Define TypeScript Stagehand browser contracts (#2517)
miguelg719 Aug 1, 2026
3a20152
Add browser transport foundations (#2518)
miguelg719 Aug 1, 2026
9325837
Implement Stagehand browser factories (#2519)
miguelg719 Aug 1, 2026
445779f
Add Stagehand.create browser attachment (#2520)
miguelg719 Aug 1, 2026
efaaf97
Migrate TypeScript consumers to Stagehand.create (#2521)
miguelg719 Aug 1, 2026
6511e7a
Remove the legacy Stagehand lifecycle (#2523)
miguelg719 Aug 1, 2026
2bbd7b2
Remove custom LLM functionality from model (#2514)
monadoid Aug 2, 2026
6bd2647
feat: expose operation usage metadata (#2530)
shrey150 Aug 3, 2026
12f1fd8
rm return xpath (#2505)
seanmcguire12 Aug 3, 2026
aceadd4
feat: implement session metrics (#2533)
shrey150 Aug 3, 2026
8ec1c6b
Implement routing to browserbase gateway (#2440)
monadoid Aug 3, 2026
9eb3b7d
Add Go browser transport and Browserbase session foundations (#2547)
miguelg719 Aug 3, 2026
a357d39
Implement Go browser factories and stagehand.Create (#2548)
miguelg719 Aug 3, 2026
e37188f
Remove the legacy Go Stagehand lifecycle (#2549)
miguelg719 Aug 3, 2026
d6d5483
Add Python browser handle and factories (#2544)
miguelg719 Aug 3, 2026
c827b5a
Replace the Python Stagehand lifecycle with Stagehand.create (#2545)
miguelg719 Aug 3, 2026
81c13f0
Implement Browserbase sessions in the Python browser factories (#2552)
miguelg719 Aug 3, 2026
7580caa
Accept `instruction` and `schema` positionally in Python `observe` an…
miguelg719 Aug 3, 2026
e88fb9d
Accept a nil-able options pointer in Go `BrowserContext.NewPage` (#2540)
miguelg719 Aug 3, 2026
dfa32c2
Make `timeout` keyword-only in Python `Page.wait_for_load_state` (#2541)
miguelg719 Aug 3, 2026
494fd0d
[STG-2749] Surface cache metadata on act/observe/extract results (#2543)
sameelarif Aug 3, 2026
2125dff
Make Go act and extract APIs typed (#2516)
monadoid Aug 3, 2026
c87f59a
Remove redundant transport timeouts (#2495)
monadoid Aug 4, 2026
a27dc8a
Support Browserbase automatic model routing (#2568)
monadoid Aug 4, 2026
62a3c8a
add navigation `Response` (#2560)
seanmcguire12 Aug 4, 2026
ff8b370
add `response` to SDKs (#2563)
seanmcguire12 Aug 4, 2026
6314ef1
Generate typeddicts in python SDK (#2574)
monadoid Aug 4, 2026
d0836df
Fix order of Go Chrome arguments (#2577)
monadoid Aug 4, 2026
8b6fc58
docs(v4): include Python input aliases in reference types (#2579)
miguelg719 Aug 4, 2026
87b02e8
test: port v4 integration coverage (#2551)
miguelg719 Aug 4, 2026
c28fc16
fix(v4): normalize accessibility snapshot Unicode (#2556)
miguelg719 Aug 4, 2026
7f5dbac
fix(v4): make locator screenshot masks reliable (#2557)
miguelg719 Aug 4, 2026
27dae6d
Add `setInputFiles` (#2559)
monadoid Aug 4, 2026
fdc96a9
Add back default extract schema (#2562)
miguelg719 Aug 4, 2026
e63349d
Add context to browser handles (#2582)
miguelg719 Aug 5, 2026
091d000
Wire Stagehand lifecycle to browser context (#2583)
miguelg719 Aug 5, 2026
396d8dc
Migrate SDK consumers to browser context (#2584)
miguelg719 Aug 5, 2026
9809376
Remove Stagehand context accessors (#2585)
miguelg719 Aug 5, 2026
2f3e1b5
Add best practices docs and update links (#2510)
akeimach Aug 5, 2026
f7406c5
server: opt in to Anthropic browser-origin access from the extension …
shriyatheunicorn Aug 5, 2026
2acf4b2
Restore v3-aligned timeout defaults in v4 (#2594)
miguelg719 Aug 5, 2026
4e0c861
Remove legacy Stagehand API client (#2602)
monadoid Aug 5, 2026
a44868b
Rename server package to extension (#2604)
monadoid Aug 5, 2026
844f6cf
Update go examples with typed actions (#2607)
akeimach Aug 5, 2026
d10d305
OTEL improvements (#2588)
monadoid Aug 6, 2026
3b0d1c5
evals: port the act/extract/observe bench suite to the v4 SDK (#2494)
shriyatheunicorn Aug 6, 2026
ba9cf5f
fix(protocol): preserve extract schema keys (#2624)
miguelg719 Aug 6, 2026
9867a81
Add page-level CDP event subscriptions (#2581)
monadoid Aug 6, 2026
8bfe528
Update protocol README (#2632)
monadoid Aug 6, 2026
c849872
fix(evals): clean up v4 run resources (#2623)
miguelg719 Aug 6, 2026
71c588a
Make `context.newPage()` accept a URL string (#2631)
monadoid Aug 6, 2026
9e1f596
Derive Go extract schemas from result types (#2634)
monadoid Aug 7, 2026
938a5e9
Standardize file naming conventions in SDKs (#2633)
monadoid Aug 7, 2026
05a3e6d
[Docs] Remove duplicate introduction docs page (#2638)
akeimach Aug 7, 2026
25d94a0
feat: support custom drag routes (#2575)
shrey150 Aug 7, 2026
045a6f0
chore(readme): update readme to reflect v4 updates and positioning (#…
Kylejeong2 Aug 7, 2026
a070eb7
add `experimentalBatch` (#2608)
seanmcguire12 Aug 9, 2026
8899fc0
Add configurable API URLs to the SDKs (#2636)
monadoid Aug 9, 2026
0b03742
evals: promote agent-mount contract to v4-spike (#2635)
miguelg719 Aug 9, 2026
af74e90
evals: add the stagehand_code code-mode exposure (#2591)
miguelg719 Aug 9, 2026
b280f7d
evals: declare the playwright_code agent mount (#2592)
miguelg719 Aug 9, 2026
8f94a58
evals: declare the cdp_code agent mount (#2595)
miguelg719 Aug 9, 2026
b8c9628
evals: consume agent mounts generically in the claude_code tool adapt…
miguelg719 Aug 9, 2026
6086d58
evals: codex harness across all code tool surfaces (#2609)
miguelg719 Aug 9, 2026
743cd96
evals: wire the verifier into third-party harnesses for evidence coll…
miguelg719 Aug 9, 2026
92dd222
evals: run agent suites exclusively through the external harnesses (#…
miguelg719 Aug 9, 2026
df872fd
evals: merge-readiness fixes for the external-harness stack (#2649)
miguelg719 Aug 9, 2026
0af005a
evals: enable the MCP tool surfaces on the claude_code and codex harn…
miguelg719 Aug 9, 2026
006b142
[Docs] v3-->v4 migration guide (#2613)
akeimach Aug 9, 2026
fecf45f
Use SemVer for protocol compatibility (#2630)
monadoid Aug 9, 2026
afe7efa
feat: scaffold Stagehand code-mode MCP host (#2597)
miguelg719 Aug 9, 2026
089f2aa
[Docs] Tab control for language selection (#2652)
akeimach Aug 9, 2026
9aca71f
[Docs] Add CONTRIBUTING.md file (#2651)
akeimach Aug 9, 2026
608128e
[Docs] Make model routing logic clearer (#2642)
akeimach Aug 9, 2026
878d0dd
[Docs] README contributors list (#2659)
akeimach Aug 9, 2026
4186c7d
[Docs] Tighten up prose (#2641)
akeimach Aug 9, 2026
673b48a
chore(ci): rename workflow files from .yaml to .yml (#2661)
miguelg719 Aug 9, 2026
7903814
Merge remote-tracking branch 'origin/main' into chore/reconcile-main-…
miguelg719 Aug 9, 2026
1f3d91a
docs: drop unported useTouch reference, recast Model Router prose to …
miguelg719 Aug 9, 2026
5ad984e
Make the v4 examples consistent around `.data` wrapping (#2646)
akeimach Aug 10, 2026
4b932e9
Apply suggestions from code review
miguelg719 Aug 10, 2026
168996c
use `locator` inputs for `observe` & `extract` (#2654)
seanmcguire12 Aug 10, 2026
1ea9b63
accept locators for screenshot mask in golang sdk (#2656)
seanmcguire12 Aug 10, 2026
0fa8b25
[Docs] Reduce docs nesting and improve consistency (#2668)
akeimach Aug 10, 2026
ecb9d6a
Merge pull request #2664 from browserbase/chore/reconcile-main-into-v…
miguelg719 Aug 10, 2026
a72d36c
feat(sdk-ts): expose sessionId on Browserbase browser handles (#2672)
miguelg719 Aug 10, 2026
6f389fd
feat(sdk-python): expose session_id on Browserbase browser handles (#…
miguelg719 Aug 10, 2026
505fe4d
feat(sdk-go): expose SessionID on Browserbase browser handles (#2674)
miguelg719 Aug 10, 2026
e3b5509
bump mintlify (#2669)
seanmcguire12 Aug 10, 2026
d7556e9
test(evals): relax core config CLI timeout (#2675)
miguelg719 Aug 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 5 additions & 7 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.1.1/schema.json",
"$schema": "https://unpkg.com/@changesets/config@3.1.4/schema.json",
"commit": false,
"fixed": [],
"linked": [],
"ignore": ["browse"],
"ignore": ["@browserbasehq/stagehand-evals"],
"baseBranch": "main",
"updateInternalDependencies": "patch",
"access": "public",
Expand All @@ -13,9 +12,8 @@
"repo": "browserbase/stagehand"
}
],
"snapshot": {
"useCalculatedVersion": true,
"prereleaseTemplate": "alpha-{commit}",
"tag": "alpha"
"privatePackages": {
"version": true,
"tag": false
}
}
5 changes: 0 additions & 5 deletions .changeset/touch-tap-actuation.md

This file was deleted.

2 changes: 1 addition & 1 deletion .cubic/docs-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Severity: blocking. Every rule in this file is mandatory for prose added or modi

Apply these rules only to public-facing prose under `packages/docs/**`, including frontmatter descriptions, headings, navigation labels, paragraphs, tables, callouts, and authored code comments.

Do not apply prose rules to code identifiers, executable code, URLs, copied prompts, sample task strings, configuration examples, or logs. Do not request direct edits to generated SDK pages under `packages/docs/v3/sdk/`; report source-content problems against the owning SDK repository or `packages/docs/scripts/sync-sdk-docs.js`.
Do not apply prose rules to code identifiers, executable code, URLs, copied prompts, sample task strings, configuration examples, or logs.

## Scope boundary

Expand Down
263 changes: 0 additions & 263 deletions .cursorrules

This file was deleted.

13 changes: 3 additions & 10 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
OPENAI_API_KEY=""
CEREBRAS_API_KEY=""
GROQ_API_KEY=""
BROWSERBASE_API_KEY=""
BRAINTRUST_API_KEY=""
ANTHROPIC_API_KEY=""
HEADLESS=false
ENABLE_CACHING=false
EVAL_MODELS="gpt-4o,claude-sonnet-4-6"
EXPERIMENTAL_EVAL_MODELS="gpt-4o,claude-sonnet-4-6,o1-mini,o1-preview"
EVAL_CATEGORIES="observe,act,combination,extract,experimental"
AGENT_EVAL_MAX_STEPS=50

# Optional: set this only if Chrome cannot be detected automatically.
# CHROME_PATH=""
20 changes: 9 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
---
name: Bug report
about: Detailed descriptions help us resolve faster
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Before submitting an issue, please:**

- [ ] Check the [documentation](https://docs.stagehand.dev/) for relevant information
- [ ] Search existing [issues](https://github.com/browserbase/stagehand/issues) to avoid duplicates
- [ ] Check the [documentation](https://docs.stagehand.dev/) for relevant information
- [ ] Search existing [issues](https://github.com/browserbase/stagehand/issues) to avoid duplicates

## Environment Information

Expand All @@ -35,22 +34,21 @@ Please provide the following information to help us reproduce and resolve your i

### Steps to Reproduce

1.
2.
3.
1.
2.
3.

### Minimal Reproduction Code

```tsx
// Your minimal reproduction code here
import { Stagehand } from '@browserbase/stagehand';
import { Stagehand } from "@browserbase/stagehand";

const stagehand = new Stagehand({
// IMPORTANT: include your stagehand config
});

// Steps that reproduce the issue

```

### Error Messages / Log trace
Expand Down
13 changes: 6 additions & 7 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -18,6 +17,6 @@ A clear and concise description of any alternative solutions or features you've

**Are you willing to contribute to implementing this feature or fix?**

- [ ] Yes, I can submit a PR
- [ ] Yes, but I need guidance
- [ ] No, I cannot contribute at this time
- [ ] Yes, I can submit a PR
- [ ] Yes, but I need guidance
- [ ] No, I cannot contribute at this time
Loading
Loading