3e3b8d529c
- Change nav open and open-wait to avoid activating newly created tabs unless --focus is explicitly requested. - Send background=true for default opens so older or remote extensions also avoid stealing focus even if they ignore the new focus flag. - Remove the redundant --bg flag from navigation and search CLI commands now that no-focus/background behavior is the default. - Thread focus support through the sync SDK, async SDK, tab helpers, and workflow decorators. - Update README and demo usage to document the new default and --focus opt-in. - Bump package and extension metadata to 0.12.3. - Add regression coverage for CLI help, wire payloads, and extension behavior.
38 lines
767 B
TOML
38 lines
767 B
TOML
[project]
|
|
name = "browser-cli"
|
|
version = "0.12.3"
|
|
description = "Control your real running browser from the terminal or Python SDK"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"click>=8",
|
|
"cryptography>=48",
|
|
"rich>=13",
|
|
"msgpack>=1",
|
|
"httpx>=0.28",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# Better/faster remote response compression than the stdlib zlib/gzip fallback.
|
|
fast = ["zstandard>=0.22"]
|
|
|
|
[project.scripts]
|
|
browser-cli = "browser_cli.cli:main"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8",
|
|
"pytest-cov>=7.1.0",
|
|
"zstandard>=0.22",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["browser_cli"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
log_level = "INFO"
|