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
feat(desktop): refresh with Cmd+R
leepokaib2c54b55fdf6
diff --git a/apps/desktop/src/main/index.ts b/apps/desktop/src/main/index.tsindex 5ea35259..7f5d88de 100644--- a/apps/desktop/src/main/index.ts+++ b/apps/desktop/src/main/index.ts@@ -128,8 +128,10 @@ function menu() {{ label: 'Search Bots', accelerator: 'CmdOrCtrl+F', click: () => send({ kind: 'search' }) },{ label: 'Toggle Sidebar', accelerator: 'Ctrl+CmdOrCtrl+S', click: () => send({ kind: 'toggleSidebar' }, false) },{ label: 'Conversation Details', accelerator: 'Alt+CmdOrCtrl+I', click: () => send({ kind: 'toggleDetails' }, false) },+ { label: 'Refresh', accelerator: 'CmdOrCtrl+R', click: () => send({ kind: 'refresh' }, false) },{ type: 'separator' },- ...(app.isPackaged ? [] : [{ role: 'toggleDevTools' as const }, { role: 'reload' as const }]),+ // The dev page reload sits on ⇧⌘R, leaving ⌘R to Refresh.+ ...(app.isPackaged ? [] : [{ role: 'toggleDevTools' as const }, { role: 'forceReload' as const }]),{ role: 'togglefullscreen' },],},diff --git a/apps/desktop/src/renderer/store/app-model.ts b/apps/desktop/src/renderer/store/app-model.tsindex b934ce35..97eb6404 100644--- a/apps/desktop/src/renderer/store/app-model.ts+++ b/apps/desktop/src/renderer/store/app-model.ts@@ -136,6 +136,12 @@ export class AppModel extends Observable {this.changed()}+ /** ⌘R, as the iPhone's pull to refresh: reconnect every computer and reload the account's computers. */+ refresh() {+ for (const store of this.stores.values()) store.restartStream()+ void this.cloud.refresh()+ }+store(id: string) {return this.stores.get(id) ?? null}diff --git a/apps/desktop/src/renderer/views/ChatWindow.tsx b/apps/desktop/src/renderer/views/ChatWindow.tsxindex 50f5295e..0065d2f6 100644--- a/apps/desktop/src/renderer/views/ChatWindow.tsx+++ b/apps/desktop/src/renderer/views/ChatWindow.tsx@@ -75,6 +75,8 @@ export function ChatWindow() {if (ref) app.store(ref.computerId)?.stop(ref.botId)return}+ case 'refresh':+ return app.refresh()case 'setRemoteScreen':void app.setRemoteScreen(c.on)returndiff --git a/apps/desktop/src/shared/ipc.ts b/apps/desktop/src/shared/ipc.tsindex 583e95b1..2664de95 100644--- a/apps/desktop/src/shared/ipc.ts+++ b/apps/desktop/src/shared/ipc.ts@@ -67,6 +67,7 @@ export type WindowCommand =| { kind: 'search' }| { kind: 'toggleSidebar' }| { kind: 'toggleDetails' }+ | { kind: 'refresh' }| { kind: 'respondPermission'; ref: string; entryId: string; optionId: string }| { kind: 'sendMessage'; ref: string; text: string }