Ship Herman chat, Hermes KPI explorer, and intelligence analytics.

Adds floating Herman assistant with voice, Hermes technical KPI dashboard with file explorer, and a wins/kansen analytics pulse with Hermes findings hooks. Includes optional local HTTPS via Caddy for mic permissions (public certs only).
This commit is contained in:
Aissa
2026-08-01 17:50:45 +00:00
parent 62239f0a4e
commit 5e43b6b246
28 changed files with 2686 additions and 1149 deletions
+13 -1
View File
@@ -33,7 +33,7 @@ window.VoiceLive = (function () {
busy: false,
conversationMode: true,
handsFreeMode: false,
speakReply: true,
speakReply: false,
useBrowserPreview: !!SpeechRecognition,
pipeline: [],
feed: [],
@@ -162,6 +162,18 @@ window.VoiceLive = (function () {
window.speechSynthesis.cancel();
var u = new SpeechSynthesisUtterance(h.reply.replace(/\*\*/g, '').slice(0, 800));
u.lang = 'nl-NL';
var voices = window.speechSynthesis.getVoices() || [];
var voice = null;
for (var vi = 0; vi < voices.length; vi++) {
var hay = ((voices[vi].name || '') + ' ' + (voices[vi].lang || ''));
if (/maarten/i.test(hay)) { voice = voices[vi]; break; }
}
if (!voice) {
for (var vj = 0; vj < voices.length; vj++) {
if (/^nl/i.test(voices[vj].lang || '')) { voice = voices[vj]; break; }
}
}
if (voice) u.voice = voice;
u.onend = function () { self.maybeResumeListening(300); };
window.speechSynthesis.speak(u);
} else {