diff options
Diffstat (limited to 'src/registry.ts')
| -rw-r--r-- | src/registry.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/registry.ts b/src/registry.ts index c7ff5c8..a063c9f 100644 --- a/src/registry.ts +++ b/src/registry.ts @@ -20,6 +20,7 @@ import { snapshotTool } from "./domains/snapshot"; import { executeJsTool, runScriptTool } from "./domains/js"; import { setupTool } from "./domains/setup"; import { webSearchTool } from "./domains/search/web-search"; +import { readPageTool } from "./domains/readpage/read-page"; // Mutation tools that modify page / browser state are marked `serialized: true` // so they run through a shared async mutex. Observation / read-only tools are @@ -64,6 +65,8 @@ const TOOLS: ReadonlyArray<AnyBrowserToolDefinition> = [ runScriptTool, // Opens and owns an isolated tab to scrape a SERP — same class as openUrlsTool. { ...webSearchTool, serialized: true }, + // Pure isolated read (own sessionId, own tab) — safe concurrent, like executeJsTool. + readPageTool, ]; export const registerAllTools = (pi: ExtensionAPI, client: BrowserClient): void => { |
