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): show an SSH computer's full card under can-use without a repeated row
leepokai5fb5ba16b035
diff --git a/apps/desktop/src/renderer/views/settings/ComputersUsedSection.tsx b/apps/desktop/src/renderer/views/settings/ComputersUsedSection.tsxindex e76af414..35571ce8 100644--- a/apps/desktop/src/renderer/views/settings/ComputersUsedSection.tsx+++ b/apps/desktop/src/renderer/views/settings/ComputersUsedSection.tsx@@ -1,49 +1,19 @@-import { useState, type ReactNode } from 'react'-import { CardSection, Reveal } from '../../components/Controls'-import { Icon } from '../../components/Icon'-import { IconSlot, VStack } from '../../components/Stack'+import type { ReactNode } from 'react'import { Text } from '../../components/Text'-import { useModel } from '../../lib/observable'+import { VStack } from '../../components/Stack'import { useTr } from '../../lib/use-language'import type { BotStore } from '../../store/bot-store'import { useApp } from '../../store/context'+import { SectionHeader } from './parts'-/** The computers this computer can use (the ones it manages over SSH); one unfolds to its full settings. */+/** The computers this computer can use (the ones it manages over SSH), each with its full settings. */export function ComputersUsedSection({ store, details }: { store: BotStore; details: (computer: BotStore) => ReactNode }) {const tr = useTr()- const app = useApp()- const [open, setOpen] = useState<string | null>(null)- const used = app.managedStores.filter((s) => s !== store)+ const used = useApp().managedStores.filter((s) => s !== store)return (<VStack gap={16}>- <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} open={open === computer.computer.id}- toggle={() => setOpen(open === computer.computer.id ? null : computer.computer.id)} />- ))}- </CardSection>- {used.map((computer) => (- <Reveal key={computer.computer.id} show={open === computer.computer.id}>{details(computer)}</Reveal>- ))}+ <SectionHeader title={tr('{name} can use').replaceAll('{name}', store.hostName)} />+ {used.length === 0 ? <Text tone="secondary">{tr('None yet.')}</Text> : used.map((computer) => <div key={computer.computer.id}>{details(computer)}</div>)}</VStack>)}--function UsedComputerRow({ computer, open, toggle }: { computer: BotStore; open: boolean; toggle: () => void }) {- const tr = useTr()- useModel(computer)- return (- <button className="settings-row settings-appear" aria-expanded={open} onClick={toggle}>- <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>- <Icon name={open ? 'chevron.up' : 'chevron.down'} size={10} color="var(--secondary)" />- </button>- )-}diff --git a/apps/desktop/src/renderer/views/settings/ComputersView.tsx b/apps/desktop/src/renderer/views/settings/ComputersView.tsxindex d1184246..1e6d4af8 100644--- a/apps/desktop/src/renderer/views/settings/ComputersView.tsx+++ b/apps/desktop/src/renderer/views/settings/ComputersView.tsx@@ -165,18 +165,13 @@ function ManagedComputerCard({ store, ssh: overSSH, nested = false }: { store: B<CardSection>{[<div key="header" className="settings-row">- {nested ? <Spacer /> : (- // Nested, its name and status are the row it unfolds from.- <>- <ComputerBadge computer={store.computer} size={26} />- <VStack grow className="settings-stack">- <Text size="headline">{name}</Text>- <Text size="caption" tone="secondary">- {`${tr(overSSH ? 'Over SSH' : isMacLabel)} · ${tr(statusText(store))}`}- </Text>- </VStack>- </>- )}+ <ComputerBadge computer={store.computer} size={26} />+ <VStack grow className="settings-stack">+ <Text size="headline">{name}</Text>+ <Text size="caption" tone="secondary">+ {`${tr(overSSH ? 'Over SSH' : isMacLabel)} · ${tr(statusText(store))}`}+ </Text>+ </VStack>{overSSH ? (// This computer's voice settings are their own Settings page.<IconButton title="Voice chat" icon="waveform" selected={showVoice} disabled={!online} onClick={() => setShowVoice((s) => !s)} />diff --git a/apps/desktop/src/renderer/views/settings/settings.css b/apps/desktop/src/renderer/views/settings/settings.cssindex bfb3f042..be43d0e7 100644--- a/apps/desktop/src/renderer/views/settings/settings.css+++ b/apps/desktop/src/renderer/views/settings/settings.css@@ -85,10 +85,6 @@gap: 10px;width: 100%;}-/* A row that unfolds more. */-button.settings-row {- text-align: left;-}.settings-stack {display: flex;flex-direction: column;diff --git a/docs/guides/accounts-and-ssh.md b/docs/guides/accounts-and-ssh.mdindex a2e11c8d..ec57bf25 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, for this computer only, the computers it can use (its SSH computers) and the devices that can use it, with revoke.+*Remove from account* (`unclaim`), a pairing QR, and, for this computer only, the computers it can use (its SSH computers, each with its own settings) and the devices that can use it, with revoke.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*,