UNPKG

cortexweaver

Version:

CortexWeaver is a command-line interface (CLI) tool that orchestrates a swarm of specialized AI agents, powered by Claude Code and Gemini CLI, to assist in software development. It transforms a high-level project plan (plan.md) into a series of coordinate

28 lines 1.22 kB
import { CognitiveCanvas } from '../cognitive-canvas'; import { AgentSpawner } from './agent-spawner'; import { WorkflowManager } from './workflow-manager'; import { ErrorContext, RecoveryStrategy, ErrorHandlingResult } from './error-handler'; /** * RecoveryStrategies handles different recovery strategies for error handling */ export declare class RecoveryStrategies { private canvas; private agentSpawner; private workflowManager; constructor(canvas: CognitiveCanvas, agentSpawner: AgentSpawner, workflowManager: WorkflowManager); /** * Determine appropriate recovery strategy based on error context */ determineRecoveryStrategy(errorContext: ErrorContext, diagnosticResult?: any): Promise<RecoveryStrategy>; /** * Execute the determined recovery strategy */ executeRecoveryStrategy(taskId: string, strategy: RecoveryStrategy, errorContext: ErrorContext): Promise<ErrorHandlingResult>; private executeRetryStrategy; private executeSpawnHelperStrategy; private executeSkipStepStrategy; private executeEscalateStrategy; private executePauseDownstreamStrategy; private getTaskRetryCount; } //# sourceMappingURL=recovery-strategies.d.ts.map