feat(atelier): asset authoring pipeline P2–P5 (audio, écran LCD, sync SD, atelier unifié) #128
Reference in New Issue
Block a user
Delete Branch "feat/p2-audio-pipeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Chemin web complet du plan d'authoring d'assets (
specs/2026-06-13-atelier-asset-authoring-plan.md).Phases
POST /v1/assets/audio/generate+/status+/v1/_staged/{key}), backendsf5(voix Zacus clonée, voice-bridge) etkokoro(voix stock, vllm-mlx). Panneau « Voix » dans l'atelier (lecteur<audio>).scene:YAML round-trip-validé contre_validate_step_scene.POST /v1/assets/stagepousse les assets stagés sur la SD d'une carte via la route firmware existantePOST /game/file?path=sd/...(layout/sdcard/zacus/{board}/). hot = push HTTP, cold = bundle host. Zéro changement firmware. NFS / PULL / partitions restent hardware-gated./v1/assets/stage.Validation
tsc --noEmit+vite buildpropres.🤖 Generated with Claude Code
Add the audio half of the asset pipeline: an in-process asyncio TTS queue with POST /v1/assets/audio/generate (backend f5=cloned Zacus voice via the voice-bridge, or kokoro=stock voices via vllm-mlx /v1/audio/speech), polled via GET /v1/assets/audio/{id}/status, with generated WAVs staged under share-store/_staged and previewed read-only via GET /v1/_staged/{key} (path-traversal guarded). Token-free same-origin, mirroring P1 text-gen. Validated end-to-end: generate(kokoro, ff_siwis) -> done -> 24 kHz WAV preview.POST /v1/assets/stage pushes the staged assets to a board's microSD via the firmware's existing POST /game/file?path=sd/... route (which already mkdir -p's and writes under /sdcard) — on-card layout /sdcard/zacus/{board}/<file>. hot pushes over HTTP to the board IP; cold writes a host bundle + manifest.json for manual SD copy. No firmware change needed; NFS and a PULL-side /assets/sync stay hardware-gated. Validated end-to-end: cold bundles box3; hot pushes to a stub board at the exact sd/zacus/{board}/ path.