UNPKG

@measey/mycoder-agent

Version:

Agent module for mycoder - an AI-powered software development assistant

49 lines 1.82 kB
import { z } from 'zod'; import { Tool } from '../../core/types.js'; import { SelectorType } from './lib/types.js'; declare const parameterSchema: z.ZodObject<{ sessionId: z.ZodString; actionType: z.ZodEnum<["goto", "click", "type", "wait", "content", "close"]>; url: z.ZodOptional<z.ZodString>; selector: z.ZodOptional<z.ZodString>; selectorType: z.ZodOptional<z.ZodNativeEnum<typeof SelectorType>>; text: z.ZodOptional<z.ZodString>; contentFilter: z.ZodOptional<z.ZodEnum<["raw", "smartMarkdown"]>>; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; sessionId: string; actionType: "goto" | "click" | "type" | "wait" | "content" | "close"; text?: string | undefined; url?: string | undefined; selector?: string | undefined; selectorType?: SelectorType | undefined; contentFilter?: "raw" | "smartMarkdown" | undefined; }, { description: string; sessionId: string; actionType: "goto" | "click" | "type" | "wait" | "content" | "close"; text?: string | undefined; url?: string | undefined; selector?: string | undefined; selectorType?: SelectorType | undefined; contentFilter?: "raw" | "smartMarkdown" | undefined; }>; declare const returnSchema: z.ZodObject<{ status: z.ZodString; content: z.ZodOptional<z.ZodString>; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { status: string; error?: string | undefined; content?: string | undefined; }, { status: string; error?: string | undefined; content?: string | undefined; }>; type Parameters = z.infer<typeof parameterSchema>; type ReturnType = z.infer<typeof returnSchema>; export declare const sessionMessageTool: Tool<Parameters, ReturnType>; export {}; //# sourceMappingURL=sessionMessage.d.ts.map