feat: support deterministic actions without a model - #2526
Closed
shrey150 wants to merge 11 commits into
Closed
Conversation
🦋 Changeset detectedLatest commit: 9512209 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
shrey150
force-pushed
the
v4-spike-cli-actions
branch
from
August 6, 2026 08:21
f61c704 to
9f14a50
Compare
shrey150
force-pushed
the
v4-spike-cli-actions
branch
from
August 6, 2026 08:31
9f14a50 to
2c5f381
Compare
shrey150
force-pushed
the
v4-spike-cli-actions
branch
3 times, most recently
from
August 6, 2026 09:08
588f26b to
1aa31c1
Compare
shrey150
force-pushed
the
v4-spike-cli-actions
branch
from
August 6, 2026 17:35
1aa31c1 to
713347a
Compare
shrey150
force-pushed
the
v4-spike-cli-actions
branch
from
August 7, 2026 18:41
713347a to
20a7d98
Compare
# Conflicts: # packages/sdk-go/internal/extensionassets/stagehand-extension.zip
# Conflicts: # packages/extension/tests/act.test.ts # packages/sdk-go/internal/extensionassets/stagehand-extension.zip
Contributor
Author
|
The CLI intent here is superseded by #2834, but the core Stagehand patch is intentionally not carried forward. Browse now executes deterministic click/fill operations through V4 locators directly, so those paths do not call act() and do not require a model. Closing this draft with no standalone core replacement. |
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
Stagehand.act(Action)values to execute deterministically without configuring a modelRefreshed on 2026-08-10 against the current parent and
v4-spikecommitd7556e9a.Contract
Stagehand.act(Action)without a modelStagehand.act("instruction")without a modelRelease boundary
The already-published Stagehand 4.0.0 does not contain this PR's extension change. A clean registry-backed install therefore supports open/snapshot/status but rejects model-free click/fill with the pre-fix missing-model error. This PR includes patch changesets for
@browserbasehq/stagehand,@browserbasehq/stagehand-extension,@browserbasehq/stagehand-go, andbrowse, so release automation versions every embedded runtime and publishes the Stagehand patch before or alongside the Browse patch. Keepingworkspace:*preserves that ordering; pinning Browse to 4.0.0 would ship an incompatible pair.E2E Test Matrix
pnpm buildpassed 6/6 tasks;pnpm checkpassed 11/11 tasks with 0 errors; the fullpnpm testgraph exited 0, including 17/17 protocol browser tests and 15/15 local SDK browser testsv4-spiked7556e9aacross build, static checks, unit tests, and real-browser suites.example.com, produced a snapshot, clicked through to IANA, filled an injected input, and read backpublished-v4-okAn LLM was not configurederrorcorepack pnpm exec vitest run packages/extension/tests/act.test.tscorepack pnpm --filter browse test:unithello-v4-final; click setdocument.body.dataset.clickedtoyesgo run ./internal/extensionpack --checkpassedBROWSERBASE_API_KEYis available in this environmentIncludes patch changesets for
@browserbasehq/stagehand,@browserbasehq/stagehand-extension,@browserbasehq/stagehand-go, andbrowsebecause the existing typed Action contract now works without a model and the extension is embedded in both TypeScript and Go.Final release validation (2026-08-10)
At the cumulative stack tip:
browsechangesetsbrowse0.9.7, Stagehand 4.0.1, extension 1.0.1, and Go 4.0.1workspace:*to exact Stagehand 4.0.1