/** * MCP tool handlers for implementation workflow */ import { type ToolResult, type ReviewerName, type WorkflowAction } from '@hitoshura25/core'; /** * Input parameters for implement_start tool */ export interface ImplementStartInput { description: string; project_path?: string; reviewers?: ReviewerName[]; } /** * Result for implement_start tool */ export interface ImplementStartResult { status: 'initialized' | 'error'; workflowId?: string; phase?: string; action?: WorkflowAction; nextTool?: string; error?: string; reason?: string; installInstructions?: string; } /** * Start a new implementation workflow */ export declare function implementStart(input: ImplementStartInput): Promise>; /** * Input parameters for implement_step tool */ export interface ImplementStepInput { workflow_id: string; step_result?: { success?: boolean; output?: string; files_created?: string[]; files_modified?: string[]; }; } /** * Result for implement_step tool */ export interface ImplementStepResult { status: 'step_complete' | 'workflow_complete' | 'error'; phase?: string; action?: WorkflowAction | null; nextTool?: string | null; error?: string; } /** * Execute the next step in an implementation workflow */ export declare function implementStep(input: ImplementStepInput): Promise>; /** * Input parameters for implement_status tool */ export interface ImplementStatusInput { workflow_id?: string; } /** * Result for implement_status tool */ export interface ImplementStatusResult { status?: string; workflowId?: string; phase?: string; description?: string; startedAt?: string; lastUpdated?: string; activeWorkflows?: string[]; instruction?: string; error?: string; } /** * Get status of implementation workflows */ export declare function implementStatus(input: ImplementStatusInput): Promise>; /** * Input parameters for implement_abort tool */ export interface ImplementAbortInput { workflow_id: string; reason?: string; } /** * Result for implement_abort tool */ export interface ImplementAbortResult { status: 'aborted'; workflowId: string; } /** * Abort an implementation workflow */ export declare function implementAbort(input: ImplementAbortInput): Promise>; //# sourceMappingURL=tools.d.ts.map