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): each computer shows what it can use and who can use it, and the account lists the SSH computers too
leepokaidbe443407631
diff --git a/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx b/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsxindex ef5a8c1b..5bc6d19c 100644--- a/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx+++ b/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx@@ -45,7 +45,7 @@ export function AuthorizedDevicesSection({ store, viaSSH }: { store: BotStore; /return (<>- <CardSection title={tr('Devices that can use {name}').replaceAll('{name}', name)}>+ <CardSection title={tr('{name} can be used by').replaceAll('{name}', name)}>{devices === null? [<Spinner key="loading" />]: 'error' in devicesdiff --git a/apps/desktop/src/renderer/views/settings/ComputersUsedSection.tsx b/apps/desktop/src/renderer/views/settings/ComputersUsedSection.tsxnew file mode 100644index 00000000..17068c49--- /dev/null+++ b/apps/desktop/src/renderer/views/settings/ComputersUsedSection.tsx@@ -0,0 +1,41 @@+import { CardSection } from '../../components/Controls'+import { Icon } from '../../components/Icon'+import { HStack, IconSlot, VStack } from '../../components/Stack'+import { Text } from '../../components/Text'+import { useModel } from '../../lib/observable'+import { useTr } from '../../lib/use-language'+import type { BotStore } from '../../store/bot-store'+import { useApp } from '../../store/context'++/**+ * The computers a computer can use. This one reaches the computers it manages over SSH; those+ * hold no connection back, so theirs stays empty.+ */+export function ComputersUsedSection({ store }: { store: BotStore }) {+ const tr = useTr()+ const app = useApp()+ const used = store === app.local ? app.managedStores.filter((s) => s !== store) : []+ return (+ <CardSection title={tr('{name} can use').replaceAll('{name}', store.hostName)}>+ {used.length === 0+ ? [<Text key="none" tone="secondary">{tr('None yet.')}</Text>]+ : used.map((computer) => <UsedComputerRow key={computer.computer.id} computer={computer} />)}+ </CardSection>+ )+}++function UsedComputerRow({ computer }: { computer: BotStore }) {+ const tr = useTr()+ useModel(computer)+ 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>{computer.hostName}</span>+ <Text size="caption" tone="tertiary">{`${tr('Over SSH')} · ${tr(computer.connectionLabel)}`}</Text>+ </VStack>+ </HStack>+ )+}diff --git a/apps/desktop/src/renderer/views/settings/ComputersView.tsx b/apps/desktop/src/renderer/views/settings/ComputersView.tsxindex 63565f7a..4e730a7e 100644--- a/apps/desktop/src/renderer/views/settings/ComputersView.tsx+++ b/apps/desktop/src/renderer/views/settings/ComputersView.tsx@@ -14,6 +14,7 @@ import { StoreContext, useApp } from '../../store/context'import { ComputerBadge } from '../ComputerBadge'import { PairingCode } from '../PairingCode'import { AuthorizedDevicesSection } from './AuthorizedDevicesSection'+import { ComputersUsedSection } from './ComputersUsedSection'import { cloudStatusLine } from '../../lib/relay-copy'import { useTr } from '../../lib/use-language'import { errorText, liveClient, relativeDay, SectionHeader, statusText, thisMac } from './parts'@@ -36,8 +37,8 @@ export function ComputersView() {const [editing, setEditing] = useState<{ profile: SSHProfile; isNew: boolean } | null>(null)const [removingCopy, setRemovingCopy] = useState<CloudComputer | null>(null)const managed = app.managedStores- const managedIds = new Set(managed.map((s) => s.computer.id))- const others = cloud.computers.filter((c) => !managedIds.has(c.computerId))+ // Every computer in the account but this one, the SSH computers too: their cards above are about managing them.+ const others = cloud.computers.filter((c) => c.computerId !== app.local?.computer.id)const addSSH = (host: string) => setEditing({ profile: { ...newSSHProfile(window.codync.hostPort), host }, isNew: true })return (@@ -72,9 +73,7 @@ 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">- {managed.length > 1 ? tr(`Your other computers are listed above.`) : tr(`No other computers in your account yet.`)}- </Text>+ <Text as="div" size="callout" tone="secondary">{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)} />@@ -241,6 +240,8 @@ function ManagedComputerCard({ store, ssh: overSSH }: { store: BotStore; ssh: bo]}</CardSection>+ <ComputersUsedSection store={store} />+<AuthorizedDevicesSection store={store} viaSSH={overSSH} /><Sheet open={showVoice} onClose={() => setShowVoice(false)}>diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.jsonindex 117d7b35..f0e176c4 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json@@ -940,7 +940,9 @@"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.",+ "{name} can use": "{name} kann nutzen",+ "{name} can be used by": "{name} wird genutzt von",+ "None yet.": "Noch keine.","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.jsonindex 9858d9c6..11930cbc 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json@@ -940,7 +940,9 @@"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.",+ "{name} can use": "{name} puede usar",+ "{name} can be used by": "{name} puede ser usado por",+ "None yet.": "Ninguno todavía.","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.jsonindex 2a2b9489..304efd0d 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json@@ -940,7 +940,9 @@"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.",+ "{name} can use": "{name} peut utiliser",+ "{name} can be used by": "{name} est utilisable par",+ "None yet.": "Aucun pour l'instant.","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.jsonindex 84231d7a..e58a49f6 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json@@ -940,7 +940,9 @@"No files on that message": "そのメッセージにはファイルがありません","No matching bots": "一致するボットはありません","No message to reply to yet": "返信するメッセージはまだありません",- "Your other computers are listed above.": "ほかのコンピュータは上に表示されています。",+ "{name} can use": "{name} が使えるコンピュータ",+ "{name} can be used by": "{name} を使えるデバイス",+ "None yet.": "まだありません。","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.jsonindex 0d287f65..3e80d9e9 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json@@ -940,7 +940,9 @@"No files on that message": "해당 메시지에 파일이 없습니다","No matching bots": "일치하는 봇이 없습니다","No message to reply to yet": "아직 답장할 메시지가 없습니다",- "Your other computers are listed above.": "다른 컴퓨터는 위에 표시되어 있습니다.",+ "{name} can use": "{name}이(가) 사용할 수 있는 컴퓨터",+ "{name} can be used by": "{name}을(를) 사용할 수 있는 기기",+ "None yet.": "아직 없습니다.","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.jsonindex f5fb4876..e8c95c60 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json@@ -940,7 +940,9 @@"No files on that message": "那条消息没有文件","No matching bots": "没有匹配的 Bot","No message to reply to yet": "还没有可以回复的消息",- "Your other computers are listed above.": "你的其他电脑已列在上方。",+ "{name} can use": "{name} 可以使用",+ "{name} can be used by": "{name} 可被谁使用",+ "None yet.": "还没有。","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.jsonindex 88be4950..f6b15a1c 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json@@ -940,7 +940,9 @@"No files on that message": "那條訊息沒有檔案","No matching bots": "沒有匹配的 Bot","No message to reply to yet": "還沒有可以回覆的訊息",- "Your other computers are listed above.": "你的其他電腦已列在上方。",+ "{name} can use": "{name} 可以使用",+ "{name} can be used by": "{name} 可被誰使用",+ "None yet.": "還沒有。","No other computers in your account yet.": "你的賬戶裡還沒有其他電腦。","No pending connection request here": "這裡沒有待處理的連線請求","No reply to copy": "沒有可以複製的回覆",diff --git a/docs/guides/accounts-and-ssh.md b/docs/guides/accounts-and-ssh.mdindex fffe1410..0110a62e 100644--- a/docs/guides/accounts-and-ssh.md+++ b/docs/guides/accounts-and-ssh.md@@ -215,7 +215,7 @@ first). See [desktop app](../architecture/desktop-app.md).*Relay address* and, for a private relay, a write-only *Relay token* (`setCloudUrl`; thehost's `cloudStatus` says `relay: "private"` and `tokenSet`, and there the account rows are hiddenand auto-claim never runs), *Add to account* (claim: `POST /v1/claims` → loopback `claimSign` → complete) and-*Remove from account* (`unclaim`), a pairing QR, and the authorized devices with revoke.+*Remove from account* (`unclaim`), a pairing QR, the computers it can use (this computer: its SSH computers) and the devices that can use it, with revoke (an SSH computer lists this one there).Signed in, this computer joins the account on its own once per host identity; an identitythat was already in the account and was removed (here or from a phone) is never re-addedsilently, only through *Add to account*. The section below, *Other computers in your account*,