thoughtmcp
Version:
AI that thinks more like humans do - MCP server with human-like cognitive architecture for enhanced reasoning, memory, and self-monitoring
55 lines • 1.53 kB
TypeScript
/**
* Monitoring dashboard for cognitive architecture performance
*/
import { MemoryUsage, PerformanceAlert, PerformanceMonitor, PerformanceStatistics } from "./PerformanceMonitor.js";
export interface DashboardConfig {
refreshInterval: number;
alertThreshold: number;
displayMetrics: string[];
timeWindows: number[];
}
export declare class MonitoringDashboard {
private monitor;
private config;
private isRunning;
private intervalId?;
constructor(monitor: PerformanceMonitor, config?: Partial<DashboardConfig>);
/**
* Start the monitoring dashboard
*/
start(): void;
/**
* Stop the monitoring dashboard
*/
stop(): void;
/**
* Display current dashboard
*/
displayDashboard(): void;
/**
* Generate performance report
*/
generateReport(timeWindow?: number): PerformanceReport;
/**
* Export dashboard data as JSON
*/
exportData(): string;
private displayStatistics;
private displayMemoryUsageBar;
private formatTimeWindow;
private formatBytes;
private generateRecommendations;
}
export interface PerformanceReport {
timestamp: number;
timeWindow: number;
statistics: PerformanceStatistics;
alerts: PerformanceAlert[];
currentMemoryUsage: MemoryUsage;
recommendations: string[];
}
/**
* Create a simple CLI dashboard
*/
export declare function createCLIDashboard(monitor: PerformanceMonitor): MonitoringDashboard;
//# sourceMappingURL=MonitoringDashboard.d.ts.map