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.63 kB
import { z } from 'zod'; import { Storage } from '../../storage/storage.js'; /** * Infer task completion status by analyzing the codebase for implementation evidence * This tool implements intelligent progress inference from code analysis */ export declare function createProgressInferenceTool(storage: Storage, getWorkingDirectoryDescription: (config: any) => string, config: any): { name: string; description: string; inputSchema: z.ZodObject<{ workingDirectory: z.ZodString; projectId: z.ZodOptional<z.ZodString>; scanDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; fileExtensions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; autoUpdateTasks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; confidenceThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { workingDirectory: string; scanDepth: number; fileExtensions: string[]; autoUpdateTasks: boolean; confidenceThreshold: number; projectId?: string | undefined; }, { workingDirectory: string; projectId?: string | undefined; scanDepth?: number | undefined; fileExtensions?: string[] | undefined; autoUpdateTasks?: boolean | undefined; confidenceThreshold?: number | undefined; }>; handler: (args: any) => Promise<{ content: { type: "text"; text: string; }[]; isError?: undefined; } | { content: { type: "text"; text: string; }[]; isError: boolean; }>; };