-
Notifications
You must be signed in to change notification settings - Fork 2.7k
feat: browser-use tool migration #352
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
Open
shanyu-strix
wants to merge
42
commits into
usestrix:main
Choose a base branch
from
shanyu-strix:feat/browseruse
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
b880ed4
feat: browser-use tool initial migration
shanyu-strix d8b2a18
simplify entrypoint
shanyu-strix 428ae57
fix greptile
shanyu-strix 0e4307d
harden: authentication for cdp
shanyu-strix bbf6e08
debug: disable
shanyu-strix f99b7eb
Refines browser state handling and healthcheck
shanyu-strix 9fc09e8
fix: improve support for non-vision models
shanyu-strix 550690e
remove built-in llm, use langchain
shanyu-strix f3bb259
refactor
shanyu-strix 79890b7
Update renderer
shanyu-strix 4c2b368
small changes (QOL)
shanyu-strix 3718943
qol
shanyu-strix 9836e3f
streamline into tool-server
shanyu-strix d9d6fb2
metadata + cleanup some actions
shanyu-strix b6695cd
remove slop comments
shanyu-strix 26a5586
qol on chat browser
shanyu-strix f35f287
Update docker_runtime.py
shanyu-strix e461905
prevent browseruse from killing cdp connection
shanyu-strix 1ffcbcf
slim down browser-manager
shanyu-strix f91c9ef
important notes
shanyu-strix d5344ad
simplify actions, remove ones that cannot be used
shanyu-strix c4c953e
remove upload files
shanyu-strix b434d87
remove docker entrypoint slop
shanyu-strix 57ddce1
slim down cdp functionality
shanyu-strix d80578c
suppress cdp + add logging
shanyu-strix c023468
cleanup renderer
shanyu-strix 74061b7
remove file name parameter from schema definition
shanyu-strix eccc62b
Update schema with correct(er) names
shanyu-strix 65fd716
base integration tests
shanyu-strix 37942d0
cleanup logging in browser_actions (to test)
shanyu-strix 3237661
add run test
shanyu-strix c7eb83b
comment cleanup
shanyu-strix 48ea4d1
fix: properly isolate context
shanyu-strix 0a5d0f2
cleanup + concurrency test
shanyu-strix 3982d50
Lean up implementation
shanyu-strix 6ae56c0
more extensive tests for edge cases
shanyu-strix 940a23c
Update test_browser_isolation.py
shanyu-strix 7d44be7
Improve concurrency test
shanyu-strix 88a8232
Fix browser review regressions
0xallam 32a4397
Fix CDP proxy and bump sandbox image
0xallam 7e63b24
fix: debug + some rebase
shanyu-strix 59040ee
feat: add feature flag for browser run tool
shanyu-strix 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #!/bin/bash | ||
| # Healthcheck script for the strix sandbox container. | ||
| # Checks: tool server, Caido proxy, Chromium CDP. | ||
| # Exit 0 = healthy, exit 1 = unhealthy. | ||
|
|
||
| set -e | ||
|
|
||
| TOOL_SERVER_PORT="${TOOL_SERVER_PORT:-48081}" | ||
| CAIDO_PORT=48080 | ||
|
|
||
| # 1. Tool server must respond healthy | ||
| if ! curl -sf --max-time 3 -H "Authorization: Bearer ${TOOL_SERVER_TOKEN}" "http://127.0.0.1:${TOOL_SERVER_PORT}/health" | grep -q '"status":"healthy"'; then | ||
| echo "UNHEALTHY: tool server not responding on port ${TOOL_SERVER_PORT}" | ||
| exit 1 | ||
| fi | ||
|
|
||
| # 2. Caido proxy must be reachable. A bare /graphql/ probe may legitimately return | ||
| # 400, which the entrypoint already treats as ready. | ||
| if ! curl -s -o /dev/null -w "%{http_code}" --max-time 3 "http://127.0.0.1:${CAIDO_PORT}/graphql/" | grep -qE "^(200|400)$"; then | ||
| echo "UNHEALTHY: Caido proxy not responding on port ${CAIDO_PORT}" | ||
| exit 1 | ||
| fi | ||
|
|
||
| # 3. Chromium CDP must be reachable (probe internal port directly — no auth needed inside the container) | ||
| if ! curl -sf --max-time 3 "http://127.0.0.1:${CDP_INTERNAL_PORT:-19222}/json/version" | grep -q "webSocketDebuggerUrl"; then | ||
| echo "UNHEALTHY: Chromium CDP not responding on internal port ${CDP_INTERNAL_PORT:-19222}" | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "healthy" | ||
| exit 0 |
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.
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.