- 重构 capture.rs:添加 start_recording/stop_recording 支持真正的开始/停止控制 - 更新 AppState:引入 RecordingHandle 字段管理录音状态 - 重构 commands.rs:start_recording 立即返回,stop_recording 停止并保存文件 - 新增 recognize_file/recognize_last_recording 命令 - 前端 RecordPage:调用真实后端命令,监听 recording-stopped 事件自动识别 - 前端 FileConvertPage:连接 recognize_file 命令,支持导出识别结果 - 前端 SettingsPage:通过 save_config 持久化配置,支持配置加载 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||