refactor(evals): target the workspace V4 CLI - #2529
Draft
shrey150 wants to merge 2 commits into
Draft
Conversation
|
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
browsepackage so V4 branches test the CLI source under review instead of the published V3 CLIopen about:blank, then reuse a short per-eval session nameThis is the next draft in the CLI migration stack and is based on the screenshot runtime draft.
Contract changes
browse@0.9.5tobrowse: workspace:*; package version remains0.9.5--session <name>to each commandopen about:blank --localoropen about:blank --remote; the removed `env localmouse click,mouse hover, andmouse scrolltab list,tab new,tab switch, andtab close; list results consume{ tabs: [...] }and require stabletargetIdvalues--base64plus current long-form flags--no-press-enterflagE2E Test Matrix
pnpm --filter @browserbasehq/stagehand-evals test:unitpnpm checkevals run core --tool browse_cli --env local -t 1 -c 2using the local build--remote: open a synthetic fixture, click, fill, scroll, evaluate, screenshot, create/list a tab, and stopclicked/hello-v4-remote; scroll moved; screenshot returned 14,440 bytes; tab count became two; cleanup succeededevals run actions/click --tool browse_cli --env browserbase -t 1 -c 1claude_codeharness withbrowse_cliand Browserbase using the local buildopen,snapshot,click,fill,press,wait, andgetcommands succeeded; adapter cleanup stopped the daemon. The model later reached its configured turn limit before returning the requested answerNo Changeset is included because this remains part of the unreleased V4 spike stack.