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
39 lines • 1.06 kB
TypeScript
import { CognitiveCanvas } from '../cognitive-canvas';
import { ErrorContext } from './error-handler';
/**
* ErrorTracking handles error statistics and tracking functionality
*/
export declare class ErrorTracking {
private canvas;
private errorStats;
private recoveryStats;
constructor(canvas: CognitiveCanvas);
/**
* Store error context in the cognitive canvas
*/
storeErrorContext(errorContext: ErrorContext): Promise<void>;
/**
* Track error occurrence for statistics
*/
trackError(taskId: string, errorContext: ErrorContext): void;
/**
* Track successful recovery
*/
trackSuccessfulRecovery(taskId: string): void;
/**
* Get error statistics
*/
getErrorStats(): Map<string, {
count: number;
lastOccurrence: string;
}>;
/**
* Get recovery statistics
*/
getRecoveryStats(): Map<string, number>;
/**
* Clear statistics (useful for testing or reset)
*/
clearStats(): void;
}
//# sourceMappingURL=error-tracking.d.ts.map