Version Packages#2110
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
No issues found across 9 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Architecture diagram
sequenceDiagram
participant Client as User / Eval Script
participant Server as Stagehand Server (v3/v4)
participant Core as @browserbasehq/stagehand
participant LLM as Anthropic API (CUA)
participant Browser as Playwright / Browserbase
Note over Client,Browser: Runtime flow for Anthropic Computer Use Actions (CUA)
Client->>Server: POST /act (Instruction: "Triple click title")
Server->>Core: stagehand.act()
Core->>Core: Capture Screenshot & DOM
Core->>LLM: Send state + Computer Use prompt
LLM-->>Core: Response: tool_use (triple_click)
Note right of Core: Logic fixed in this release
Core->>Core: CHANGED: Map "triple_click" to browser-specific action
Core->>Browser: mouse.click(x, y, { clickCount: 3 })
Browser-->>Core: Click performed
Core-->>Server: Action successful
Server-->>Client: 200 OK (Task complete)
alt Action Validation (Evals)
Client->>Core: Run @browserbasehq/stagehand-evals
Core->>LLM: Verify triple_click behavior
LLM-->>Client: Pass/Fail
end
013eb9c to
fe8e235
Compare
fe8e235 to
f6215dc
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@browserbasehq/stagehand@3.5.0
Minor Changes
78bcde8Thanks @seanmcguire12! - AddignoreDefaultArgsoption to selectively remove chrome-launcher's built-in default flags (e.g.--disable-extensions) when running locallyPatch Changes
#2107
8fc16d2Thanks @miguelg719! - Fix Anthropic CUAtriple_clickaction mapping.#2126
ebbdcd3Thanks @seanmcguire12! - fix(core): import ToolSet from ai public export#2120
12703a6Thanks @miguelg719! - Fix structuredOutputMode for newer Anthropic models#2116
cb586a1Thanks @seanmcguire12! - include "[selected]" or "[checked]" state in snapshot@browserbasehq/stagehand-evals@2.0.2
Patch Changes
8fc16d2,78bcde8,ebbdcd3,12703a6,cb586a1]:@browserbasehq/stagehand-server-v3@3.6.5
Patch Changes
8fc16d2,78bcde8,ebbdcd3,12703a6,cb586a1]:@browserbasehq/stagehand-server-v4@3.6.5
Patch Changes
8fc16d2,78bcde8,ebbdcd3,12703a6,cb586a1]: