UNPKG

@snapspecter/mcp-meta-mind

Version:

Meta Mind MCP Server - Advanced Model Context Protocol server for intelligent task management, workflow orchestration, and automatic archiving with hierarchical structures and agent specialization

38 lines (37 loc) 2.47 kB
import { z } from "zod"; import { RequestPlanningSchema, GetNextTaskSchema, MarkTaskDoneSchema, MarkTaskFailedSchema, OpenTaskDetailsSchema, ListRequestsSchema, AddTasksToRequestSchema, UpdateTaskSchema, AddDependencySchema, RemoveDependencySchema, ValidateDependenciesSchema, DeleteTaskSchema, AddSubtaskSchema, RemoveSubtaskSchema, ArchiveTaskTreeSchema, LogTaskCompletionSummarySchema, SplitTaskSchema, MergeTasksSchema } from "./schemas.js"; export declare class TaskManagerServer { private taskRepository; private isInitialized; constructor(); init(): Promise<void>; private _assertInitialized; private _getRequestEntryOrThrow; private _getTaskOrThrow; private _getTaskFromAnyRequestOrThrow; private _areAllDescendantsStatus; private _isTaskTreeFullyTerminal; private _collectTaskWithDescendants; private _autoArchiveTaskTree; requestPlanning(params: z.infer<typeof RequestPlanningSchema>): Promise<object>; getNextTask(params: z.infer<typeof GetNextTaskSchema>): Promise<object>; markTaskDone(params: z.infer<typeof MarkTaskDoneSchema>): Promise<object>; markTaskFailed(params: z.infer<typeof MarkTaskFailedSchema>): Promise<object>; updateTask(params: z.infer<typeof UpdateTaskSchema>): Promise<object>; deleteTask(params: z.infer<typeof DeleteTaskSchema>): Promise<object>; addSubtask(params: z.infer<typeof AddSubtaskSchema>): Promise<object>; removeSubtask(params: z.infer<typeof RemoveSubtaskSchema>): Promise<object>; archiveTaskTree(params: z.infer<typeof ArchiveTaskTreeSchema>): Promise<object>; logTaskCompletionSummary(params: z.infer<typeof LogTaskCompletionSummarySchema>): Promise<object>; openTaskDetails(params: z.infer<typeof OpenTaskDetailsSchema>): Promise<object>; listRequests(params: z.infer<typeof ListRequestsSchema>): Promise<object>; addTasksToRequest(params: z.infer<typeof AddTasksToRequestSchema>): Promise<object>; addDependency(params: z.infer<typeof AddDependencySchema>): Promise<object>; removeDependency(params: z.infer<typeof RemoveDependencySchema>): Promise<object>; validateDependencies(params: z.infer<typeof ValidateDependenciesSchema>): Promise<object>; splitTask(params: z.infer<typeof SplitTaskSchema>): Promise<object>; mergeTasks(params: z.infer<typeof MergeTasksSchema>): Promise<object>; private _handleParentCompletion; private _formatTaskProgressTable; private _formatRequestsList; }