Retire legacy remote listeners after verifying MCP feature coverage
CI / verify (push) Canceled after 0s

This commit is contained in:
Sucukdeluxe committed 2026-10-15 17:03:41 +02:00
1 parent 93e0196dbe
commit 53706c44ea
12 files changed
+50 -829

No files matched your search

+3 -2
View File
@@ -172,7 +172,8 @@ function createCollectors(deps) {
function listErrors(args) {
const a = args || {};
const cfg = loadConfig();
const { errors, byCategory } = _historyErrors(cfg.history, a);
const history = typeof loadHistory === 'function' ? loadHistory() : cfg.history;
const { errors, byCategory } = _historyErrors(history, a);
const limit = Math.min(Math.max(Number(a.limit) || 100, 1), 1000);
const window = Number.isFinite(a.sinceMs) ? `since ${new Date(a.sinceMs).toISOString()}` : 'all history';
return { window, total: errors.length, byCategory, errors: errors.slice(-limit) };
@@ -244,7 +245,7 @@ function createCollectors(deps) {
const hosters = cfg.hosters && typeof cfg.hosters === 'object' ? Object.keys(cfg.hosters).filter(h => Array.isArray(cfg.hosters[h]) && cfg.hosters[h].length > 0) : [];
return {
reachabilityKnown: false,
hint: 'Live hoster probing (run_health_check) is disabled in this build. Configured hosters with at least one account are listed.',
hint: 'Configured hosters with at least one account are listed. Use an explicit account check for live reachability.',
configuredHosters: hosters
};
}