Skip to content

Commit 93faeb8

Browse files
committed
format
1 parent 69bc422 commit 93faeb8

File tree

6 files changed

+25
-6
lines changed

6 files changed

+25
-6
lines changed

packages/core/lib/v3/agent/tools/click.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import { tool } from "ai";
22
import { z } from "zod";
33
import type { V3 } from "../../v3";
44
import type { Action } from "../../types/public/methods";
5-
import type { ClickToolResult, ModelOutputContentItem } from "../../types/public/agent";
5+
import type {
6+
ClickToolResult,
7+
ModelOutputContentItem,
8+
} from "../../types/public/agent";
69
import { processCoordinates } from "../utils/coordinateNormalization";
710
import { ensureXPath } from "../utils/xpath";
811
import { waitAndCaptureScreenshot } from "../utils/screenshotHandler";

packages/core/lib/v3/agent/tools/dragAndDrop.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import { tool } from "ai";
22
import { z } from "zod";
33
import type { V3 } from "../../v3";
44
import type { Action } from "../../types/public/methods";
5-
import type { DragAndDropToolResult, ModelOutputContentItem } from "../../types/public/agent";
5+
import type {
6+
DragAndDropToolResult,
7+
ModelOutputContentItem,
8+
} from "../../types/public/agent";
69
import { processCoordinates } from "../utils/coordinateNormalization";
710
import { ensureXPath } from "../utils/xpath";
811
import { waitAndCaptureScreenshot } from "../utils/screenshotHandler";

packages/core/lib/v3/agent/tools/fillFormVision.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import { tool } from "ai";
22
import { z } from "zod";
33
import type { V3 } from "../../v3";
44
import type { Action } from "../../types/public/methods";
5-
import type { FillFormVisionToolResult, ModelOutputContentItem } from "../../types/public/agent";
5+
import type {
6+
FillFormVisionToolResult,
7+
ModelOutputContentItem,
8+
} from "../../types/public/agent";
69
import { processCoordinates } from "../utils/coordinateNormalization";
710
import { ensureXPath } from "../utils/xpath";
811
import { waitAndCaptureScreenshot } from "../utils/screenshotHandler";

packages/core/lib/v3/agent/tools/scroll.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { tool } from "ai";
22
import { z } from "zod";
33
import type { V3 } from "../../v3";
4-
import type { ScrollVisionToolResult, ModelOutputContentItem } from "../../types/public/agent";
4+
import type {
5+
ScrollVisionToolResult,
6+
ModelOutputContentItem,
7+
} from "../../types/public/agent";
58
import { processCoordinates } from "../utils/coordinateNormalization";
69
import { waitAndCaptureScreenshot } from "../utils/screenshotHandler";
710

packages/core/lib/v3/agent/tools/type.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import { tool } from "ai";
22
import { z } from "zod";
33
import type { V3 } from "../../v3";
44
import type { Action } from "../../types/public/methods";
5-
import type { TypeToolResult, ModelOutputContentItem } from "../../types/public/agent";
5+
import type {
6+
TypeToolResult,
7+
ModelOutputContentItem,
8+
} from "../../types/public/agent";
69
import { processCoordinates } from "../utils/coordinateNormalization";
710
import { ensureXPath } from "../utils/xpath";
811
import { waitAndCaptureScreenshot } from "../utils/screenshotHandler";

packages/core/lib/v3/agent/tools/wait.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { tool } from "ai";
22
import { z } from "zod";
33
import type { V3 } from "../../v3";
4-
import type { AgentToolMode, WaitToolResult, ModelOutputContentItem } from "../../types/public/agent";
4+
import type {
5+
AgentToolMode,
6+
WaitToolResult,
7+
ModelOutputContentItem,
8+
} from "../../types/public/agent";
59
import { waitAndCaptureScreenshot } from "../utils/screenshotHandler";
610

711
export const waitTool = (v3: V3, mode?: AgentToolMode) =>

0 commit comments

Comments
 (0)