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(desktop): no crash without a microphone, and no GPU fallbacks in error tracking
leepokaiaa269562ad71
diff --git a/apps/desktop/native/speech-macos/Sources/main.swift b/apps/desktop/native/speech-macos/Sources/main.swiftindex 3cb1827e..260e5e72 100644--- a/apps/desktop/native/speech-macos/Sources/main.swift+++ b/apps/desktop/native/speech-macos/Sources/main.swift@@ -37,6 +37,10 @@ final class Recognizer {self.request = requestlet input = engine.inputNodelet format = input.outputFormat(forBus: 0)+ // No usable input (no microphone, a route change): a tap on a 0 Hz format raises an exception that ends the helper.+ guard format.sampleRate > 0, format.channelCount > 0 else {+ return fail("Couldn't start the microphone: no microphone is available right now.")+ }input.installTap(onBus: 0, bufferSize: 1024, format: format) { buffer, _ inrequest.append(buffer)let level = Self.level(buffer)diff --git a/apps/desktop/src/main/error-reports.ts b/apps/desktop/src/main/error-reports.tsindex 7e1cb21a..e77e0d1d 100644--- a/apps/desktop/src/main/error-reports.ts+++ b/apps/desktop/src/main/error-reports.ts@@ -24,6 +24,8 @@ export function registerErrorReports(host: HostController) {if (!ENDED_FROM_OUTSIDE.has(details.reason)) send({ process: 'desktop-main', type: 'RendererGone', mechanism: 'render-process-gone', value: details.reason, frames: [] })})app.on('child-process-gone', (_e, details) => {- if (!ENDED_FROM_OUTSIDE.has(details.reason)) send({ process: 'desktop-main', type: `${details.type}Gone`, mechanism: 'child-process-gone', value: details.reason, frames: [] })+ // A GPU process that can't start (Linux without GPU access) only means software rendering: the app goes on.+ const softwareRendering = details.type === 'GPU' && details.reason === 'launch-failed'+ if (!ENDED_FROM_OUTSIDE.has(details.reason) && !softwareRendering) send({ process: 'desktop-main', type: `${details.type}Gone`, mechanism: 'child-process-gone', value: details.reason, frames: [] })})}diff --git a/docs/features/analytics.md b/docs/features/analytics.mdindex 32fb72c6..31134d98 100644--- a/docs/features/analytics.md+++ b/docs/features/analytics.md@@ -58,7 +58,7 @@ Besides `env`, `app_version`, `$os`, `$lib`:|---|---|| `bot_created` | `kind` (`bot`/`group`), `agent`, `model` or `members` (count) || `message_sent` | `kind`, `agent`, `in_thread`, `attachments` (count) |-| `turn_finished` | `agent`, `outcome` (`done`/`stopped`/`failed`/`incomplete`), `stop_reason` (ACP's, else `other`), `source` (`user`/`routine`/`group`/`bot`), `seconds`; when failed, `error` (`not_installed`/`sign_in`/`timeout`/`exited`/`agent_error`/`io`/`other`) and, for `agent_error`, the agent's JSON-RPC `rpc_code` |+| `turn_finished` | `agent`, `outcome` (`done`/`stopped`/`failed`/`incomplete`), `stop_reason` (ACP's, else `other`), `source` (`user`/`routine`/`group`/`bot`), `seconds`; when failed, `error` (`not_installed`/`sign_in`/`timeout`/`exited`/`agent_error`/`io`/`other`) and, for `agent_error`, the agent's JSON-RPC `rpc_code` and its own category when it names one (`agent_reason`: Claude's `rate_limit`, `overloaded`, `billing_error`, …) || `voice_call_finished` | `seconds` || `connector_installed` | `connector` (catalog name or `custom`) || `skill_installed` | `custom` |@@ -78,7 +78,8 @@ builds PostHog's generic `custom` frames (oldest first, the failing one last).errors and rejections in the main process and every window, and windows or helpers thatcrashed (`RendererGone`, `GPUGone`, … with Electron's reason), through `reportError`. Notreported: error events that carry no error (the ResizeObserver loop notice), and helpers that- exited normally or were ended from outside (`clean-exit`, `killed`: logout, shutdown, an update).+ exited normally or were ended from outside (`clean-exit`, `killed`: logout, shutdown, an update),+ and a GPU process that couldn't launch (the app goes on with software rendering).Processes `desktop-main`, `desktop-renderer`. The renderer is built unminified so functionnames stay readable.- **iPhone** (`CodyncKit` `CrashReports`): MetricKit's crash diagnostics, delivered on the next