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): remove any offline computer from the account
leepokai0d09f6e3dc4a
diff --git a/apps/desktop/src/renderer/views/settings/ComputersView.tsx b/apps/desktop/src/renderer/views/settings/ComputersView.tsxindex ee23007d..b7dd9642 100644--- a/apps/desktop/src/renderer/views/settings/ComputersView.tsx+++ b/apps/desktop/src/renderer/views/settings/ComputersView.tsx@@ -36,6 +36,7 @@ export function ComputersView() {const cloud = useModel(app.cloud)const [editing, setEditing] = useState<{ profile: SSHProfile; isNew: boolean } | null>(null)const [removingCopy, setRemovingCopy] = useState<CloudComputer | null>(null)+ const removingOlder = removingCopy !== null && cloud.isOlderCopy(removingCopy)const managed = app.managedStores// 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)@@ -87,8 +88,10 @@ export function ComputersView() {</Sheet><Dialogopen={removingCopy !== null}- title={tr('Remove the older {name}?').replaceAll('{name}', removingCopy?.name ?? 'computer')}- message={tr("It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.").replaceAll('{name}', removingCopy?.name ?? 'a computer')}+ title={tr(removingOlder ? 'Remove the older {name}?' : 'Remove {name} from your account?').replaceAll('{name}', removingCopy?.name ?? 'computer')}+ message={tr(removingOlder+ ? "It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account."+ : "It's offline. Removing it only cleans up your account.").replaceAll('{name}', removingCopy?.name ?? 'a computer')}actions={removingCopy ? [{ title: 'Remove', destructive: true, action: () => void cloud.removeFromAccount(removingCopy.computerId) }] : []}onClose={() => setRemovingCopy(null)}/>@@ -304,7 +307,10 @@ function CodyncVersionRow({ store }: { store: BotStore }) {)}-/** An account computer this app isn't authorized on, or one it uses under an earlier identity (`olderCopy`). */+/**+ * An account computer this app isn't authorized on, or one it uses under an earlier identity (`olderCopy`). An+ * offline one can be removed: a computer that was reset or given away never comes back under that identity.+ */function AccountComputerRow({ computer, olderCopy, onRemove }: { computer: CloudComputer; olderCopy: boolean; onRemove: () => void }) {const tr = useTr()return (@@ -318,7 +324,7 @@ function AccountComputerRow({ computer, olderCopy, onRemove }: { computer: Cloud<Text size="caption" tone={olderCopy ? 'tertiary' : 'secondary'}>{tr(accountComputerStatus(computer, olderCopy))}</Text></div><Spacer />- {olderCopy ? <IconButton title="Remove from account" icon="trash" onClick={onRemove} /> : null}+ {computer.online ? null : <IconButton title="Remove from account" icon="trash" onClick={onRemove} />}</div></div>)diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.jsonindex 64e945ab..f11a2ad1 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json@@ -1146,6 +1146,8 @@"Revoke {name}?": "{name} den Zugriff entziehen?","Remove the older {name}?": "Das ältere {name} entfernen?","It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.": "Es ist eine frühere Identität von {name}, die nicht mehr erreichbar ist. Das Entfernen räumt nur dein Konto auf.",+ "Remove {name} from your account?": "{name} aus dem Konto entfernen?",+ "It's offline. Removing it only cleans up your account.": "Es ist offline. Das Entfernen räumt nur dein Konto auf.","Any device signed in to your account gets full control of {name}: its files, terminals and bots, with no check here. If someone gets into your account, or Codync's cloud is ever compromised, they could add their own device and you'd have no chance to stop it. Devices paired with a QR code aren't affected.": "Jedes in deinem Konto angemeldete Gerät erhält ohne weitere Prüfung hier volle Kontrolle über {name}: Dateien, Terminals und Bots. Falls jemand in dein Konto eindringt oder die Codync-Cloud kompromittiert wird, könnte er ein eigenes Gerät hinzufügen, ohne dass du es verhindern kannst. Per QR-Code gekoppelte Geräte sind nicht betroffen.","Pair iPhone with {name}": "iPhone mit {name} koppeln","Waiting for your OK on the computer · {code}": "Warten auf deine Bestätigung am Computer · {code}",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.jsonindex 16a67f7e..c47be62d 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json@@ -1146,6 +1146,8 @@"Revoke {name}?": "¿Revocar {name}?","Remove the older {name}?": "¿Eliminar el antiguo {name}?","It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.": "Es una identidad anterior de {name} que ya no está accesible. Eliminarla solo limpia tu cuenta.",+ "Remove {name} from your account?": "¿Eliminar {name} de la cuenta?",+ "It's offline. Removing it only cleans up your account.": "Está sin conexión. Eliminarlo solo limpia tu cuenta.","Any device signed in to your account gets full control of {name}: its files, terminals and bots, with no check here. If someone gets into your account, or Codync's cloud is ever compromised, they could add their own device and you'd have no chance to stop it. Devices paired with a QR code aren't affected.": "Cualquier dispositivo que inicie sesión en tu cuenta obtiene control total de {name}: sus archivos, terminales y bots, sin comprobación aquí. Si alguien accede a tu cuenta o la nube de Codync se ve comprometida, podría añadir su dispositivo sin que puedas impedirlo. Los dispositivos vinculados por QR no se ven afectados.","Pair iPhone with {name}": "Vincular iPhone con {name}","Waiting for your OK on the computer · {code}": "Esperando tu aprobación en la computadora · {code}",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.jsonindex 5ce35a35..d3768767 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json@@ -1146,6 +1146,8 @@"Revoke {name}?": "Révoquer {name} ?","Remove the older {name}?": "Supprimer l’ancien {name} ?","It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.": "Il s’agit d’une ancienne identité de {name}, désormais inaccessible. La supprimer ne fait que nettoyer votre compte.",+ "Remove {name} from your account?": "Supprimer {name} du compte ?",+ "It's offline. Removing it only cleans up your account.": "Il est hors ligne. Le supprimer ne fait que nettoyer votre compte.","Any device signed in to your account gets full control of {name}: its files, terminals and bots, with no check here. If someone gets into your account, or Codync's cloud is ever compromised, they could add their own device and you'd have no chance to stop it. Devices paired with a QR code aren't affected.": "Tout appareil connecté à votre compte obtient le contrôle total de {name} : fichiers, terminaux et bots, sans vérification ici. Si quelqu’un accède à votre compte ou si le cloud Codync est compromis, il pourrait ajouter son appareil sans que vous puissiez l’arrêter. Les appareils associés par QR code ne sont pas concernés.","Pair iPhone with {name}": "Associer l’iPhone à {name}","Waiting for your OK on the computer · {code}": "En attente de votre accord sur l’ordinateur · {code}",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.jsonindex a9c73b35..36b7f9fb 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json@@ -1146,6 +1146,8 @@"Revoke {name}?": "{name} を取り消しますか?","Remove the older {name}?": "古い {name} を削除しますか?","It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.": "これは {name} の以前のアイデンティティであり、もうアクセスできません。削除してもアカウントがクリーンアップされるだけです。",+ "Remove {name} from your account?": "{name} をアカウントから削除しますか?",+ "It's offline. Removing it only cleans up your account.": "オフラインです。削除してもアカウントが整理されるだけです。","Any device signed in to your account gets full control of {name}: its files, terminals and bots, with no check here. If someone gets into your account, or Codync's cloud is ever compromised, they could add their own device and you'd have no chance to stop it. Devices paired with a QR code aren't affected.": "アカウントにサインインしているデバイスは、ここにチェックを入れなくても、{name} (そのファイル、端末、ボット) を完全に制御できます。誰かがあなたのアカウントに侵入したり、Codync のクラウドが侵害されたりした場合、彼らは自分のデバイスを追加する可能性があり、あなたにはそれを止める機会がありません。 QR コードとペアリングされたデバイスは影響を受けません。","Pair iPhone with {name}": "iPhone と {name} をペアリングする","Waiting for your OK on the computer · {code}": "コンピューターであなたの OK を待っています · {code}",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.jsonindex 54363f97..768a3840 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json@@ -1146,6 +1146,8 @@"Revoke {name}?": "{name}의 접근 권한을 취소할까요?","Remove the older {name}?": "이전 {name}을 제거할까요?","It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.": "더 이상 접근할 수 없는 {name}의 이전 식별 정보입니다. 제거해도 계정만 정리됩니다.",+ "Remove {name} from your account?": "{name}을 계정에서 제거할까요?",+ "It's offline. Removing it only cleans up your account.": "오프라인 상태입니다. 제거해도 계정만 정리됩니다.","Any device signed in to your account gets full control of {name}: its files, terminals and bots, with no check here. If someone gets into your account, or Codync's cloud is ever compromised, they could add their own device and you'd have no chance to stop it. Devices paired with a QR code aren't affected.": "계정에 로그인한 모든 기기는 여기서 별도의 확인 없이 {name}의 파일, 터미널, 봇을 완전히 제어할 수 있습니다. 누군가 계정에 침입하거나 Codync 클라우드가 침해되면 자신의 기기를 추가할 수 있으며 이를 막을 기회가 없습니다. QR 코드로 페어링한 기기는 영향을 받지 않습니다.","Pair iPhone with {name}": "{name}에 iPhone 페어링","Waiting for your OK on the computer · {code}": "컴퓨터에서 승인 대기 중 · {code}",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.jsonindex ee632d3a..b8cb22b1 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json@@ -1146,6 +1146,8 @@"Revoke {name}?": "撤销 {name} 的访问?","Remove the older {name}?": "移除较早的 {name}?","It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.": "这是 {name} 较早的身份,已经连不上了。移除它只是清理你的账户。",+ "Remove {name} from your account?": "从账户移除 {name}?",+ "It's offline. Removing it only cleans up your account.": "它已离线。移除它只是清理你的账户。","Any device signed in to your account gets full control of {name}: its files, terminals and bots, with no check here. If someone gets into your account, or Codync's cloud is ever compromised, they could add their own device and you'd have no chance to stop it. Devices paired with a QR code aren't affected.": "登录了你账户的任何设备都能完全控制 {name}:它的文件、终端和 Bot,这里不会再核对。如果有人进入你的账户,或 Codync 的云被攻破,对方可以自己加一台设备,你没有机会拦住。用二维码配对的设备不受影响。","Pair iPhone with {name}": "让 iPhone 与 {name} 配对","Waiting for your OK on the computer · {code}": "等你在电脑上确认 · {code}",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.jsonindex 198cd3ad..312455f6 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json@@ -1146,6 +1146,8 @@"Revoke {name}?": "撤銷 {name} 的訪問?","Remove the older {name}?": "移除較早的 {name}?","It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.": "這是 {name} 較早的身份,已經連不上了。移除它只是清理你的賬戶。",+ "Remove {name} from your account?": "從賬戶移除 {name}?",+ "It's offline. Removing it only cleans up your account.": "它已離線。移除它只是清理你的賬戶。","Any device signed in to your account gets full control of {name}: its files, terminals and bots, with no check here. If someone gets into your account, or Codync's cloud is ever compromised, they could add their own device and you'd have no chance to stop it. Devices paired with a QR code aren't affected.": "登入了你賬戶的任何裝置都能完全控制 {name}:它的檔案、終端和 Bot,這裡不會再核對。如果有人進入你的賬戶,或 Codync 的雲被攻破,對方可以自己加一臺裝置,你沒有機會攔住。用二維碼配對的裝置不受影響。","Pair iPhone with {name}": "讓 iPhone 與 {name} 配對","Waiting for your OK on the computer · {code}": "等你在電腦上確認 · {code}",diff --git a/docs/guides/accounts-and-ssh.md b/docs/guides/accounts-and-ssh.mdindex e1a9a753..a75ee382 100644--- a/docs/guides/accounts-and-ssh.md+++ b/docs/guides/accounts-and-ssh.md@@ -207,8 +207,9 @@ The desktop app attaches this computer's host and its SSH computers over loopbacfollow into whichever account is active. The account's other computers are not reacheddirectly (the encrypted channel wasn't ported to the desktop app), so their"Ask for access" rows show status only. An older copy of a computer the app uses shows-*Older copy · last seen …* with *Remove from account* (`DELETE /v1/computers/{id}`, confirmed-first). See [desktop app](../architecture/desktop-app.md).+*Older copy · last seen …*. Every offline row has *Remove from account* (`DELETE /v1/computers/{id}`,+confirmed first), so a computer that was reset or given away can be cleaned up even when its+name changed. See [desktop app](../architecture/desktop-app.md).**Computers & devices** (Settings) shows, for this computer and each SSH computer:*Reach from anywhere* (`setCloud`, on/off; the host's build decides which cloud),diff --git a/web/content/docs/remote-access.mdx b/web/content/docs/remote-access.mdxindex 467913bd..f8f151af 100644--- a/web/content/docs/remote-access.mdx+++ b/web/content/docs/remote-access.mdx@@ -138,3 +138,4 @@ Webhook deliveries are **not** end-to-end encrypted. The relay receives them ove- **On the computer:** in **Settings → Computers**, the list **Devices that can use** the computer has **Revoke access** for each device. Without the desktop app, use `codync-host devices` to list devices and `codync-host devices revoke <key>` to remove one. The device disconnects right away and has to pair or ask again.- **On the iPhone:** in **Manage computers**, remove a paired computer, or revoke this phone's account access to one. The computer keeps its bots and chats.- **Remove from account** on a computer's card disconnects devices approved through the account. Devices paired with a QR code keep their access.+- **A computer that's gone** (reset, reinstalled or given away) stays offline in your account. In the desktop app, **Settings → Computers** lists it under **Other computers in your account**; choose **Remove from account** on its row. On your phone, remove it from its computers list.