UNPKG

@nanocollective/nanocoder

Version:

A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter

49 lines 1.17 kB
/** * Main health monitoring class */ import type { HealthCheckConfig, HealthCheckResult, SystemMetrics } from '../types.js'; /** * Health monitoring system */ export declare class HealthMonitor { private config; private isRunning; private intervalId?; private lastCheck?; private lastAlert?; private correlationId; constructor(config?: Partial<HealthCheckConfig>); /** * Start health monitoring */ start(): void; /** * Stop health monitoring */ stop(): void; /** * Run a comprehensive health check */ runHealthCheck(): Promise<HealthCheckResult>; /** * Get current system metrics */ getSystemMetrics(): SystemMetrics; /** * Get last health check result */ getLastHealthCheck(): HealthCheckResult | undefined; /** * Check if monitoring is running */ isActive(): boolean; /** * Update health check configuration */ updateConfig(config: Partial<HealthCheckConfig>): void; } /** * Global health monitor instance */ export declare const globalHealthMonitor: HealthMonitor; //# sourceMappingURL=health-monitor.d.ts.map