UNPKG

@pimzino/agentic-tools-mcp

Version:

A comprehensive MCP server for task management and agent memories with JSON file storage

46 lines (45 loc) 1.67 kB
import { z } from 'zod'; import { Storage } from '../../storage/storage.js'; /** * Recommend the next task to work on based on dependencies, priorities, and current status * This tool implements intelligent task recommendation for optimal workflow management */ export declare function createNextTaskRecommendationTool(storage: Storage, getWorkingDirectoryDescription: (config: any) => string, config: any): { name: string; description: string; inputSchema: z.ZodObject<{ workingDirectory: z.ZodString; projectId: z.ZodOptional<z.ZodString>; maxRecommendations: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; considerComplexity: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; preferredTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; excludeBlocked: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { workingDirectory: string; maxRecommendations: number; considerComplexity: boolean; excludeBlocked: boolean; projectId?: string | undefined; preferredTags?: string[] | undefined; }, { workingDirectory: string; projectId?: string | undefined; maxRecommendations?: number | undefined; considerComplexity?: boolean | undefined; preferredTags?: string[] | undefined; excludeBlocked?: boolean | undefined; }>; handler: (args: any) => Promise<{ content: { type: "text"; text: string; }[]; isError?: undefined; } | { content: { type: "text"; text: string; }[]; isError: boolean; }>; };