Skip to content

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.

fix(desktop): group each computer with its devices and show the Mac that reaches it over SSH

leepokai8f5fc94489df
diff --git a/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx b/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx
index 5ab599ac..3c251ec4 100644
--- a/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx
+++ b/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx
@@ -7,12 +7,12 @@ import { HStack, IconSlot, VStack } from '../../components/Stack'
import { Text } from '../../components/Text'
import { useModel } from '../../lib/observable'
import type { BotStore } from '../../store/bot-store'
-import { deviceIcon, errorText, liveClient, relativeDay } from './parts'
+import { deviceIcon, errorText, isMac, liveClient, relativeDay } from './parts'
import { useTr } from '../../lib/use-language'
/** The devices that can use a computer this app manages, each one revocable. */
-export function AuthorizedDevicesSection({ store }: { store: BotStore }) {
+export function AuthorizedDevicesSection({ store, viaSSH }: { store: BotStore; /** The computer is reached over SSH: this one is using it, though it isn't a paired device. */ viaSSH: boolean }) {
const tr = useTr()
useModel(store)
const [devices, setDevices] = useState<AuthorizedDevice[] | { error: string } | null>(null)
@@ -50,7 +50,8 @@ export function AuthorizedDevicesSection({ store }: { store: BotStore }) {
: 'error' in devices
? [<Text key="error" tone="danger" className="settings-appear">{devices.error}</Text>]
: [
- ...(devices.length === 0
+ ...(viaSSH ? [<ThisComputerRow key="ssh" connected={online} />] : []),
+ ...(devices.length === 0 && !viaSSH
? [<Text key="none" tone="secondary">{tr(`None yet. Pair an iPhone, or approve one from your account.`)}</Text>]
: []),
...devices.map((device) => (
@@ -78,6 +79,22 @@ export function AuthorizedDevicesSection({ store }: { store: BotStore }) {
)
}
+/** This computer among a computer's users, when it reaches it over SSH. */
+function ThisComputerRow({ connected }: { connected: boolean }) {
+ const tr = useTr()
+ return (
+ <HStack gap={8} className="settings-row settings-appear">
+ <IconSlot width={18} tone="secondary">
+ <Icon name="desktopcomputer" size={13} />
+ </IconSlot>
+ <VStack grow className="settings-stack">
+ <span>{tr(isMac ? 'This Mac' : 'This computer')}</span>
+ <Text size="caption" tone="tertiary">{connected ? `${tr('Over SSH')} · ${tr('Connected')}` : tr('Over SSH')}</Text>
+ </VStack>
+ </HStack>
+ )
+}
+
function deviceDetail(device: AuthorizedDevice, tr: (text: string) => string) {
const paired = device.source === 'account' ? 'Approved through the account' : 'Paired with a QR code'
if (device.connected) return tr(`${paired} · connected`)
diff --git a/apps/desktop/src/renderer/views/settings/ComputersView.tsx b/apps/desktop/src/renderer/views/settings/ComputersView.tsx
index ff5be769..63565f7a 100644
--- a/apps/desktop/src/renderer/views/settings/ComputersView.tsx
+++ b/apps/desktop/src/renderer/views/settings/ComputersView.tsx
@@ -42,7 +42,7 @@ export function ComputersView() {
return (
<div className="settings-computers">
- <VStack gap={26} className="settings-computers-content">
+ <VStack gap={44} className="settings-computers-content">
{managed.map((store) => (
<ManagedComputerCard key={store.computer.id} store={store} ssh={sshState.isSSH(store.computer.id)} />
))}
@@ -72,7 +72,9 @@ export function ComputersView() {
{!account.isSignedIn ? (
<Text as="div" size="callout" tone="secondary">{tr(`Sign in to see the other computers in your account.`)}</Text>
) : others.length === 0 ? (
- <Text as="div" size="callout" tone="secondary">{tr(`No other computers in your account yet.`)}</Text>
+ <Text as="div" size="callout" tone="secondary">
+ {managed.length > 1 ? tr(`Your other computers are listed above.`) : tr(`No other computers in your account yet.`)}
+ </Text>
) : null}
{others.map((computer) => (
<AccountComputerRow key={computer.computerId} computer={computer} olderCopy={cloud.isOlderCopy(computer)} onRemove={() => setRemovingCopy(computer)} />
@@ -159,7 +161,7 @@ function ManagedComputerCard({ store, ssh: overSSH }: { store: BotStore; ssh: bo
)
return (
- <VStack gap={28}>
+ <VStack gap={16}>
<CardSection>
{[
<div key="header" className="settings-row">
@@ -239,7 +241,7 @@ function ManagedComputerCard({ store, ssh: overSSH }: { store: BotStore; ssh: bo
]}
</CardSection>
- <AuthorizedDevicesSection store={store} />
+ <AuthorizedDevicesSection store={store} viaSSH={overSSH} />
<Sheet open={showVoice} onClose={() => setShowVoice(false)}>
<StoreContext.Provider value={store}>
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json
index ee05b4bc..117d7b35 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json
@@ -940,6 +940,7 @@
"No files on that message": "Keine Dateien an dieser Nachricht",
"No matching bots": "Keine passenden Bots",
"No message to reply to yet": "Noch keine Nachricht zum Beantworten",
+ "Your other computers are listed above.": "Deine anderen Computer sind oben aufgeführt.",
"No other computers in your account yet.": "Noch keine anderen Computer in deinem Konto.",
"No pending connection request here": "Hier gibt es keine offene Verbindungsanfrage",
"No reply to copy": "Keine Antwort zum Kopieren",
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json
index 06bbf876..9858d9c6 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json
@@ -940,6 +940,7 @@
"No files on that message": "Ese mensaje no tiene archivos",
"No matching bots": "No hay bots coincidentes",
"No message to reply to yet": "Aún no hay mensajes para responder",
+ "Your other computers are listed above.": "Tus otros ordenadores aparecen arriba.",
"No other computers in your account yet.": "Aún no hay otras computadoras en tu cuenta.",
"No pending connection request here": "No hay solicitudes de conexión pendientes aquí",
"No reply to copy": "No hay respuestas para copiar",
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json
index b7f62013..2a2b9489 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json
@@ -940,6 +940,7 @@
"No files on that message": "Aucun fichier dans ce message",
"No matching bots": "Aucun bot correspondant",
"No message to reply to yet": "Aucun message auquel répondre pour le moment",
+ "Your other computers are listed above.": "Vos autres ordinateurs sont listés ci-dessus.",
"No other computers in your account yet.": "Aucun autre ordinateur dans votre compte pour le moment.",
"No pending connection request here": "Aucune demande de connexion en attente ici",
"No reply to copy": "Aucune réponse à copier",
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json
index 34029b98..84231d7a 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json
@@ -940,6 +940,7 @@
"No files on that message": "そのメッセージにはファイルがありません",
"No matching bots": "一致するボットはありません",
"No message to reply to yet": "返信するメッセージはまだありません",
+ "Your other computers are listed above.": "ほかのコンピュータは上に表示されています。",
"No other computers in your account yet.": "アカウントにはまだ他のコンピューターがありません。",
"No pending connection request here": "ここには保留中の接続リクエストはありません",
"No reply to copy": "コピーする返信がありません",
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json
index a6f37cac..0d287f65 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json
@@ -940,6 +940,7 @@
"No files on that message": "해당 메시지에 파일이 없습니다",
"No matching bots": "일치하는 봇이 없습니다",
"No message to reply to yet": "아직 답장할 메시지가 없습니다",
+ "Your other computers are listed above.": "다른 컴퓨터는 위에 표시되어 있습니다.",
"No other computers in your account yet.": "아직 계정에 다른 컴퓨터가 없습니다.",
"No pending connection request here": "여기에 대기 중인 연결 요청이 없습니다",
"No reply to copy": "복사할 답장이 없습니다",
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json
index a0118b1f..f5fb4876 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json
@@ -940,6 +940,7 @@
"No files on that message": "那条消息没有文件",
"No matching bots": "没有匹配的 Bot",
"No message to reply to yet": "还没有可以回复的消息",
+ "Your other computers are listed above.": "你的其他电脑已列在上方。",
"No other computers in your account yet.": "你的账户里还没有其他电脑。",
"No pending connection request here": "这里没有待处理的连接请求",
"No reply to copy": "没有可以复制的回复",
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json
index f6f699c3..88be4950 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json
@@ -940,6 +940,7 @@
"No files on that message": "那條訊息沒有檔案",
"No matching bots": "沒有匹配的 Bot",
"No message to reply to yet": "還沒有可以回覆的訊息",
+ "Your other computers are listed above.": "你的其他電腦已列在上方。",
"No other computers in your account yet.": "你的賬戶裡還沒有其他電腦。",
"No pending connection request here": "這裡沒有待處理的連線請求",
"No reply to copy": "沒有可以複製的回覆",