UNPKG

@hivetechs/hive-ai

Version:

Real-time streaming AI consensus platform with HTTP+SSE MCP integration for Claude Code, VS Code, Cursor, and Windsurf - powered by OpenRouter's unified API

264 lines 8.92 kB
import { z } from 'zod'; export declare const InitProjectToolSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional<z.ZodString>; consensusEnabled: z.ZodDefault<z.ZodBoolean>; costTracking: z.ZodDefault<z.ZodBoolean>; budgetLimit: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { name: string; costTracking: boolean; consensusEnabled: boolean; description?: string | undefined; budgetLimit?: number | undefined; }, { name: string; description?: string | undefined; costTracking?: boolean | undefined; consensusEnabled?: boolean | undefined; budgetLimit?: number | undefined; }>; export declare const ParsePRDToolSchema: z.ZodObject<{ filePath: z.ZodString; projectId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { filePath: string; projectId?: string | undefined; }, { filePath: string; projectId?: string | undefined; }>; export declare const ListTasksToolSchema: z.ZodObject<{ projectId: z.ZodString; status: z.ZodOptional<z.ZodEnum<["todo", "in_progress", "review", "completed", "blocked"]>>; priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>; }, "strip", z.ZodTypeAny, { projectId: string; status?: "completed" | "blocked" | "todo" | "in_progress" | "review" | undefined; priority?: "critical" | "high" | "low" | "medium" | undefined; }, { projectId: string; status?: "completed" | "blocked" | "todo" | "in_progress" | "review" | undefined; priority?: "critical" | "high" | "low" | "medium" | undefined; }>; export declare const UpdateTaskToolSchema: z.ZodObject<{ projectId: z.ZodString; taskId: z.ZodString; status: z.ZodOptional<z.ZodEnum<["todo", "in_progress", "review", "completed", "blocked"]>>; priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>; actualHours: z.ZodOptional<z.ZodNumber>; assignedTo: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectId: string; taskId: string; status?: "completed" | "blocked" | "todo" | "in_progress" | "review" | undefined; priority?: "critical" | "high" | "low" | "medium" | undefined; assignedTo?: string | undefined; actualHours?: number | undefined; }, { projectId: string; taskId: string; status?: "completed" | "blocked" | "todo" | "in_progress" | "review" | undefined; priority?: "critical" | "high" | "low" | "medium" | undefined; assignedTo?: string | undefined; actualHours?: number | undefined; }>; export declare const GetRecommendedTaskToolSchema: z.ZodObject<{ projectId: z.ZodString; }, "strip", z.ZodTypeAny, { projectId: string; }, { projectId: string; }>; export declare const ConsensusTaskToolSchema: z.ZodObject<{ projectId: z.ZodString; taskRequest: z.ZodString; }, "strip", z.ZodTypeAny, { projectId: string; taskRequest: string; }, { projectId: string; taskRequest: string; }>; export declare const ProjectStatusToolSchema: z.ZodObject<{ projectId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectId?: string | undefined; }, { projectId?: string | undefined; }>; export declare const ExportProjectToolSchema: z.ZodObject<{ projectId: z.ZodString; format: z.ZodDefault<z.ZodEnum<["json", "markdown", "csv"]>>; }, "strip", z.ZodTypeAny, { format: "json" | "csv" | "markdown"; projectId: string; }, { projectId: string; format?: "json" | "csv" | "markdown" | undefined; }>; export declare const initProjectToolName = "init_project"; export declare const initProjectToolDescription = "Initialize a new AI project with management capabilities"; export declare const parsePRDToolName = "parse_prd"; export declare const parsePRDToolDescription = "Parse a Product Requirements Document into actionable tasks using 4-stage consensus"; export declare const listTasksToolName = "list_tasks"; export declare const listTasksToolDescription = "List project tasks with optional filtering"; export declare const updateTaskToolName = "update_task"; export declare const updateTaskToolDescription = "Update task status, priority, or other properties"; export declare const getRecommendedTaskToolName = "get_recommended_task"; export declare const getRecommendedTaskToolDescription = "Get the next recommended task based on priorities and dependencies"; export declare const consensusTaskToolName = "consensus_task"; export declare const consensusTaskToolDescription = "Use 4-stage consensus to analyze and plan a task"; export declare const projectStatusToolName = "project_status"; export declare const projectStatusToolDescription = "Get project status, analytics, and progress summary"; export declare const exportProjectToolName = "export_project"; export declare const exportProjectToolDescription = "Export project data in various formats"; export declare function runInitProjectTool(args: z.infer<typeof InitProjectToolSchema>): Promise<{ result: string; project: { id: string; name: string; status: "active" | "completed" | "paused" | "archived"; consensusEnabled: boolean; costTracking: boolean; }; error?: undefined; } | { error: string; result?: undefined; project?: undefined; }>; export declare function runParsePRDTool(args: z.infer<typeof ParsePRDToolSchema>): Promise<{ result: string; tasksGenerated: number; tasks: { id: string; title: string; priority: "critical" | "high" | "low" | "medium"; estimatedHours: number | undefined; }[]; error?: undefined; } | { error: string; result?: undefined; tasksGenerated?: undefined; tasks?: undefined; }>; export declare function runListTasksTool(args: z.infer<typeof ListTasksToolSchema>): Promise<{ error: string; result?: undefined; tasks?: undefined; summary?: undefined; } | { result: string; tasks: never[]; error?: undefined; summary?: undefined; } | { result: string; tasks: { id: string; title: string; status: "completed" | "blocked" | "todo" | "in_progress" | "review"; priority: "critical" | "high" | "low" | "medium"; }[]; summary: { total: number; completed: number; progress: number; }; error?: undefined; }>; export declare function runUpdateTaskTool(args: z.infer<typeof UpdateTaskToolSchema>): Promise<{ result: string; task: { id: string; title: string; status: "completed" | "blocked" | "todo" | "in_progress" | "review"; priority: "critical" | "high" | "low" | "medium"; updatedAt: string; }; error?: undefined; } | { error: string; result?: undefined; task?: undefined; }>; export declare function runGetRecommendedTaskTool(args: z.infer<typeof GetRecommendedTaskToolSchema>): Promise<{ result: string; recommendedTask: null; error?: undefined; } | { result: string; recommendedTask: { id: string; title: string; priority: "critical" | "high" | "low" | "medium"; estimatedHours: number | undefined; description: string; }; error?: undefined; } | { error: string; result?: undefined; recommendedTask?: undefined; }>; export declare function runConsensusTaskTool(args: z.infer<typeof ConsensusTaskToolSchema>): Promise<{ result: string; consensus: { score: number; providers: string[]; refinedRequirement: string; implementationPlan: string; riskAssessment: string; }; error?: undefined; } | { error: string; result?: undefined; consensus?: undefined; }>; export declare function runProjectStatusTool(args: z.infer<typeof ProjectStatusToolSchema>): Promise<{ error: string; result?: undefined; project?: undefined; projects?: undefined; } | { result: string; project: { id: string; name: string; status: "active" | "completed" | "paused" | "archived"; progress: number; totalTasks: number; completedTasks: number; }; error?: undefined; projects?: undefined; } | { result: string; projects: { id: string; name: string; status: "active" | "completed" | "paused" | "archived"; progress: number; totalTasks: number; completedTasks: number; }[]; error?: undefined; project?: undefined; }>; export declare function runExportProjectTool(args: z.infer<typeof ExportProjectToolSchema>): Promise<{ result: string; exportPath: string; format: "json" | "csv" | "markdown"; timestamp: string; error?: undefined; } | { error: string; result?: undefined; exportPath?: undefined; format?: undefined; timestamp?: undefined; }>; //# sourceMappingURL=project-management-tools.d.ts.map