feat: add Chrome DevTools Protocol browser tools

Add BrowserManager (puppeteer-core) with page pool and auto-detection of
Chrome/Chromium. Six tools: browser.navigate, browser.screenshot,
browser.click, browser.type, browser.content, browser.eval. Feature is
opt-in (browser.enabled defaults to false). Add to coding tool profile.
Includes 22 unit tests for manager and all tools.
This commit is contained in:
William Valentin
2026-02-06 16:52:03 -08:00
parent 647d7779c7
commit 8c56a5a1a8
8 changed files with 662 additions and 1 deletions
+6
View File
@@ -35,6 +35,12 @@ const PROFILE_TOOLS: Record<ToolProfile, Set<string>> = {
'process.output',
'process.kill',
'process.list',
'browser.navigate',
'browser.screenshot',
'browser.click',
'browser.type',
'browser.content',
'browser.eval',
]),
full: new Set(), // Special: matches everything
};