feat(voice): on-demand PodMan voice test + Hermes notify + TTS tuning

Snapshot of in-progress voice work, committed to unblock concurrent edits: speakInRoom + POST voice-test endpoint, Test PodMan voice button (PodView/api), Hermes notify action + scripts/hermes-notify.mjs, agent exits on LiveKit disconnect for auto-restart, TTS playback tuning (subscriber-ready delay, preroll/tail silence, fallback line, microphone source), verify script updates.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Yahya Alhinai
2026-06-28 06:45:37 +00:00
parent 7269098ea3
commit c1ac687dcf
12 changed files with 438 additions and 31 deletions
+20
View File
@@ -95,6 +95,25 @@ async function verifyApi() {
);
if (!withMember.members.includes('Hermes')) fail('member add did not persist');
const hermesNotify = await json(
await doFetch(`${baseUrl}/api/pods/${encodeURIComponent(created.id)}/hermes/notify`, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({
message: 'Hermes verification notification.',
engineers: ['Alice', 'Bob'],
file: 'src/verify-hermes.ts',
dryRun: true,
}),
}),
);
if (
hermesNotify.livekit !== 'dry-run' ||
hermesNotify.intervention?.message !== 'Hermes verification notification.'
) {
fail('Hermes notify endpoint returned unexpected payload');
}
await json(
await doFetch(`${baseUrl}/api/pods/${encodeURIComponent(created.id)}`, { method: 'DELETE' }),
);
@@ -262,6 +281,7 @@ try {
'health',
'token',
'pod-crud',
'hermes-notify',
'collision',
'memory-recall',
'graph',