Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
fix(ios): Gemini calls read the bot's replies aloud
leepokaidd584c1304c1
diff --git a/apps/ios/Kit/Sources/CodyncUI/Call/GeminiLiveEngine.swift b/apps/ios/Kit/Sources/CodyncUI/Call/GeminiLiveEngine.swiftindex 49c3e066..cf4aa689 100644--- a/apps/ios/Kit/Sources/CodyncUI/Call/GeminiLiveEngine.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Call/GeminiLiveEngine.swift@@ -258,7 +258,6 @@ final class GeminiLiveEngine: VoiceEngine {try session.setActive(true)try engine.inputNode.setVoiceProcessingEnabled(true)engine.attach(player)- engine.connect(player, to: engine.mainMixerNode, format: Self.playFormat)// The engine stops itself when it reconfigures (voice processing settling right after the start,// a route change such as AirPods); without a restart the microphone goes quiet.configObserver = NotificationCenter.default.addObserver(forName: .AVAudioEngineConfigurationChange, object: engine,@@ -271,8 +270,9 @@ final class GeminiLiveEngine: VoiceEngine {/// Wires the speaker and taps the microphone for the current hardware, then starts the engine.private func runAudio() throws {- // Left implicit, the speaker connection predates voice processing: the engine reconfigures- // itself right after starting and stops, and once restarted it still plays nothing.+ // Wired again on every start: after the engine reconfigures, the old connections stay in place but+ // play nothing, so the player never finishes its buffers and replies wait forever (#214).+ engine.connect(player, to: engine.mainMixerNode, format: Self.playFormat)engine.connect(engine.mainMixerNode, to: engine.outputNode, format: nil)let input = engine.inputNodeinput.removeTap(onBus: 0)@@ -318,7 +318,7 @@ final class GeminiLiveEngine: VoiceEngine {level = 0phase = .speakinglet generation = playGeneration- player.scheduleBuffer(buffer, completionCallbackType: .dataPlayedBack) { [weak self] _ in+ player.scheduleBuffer(buffer, completionCallbackType: .dataRendered) { [weak self] _ inTask { @MainActor in self?.played(generation) }}}diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.mdindex 09c29fc9..bf987d6e 100644--- a/apps/ios/WhatsNew.md+++ b/apps/ios/WhatsNew.md@@ -21,7 +21,7 @@ a version without one gets a generic "Bug fixes and improvements" line. Delete o- 新增「Open Live Mode」捷徑,選擇 Bot 後直接開啟語音聊天。- 新增「Send Text to Bot」捷徑,可選擇 Bot 並傳送文字;預設在背景傳送,也可開啟「Open Chat」顯示對話。- 點對話上方的 Bot 會打開它的詳情、資料庫、記憶與設定;「新會話」改到 Bot 列表的長按選單。-- 用 Gemini 即時語音通話時,Gemini 聽得到你說話並會回答;先前通話可能一直沒有聲音、也沒有回應。+- 用 Gemini 即時語音通話時,Gemini 聽得到你說話並會回答,也會念出 Bot 的回覆;先前通話可能一直沒有聲音、也沒有回應。### en-US- Bots can make artifacts: reports, trackers and dashboards you come back to show as a card in the chat. Open one full screen and message the bot below it to change it; it updates in place.@@ -36,7 +36,7 @@ a version without one gets a generic "Bug fixes and improvements" line. Delete o- Use Open Live Mode in Shortcuts to choose a bot and start voice chat.- Use Send Text to Bot to choose a bot and send text in the background by default, or enable Open Chat to show the conversation.- Tapping the bot at the top of its chat opens its Details, Library, Memory and Settings; New session moved to the bot's touch-and-hold menu in the list.-- Gemini realtime voice calls hear you and answer; before, a call could stay silent with no reply.+- Gemini realtime voice calls hear you, answer and read the bot's replies aloud; before, a call could stay silent with no reply.## 2.24.0diff --git a/docs/features/voice-call.md b/docs/features/voice-call.mdindex a6a54139..32c55c1e 100644--- a/docs/features/voice-call.md+++ b/docs/features/voice-call.md@@ -241,9 +241,11 @@ The realtime model is an operator in front of the bot, not a replacement for it- Gemini connections are replaced before the server's limit: `goAway` closes the socket and thesession resumes on a fresh token with its resumption handle; context window compression lifts the15-minute audio session cap.-- On iPhone the Gemini engine wires its speaker output explicitly and restarts its audio engine on- `AVAudioEngineConfigurationChange` (voice processing settling right after the start, a route change- such as AirPods): the engine stops itself then, and the microphone would stay quiet with no error.+- On iPhone the Gemini engine restarts its audio engine on `AVAudioEngineConfigurationChange` (voice+ processing settling right after the start, a route change such as AirPods) and wires the player and+ speaker again each time: the engine stops itself then, and without both the microphone stays quiet, or the+ player never finishes its buffers so the phase stays "speaking" and the bot's replies are never said.+ A reply counts as played once its buffers are rendered (`.dataRendered`).- The chat stays the record: only `send_to_bot` messages and the bot's replies are entries. Theoperator's small talk isn't saved; the call still ends with the "Voice chat" notice.@@ -265,8 +267,11 @@ audio unit can abort with an RPC timeout when WebRTC starts its audio; use a phyOn 2026-10-25 the iPhone Gemini path (#214) was checked on the iOS Simulator with a real key: speechplayed through the Mac's speakers reached Gemini, which answered aloud and called `send_to_bot`, andthe bot's reply came back into the chat. The Simulator doesn't cancel echo, so Gemini also hears its own-voice there; echo cancellation needs a physical iPhone. A physical iPhone and a route change mid-call-(AirPods) are not checked yet.+voice there; echo cancellation needs a physical iPhone. The same day, on an iPhone 18 Pro Max (a diagnostic+build logging each step): the engine reconfigured 0.2 s after every start; before the player was wired again its+buffers never finished, so the phase stayed "speaking" and the bot's reply was never said. Wired again, each+answer returned to listening, and several turns in English and Chinese followed, without Gemini hearing itself.+A route change mid-call (AirPods) is not checked yet.`StoreTests` cover the operator's tools against a scripted host (send, status with an approval,option matching, recent messages) and approvals reaching a call as notices. On Android, `VoiceEnginesTest` (core, JVM) drives