fix: add browser_console to browser toolset and core tools list (#1084)

browser_console was registered in the tool registry but missing from
all toolset definitions (TOOLSETS, _HERMES_CORE_TOOLS, _LEGACY_TOOLSET_MAP),
so the agent could never discover or use it.

Added to all 4 locations + 4 wiring tests.

Cherry-picked from PR #1084 by @0xbyt4 (authorship preserved in tests).
This commit is contained in:
0xbyt4 2026-03-17 02:02:49 -07:00 committed by teknium1
parent 7d91b436e4
commit 68fbcdaa06
3 changed files with 25 additions and 4 deletions

View file

@ -149,7 +149,7 @@ _LEGACY_TOOLSET_MAP = {
"browser_navigate", "browser_snapshot", "browser_click",
"browser_type", "browser_scroll", "browser_back",
"browser_press", "browser_close", "browser_get_images",
"browser_vision"
"browser_vision", "browser_console"
],
"cronjob_tools": ["cronjob"],
"rl_tools": [