fix: normalize live Chrome CDP endpoints for browser tools

This commit is contained in:
cmcleay
2026-03-19 14:06:49 +00:00
committed by Test
parent 36a4481152
commit bb59057d5d
3 changed files with 99 additions and 3 deletions

2
cli.py
View File

@@ -3926,7 +3926,7 @@ class HermesCLI:
parts = cmd.strip().split(None, 1)
sub = parts[1].lower().strip() if len(parts) > 1 else "status"
_DEFAULT_CDP = "ws://localhost:9222"
_DEFAULT_CDP = "http://localhost:9222"
current = os.environ.get("BROWSER_CDP_URL", "").strip()
if sub.startswith("connect"):