UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

21 lines 1.01 kB
import { z } from 'zod/v4'; import type { ToolCallContext } from '../models/ToolCallContext'; import type { ToolCallResult } from '../models/ToolCallResult'; import { Tool } from './Tool'; export declare const SummarizeLearningsCoreSchema: z.ZodObject<{ summary: z.ZodString; }, z.core.$strip>; export declare const SummarizeLearningsGptSchema: z.ZodObject<{ summary: z.ZodString; rationale: z.ZodString; }, z.core.$strip>; /** * Tool for summarizing learnings made over the course of the flow. */ export declare class SummarizeLearningsTool extends Tool<typeof SummarizeLearningsCoreSchema, typeof SummarizeLearningsGptSchema> { static readonly NAME = "summarizeLearnings"; constructor(); call(_context: ToolCallContext, _parameters: z.infer<typeof SummarizeLearningsCoreSchema>): Promise<ToolCallResult>; callFromGpt(_context: ToolCallContext, parameters: z.infer<typeof SummarizeLearningsGptSchema>): Promise<ToolCallResult>; } //# sourceMappingURL=SummarizeLearningsTool.d.ts.map