Commit Graph

425 Commits

Author SHA1 Message Date
Saurav Panda 7a2a00463b update browser use version 2026-01-27 20:23:00 -08:00
Gregor Žunič 67351127a5 prepare for 0.11.4 launch 2026-01-21 22:13:21 -08:00
Gregor Žunič 5fc3a428c7 better remote session management 2026-01-21 22:12:51 -08:00
Gregor Žunič 4716ae50ce fix: State command now outputs LLM representation, add CLI aliases
- State command outputs same format that browser-use agents see
- Added aliases: bu, browser (all work the same)
- Headed mode now correctly shows browser window
2026-01-19 09:36:20 -08:00
Gregor Žunič 0f9e955276 refactor: Rename CLI from 'bu' to 'browser-use'
- Change main entry point to 'browser-use'
- Move TUI to 'browser-use-tui'
- Add README with human instructions
- Update SKILL.md references

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 09:11:39 -08:00
Gregor Žunič c4ffaca6e7 feat: Add fast CLI for browser automation (bu command)
Implements a fast, persistent browser automation CLI per CLI_SPEC.md:

- Fast CLI layer using stdlib only (<50ms startup)
- Session server with Unix socket IPC (TCP on Windows)
- Browser modes: chromium, real, remote
- Commands: open, click, type, input, scroll, back, screenshot,
  state, switch, close-tab, keys, select, eval, extract
- Python execution with persistent namespace (Jupyter-like REPL)
- Agent task execution (requires API key)
- JSON output mode

The CLI maintains browser sessions across commands, enabling complex
multi-step workflows. Includes Claude skill description for AI-assisted
browser automation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 01:05:35 -08:00
Saurav Panda e1ee8b753f fix: updated aiohttp version 2026-01-16 12:26:30 -08:00
Cursor Agent a87c19253d Bump version to 0.11.2
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-12-16 21:56:03 +00:00
Cursor Agent 06997afaa8 Bump version to 0.11.1
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-12-12 23:40:21 +00:00
mertunsall 110b96dc8d update system prompts 2025-12-10 18:50:10 +00:00
Gregor Žunič 22b37f3c11 prepare for release 2025-12-09 17:03:21 -08:00
Gregor Žunič b1e4d6e686 primitive skills impl (with cookies) 2025-12-08 18:07:00 -08:00
Gregor Žunič 4707bef5e3 added skills with pydantic validation 2025-12-05 15:46:33 -08:00
Cursor Agent 7f4f5cacbc Bump version to 0.10.1 2025-11-29 22:08:07 +00:00
Cursor Agent 879960a16a Bump version to 0.10.0 2025-11-29 22:00:16 +00:00
Mert Unsal a742645416 Revert "Improve demo mode" 2025-11-29 13:09:20 -08:00
Mert Unsal 02cf38e864 Revert "allowing MUCH MORE with coordinates" 2025-11-28 04:00:22 -08:00
mertunsall 46cb1a0ae1 allowing MUCH MORE with coordinates 2025-11-27 14:48:23 -08:00
kalil0321 919372daf1 Merge branch 'main' into kalil0321/demo-mode 2025-11-18 17:59:34 +01:00
kalil0321 19294a56be codespell ignore 2025-11-18 17:36:55 +01:00
Magnus Müller b16adeb1f5 bump 0.9.7 2025-11-18 08:33:56 -08:00
Magnus Müller 49189cb005 bump version 0.9.6 2025-11-15 11:50:36 -08:00
mertunsall 3ec547135b add the system prompt 2025-11-12 21:46:25 -08:00
Aitor bf55fda8f1 Merge branch 'main' into feat/improve-navigation 2025-11-13 04:42:51 +01:00
LarsenCundric fc89e83633 Bump google-genai and anthropic 2025-11-12 18:04:04 -08:00
reformedot 177b6d00dd Merge branch 'feat/improve-navigation' of github.com:browser-use/browser-use into feat/improve-navigation 2025-11-12 18:00:22 -08:00
reformedot 91e82ae85e chore: update cdp-use dependency version and increase max WebSocket frame size in BrowserSession
- Updated cdp-use dependency to version 1.4.4 for improved functionality.
- Increased max WebSocket frame size to 200MB in BrowserSession to accommodate large DOMs.
2025-11-12 18:00:14 -08:00
Aitor 535781e535 Merge branch 'main' into feat/improve-navigation 2025-11-13 02:08:38 +01:00
Cursor Agent eab2376701 Bump openai dependency to version 2.7.2
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-11-12 23:14:41 +00:00
reformedot b4e9ffa984 refactor: implement error handling for asyncio tasks across various components
- Introduced a utility function `create_task_with_error_handling` to manage asyncio tasks with proper exception logging and suppression options.
- Updated multiple components, including `SessionManager`, `BrowserSession`, and various watchdogs, to utilize the new error handling mechanism for background tasks.
- Enhanced overall robustness of asynchronous operations by ensuring exceptions are logged and handled appropriately, improving maintainability and debugging capabilities.
2025-11-11 17:27:54 -08:00
reformedot c99e1bb41f refactor: improve type checking and linting script
- Updated `pyproject.toml` to enhance type checking configuration by refining the `exclude` list and adding an `include` section for better clarity.
- Modified `lint.sh` to run tools directly from the virtual environment, improving execution reliability and avoiding permission errors.
- Enhanced comments in `lint.sh` for better understanding of script functionality and usage.
2025-11-11 12:00:20 -08:00
mertunsall 03c9e94dc6 allow reading images such as jpg/png, as well as docx, fixes to the flash system prompt 2025-11-03 16:41:27 -08:00
Gregor Žunič 2fd577efea docs and version decrease to 0.9.5 2025-10-31 19:15:43 -07:00
Gregor Žunič 508d72dbf2 0.10.0rc1 2025-10-31 15:18:31 -07:00
Gregor Žunič 384ca0573f prepare for release 2025-10-31 15:11:45 -07:00
Gregor Žunič 5e428e829b Merge branch 'main' into feature/remote-code 2025-10-31 12:19:39 -07:00
Aitor 012860178d Bump version from 0.9.3 to 0.9.4 2025-10-29 05:37:13 +01:00
reformedot ba4877a9d4 Merge branch 'main' into feature/remote-code 2025-10-28 19:20:07 -07:00
Alezander9 89772a8344 remove ads inserted by other companies 2025-10-28 16:12:27 -07:00
Magnus Müller d9e9b43359 bump 0.9.3 2025-10-28 13:03:50 -07:00
Reagan Hsu c653d21284 Make init command work without [cli] extras by adding core dependencies
Add click, rich, and InquirerPy to core dependencies to enable
'uvx browser-use init' to work out of the box with beautiful styling
and arrow-key template selection.

Dependencies added to core (all permissive licenses):
- click>=8.1.8 (BSD-3-Clause, 756KB, zero deps)
- rich>=14.0.0 (MIT, 1.8MB, 2 deps: markdown-it-py, pygments)
- InquirerPy>=0.3.4 (MIT, 483KB, 2 deps: prompt-toolkit, pfzy)

Total impact: ~3MB + 4 transitive dependencies
All licenses are compatible with browser-use's MIT license.

Benefits:
- uvx browser-use init works without [cli] extras
- Beautiful terminal output with colors and panels
- Arrow-key navigation for template selection
- Consistent UX across all init methods

[cli] extras now only contain textual for the full TUI application.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 11:30:57 -07:00
Reagan Hsu dd1fca43d7 Make init command work without browser-use[cli] extras
- Add click to core dependencies (moved from [cli] optional deps)
- Create standalone browser_use/init_cmd.py with template generation logic
- Add early check in cli.py to redirect 'init' subcommand to init_cmd.py
- This allows 'uvx browser-use init' to work without installing textual/rich

Users can now run template generation with minimal dependencies:
  uvx browser-use init              # Interactive template selection
  uvx browser-use init -t default   # Generate default template
  uvx browser-use init --list       # List available templates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 11:30:52 -07:00
Reagan Hsu a4839215f5 Add template generation command for quick project setup
Adds `uvx browser-use init` command to generate starter template files,
  making it easier for users to get started with browser-use.

  Changes:
  - Add `init` subcommand with three template options:
    - quickstart: Minimal setup using ChatBrowserUse
    - advanced: All configuration options with defaults
    - tools: Custom action examples
  - Templates support both CLI syntax:
    - `uvx browser-use init --template <name>`
    - `uvx browser-use --template <name>` (shorthand)
  - Add interactive mode when no template specified
  - Include template files in package build
  - All templates use async patterns with Browser(use_cloud=False)

  Usage:
    uvx browser-use init --template quickstart
    uvx browser-use --template advanced --output my_script.py
    uvx browser-use init --list
2025-10-28 11:28:46 -07:00
Magnus Müller 007e7a8dcc Bump version from 0.9.1 to 0.9.2 2025-10-27 17:00:04 -07:00
Magnus Müller ec8810b989 bump version 3 2025-10-24 02:14:08 -07:00
Magnus Müller 24ff856193 linter optimized 2025-10-23 23:29:19 -07:00
Gregor Žunič 1985a3c18a bumped version 2025-10-22 14:49:22 -07:00
Magnus Müller 716caf34af remove dep 2025-10-21 23:34:59 -07:00
Magnus Müller 9caa248316 Merge code7 branch changes 2025-10-21 18:55:54 -07:00
Gregor Žunič 871095e25d switched to cloudpickle approach 2025-10-15 19:40:15 -07:00