UNPKG

@sethdouglasford/claude-flow

Version:

Claude Code Flow - Advanced AI-powered development workflows with SPARC methodology

26 lines 826 B
/** * Simplified Strategy Interfaces for Swarm Task Execution * Removed complex inheritance and overengineered patterns */ import { TaskDefinition, SwarmObjective } from "../types.js"; export interface StrategyMetrics { tasksCompleted: number; averageExecutionTime: number; successRate: number; } export interface DecompositionResult { tasks: TaskDefinition[]; dependencies: Map<string, string[]>; estimatedDuration: number; } export interface TaskBatch { id: string; tasks: TaskDefinition[]; parallel: boolean; } export interface IStrategy { decomposeObjective(objective: SwarmObjective): Promise<DecompositionResult>; } export declare function detectTaskType(description: string): string; export declare function createMetrics(): StrategyMetrics; //# sourceMappingURL=base.d.ts.map