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 8f625ae..fcdb66a 100644 --- a/src/registry.ts +++ b/src/registry.ts @@ -17,11 +17,14 @@ import { httpGetTool, networkRequestsTool } from "./domains/network"; import { consoleTool } from "./domains/console"; import { snapshotTool } from "./domains/snapshot"; import { executeJsTool, runScriptTool } from "./domains/js"; +import { setupTool } from "./domains/setup"; // Mutation tools that modify page / browser state are marked `serialized: true` // so they run through a shared async mutex. Observation / read-only tools are // left unmarked and can execute in parallel. const TOOLS: ReadonlyArray<AnyBrowserToolDefinition> = [ + // setup comes first — the agent calls this to self-recover from not-initialized + setupTool, { ...clickTool, serialized: true }, { ...typeTool, serialized: true }, { ...pressKeyTool, serialized: true }, |
