@measey/mycoder-agent
Version:
Agent module for mycoder - an AI-powered software development assistant
45 lines • 1.44 kB
TypeScript
import { z } from 'zod';
import { Tool } from '../../core/types.js';
declare const parameterSchema: z.ZodObject<{
agentId: z.ZodString;
guidance: z.ZodOptional<z.ZodString>;
terminate: z.ZodOptional<z.ZodBoolean>;
description: z.ZodString;
}, "strip", z.ZodTypeAny, {
agentId: string;
description: string;
guidance?: string | undefined;
terminate?: boolean | undefined;
}, {
agentId: string;
description: string;
guidance?: string | undefined;
terminate?: boolean | undefined;
}>;
declare const returnSchema: z.ZodObject<{
output: z.ZodString;
completed: z.ZodBoolean;
error: z.ZodOptional<z.ZodString>;
terminated: z.ZodOptional<z.ZodBoolean>;
messageSent: z.ZodOptional<z.ZodBoolean>;
messageCount: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
completed: boolean;
output: string;
error?: string | undefined;
terminated?: boolean | undefined;
messageCount?: number | undefined;
messageSent?: boolean | undefined;
}, {
completed: boolean;
output: string;
error?: string | undefined;
terminated?: boolean | undefined;
messageCount?: number | undefined;
messageSent?: boolean | undefined;
}>;
type Parameters = z.infer<typeof parameterSchema>;
type ReturnType = z.infer<typeof returnSchema>;
export declare const agentMessageTool: Tool<Parameters, ReturnType>;
export {};
//# sourceMappingURL=agentMessage.d.ts.map