feat: 站点 JSON、语音终端 WebSocket 指派与客户端联调

- 用 OR_SITE_CONFIG_JSON_FILE 统一术间配置(video_rtsp_urls + voice_or_room_bindings)
- VoiceTerminalHub:assignment、WS 推送与 HTTP 查询;开录/停录后 notify
- 一键联调 orchestrate-and-start 与 /client/surgeries/start 共用指派逻辑,修复 demo 路径不发 WS
- 语音桌面端:SIGINT 退出、shutdown 清理、仅 WS 指派、固定 pending 轮询间隔、界面仅保留录音时长
- 新增/调整契约与绑定测试,文档与示例配置同步

Made-with: Cursor
This commit is contained in:
Kevin
2026-04-27 11:21:16 +08:00
parent 4c3f9a367b
commit 6b3adb4ad8
36 changed files with 1194 additions and 162 deletions

View File

@@ -15,8 +15,9 @@ def default_consumable_classifier_labels_yaml_path() -> str:
return str(_PACKAGE_DIR / "resources" / "consumable_classifier_labels.yaml")
def default_camera_rtsp_urls_sample_path() -> str:
return str(_PACKAGE_DIR / "resources" / "camera_rtsp_urls.sample.json")
def default_or_site_config_sample_path() -> str:
"""站点配置示例video_rtsp_urls + voice_or_room_bindings。"""
return str(_PACKAGE_DIR / "resources" / "or_site_config.sample.json")
# --- 耗材分类YOLO-cls---