v2.1 - Small improvement
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
serviceStatus($('wakeStatus'), {state:!wake.running?'down':wake.paused?'warning':'ok'});
|
||||
safeText('wakeLabel', `Vosk · ${wake.word || 'alfred'}`);
|
||||
safeText('wakeDetail', wake.error || (wake.paused ? 'Détection en pause' : 'Détection active'));
|
||||
const labels = {alfred:'Alfred / Flask', hermes_cli:'Hermes Agent (CLI)', hermes_dashboard:'Hermes WebUI', comfyui:'ComfyUI', ollama:'Ollama', home_assistant:'Home Assistant', wyoming_piper:'Wyoming Piper'};
|
||||
const labels = {alfred:'Alfred / Flask', hermes_cli:'Hermes Agent (CLI)', hermes_dashboard:'Hermes WebUI', comfyui:'ComfyUI', ollama:'Ollama', home_assistant:'Home Assistant', wyoming_piper:'Wyoming Piper', wyoming_whisper:'Whisper (STT)', alfred_timers:'Minuteurs Alfred'};
|
||||
const list = $('serviceList'); list.replaceChildren();
|
||||
for (const [key,service] of Object.entries(data.services || {})) {
|
||||
const row = document.createElement('div'); row.className='service-row';
|
||||
@@ -108,7 +108,11 @@
|
||||
const p=document.createElement('p');p.textContent=mcp.detail;
|
||||
card.append(title,status,p);mcps.append(card);
|
||||
}
|
||||
if (typeof window.alfredAdminV2Health === 'function') {
|
||||
window.alfredAdminV2Health(data);
|
||||
}
|
||||
}
|
||||
// ALFRED_ADMIN_SURVEILLANCE_V2: monitoring hook
|
||||
let inFlight = false;
|
||||
async function refreshHealth() {
|
||||
if (inFlight || document.hidden) return;
|
||||
|
||||
Reference in New Issue
Block a user