Add stt-server.py and fix setup scripts #1
Reference in New Issue
Block a user
Delete Branch "mikael-lovqvists-claude-agent/stt-server:stt-process"
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?
Summary
stt-server.py: self-contained recording + VAD + transcription process. Replaces the old stdin/stdout transcription-only server. Handles the full pipeline in Python — no Node.js or sherpa-onnx needed. Emits JSON line events to stdout (ready,vad_start,vad_end,transcript,error). Protocol is designed to map directly to WebSocket subscriptions in the next step.torchandsilero-vadto both installation paths; fix missing faster-whisper deps in local-build path (--no-depswas skippingavetc.); remove Arch Linux specific hints; addPYTHON_ENV,HF_TOKEN_FILE,HF_HUB_CACHEenv overrides; remove straychmodon a file that doesn't exist in this repo.Test plan
./setup-venv.shcompletes without error./stt-server.pystarts, emits{"event": "ready"}, produces transcripts on speech