Repository navigation
feat(browser): run browserTool on a BrowserSession, without codemode #2667
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
16 commits
Select commit
Hold shift + click to select a range
e5b57d2
feat(browser): run browserTool on a BrowserSession, without codemode
ben-reitz cbcf368
fix(browser): address review on browserTool without codemode
ben-reitz 01a643a
docs(browser): move deprecated browser docs to the bottom, notice on …
ben-reitz 074a412
docs(browser): rewrite browserTool's How It Works in the design doc
ben-reitz 3261fcf
docs(browser): rewrite Browse the Web around browserTool, slim the de…
ben-reitz 281de63
docs(browser): lead with pi, drop Experimental from Browse the Web
ben-reitz 8da4113
docs(browser): no contractions in Browse the Web
ben-reitz d6643ea
docs(browser): say browserTool still needs @cloudflare/codemode insta…
ben-reitz b154302
fix(browser): refuse Live View, handoff and tunnelling CDP commands
ben-reitz e732a0d
fix(browser): a host-side deadline for browserTool runs
ben-reitz 9005106
fix(browser): keep only real screenshots whole
ben-reitz 4534f23
fix(browser): run an arrow function that ends in a semicolon and comment
ben-reitz 4069d35
fix(browser): bound browserTool's console logs
ben-reitz 258851c
docs(agents): browser rows in AGENTS.md mark the deprecated codemode …
ben-reitz d7ece90
chore(browser): the browserTool changeset says to keep codemode insta…
ben-reitz cf57109
fix(browser): cut a huge thrown error down like a result
ben-reitz 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,5 @@ | ||
| --- | ||
| "agents": minor | ||
| --- | ||
|
|
||
| `browserTool` now runs the model's code in its own Dynamic Worker instead of on codemode, so it needs no `ctx` or `CodemodeRuntime` export (keep `@cloudflare/codemode` installed for now) and its output has no `calls` log; `browser.session()` gives your own code the same connection to the browser. See [Persistent browser](https://github.com/cloudflare/agents/blob/main/docs/agents/browse-the-web.md#persistent-browser). |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.