@measey/mycoder-agent
Version:
Agent module for mycoder - an AI-powered software development assistant
67 lines • 2.15 kB
TypeScript
import { z } from 'zod';
import { Tool } from '../../core/types.js';
declare const parameterSchema: z.ZodObject<{
status: z.ZodOptional<z.ZodEnum<["all", "running", "completed", "error", "terminated"]>>;
verbose: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
status?: "running" | "completed" | "error" | "terminated" | "all" | undefined;
verbose?: boolean | undefined;
}, {
status?: "running" | "completed" | "error" | "terminated" | "all" | undefined;
verbose?: boolean | undefined;
}>;
declare const returnSchema: z.ZodObject<{
shells: z.ZodArray<z.ZodObject<{
shellId: z.ZodString;
status: z.ZodString;
startTime: z.ZodString;
endTime: z.ZodOptional<z.ZodString>;
runtime: z.ZodNumber;
command: z.ZodString;
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
status: string;
startTime: string;
command: string;
shellId: string;
runtime: number;
endTime?: string | undefined;
metadata?: Record<string, any> | undefined;
}, {
status: string;
startTime: string;
command: string;
shellId: string;
runtime: number;
endTime?: string | undefined;
metadata?: Record<string, any> | undefined;
}>, "many">;
count: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
shells: {
status: string;
startTime: string;
command: string;
shellId: string;
runtime: number;
endTime?: string | undefined;
metadata?: Record<string, any> | undefined;
}[];
count: number;
}, {
shells: {
status: string;
startTime: string;
command: string;
shellId: string;
runtime: number;
endTime?: string | undefined;
metadata?: Record<string, any> | undefined;
}[];
count: number;
}>;
type Parameters = z.infer<typeof parameterSchema>;
type ReturnType = z.infer<typeof returnSchema>;
export declare const listShellsTool: Tool<Parameters, ReturnType>;
export {};
//# sourceMappingURL=listShells.d.ts.map