feat(voice-client): PySide6 desktop client and Windows build scripts

Add voice_confirmation_client (poll, TTS MP3 playback, mic WAV resolve),
PyInstaller spec, start/build helpers, and API unit tests.

Pending manual testing: end-to-end on OR workstations and packaged exe.

Made-with: Cursor
This commit is contained in:
Kevin
2026-04-27 09:52:10 +08:00
parent e4c6127619
commit 4c3f9a367b
19 changed files with 1324 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ dependencies = [
[project.scripts]
operation-room-monitor-server = "main:main"
voice-confirmation-client = "voice_confirmation_client.__main__:main"
# Use PyTorch CPU wheels from the official index so:
# - Linux Docker builds (incl. Docker Desktop on Mac) do not install NVIDIA CUDA pip bundles.
@@ -48,6 +49,19 @@ dev = [
"aiosqlite>=0.21.0",
"alembic>=1.14.0",
]
voice-client = [
"httpx>=0.28.0",
"numpy>=2.0.0",
"PySide6>=6.8.0",
"sounddevice>=0.5.0",
]
voice-client-build = [
"httpx>=0.28.0",
"numpy>=2.0.0",
"PySide6>=6.8.0",
"sounddevice>=0.5.0",
"pyinstaller>=6.0.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"