File tree Expand file tree Collapse file tree 6 files changed +25
-6
lines changed
packages/core/lib/v3/agent/tools Expand file tree Collapse file tree 6 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ import { tool } from "ai";
22import { z } from "zod" ;
33import type { V3 } from "../../v3" ;
44import 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" ;
69import { processCoordinates } from "../utils/coordinateNormalization" ;
710import { ensureXPath } from "../utils/xpath" ;
811import { waitAndCaptureScreenshot } from "../utils/screenshotHandler" ;
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ import { tool } from "ai";
22import { z } from "zod" ;
33import type { V3 } from "../../v3" ;
44import 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" ;
69import { processCoordinates } from "../utils/coordinateNormalization" ;
710import { ensureXPath } from "../utils/xpath" ;
811import { waitAndCaptureScreenshot } from "../utils/screenshotHandler" ;
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ import { tool } from "ai";
22import { z } from "zod" ;
33import type { V3 } from "../../v3" ;
44import 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" ;
69import { processCoordinates } from "../utils/coordinateNormalization" ;
710import { ensureXPath } from "../utils/xpath" ;
811import { waitAndCaptureScreenshot } from "../utils/screenshotHandler" ;
Original file line number Diff line number Diff line change 11import { tool } from "ai" ;
22import { z } from "zod" ;
33import 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" ;
58import { processCoordinates } from "../utils/coordinateNormalization" ;
69import { waitAndCaptureScreenshot } from "../utils/screenshotHandler" ;
710
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ import { tool } from "ai";
22import { z } from "zod" ;
33import type { V3 } from "../../v3" ;
44import 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" ;
69import { processCoordinates } from "../utils/coordinateNormalization" ;
710import { ensureXPath } from "../utils/xpath" ;
811import { waitAndCaptureScreenshot } from "../utils/screenshotHandler" ;
Original file line number Diff line number Diff line change 11import { tool } from "ai" ;
22import { z } from "zod" ;
33import 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" ;
59import { waitAndCaptureScreenshot } from "../utils/screenshotHandler" ;
610
711export const waitTool = ( v3 : V3 , mode ?: AgentToolMode ) =>
You can’t perform that action at this time.
0 commit comments