/** * Tool Handler */ import { CortexAI } from "../../index.js"; import { MCPToolResult } from "../types/mcp-types.js"; export declare class ToolHandler { private projectRoot; private cortex; private handoffService; private tasksReader; private memoryService; constructor(projectRoot: string, cortex: CortexAI); /** * Handle task tool */ handleTask(args: { description: string; }): Promise; /** * Handle execute-workflow-role tool */ handleExecuteWorkflowRole(args: { workflowId: string; }): Promise; /** * Handle submit-role-result tool */ handleSubmitRoleResult(args: { workflowId: string; roleId: string; result: string; }): Promise; /** * Handle get-role-prompt tool */ handleGetRolePrompt(args: { workflowId: string; roleId: string; }): Promise; /** * Handle create-pull-request tool */ handleCreatePullRequest(args: { workflowId: string; baseBranch?: string; draft?: boolean; }): Promise; /** * Handle enhance-context tool */ handleEnhanceContext(args: { query: string; maxItems?: number; timeRange?: number; }): Promise; /** * Handle record-experience tool */ handleRecordExperience(args: { input: string; output: string; category?: string; tags?: string[]; }): Promise; /** * Handle create-workflow tool */ handleCreateWorkflow(args: { title: string; description: string; issueId?: string; }): Promise; /** * Handle get-workflow-status tool */ handleGetWorkflowStatus(args: { workflowId: string; }): Promise; /** * Handle list-workflows tool */ handleListWorkflows(args: { limit?: number; }): Promise; /** * Handle get-snapshot tool */ handleGetSnapshot(args: { type: string; workflowId?: string; }): Promise; /** * Handle search-snapshots tool */ handleSearchSnapshots(args: { query: string; maxResults?: number; }): Promise; } //# sourceMappingURL=tool-handler.d.ts.map