feat: character dashboard with TTS voice preview, fix Wyoming API compat

- Add HomeAI dashboard: service status monitor, character profile manager, character editor
- Add TTS voice preview in character editor (Kokoro via OpenClaw bridge → Wyoming)
  - Custom preview text, loading/playing states, stop control, speed via playbackRate
- Fix Wyoming API breaking changes: remove `version` from TtsVoice/TtsProgram,
  use SynthesizeVoice object instead of bare string in Synthesize calls
- Vite dev server proxies /api/tts and /api/health to avoid CORS issues

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Aodhan Collins
2026-03-11 20:40:11 +00:00
parent 6db8ae4492
commit 1bfd7fbd08
13 changed files with 1192 additions and 170 deletions

View File

@@ -56,7 +56,6 @@ class KokoroEventHandler(AsyncEventHandler):
url="https://github.com/thewh1teagle/kokoro-onnx",
),
installed=True,
version="1.0.0",
voices=[
TtsVoice(
name=self._default_voice,
@@ -64,7 +63,6 @@ class KokoroEventHandler(AsyncEventHandler):
attribution=Attribution(name="kokoro", url=""),
installed=True,
languages=["en-us"],
version="1.0",
speakers=[TtsVoiceSpeaker(name=self._default_voice)],
)
],