Commit Graph

4 Commits

Author SHA1 Message Date
L'électron rare 5a0a6cc073 feat(tools): voice loop E2E smoke script
Add tools/macstudio/smoke_e2e.py exercising the full voice-bridge loop
(/health/ready, /tts, /voice/ws hello+stream+intent+TTS, /tts/cache/stats)
without requiring the ESP32 firmware. Three modes (tts/ws/full); generates
a French PCM16 16 kHz fixture via `say -v Thomas` + afconvert when needed;
saves received WAVs and a structured JSON report under /tmp.

Wires `make smoke-voice` and documents the smoke test under
tools/macstudio/README.md (prereqs, exit codes 0/1/2, typical latencies).

Local run hit /tts cache miss + WS round-trip in ~3 s with cache hit on
the second pass; cache delta logging confirmed.
2026-05-04 00:35:45 +02:00
L'électron rare e6431562ba fix(macstudio): bound /tts steps + canonical IP
voice-bridge: clamp steps to [F5_STEPS_MIN=1, F5_STEPS_MAX=32] and reject text > TTS_TEXT_MAX_CHARS=2000 to prevent DoS via steps=999999. All env-overridable. Default --voice-bridge-url in generate_npc_pool.py: 192.168.0.150 (ghost IP, never routed) -> 100.116.92.12 (studio Tailscale, only path that actually works from dev/Tower/KXKM-AI). Network section added to README with topology probe results.
2026-05-03 21:24:25 +02:00
L'électron rare 0ec3da620f docs: CLAUDE.md + README align with P1 stack
Project root CLAUDE.md: architecture diagram now shows MacStudio voice-bridge (cache → F5 → safe wav), hints engine LLM rewrite via LiteLLM hints-deep (MLX 32B Q4), and MLX-LM inference tier. Infrastructure section adds MacStudio (live stack) and demotes Tower to legacy. tools/macstudio/README.md gets full stack table, aliases, persistence (crontab @reboot + */2 watchdog), resilience (cache, service_down.wav), pool pre-render command, known issues. Home ~/CLAUDE.md edits applied separately (six-node, MacStudio added, Tower line trimmed).
2026-05-03 21:19:24 +02:00
L'électron rare 2c3d4c078c feat(macstudio): version inference stack configs
LiteLLM proxy config (6 aliases), voice-bridge FastAPI scaffold, requirements, README with deploy + health checks. Files mirror what's deployed to studio under ~/litellm-config and ~/voice-bridge.
2026-05-03 18:08:43 +02:00