import { TaskItem } from '../workflow/workflow-manager.js'; /** * MCP Tool: workflow_list_items * * 列出 Execute 阶段的任务清单 * * 输入参数: * - workDir: 工作目录路径 * - status: 状态过滤器 (pending | completed | all) * * 返回: * - tasks: 任务列表 * - summary: 汇总信息 */ export interface ListItemsInput { workDir: string; status?: 'pending' | 'completed' | 'all'; } export interface ListItemsOutput { tasks: TaskItem[]; summary: { total: number; pending: number; inProgress: number; completed: number; nextTask: TaskItem | null; }; } export declare function workflowListItems(input: ListItemsInput): Promise; /** * MCP Tool Schema Definition */ export declare const workflowListItemsToolSchema: { name: string; description: string; inputSchema: { type: string; properties: { workDir: { type: string; description: string; }; status: { type: string; enum: string[]; description: string; }; }; required: string[]; }; }; //# sourceMappingURL=workflow-list-items.d.ts.map