UNPKG

orchestry-mcp

Version:

Orchestry MCP Server for multi-session task management

636 lines 20.7 kB
import { Server as SocketIOServer } from 'socket.io'; import { Database } from '../database.js'; export declare class OrchestryTools { private db; private io; constructor(db: Database, io: SocketIOServer); getToolDefinitions(): ({ name: string; description: string; inputSchema: { type: string; properties: { name: { type: string; description: string; }; description: { type: string; description: string; }; sessionId: { type: string; description: string; }; projectId?: undefined; color?: undefined; icon?: undefined; workspaceId?: undefined; title?: undefined; priority?: undefined; successCriteria?: undefined; targetDate?: undefined; goalId?: undefined; parentTaskId?: undefined; status?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { name?: undefined; description?: undefined; sessionId?: undefined; projectId?: undefined; color?: undefined; icon?: undefined; workspaceId?: undefined; title?: undefined; priority?: undefined; successCriteria?: undefined; targetDate?: undefined; goalId?: undefined; parentTaskId?: undefined; status?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; query?: undefined; }; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { projectId: { type: string; }; name: { type: string; description?: undefined; }; description: { type: string; description?: undefined; }; color: { type: string; description: string; }; icon: { type: string; description: string; }; sessionId?: undefined; workspaceId?: undefined; title?: undefined; priority?: undefined; successCriteria?: undefined; targetDate?: undefined; goalId?: undefined; parentTaskId?: undefined; status?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { workspaceId: { type: string; }; title: { type: string; }; description: { type: string; description?: undefined; }; priority: { type: string; enum: string[]; }; successCriteria: { type: string; items: { type: string; }; }; targetDate: { type: string; format: string; }; name?: undefined; sessionId?: undefined; projectId?: undefined; color?: undefined; icon?: undefined; goalId?: undefined; parentTaskId?: undefined; status?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { goalId: { type: string; }; parentTaskId: { type: string; description: string; }; title: { type: string; }; description: { type: string; description?: undefined; }; status: { type: string; enum: string[]; }; priority: { type: string; enum: string[]; }; assigneeId: { type: string; }; dueDate: { type: string; format: string; }; estimatedHours: { type: string; }; checklist: { type: string; items: { type: string; properties: { text: { type: string; }; completed: { type: string; }; }; }; }; dependencies: { type: string; items: { type: string; }; description: string; }; tags: { type: string; items: { type: string; }; }; sessionNotes: { type: string; description: string; }; name?: undefined; sessionId?: undefined; projectId?: undefined; color?: undefined; icon?: undefined; workspaceId?: undefined; successCriteria?: undefined; targetDate?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { taskId: { type: string; }; status: { type: string; enum: string[]; }; name?: undefined; description?: undefined; sessionId?: undefined; projectId?: undefined; color?: undefined; icon?: undefined; workspaceId?: undefined; title?: undefined; priority?: undefined; successCriteria?: undefined; targetDate?: undefined; goalId?: undefined; parentTaskId?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { projectId: { type: string; }; name: { type: string; description?: undefined; }; type: { type: string; enum: string[]; }; llmModel: { type: string; description: string; }; context: { type: string; description: string; }; description?: undefined; sessionId?: undefined; color?: undefined; icon?: undefined; workspaceId?: undefined; title?: undefined; priority?: undefined; successCriteria?: undefined; targetDate?: undefined; goalId?: undefined; parentTaskId?: undefined; status?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; taskId?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { projectId: { type: string; }; name?: undefined; description?: undefined; sessionId?: undefined; color?: undefined; icon?: undefined; workspaceId?: undefined; title?: undefined; priority?: undefined; successCriteria?: undefined; targetDate?: undefined; goalId?: undefined; parentTaskId?: undefined; status?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { entityId: { type: string; description: string; }; entityType: { type: string; enum: string[]; }; document: { type: string; properties: { type: { type: string; enum: string[]; }; title: { type: string; }; content: { type: string; description: string; }; url: { type: string; description: string; }; }; required: string[]; }; name?: undefined; description?: undefined; sessionId?: undefined; projectId?: undefined; color?: undefined; icon?: undefined; workspaceId?: undefined; title?: undefined; priority?: undefined; successCriteria?: undefined; targetDate?: undefined; goalId?: undefined; parentTaskId?: undefined; status?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; filters?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { projectId: { type: string; }; filters: { type: string; properties: { workspaceId: { type: string; }; goalId: { type: string; }; assigneeId: { type: string; }; priority: { type: string; enum: string[]; }; sessionId: { type: string; }; }; }; name?: undefined; description?: undefined; sessionId?: undefined; color?: undefined; icon?: undefined; workspaceId?: undefined; title?: undefined; priority?: undefined; successCriteria?: undefined; targetDate?: undefined; goalId?: undefined; parentTaskId?: undefined; status?: undefined; assigneeId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; tags?: undefined; sessionNotes?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; query?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { query: { type: string; description: string; }; status: { type: string; enum: string[]; }; priority: { type: string; enum: string[]; }; assigneeId: { type: string; }; tags: { type: string; items: { type: string; }; }; workspaceId: { type: string; }; goalId: { type: string; }; sessionId: { type: string; description?: undefined; }; name?: undefined; description?: undefined; projectId?: undefined; color?: undefined; icon?: undefined; title?: undefined; successCriteria?: undefined; targetDate?: undefined; parentTaskId?: undefined; dueDate?: undefined; estimatedHours?: undefined; checklist?: undefined; dependencies?: undefined; sessionNotes?: undefined; taskId?: undefined; type?: undefined; llmModel?: undefined; context?: undefined; entityId?: undefined; entityType?: undefined; document?: undefined; filters?: undefined; }; required?: undefined; }; })[]; executeTool(name: string, args: unknown): Promise<unknown>; private createProject; private listProjects; private createWorkspace; private createGoal; private createTask; private updateTaskStatus; private createSession; private getActiveSessions; private linkDocument; private getKanbanBoard; private getProjectHierarchy; private getProjectStats; private searchTasks; private broadcast; } //# sourceMappingURL=index.d.ts.map