|
@@ -41,6 +41,8 @@ src/stt_daemon/
|
|
|
├── picker.py - Interactive device picker (questionary / numbered menu)
|
|
├── picker.py - Interactive device picker (questionary / numbered menu)
|
|
|
├── segmenter.py - VAD + pre-roll buffer + utterance segmentation (core)
|
|
├── segmenter.py - VAD + pre-roll buffer + utterance segmentation (core)
|
|
|
├── transcriber.py - Faster-Whisper wrapper
|
|
├── transcriber.py - Faster-Whisper wrapper
|
|
|
|
|
+├── pywhispercpp_transcriber.py - whisper.cpp GPU backend (vendored wheel)
|
|
|
|
|
+├── session.py - Session folder lifecycle (gap rollover, current id)
|
|
|
├── speakers.py - Speaker prototype store, matcher, mint/adapt guards
|
|
├── speakers.py - Speaker prototype store, matcher, mint/adapt guards
|
|
|
├── embedder.py - sherpa-onnx embedding extractor (lazy import, build_embedder)
|
|
├── embedder.py - sherpa-onnx embedding extractor (lazy import, build_embedder)
|
|
|
├── enroll.py - Offline pre-enrollment from WAV files (`speaker-enroll`)
|
|
├── enroll.py - Offline pre-enrollment from WAV files (`speaker-enroll`)
|
|
@@ -48,6 +50,7 @@ src/stt_daemon/
|
|
|
├── evaluate.py - Labeled-clip accuracy scorer (`speaker-eval`)
|
|
├── evaluate.py - Labeled-clip accuracy scorer (`speaker-eval`)
|
|
|
├── output.py - Sinks (stdout, JSONL, optional WAV)
|
|
├── output.py - Sinks (stdout, JSONL, optional WAV)
|
|
|
├── daemon.py - Orchestrator (threads, queues, event emission)
|
|
├── daemon.py - Orchestrator (threads, queues, event emission)
|
|
|
|
|
+├── supervisor.py - Supervised child processes (`up`, incl. mandatory TUI + ISIG restore)
|
|
|
├── events.py - NDJSON event envelope + codec
|
|
├── events.py - NDJSON event envelope + codec
|
|
|
├── bus.py - Publish-only event bus (socket, ring replay)
|
|
├── bus.py - Publish-only event bus (socket, ring replay)
|
|
|
├── debug.py - Structured health-signal log (`DebugSink`, `troubleshoot/debug/YYYY-MM-DD.jsonl`)
|
|
├── debug.py - Structured health-signal log (`DebugSink`, `troubleshoot/debug/YYYY-MM-DD.jsonl`)
|
|
@@ -71,7 +74,7 @@ src/stt_daemon/
|
|
|
├── client.py - Control-socket client
|
|
├── client.py - Control-socket client
|
|
|
└── app.py - Textual app + `stt-tui` entry point
|
|
└── app.py - Textual app + `stt-tui` entry point
|
|
|
|
|
|
|
|
-tests/ - 1028 tests, no audio hardware or live LLM required
|
|
|
|
|
|
|
+tests/ - 1038 tests, no audio hardware or live LLM required
|
|
|
|
|
|
|
|
scripts/
|
|
scripts/
|
|
|
├── audio-sink.sh - Thin wrapper over `stt-daemon setup|clear|list`
|
|
├── audio-sink.sh - Thin wrapper over `stt-daemon setup|clear|list`
|