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

39 lines 1.02 kB
/** * Configuration system health check */ /** * Calculate score based on status */ function calculateScore(status) { if (status === 'fail') return 0; if (status === 'pass') return 100; if (status === 'warn') return 50; return 50; // default for unknown status } /** * Check configuration system health */ export function checkConfigurationSystem(_config) { const startTime = performance.now(); const reloaderStats = { isEnabled: false, watcherCount: 0 }; const status = 'pass'; const message = 'Configuration system is healthy'; const details = { isEnabled: reloaderStats.isEnabled, watcherCount: reloaderStats.watcherCount, listenerCount: 0, hasPendingReloads: false, }; return { name: 'configuration-system', status, score: calculateScore(status), duration: performance.now() - startTime, message, details, }; } //# sourceMappingURL=configuration-check.js.map