- 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
- 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>
- 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.
- 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.
- 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.
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>
- 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>
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