Files
hermes-agent/tools/browser_tool.py
T
Teknium 68500d9ff9 refactor(browser)!: delete the built-in browser_* tools, agent-browser and bundled Camofox
browser_exec is the only core browser tool (plus browser_cdp, browser_dialog,
browser_vault, all CDP). Deleted: browser_navigate/snapshot/click/type/
scroll/back/press/get_images/vision/console and every module that served
them (browser_tool_session/_lifecycle/_cloud/_cdp/_real_profile/
_lightpanda_fallback/_eval_policy/_origin/_snapshot/_vision) plus
browser_camofox*.py (Camofox ships as the catalog plugin 'camofox').
tools/browser_tool.py and tools/browser_tool_install.py shrink to the
frozen old-updater stub warm_agent_browser_npx_cache.

toolsets: _HERMES_CORE_TOOLS / browser toolset list only the CDP tools.
model_tools: browser_tools legacy alias and the browser_navigate /
browser_type schema rewriters removed. Cloud providers no longer request an
install post_setup hook (nothing to install).
2026-10-23 01:41:24 -07:00

12 lines
577 B
Python

"""Frozen old-updater compatibility stub (tests/compat/old_updater_surface.json, ``bare`` list).
The built-in browser_* tools and agent-browser are gone; ``browser_exec`` (``tools/browser_use_cli.py``)
is the browser. A pre-PM ``hermes update`` still running mid-swap imports this module and the name below
from the NEW tree, so both must keep existing. Nothing else belongs here.
"""
def warm_agent_browser_npx_cache(timeout: float = 60.0) -> bool:
"""Frozen old-updater surface: nothing is warmed (there is no agent-browser to warm); always False."""
return False