browser-use--browser-harness
b05be93d60
Cut ipc.py from 127 to 68 lines (-46%) by removing restated docstrings and keeping only load-bearing inline comments (path-traversal guard, uv-Python AF_UNIX gating, Windows .port-file role). Same logic, same call sites. Rename ipc -> _ipc per Python convention for internal modules. The IPC plumbing is only called by daemon/admin/helpers; agents reading helpers.py should not be pulled into transport details. Callers do 'import _ipc as ipc' so internal ipc.foo references stay unchanged.
22 行
517 B
TOML
22 行
517 B
TOML
[build-system]
|
|
requires = ["setuptools>=69"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "browser-harness"
|
|
version = "0.1.0"
|
|
description = "The simplest, thinnest, and most powerful harness to control your real browser with your agent."
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"cdp-use==1.4.5",
|
|
"fetch-use==0.4.0",
|
|
"pillow==12.2.0",
|
|
"websockets==15.0.1",
|
|
]
|
|
|
|
[project.scripts]
|
|
browser-harness = "run:main"
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["run", "helpers", "daemon", "admin", "_ipc"]
|