Commit Graph

9690 Commits

Author SHA1 Message Date
Gregor Žunič 3358a46785 Install core binary package in dev env 2026-06-08 13:38:34 -07:00
Gregor Žunič 116cb86634 Fix prerelease version upgrade check 2026-06-08 13:35:59 -07:00
Gregor Žunič a75b950dc7 Fix prerelease version upgrade check 2026-06-08 13:35:20 -07:00
Gregor Žunič 04e46729ab Add browser-use-core binary discovery 2026-06-08 13:12:55 -07:00
Gregor Žunič 683fd178cf Avoid URL substring assertions in beta tests 0.13.0rc3 2026-06-08 13:08:10 -07:00
Gregor Žunič 9a864e81cf Merge remote-tracking branch 'origin/main' into codex/browser-use-rust-wheel
# Conflicts:
#	browser_use/beta/service.py
2026-06-08 13:03:27 -07:00
Gregor Žunič 7a888eb9a4 Promote beta core package quickstart 2026-06-08 12:59:51 -07:00
laithrw e60a9ec0fa Validate Rust terminal SDK server binary (#4996)
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Validate that the selected `browser-use-terminal` binary supports the
SDK server to avoid launching incompatible CLIs. We now probe `--help`
and only use binaries that advertise the `sdk-server` subcommand.

- **Bug Fixes**
- Check `--help` output (5s timeout) and require `sdk-server` to be
present.
- Accept binaries from `BUT_HOME` standalone, `BUT_INSTALL_DIR`, or PATH
only; drop local debug target paths to avoid picking outdated builds.
- Raise a clear error with the install hint if no valid binary is found.
- Fix discovery test to echo `sdk-server` on `--help` and set the stub
binary executable.

<sup>Written for commit b4e3fb833a.
Summary will update on new commits.</sup>

<a
href="https://cubic.dev/pr/browser-use/browser-use/pull/4996?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->
2026-06-08 12:53:43 -07:00
Laith Weinberger b4e3fb833a Fix Rust terminal binary discovery test 2026-06-08 12:29:07 -07:00
Laith Weinberger d7c153f0a0 Validate Rust terminal SDK server binary 2026-06-08 11:39:38 -07:00
Gregor Žunič 636470a1aa Allow manual publish without auto tag 2026-06-08 11:15:14 -07:00
Gregor Žunič 3e6cf7d2ac Refresh browser-use-core during CI sync 2026-06-08 10:54:57 -07:00
Gregor Žunič 5852c6ea56 Use browser-use-core rc2 for rust extra 2026-06-08 10:51:51 -07:00
Gregor Žunič 66dec5bb3f Clean up failed Rust protocol handshake 2026-06-08 10:26:23 -07:00
Gregor Žunič 0872bea58a Set browser-use rc version 2026-06-08 10:20:02 -07:00
Gregor Žunič 2b81e552c6 Add browser-use-core rc extra 2026-06-08 09:57:54 -07:00
Gregor Žunič f7cd918d17 Defer browser-use-core extra until package exists 2026-06-08 08:22:33 -07:00
Gregor Žunič b056911139 Use browser-use-core Rust package 2026-06-08 08:19:46 -07:00
Gregor Žunič a91fd8702f Add optional Rust runtime package integration 2026-06-08 08:06:27 -07:00
Magnus Müller 6701a44a58 Magnus/rust sdk server clean pr (#4975)
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds an opt‑in Rust-backed agent that runs via the terminal SDK server
while keeping the default Python `Agent` unchanged. Also adds Anthropic
model support/pricing, safer downloads and auto‑navigation, and deeper
Rust histories with reliable usage/cost and final‑result recovery.

- **New Features**
- New `browser_use.rust.Agent` (stdio SDK server) with session reuse;
exports `RustAgentError` (also via `browser_use.agent`) and
`find_browser_use_terminal_binary`; README quickstart and
`examples/rust_agent/basic.py`; adds
`RUST_AGENT_INTEGRATION_FEATURES.md` with feature/proof ledger.
- Richer Rust history and recovery: reconstructs streamed model/tool
output and deltas, structured tool outputs, exec output/errors/waits,
reasoning, screenshots/GIFs, artifacts, browser‑script URLs, and
sub‑agent events; handles rollbacks/compaction and cancellations;
dedupes live/projected events; bounds JSON‑RPC responses; recovers
finals from `agent.event`/projected SDK notifications; ignores internal
browser-control URLs; prices nested/sub‑agent usage and reasoning tokens
from provider `usage` or `token_count`.
- Anthropic in `get_llm_by_name` (`ANTHROPIC_API_KEY`) with
`anthropic_claude_sonnet_4_0`, `anthropic_claude_3_5_sonnet_latest`,
`anthropic_claude_3_5_haiku_latest`; custom pricing for
`claude-sonnet-4-6` and `claude-opus-4.6` (and `anthropic/...` aliases);
usage summary includes cache read and cache creation tokens/costs.

- **Bug Fixes**
- Downloads watchdog skips generic text attachments and only
auto‑downloads clear files (PDFs, named attachments, or file‑URLs).
- Auto‑navigation sanitizes URL candidates and skips placeholder hosts
like `https://xxx.xxx`.

<sup>Written for commit 03303510d8.
Summary will update on new commits.</sup>

<a
href="https://cubic.dev/pr/browser-use/browser-use/pull/4975?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->
2026-06-06 09:35:12 -07:00
Magnus Müller 03303510d8 Document Rust quickstart 2026-06-06 15:54:53 +00:00
Magnus Müller 6cfff866f3 Extend source logging coverage 2026-06-06 15:42:36 +00:00
Magnus Müller df54d6a4e1 Add Rust core source marker 2026-06-06 15:42:17 +00:00
Magnus Müller bb7fb2722a Document Rust agent terminal install 2026-06-06 15:02:55 +00:00
Magnus Müller 1cfeab23c0 Remove stale Rust replay helpers 2026-06-06 05:54:19 +00:00
Magnus Müller 9400ba596d Fix Rust PR CI feedback 2026-06-06 05:20:57 +00:00
Magnus Müller c7da2c0e10 Fix Rust PR review feedback 2026-06-06 04:59:30 +00:00
Magnus Müller 1c58fa3976 Record SDK prompt dedupe proof 2026-06-05 22:42:20 +00:00
Magnus Müller 736c9e236c Record final Rust eval score proof 2026-06-05 21:07:46 +00:00
Magnus Müller 56a4d20eab Record JS wrapper eval proof 2026-06-05 20:30:57 +00:00
Magnus Müller b7c2b7b280 Record fetch error compatibility proof 2026-06-05 19:38:07 +00:00
Magnus Müller 65f6b3493f Expose terminal SDK tools by default 2026-06-05 18:33:03 +00:00
Magnus Müller 474a06b0c1 Deduplicate Rust SDK history usage 2026-06-05 18:18:23 +00:00
Magnus Müller e50c51ab3d Clarify Rust SDK legacy debt 2026-06-05 17:37:46 +00:00
Magnus Müller 96b6b69613 Forward SDK browser payload settings 2026-06-05 17:34:07 +00:00
Magnus Müller b604386b4f Require Rust SDK server path 2026-06-05 17:24:20 +00:00
Magnus Müller a7c43d3caf Recover projected SDK final events 2026-06-05 17:00:16 +00:00
Magnus Müller 0776c73916 Recover SDK finals from retained events 2026-06-05 16:38:06 +00:00
Magnus Müller a36f7d625e Recover nested Rust SDK final events 2026-06-05 16:20:35 +00:00
Magnus Müller 78df92ccee Include Rust SDK child usage in totals 2026-06-05 16:07:36 +00:00
Magnus Müller 008057a93b Update Rust Agent proof ledger for SDK subagents 2026-06-05 15:58:31 +00:00
Magnus Müller ef51555971 Update Rust Agent integration proof ledger 2026-06-05 15:38:00 +00:00
Magnus Müller 46bc62ac61 Recover Rust SDK history from notifications 2026-06-05 15:36:54 +00:00
Magnus Müller 25dd685179 Preserve Laminar image-only tool outputs 2026-06-05 14:58:11 +00:00
Magnus Müller dcb1969900 Avoid double-counting mixed Rust usage events 2026-06-05 14:17:33 +00:00
Magnus Müller dbf1ff2a8a Align Rust priced usage token totals 2026-06-05 14:15:56 +00:00
Magnus Müller f853ba8557 Aggregate full Rust token usage 2026-06-05 13:57:29 +00:00
Magnus Müller 4c04bdce44 Trust only confirmed Rust pre-navigation 2026-06-05 13:33:47 +00:00
Magnus Müller e01cc7d5fc Record remote CDP blank-tab attach proof 2026-06-05 13:10:26 +00:00
Magnus Müller 2cce105b23 Record browser script auto-collect proof 2026-06-05 12:48:55 +00:00