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

82 lines 2.21 kB
/** * DiagnosticOperations handles diagnostic and monitoring functionality for MCP client */ export declare class DiagnosticOperations { /** * Analyze system logs for error patterns and diagnostics */ analyzeLogs(projectId?: string): Promise<{ errorPatterns: string[]; frequency: Record<string, number>; timeline: string; }>; /** * Get stack trace details for failure analysis */ getStackTrace(errorId: string): Promise<{ stackTrace: string; sourceMap?: string; context: string[]; }>; /** * Get current system metrics for diagnostic analysis */ getSystemMetrics(): Promise<{ memory: { usage: string; available?: string; trend?: string; }; cpu: { usage: string; load?: number; trend?: string; }; disk?: { usage: string; iops?: string; }; network?: { bandwidth?: string; latency?: string; packetLoss?: string; errors?: number; }; database?: { connections?: number; maxConnections?: number; status?: string; }; }>; /** * Run diagnostic commands for system analysis */ runDiagnosticCommands(commands: string[]): Promise<{ results: Array<{ command: string; output: string; exitCode: number; duration: number; }>; }>; /** * Get environment information for compatibility analysis */ getEnvironmentInfo(): Promise<{ nodeVersion: string; npmVersion: string; osVersion: string; dockerVersion?: string; dependencies: Record<string, string>; }>; /** * Capture error context and environment state at time of failure */ captureErrorContext(errorId: string): Promise<{ timestamp: string; environment: Record<string, any>; processState: Record<string, any>; memorySnapshot: Record<string, any>; }>; } //# sourceMappingURL=diagnostic-operations.d.ts.map