chore: checkpoint browser tooling and routing updates

This commit is contained in:
William Valentin
2026-02-17 15:18:37 -08:00
parent 0a4cfda787
commit 9a2f1e2bb2
15 changed files with 499 additions and 67 deletions
+3 -1
View File
@@ -66,7 +66,7 @@ export function initTools(deps: ToolsDeps): ToolsResult {
}
// Initialize browser manager and register browser tools (if enabled)
const browserToolNames = ['browser.navigate', 'browser.screenshot', 'browser.click', 'browser.type', 'browser.content', 'browser.eval'];
const browserToolNames = ['browser.navigate', 'browser.screenshot', 'browser.click', 'browser.type', 'browser.content', 'browser.eval', 'browser.evaluate'];
let browserManager: BrowserManager | undefined;
if (config.browser?.enabled) {
const manager = new BrowserManager({
@@ -108,6 +108,8 @@ export function initTools(deps: ToolsDeps): ToolsResult {
const availableBrowserTools = browserToolNames.filter((name) => allowed.has(name));
if (availableBrowserTools.length === 0) {
console.log('Browser tools are registered but blocked by tool policy (use tools.profile=coding/full or tools.allow).');
} else {
console.log(`Browser tools available after policy: ${availableBrowserTools.join(', ')}`);
}
}