blob: 8d1fd27eb88e2ffdc7279102cd571f7d2487b70a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
import type { BrowserClient } from "./client";
import { type AnyBrowserToolDefinition, registerBrowserTool } from "./util/tool";
import { clickTool } from "./domains/click";
const TOOLS: ReadonlyArray<AnyBrowserToolDefinition> = [
clickTool,
];
export const registerAllTools = (pi: ExtensionAPI, client: BrowserClient): void => {
for (const t of TOOLS) registerBrowserTool(pi, client, t);
};
|