From 45a8098d3afe181b281f4fc908199852a11b1299 Mon Sep 17 00:00:00 2001 From: teknium1 Date: Mon, 16 Feb 2026 02:41:24 -0800 Subject: [PATCH] Remove browserbase SDK check and add Node.js and agent-browser validation in doctor script - Removed the check for the browserbase SDK from the optional packages list. - Added validation for Node.js installation and the presence of the agent-browser package, providing feedback on their status for browser automation tools. --- hermes_cli/doctor.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hermes_cli/doctor.py b/hermes_cli/doctor.py index 9abe5975..3d12e2cf 100644 --- a/hermes_cli/doctor.py +++ b/hermes_cli/doctor.py @@ -103,7 +103,6 @@ def run_doctor(args): optional_packages = [ ("croniter", "Croniter (cron expressions)"), - ("browserbase", "Browserbase SDK"), ("telegram", "python-telegram-bot"), ("discord", "discord.py"), ] @@ -255,6 +254,18 @@ def run_doctor(args): check_fail("TERMINAL_SSH_HOST not set", "(required for TERMINAL_ENV=ssh)") issues.append("Set TERMINAL_SSH_HOST in .env") + # Node.js + agent-browser (for browser automation tools) + if shutil.which("node"): + check_ok("Node.js") + # Check if agent-browser is installed + agent_browser_path = PROJECT_ROOT / "node_modules" / "agent-browser" + if agent_browser_path.exists(): + check_ok("agent-browser (Node.js)", "(browser automation)") + else: + check_warn("agent-browser not installed", "(run: npm install)") + else: + check_warn("Node.js not found", "(optional, needed for browser tools)") + # ========================================================================= # Check: API connectivity # =========================================================================