UNPKG

@measey/mycoder-agent

Version:

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

42 lines 1.19 kB
import { z } from 'zod'; import { Tool } from '../../core/types.js'; declare const parameterSchema: z.ZodObject<{ command: z.ZodString; description: z.ZodString; timeout: z.ZodOptional<z.ZodNumber>; stdinContent: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { command: string; description: string; timeout?: number | undefined; stdinContent?: string | undefined; }, { command: string; description: string; timeout?: number | undefined; stdinContent?: string | undefined; }>; declare const returnSchema: z.ZodObject<{ stdout: z.ZodString; stderr: z.ZodString; command: z.ZodString; code: z.ZodNumber; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { command: string; code: number; stdout: string; stderr: string; error?: string | undefined; }, { command: string; code: number; stdout: string; stderr: string; error?: string | undefined; }>; type Parameters = z.infer<typeof parameterSchema>; type ReturnType = z.infer<typeof returnSchema>; export declare const shellExecuteTool: Tool<Parameters, ReturnType>; export {}; //# sourceMappingURL=shellExecute.d.ts.map