summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix(service): correct systemd module entrypointHEADmainSomhairle H. Marisol6 days2-5/+7
| | | | | | | | | | | | | | | [Problem] - The installed user service fails before recording starts. [Root Cause] - The unit invokes the package without its CLI module and places StartLimit directives in [Service]. [Solution] - Invoke mic_clipper.cli and move StartLimit directives to [Unit]. - Cover both rendered-unit requirements with the service test. [Impact] - The service template and its regression test are updated.
* fix(vad): bundle local Silero modelSomhairle H. Marisol6 days5-16/+30
| | | | | | | | | | | | | | | | [问题原因] - 先前实现会在包内权重缺失时读取外部 faster-whisper 资源,无法满足自包含部署要求。 [问题根因] - 项目包中尚未包含已验证的 ONNX 权重,VAD 路径保留了开发期回退逻辑。 [修复方案] - 提交已校验 SHA-256 的本地 Silero ONNX 权重并移除外部包回退。 - 增加模型打包和缺失模型失败路径测试,并更新来源、MIT 许可和哈希说明。 [影响范围] - VAD 现在只加载项目包内模型,不联网且不依赖 faster-whisper 运行时资源。 - 未安装、启用或启动任何用户 systemd 服务。
* feat(recorder): add offline voice clip pipelineSomhairle H. Marisol6 days19-0/+1060
[变更性质] - 本提交新增本机离线的语音片段录音能力,不涉及网络服务或语音识别。 [新增功能] - 通过 Pulse 默认输入持续采集音频,以本地 Silero VAD 触发片段。 - 以私有目录和权限写入 24 kbps Ogg/Opus 录音,并提供 systemd 用户服务安装器。 [实现方案] - 使用有限前置缓冲、静音封段和最长段滚动状态机,避免静音落盘及内存无限增长。 - 增加真实 Opus 编解码、服务 dry-run 和纯逻辑状态转换测试;记录模型归属和部署前置条件。 [影响范围] - 新增 Python CLI、运行时模块、中文运维文档和自动测试。 - 未安装、启用或启动任何用户 systemd 服务;不删除或修改录音数据。