Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(desktop): shorten voice timeout feedback
JiangJiahao428285ee3bf6
diff --git a/apps/desktop/scripts/fixtures/voice-call/ui-page.mjs b/apps/desktop/scripts/fixtures/voice-call/ui-page.mjsindex ee53c1227f..d19ca58e6b 100644--- a/apps/desktop/scripts/fixtures/voice-call/ui-page.mjs+++ b/apps/desktop/scripts/fixtures/voice-call/ui-page.mjs@@ -25,7 +25,7 @@ export default {data: { failed: true },},'speech-timeout': {- about: 'Audio timeout explains stopped read-aloud and retained text at 320 px',+ about: 'Concise audio timeout feedback at 320 px',viewport: { width: 320, height: 900 },data: { mode: 'speechTimeout' },},diff --git a/apps/desktop/src/renderer/i18n/locales/en/common.json b/apps/desktop/src/renderer/i18n/locales/en/common.jsonindex 424f432717..b3b5980388 100644--- a/apps/desktop/src/renderer/i18n/locales/en/common.json+++ b/apps/desktop/src/renderer/i18n/locales/en/common.json@@ -10254,7 +10254,7 @@"microphone": "Microphone stopped. Check its permission and connection, then resume.","send": "This message was not accepted. Your text is kept below.","speech": "Could not read the reply aloud. The text reply remains in the conversation.",- "speechTimeout": "The speech response timed out and read-aloud stopped. The text reply remains in the conversation."+ "speechTimeout": "Speech response timed out"},"voiceIdHint": "Enter a voice ID available to this provider account.","speed": "Speech speed",diff --git a/apps/desktop/src/renderer/i18n/locales/ja/common.json b/apps/desktop/src/renderer/i18n/locales/ja/common.jsonindex a08c72dd55..4c657e9730 100644--- a/apps/desktop/src/renderer/i18n/locales/ja/common.json+++ b/apps/desktop/src/renderer/i18n/locales/ja/common.json@@ -10214,7 +10214,7 @@"microphone": "マイクが停止しました。権限と接続を確認して再開してください。","send": "メッセージは受け付けられませんでした。テキストは保持されています。","speech": "読み上げに失敗しました。返答のテキストは会話に残っています。",- "speechTimeout": "音声の応答がタイムアウトしたため、読み上げを停止しました。返答のテキストは会話に残っています。"+ "speechTimeout": "音声の応答がタイムアウトしました"},"voiceIdHint": "このプロバイダーのアカウントで利用できる音声 ID を入力してください。","speed": "読み上げ速度",diff --git a/apps/desktop/src/renderer/i18n/locales/ko/common.json b/apps/desktop/src/renderer/i18n/locales/ko/common.jsonindex 6af5904b2c..e59cb38b42 100644--- a/apps/desktop/src/renderer/i18n/locales/ko/common.json+++ b/apps/desktop/src/renderer/i18n/locales/ko/common.json@@ -10214,7 +10214,7 @@"microphone": "마이크가 중지되었습니다. 권한과 연결을 확인한 후 계속하세요.","send": "메시지가 접수되지 않았습니다. 텍스트는 유지됩니다.","speech": "답변을 읽지 못했습니다. 텍스트 답변은 대화에 남아 있습니다.",- "speechTimeout": "음성 응답 시간이 초과되어 읽기를 중지했습니다. 텍스트 답변은 대화에 남아 있습니다."+ "speechTimeout": "음성 응답 시간이 초과되었습니다"},"voiceIdHint": "이 제공자 계정에서 사용할 수 있는 음성 ID를 입력하세요.","speed": "읽기 속도",diff --git a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.jsonindex a1327e2c01..4e6ca15630 100644--- a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json+++ b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json@@ -10214,7 +10214,7 @@"microphone": "麦克风已停止,请检查权限和设备连接后继续。","send": "这条消息未被接收,文字已保留。","speech": "回复朗读失败,文字回复仍保留在对话中。",- "speechTimeout": "语音响应超时,朗读已停止。文字回复仍保留在对话中。"+ "speechTimeout": "语音响应超时"},"voiceIdHint": "填写该供应商账号可用的音色 ID。","speed": "语速",diff --git a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.jsonindex 198b1fd0bc..3ee572b63e 100644--- a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json+++ b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json@@ -10214,7 +10214,7 @@"microphone": "麥克風已停止,請檢查權限和裝置連線後繼續。","send": "這則訊息未被接收,文字已保留。","speech": "回覆朗讀失敗,文字回覆仍保留在對話中。",- "speechTimeout": "語音回應逾時,朗讀已停止。文字回覆仍保留在對話中。"+ "speechTimeout": "語音回應逾時"},"voiceIdHint": "填寫該供應商帳號可用的音色 ID。","speed": "語速",diff --git a/docs/product-rules/companion-voice-mode.md b/docs/product-rules/companion-voice-mode.mdindex 8516ab6506..db98af958b 100644--- a/docs/product-rules/companion-voice-mode.md+++ b/docs/product-rules/companion-voice-mode.md@@ -19,7 +19,7 @@- 静音仅关闭麦克风采集和 ASR 输入,保留当前通话、伙伴任务、待回复关联和朗读队列;静音期间仍可继续收听新到达的回复。若因疑似插话暂时暂停朗读,静音会恢复原朗读。按钮切换为“取消静音”,显式操作后重新开启输入;开启失败保持静音并提示重试,不中断朗读。未发送的识别文字留在面板,可点次要“发送”操作,或取消静音后与下一段发言合并;单纯取消静音不自动发送。已被任务接收的输入不因迟到确认而重复发送。- 普通提问卡保留麦克风与 ASR,暂缓朗读;可说“第一项/第一个”或完整选项名称,编号按卡片实际显示的选项顺序计算。明确单选直接复用卡片提交;多选先更新勾选,需说“确认选择”或点击确认后提交,“取消选择”清除当前选择。歧义或无法匹配时留在卡片,提示重新说编号/完整名称或手动选择,不猜测答案;无选项的普通问题先将识别文字放入原有回答草稿,确认后提交。语音答案绑定发声开始时的问题步骤,切题、替换请求或手动操作后迟到的识别不得回答新问题,也不转成普通聊天消息。卡片提交回执、失败保留及后续执行均复用已有接口;问题解决后继续原任务的回复朗读,不重建麦克风。待回答的问题阻止空闲退出;现有明确退出/告别规则仍有效。诊断只记录通话 ID、路由结果和字符数,不记录问题或回答正文。- 权限、计划或其他执行批准,以及任务队列暂停时,仍关闭麦克风并暂停语音模式;不得用普通提问卡的语音入口代答,用户完成确认后显式继续。锁屏、休眠、切走任务、关面板、账号切换同样释放采集和播放资源,不在后台重新开始。-- 未发送的文字在可恢复错误或暂停后留在面板内;用户可选中复制或明确重新连接并发送。TTS 失败保留任务中的文字回复,不自动重发用户消息。等待语音响应或读取音频超时时明确提示语音响应超时、朗读停止及文字保留;未知原因只说明朗读失败,不推断模型或音色配置有误。+- 未发送的文字在可恢复错误或暂停后留在面板内;用户可选中复制或明确重新连接并发送。TTS 失败保留任务中的文字回复,不自动重发用户消息。等待语音响应或读取音频超时时提示“语音响应超时”;未知原因只说明朗读失败,不推断模型或音色配置有误。## 交互与动效