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(apps): computer menu keeps open while picking computers, drops Show only
leepokaid435f70a4681
diff --git a/apps/android/app/src/androidTest/kotlin/com/codync/android/ComputerRosterTest.kt b/apps/android/app/src/androidTest/kotlin/com/codync/android/ComputerRosterTest.ktindex 407fcf73..9b31f862 100644--- a/apps/android/app/src/androidTest/kotlin/com/codync/android/ComputerRosterTest.kt+++ b/apps/android/app/src/androidTest/kotlin/com/codync/android/ComputerRosterTest.kt@@ -47,13 +47,10 @@ class ComputerRosterTest {compose.onNodeWithText("Linux bot").assertDoesNotExist()compose.onNode(heading("Mac fixture")).assertDoesNotExist()compose.onNodeWithText("1 connected").assertIsDisplayed()- compose.computerAction("All computers")- compose.onNodeWithText("Linux bot").assertIsDisplayed()- // Show only, from its submenu.- compose.computerAction("Show only")- compose.onNodeWithText("Linux fixture").performClick()- compose.onNodeWithText("Mac bot").assertDoesNotExist()+ // The menu stays open for the next pick.+ compose.onNodeWithText("All computers").performClick()compose.onNodeWithText("Linux bot").assertIsDisplayed()+ compose.onNodeWithText("All computers").assertIsDisplayed()} finally {RosterComputers.setHidden(context, hidden); RosterComputers.setFolded(context, folded)}diff --git a/apps/android/app/src/main/kotlin/com/codync/android/ComputerSection.kt b/apps/android/app/src/main/kotlin/com/codync/android/ComputerSection.ktindex d83bbeec..cac2a5cc 100644--- a/apps/android/app/src/main/kotlin/com/codync/android/ComputerSection.kt+++ b/apps/android/app/src/main/kotlin/com/codync/android/ComputerSection.kt@@ -93,14 +93,11 @@ import com.codync.android.design.*val summary = connectionSummary(shown).let { it.filled(translate(it.template)) }DropdownMenu({listOf(- MenuItem("All computers", icon = "desktopcomputer", selected = selection.shown.size == states.size) { setHidden("") },+ MenuItem("All computers", icon = "desktopcomputer", selected = selection.shown.size == states.size, keepsOpen = true) { setHidden("") },*states.map { state ->MenuItem(state.hostName, icon = computerSymbol(state.hello?.text("device")), selected = state.computer.id in selection.shown,- verbatim = true, detail = translate(connectionLabel(state))) { setHidden(selection.toggling(state.computer.id)) }+ verbatim = true, detail = translate(connectionLabel(state)), keepsOpen = true) { setHidden(selection.toggling(state.computer.id)) }}.toTypedArray(),- *(if (states.size > 1) arrayOf(MenuItem("Show only", children = states.map { state ->- MenuItem(state.hostName, icon = computerSymbol(state.hello?.text("device")), verbatim = true) { setHidden(selection.only(state.computer.id)) }- })) else emptyArray()),MenuItem("Reconnect", icon = "arrow.clockwise", divider = true, enabled = shown.isNotEmpty(), action = reconnect),MenuItem("Manage computers", icon = "desktopcomputer", action = manage),)diff --git a/apps/android/core/src/main/kotlin/com/codync/android/core/ComputerSelection.kt b/apps/android/core/src/main/kotlin/com/codync/android/core/ComputerSelection.ktindex 4cd31d94..cd713194 100644--- a/apps/android/core/src/main/kotlin/com/codync/android/core/ComputerSelection.kt+++ b/apps/android/core/src/main/kotlin/com/codync/android/core/ComputerSelection.kt@@ -17,7 +17,5 @@ class ComputerSelection(val all: List<String>, hidden: String) {return encoded(all.toSet() - visible)}- fun only(id: String): String = if (id !in all) "" else encoded(all.toSet() - id)-private fun encoded(ids: Set<String>): String = ids.sorted().joinToString(",")}diff --git a/apps/android/core/src/test/kotlin/com/codync/android/core/ComputerSelectionTest.kt b/apps/android/core/src/test/kotlin/com/codync/android/core/ComputerSelectionTest.ktindex b186cbe4..c2849d89 100644--- a/apps/android/core/src/test/kotlin/com/codync/android/core/ComputerSelectionTest.kt+++ b/apps/android/core/src/test/kotlin/com/codync/android/core/ComputerSelectionTest.kt@@ -5,13 +5,13 @@ import org.junit.Assert.assertTrueimport org.junit.Testclass ComputerSelectionTest {- @Test fun `the filter shows several computers or only one`() {+ @Test fun `the filter shows and hides computers one at a time`() {val all = listOf("a", "b", "c")val initial = ComputerSelection(all, "")assertEquals(all, initial.shown)val withoutB = ComputerSelection(all, initial.toggling("b"))assertEquals(listOf("a", "c"), withoutB.shown)- val onlyC = ComputerSelection(all, withoutB.only("c"))+ val onlyC = ComputerSelection(all, withoutB.toggling("a"))assertEquals(listOf("c"), onlyC.shown)assertEquals(listOf("a", "c"), ComputerSelection(all, onlyC.toggling("a")).shown)}@@ -24,6 +24,5 @@ class ComputerSelectionTest {assertEquals(listOf("c"), ComputerSelection(removed.all, removed.toggling("b")).shown)assertEquals(listOf("a", "new"), ComputerSelection(listOf("a", "b", "new"), "b").shown)assertTrue(ComputerSelection(emptyList(), "a").shown.isEmpty())- assertEquals("", ComputerSelection(listOf("a"), "a").only("gone"))}}diff --git a/apps/android/design/src/main/kotlin/com/codync/android/design/Menus.kt b/apps/android/design/src/main/kotlin/com/codync/android/design/Menus.ktindex 82877387..6bef64fa 100644--- a/apps/android/design/src/main/kotlin/com/codync/android/design/Menus.kt+++ b/apps/android/design/src/main/kotlin/com/codync/android/design/Menus.kt@@ -89,6 +89,8 @@ class MenuItem(/** Shows [title] as it is, never translated: a name the user gave (a section's). */val verbatim: Boolean = false,val detail: String? = null,+ /** Picking it leaves the menu open, for choices made several at a time (iOS `.menuActionDismissBehavior(.disabled)`). */+ val keepsOpen: Boolean = false,val action: () -> Unit = {},) {/** [title] as the row shows it: through [translate], unless [verbatim]. */@@ -248,7 +250,7 @@ private val MenuShape = RoundedRectangle(26.dp)for ((index, item) in (open?.children ?: items).withIndex()) {if (item.divider && index > 0) MenuDivider()MenuRow(item) {- if (item.children != null) submenu = item else { close(); item.action() }+ if (item.children != null) submenu = item else { if (!item.keepsOpen) close(); item.action() }}}}diff --git a/apps/desktop/src/renderer/components/Overlay.tsx b/apps/desktop/src/renderer/components/Overlay.tsxindex 104ace6a..a0b02f7d 100644--- a/apps/desktop/src/renderer/components/Overlay.tsx+++ b/apps/desktop/src/renderer/components/Overlay.tsx@@ -211,6 +211,8 @@ export interface MenuItem {divider?: boolean/** The title is a name the user gave (a section): shown as typed, never translated. */verbatim?: boolean+ /** Picking it leaves the menu open, for choices made several at a time (iOS `.menuActionDismissBehavior(.disabled)`). */+ keepsOpen?: booleanaction: () => void}@@ -257,7 +259,7 @@ export function MenuPanel({ items, reactions, dismiss, maxHeight }: { items: MensetHighlight((h) => (h + (e.key === 'ArrowDown' ? 1 : -1) + items.length) % items.length)} else if (e.key === 'Enter' && highlight >= 0) {e.preventDefault()- dismiss()+ if (!items[highlight]?.keepsOpen) dismiss()items[highlight]?.action()}}@@ -281,7 +283,7 @@ export function MenuPanel({ items, reactions, dismiss, maxHeight }: { items: Mentitle={item.verbatim ? item.title : tr(item.title)}onMouseEnter={() => setHighlight(i)}onClick={() => {- dismiss()+ if (!item.keepsOpen) dismiss()item.action()}}>diff --git a/apps/desktop/src/renderer/views/ComputerFilterHeader.tsx b/apps/desktop/src/renderer/views/ComputerFilterHeader.tsxindex 15866c2c..bd56dd5f 100644--- a/apps/desktop/src/renderer/views/ComputerFilterHeader.tsx+++ b/apps/desktop/src/renderer/views/ComputerFilterHeader.tsx@@ -24,9 +24,6 @@ export function computerSelection(all: string[], hidden: string) {} else next.add(id)return encoded(new Set(all.filter((x) => !next.has(x))))},- only(id: string) {- return all.includes(id) ? encoded(new Set(all.filter((x) => x !== id))) : ''- },}}@@ -52,11 +49,11 @@ export function ComputerFilterHeader({ hidden, setHidden, manage, compact = falsconst online = stores.filter((s) => s.shownConnection.kind === 'online').lengthconst text = pendingSummary ? `${online ? `${online} connected · ` : ''}${pendingSummary}` : summary(stores.map((s) => s.shownConnection))const items = (): MenuItem[] => {- const list: MenuItem[] = [{ title: 'All computers', icon: 'desktopcomputer', selected: selection.shown.length === app.computers.length, action: () => setHidden('') }]+ const list: MenuItem[] = [{ title: 'All computers', icon: 'desktopcomputer', selected: selection.shown.length === app.computers.length, keepsOpen: true, action: () => setHidden('') }]for (const c of app.computers) {const store = app.store(c.id)list.push({ title: store?.hostName ?? c.name, verbatim: true, detail: store?.connectionLabel,- leading: <ComputerBadge computer={c} size={26} />, selected: selection.shown.includes(c.id),+ leading: <ComputerBadge computer={c} size={26} />, selected: selection.shown.includes(c.id), keepsOpen: true,action: () => setHidden(selection.toggling(c.id)) })}for (const p of pending) {@@ -64,7 +61,6 @@ export function ComputerFilterHeader({ hidden, setHidden, manage, compact = falsconst detail = sshStatusDetail(status, false)list.push({ title: p.name || p.host, verbatim: true, detail, icon: 'network', action: manage })}- if (app.computers.length > 1) app.computers.forEach((c, i) => list.push({ title: `Only ${c.name}`, leading: <ComputerBadge computer={c} size={26} />, divider: i === 0, action: () => setHidden(selection.only(c.id)) }))if (stores.length) list.push({ title: 'Reconnect', icon: 'arrow.clockwise', divider: true, action: () => stores.forEach((s) => s.restartStream()) })if (app.host.state.kind === 'notInstalled') list.push({ title: `Install host on this ${window.codync.platform === 'darwin' ? 'Mac' : 'computer'}`, icon: 'desktopcomputer', action: () => window.codync.host.install() })if (app.host.state.kind === 'failed') list.push({ title: 'Try again on this computer', icon: 'arrow.clockwise', action: () => window.codync.host.restart() })diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.jsonindex 63c89c27..64e945ab 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json@@ -398,7 +398,6 @@"Everyone answers in turn unless you @mention someone.": "Alle antworten der Reihe nach, außer du erwähnst jemanden mit @.","Create": "Erstellen","All computers": "Alle Computer",- "Show only": "Nur anzeigen","Reconnect": "Erneut verbinden","Manage computers": "Computer verwalten","Model": "Modell",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.jsonindex 16721927..16a67f7e 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json@@ -398,7 +398,6 @@"Everyone answers in turn unless you @mention someone.": "Todos responden por turnos, salvo que menciones a alguien con @.","Create": "Crear","All computers": "Todas las computadoras",- "Show only": "Mostrar solo","Reconnect": "Reconectar","Manage computers": "Administrar computadoras","Model": "Modelo",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.jsonindex 2e8273d1..5ce35a35 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json@@ -398,7 +398,6 @@"Everyone answers in turn unless you @mention someone.": "Chacun répond à son tour, sauf si vous mentionnez quelqu’un avec @.","Create": "Créer","All computers": "Tous les ordinateurs",- "Show only": "Afficher uniquement","Reconnect": "Reconnecter","Manage computers": "Gérer les ordinateurs","Model": "Modèle",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.jsonindex b0d7a0d4..a9c73b35 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json@@ -398,7 +398,6 @@"Everyone answers in turn unless you @mention someone.": "あなたが誰かを@メンションしない限り、全員が順番に答えます。","Create": "作成する","All computers": "すべてのコンピュータ",- "Show only": "表示のみ","Reconnect": "再接続","Manage computers": "コンピュータの管理","Model": "モデル",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.jsonindex 42f80879..54363f97 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json@@ -398,7 +398,6 @@"Everyone answers in turn unless you @mention someone.": "다른 사람을 @멘션하지 않는 한 모든 사람이 차례로 응답합니다.","Create": "만들다","All computers": "모든 컴퓨터",- "Show only": "표시만","Reconnect": "다시 연결","Manage computers": "컴퓨터 관리","Model": "모델",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.jsonindex aac3d33b..ee632d3a 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json@@ -398,7 +398,6 @@"Everyone answers in turn unless you @mention someone.": "大家轮流回复,除非你 @ 某一个人。","Create": "创建","All computers": "全部电脑",- "Show only": "只显示","Reconnect": "重新连接","Manage computers": "管理电脑","Model": "模型",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.jsonindex 98f9650c..198cd3ad 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json@@ -398,7 +398,6 @@"Everyone answers in turn unless you @mention someone.": "大家輪流回復,除非你 @ 某一個人。","Create": "建立","All computers": "全部電腦",- "Show only": "只顯示","Reconnect": "重新連線","Manage computers": "管理電腦","Model": "模型",diff --git a/apps/ios/Kit/Sources/CodyncUI/Bots/ComputerFilterHeader.swift b/apps/ios/Kit/Sources/CodyncUI/Bots/ComputerFilterHeader.swiftindex 0ed8fa83..cb1cea1a 100644--- a/apps/ios/Kit/Sources/CodyncUI/Bots/ComputerFilterHeader.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Bots/ComputerFilterHeader.swift@@ -28,21 +28,13 @@ public struct ComputerFilterHeader: View {Toggle(isOn: Binding(get: { selection.shown.count == accounts.computers.count }, set: { _ in update("") })) {Label(L10n.tr("All computers"), systemImage: "desktopcomputer")}+ .menuActionDismissBehavior(.disabled)ForEach(accounts.computers) { computer inToggle(isOn: Binding(get: { selection.shown.contains(computer.id) }, set: { _ in update(selection.toggling(computer.id)) })) {Label { Text(computerTitle(computer)) } icon: { ComputerBadge(computer, size: 28) }}.menuActionDismissBehavior(.disabled)}- if accounts.computers.count > 1 {- Menu(L10n.tr("Show only")) {- ForEach(accounts.computers) { computer in- Button { update(selection.only(computer.id)) } label: {- Label { Text(computer.name) } icon: { ComputerBadge(computer, size: 28) }- }- }- }- }Divider()Button(L10n.tr("Reconnect"), systemImage: "arrow.clockwise", action: reconnect).disabled(stores.isEmpty)diff --git a/apps/ios/Kit/Sources/CodyncUI/Store/ComputerSelection.swift b/apps/ios/Kit/Sources/CodyncUI/Store/ComputerSelection.swiftindex 7e95cd22..8e0e5cfd 100644--- a/apps/ios/Kit/Sources/CodyncUI/Store/ComputerSelection.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Store/ComputerSelection.swift@@ -26,11 +26,6 @@ public struct ComputerSelection: Equatable, Sendable {return encoded(Set(all).subtracting(visible))}- public func only(_ id: ComputerID) -> String {- guard all.contains(id) else { return "" }- return encoded(Set(all).subtracting([id]))- }-private func encoded(_ ids: Set<ComputerID>) -> String { ids.sorted().joined(separator: ",") }}diff --git a/apps/ios/Kit/Tests/CodyncUITests/ComputerSelectionTests.swift b/apps/ios/Kit/Tests/CodyncUITests/ComputerSelectionTests.swiftindex 4d901b9a..c757ae54 100644--- a/apps/ios/Kit/Tests/CodyncUITests/ComputerSelectionTests.swift+++ b/apps/ios/Kit/Tests/CodyncUITests/ComputerSelectionTests.swift@@ -1,13 +1,13 @@import Testing@testable import CodyncUI-@Test func computerFilterSupportsMultipleAndSingleSelections() {+@Test func computerFilterShowsAndHidesComputersOneAtATime() {let all = ["a", "b", "c"]let initial = ComputerSelection(all: all, hidden: "")#expect(initial.shown == all)let withoutB = ComputerSelection(all: all, hidden: initial.toggling("b"))#expect(withoutB.shown == ["a", "c"])- let onlyC = ComputerSelection(all: all, hidden: withoutB.only("c"))+ let onlyC = ComputerSelection(all: all, hidden: withoutB.toggling("a"))#expect(onlyC.shown == ["c"])#expect(ComputerSelection(all: all, hidden: onlyC.toggling("a")).shown == ["a", "c"])}diff --git a/docs/design/ui-conventions.md b/docs/design/ui-conventions.mdindex e29eeda8..41c9b92b 100644--- a/docs/design/ui-conventions.md+++ b/docs/design/ui-conventions.md@@ -10,7 +10,7 @@ iPhone conversation scrolling leaves dragging, deceleration, and bottom rubber-bDo not wrap those toolbar controls in `IconButtonStyle`, hand-sized rounded backgrounds or another glass effect. The account avatar is toolbar content, with the system supplying the enclosing surface. This is the explicit exception to the custom-chrome rule below.-Connecting and reconnecting are background work. `BotStore` gives initial offline reports 1 second to recover and holds drops from online (including relay "computer offline" reports) for 5 seconds. "No access" shows immediately. Automatic read acknowledgements never open an error dialog and visible conversations are acknowledged again after reconnecting. An action taken during a reconnect (back in the foreground, a new network, a drop still inside its grace) waits for the link, up to 20 seconds, instead of failing; while one waits, headers read `Connecting…` and the conversation's connection label shows a spinner. Calls that are safe to repeat (send, stop, approvals, pin, hide, mark as read, delete) are tried again when the link drops under them. Tapping while the header says Offline because the computer can't be reached starts a fresh connection attempt and waits for it, instead of failing until the backoff gets there; a computer the relay reports as off fails at once, since the relay says when it is back. A permission card shows a spinner on the chosen option, dims the others and takes no second answer until the computer has it. The desktop app's `BotStore` (link handling in `apps/desktop/src/renderer/store/bot-sync.ts`) applies the same graces and 20-second wait. The TUI follows the same rule over loopback: a command the host can't be reached for is retried for up to 20 seconds behind its "Reconnecting…" indicator (the `hello` probe that explains an unreachable host still answers at once), and its permission cards spin on the chosen option. The "Something went wrong" dialog is left for a computer that is off, a refused device, the computer's own answers, and reconnects that outlast the wait. Background work (cloud refresh, device registration) logs connection, busy-cloud and stale-token failures instead of showing them. The iOS app disconnects only in `.background`, not `.inactive`. Connection status lives only in headers and their menus. The roster header shows a small summary (`1 connected`, `1/2 connected`, `2 offline`, or `Connecting…`). Its computer menu supports multiple selections, Show only, All computers, reconnect, and management. At least one available computer stays selected; if saved exclusions would hide every computer, the list falls back to all. Filters persist on the device. Bots sort in bands, the [lead bot](../features/lead-bot.md) (starred, never dragged) first, then pinned bots, then the rest; within a band, in the order the user dragged them into, then by recency ([bot order](../features/computer-order.md#bot-order)). Bots the user put in a section sit under a foldable section heading (name, count, and the unread total while folded; folded state saved on the device), with sections and the plain "Bots" group in device-local order after pinned bots (initially sections sorted by name, then Bots). A bot's long-press menu has Move to section (not the lead's); a heading's has Rename section and Remove section; a move or rename the computer refuses is put back. On iPhone, when more than one computer is shown, each computer gets a light heading (badge, name, connection, and "No bots yet" when empty) above its own bots; with one computer the list stays flat. Tapping a heading folds that computer's bots away (chevron; saved on the device). Long-press a heading to drag the computer with its bots up or down: while it is lifted every computer's bots fold into their headings, they unfold on release, and the order is saved on the device (`AccountStore.move`; VoiceOver: Move up / Move down). A bot moves only among its own computer's bots, within its band, and an unpinned bot only inside its section (pinned bots ignore sections). The desktop app's sidebar has the same headings, folding and heading drag (a lifted copy follows the pointer, plus Alt+Up/Down), and the same section headings. There are no connection banners. The compact desktop rail uses a computer icon for the same menu. Conversation headers show a small connection label; the desktop names the computer in its help text, the phones in the bot details' Settings (Workspace → Computer). Pull-to-refresh remains available on iPhone. Computer setup and access requests live under Manage computers; a phone asks an account computer for access only when the user taps Ask for access, never on its own.+Connecting and reconnecting are background work. `BotStore` gives initial offline reports 1 second to recover and holds drops from online (including relay "computer offline" reports) for 5 seconds. "No access" shows immediately. Automatic read acknowledgements never open an error dialog and visible conversations are acknowledged again after reconnecting. An action taken during a reconnect (back in the foreground, a new network, a drop still inside its grace) waits for the link, up to 20 seconds, instead of failing; while one waits, headers read `Connecting…` and the conversation's connection label shows a spinner. Calls that are safe to repeat (send, stop, approvals, pin, hide, mark as read, delete) are tried again when the link drops under them. Tapping while the header says Offline because the computer can't be reached starts a fresh connection attempt and waits for it, instead of failing until the backoff gets there; a computer the relay reports as off fails at once, since the relay says when it is back. A permission card shows a spinner on the chosen option, dims the others and takes no second answer until the computer has it. The desktop app's `BotStore` (link handling in `apps/desktop/src/renderer/store/bot-sync.ts`) applies the same graces and 20-second wait. The TUI follows the same rule over loopback: a command the host can't be reached for is retried for up to 20 seconds behind its "Reconnecting…" indicator (the `hello` probe that explains an unreachable host still answers at once), and its permission cards spin on the chosen option. The "Something went wrong" dialog is left for a computer that is off, a refused device, the computer's own answers, and reconnects that outlast the wait. Background work (cloud refresh, device registration) logs connection, busy-cloud and stale-token failures instead of showing them. The iOS app disconnects only in `.background`, not `.inactive`. Connection status lives only in headers and their menus. The roster header shows a small summary (`1 connected`, `1/2 connected`, `2 offline`, or `Connecting…`). Its computer menu supports multiple selections (picking a computer or All computers leaves the menu open for the next pick), reconnect, and management. At least one available computer stays selected; if saved exclusions would hide every computer, the list falls back to all. Filters persist on the device. Bots sort in bands, the [lead bot](../features/lead-bot.md) (starred, never dragged) first, then pinned bots, then the rest; within a band, in the order the user dragged them into, then by recency ([bot order](../features/computer-order.md#bot-order)). Bots the user put in a section sit under a foldable section heading (name, count, and the unread total while folded; folded state saved on the device), with sections and the plain "Bots" group in device-local order after pinned bots (initially sections sorted by name, then Bots). A bot's long-press menu has Move to section (not the lead's); a heading's has Rename section and Remove section; a move or rename the computer refuses is put back. On iPhone, when more than one computer is shown, each computer gets a light heading (badge, name, connection, and "No bots yet" when empty) above its own bots; with one computer the list stays flat. Tapping a heading folds that computer's bots away (chevron; saved on the device). Long-press a heading to drag the computer with its bots up or down: while it is lifted every computer's bots fold into their headings, they unfold on release, and the order is saved on the device (`AccountStore.move`; VoiceOver: Move up / Move down). A bot moves only among its own computer's bots, within its band, and an unpinned bot only inside its section (pinned bots ignore sections). The desktop app's sidebar has the same headings, folding and heading drag (a lifted copy follows the pointer, plus Alt+Up/Down), and the same section headings. There are no connection banners. The compact desktop rail uses a computer icon for the same menu. Conversation headers show a small connection label; the desktop names the computer in its help text, the phones in the bot details' Settings (Workspace → Computer). Pull-to-refresh remains available on iPhone. Computer setup and access requests live under Manage computers; a phone asks an account computer for access only when the user taps Ask for access, never on its own.Sources: `apps/ios/Views/BotListView.swift`, `AccountSwitcherView.swift`, `apps/ios/Kit/Sources/CodyncUI/Thread/ThreadView.swift`, `Bots/ComputerFilterHeader.swift`, `Store/ComputerSelection.swift`, `Bots/BotRow.swift`; desktop: `apps/desktop/src/renderer/views/ChatWindow.tsx`, `ComputerFilterHeader.tsx`, `BotRow.tsx`.diff --git a/docs/plans/android-app.md b/docs/plans/android-app.mdindex 71c68393..6b5c7d60 100644--- a/docs/plans/android-app.md+++ b/docs/plans/android-app.md@@ -16,7 +16,7 @@ emulator against a real host; device acceptance is listed separately.| --- | --- | --- || Welcome/pairing | Ported: welcome crew and chat glimpse, Install (Mac/Linux) and Scan pages with the camera on the page (1080p frames, refocused on the middle every 2.5 s, tap to focus), paste link, Tailscale note, sign-in | Physical optical scan, camera permission denial || Accounts/access | Ported: account sheet and switcher, several computers (`AccountStore` with one `AppStore` per computer, as iOS `AccountStore` + `BotStore`), Computer management with a card per computer (connection status, badge color, Revoke this phone's access, older copies removed from the account), account computer access with its code (one request per computer), access banners, `codync-dev://computers` and `codync-dev://plugins` | Provider browser round trip on a device; Revoke and older copies against a signed-in account (covered by cloud request tests only) |-| Roster | Ported: rows, menus, pin/hide/delete, Make lead agent, groups, sections (move to, fold per device, rename, remove), drag to reorder (host-synced order) and TalkBack Move up/down, a heading per computer once there are several (fold, drag to reorder on this phone, its Extensions), the computer filter (show, hide, Show only), the newer-release reminder, pull to refresh (also in Computer management) | — |+| Roster | Ported: rows, menus, pin/hide/delete, Make lead agent, groups, sections (move to, fold per device, rename, remove), drag to reorder (host-synced order) and TalkBack Move up/down, a heading per computer once there are several (fold, drag to reorder on this phone, its Extensions), the computer filter (show, hide, All computers; stays open while picking), the newer-release reminder, pull to refresh (also in Computer management) | — || Conversation | Ported: bubbles, Markdown/code, permissions, reactions, quote replies, Full conversation, bot-to-bot exchange lines and their conversation, routine notices that open their routine, files a bot shares (verified download, then the share sheet), sent images full size, pull down to reconnect, jump to latest, read receipts for every conversation on screen | Physical keyboard and TalkBack || Composer | Ported: files/photos/paste (groups too, image thumbnails, Paste only when the clipboard holds files), `/` commands (Fast mode, skills listed fresh on `/`), @mentions in groups, call/send/stop/interrupt button, dictation (the mic, its recording pill, the engine menu beside it: On device through Android's recognizer, or OpenAI / Gemini transcribed on the user's key with *Transcribing…*, and the *Couldn't dictate* dialog) | Dictation with a live microphone and a provider key on a device || Bot and group editors | Ported: avatar (a row that unfolds the picker), profile, agent and model options, Fast mode, workspace folder picker, permissions, activity, connectors, skills (with their details); the bot details sheet (`BotDetailsView`, from the chat's title, a routine notice or Add a fallback): Details (instructions, agent, Use the computer, Routines), Library, Memory, Settings (Codync's skill and connector switches), saved as you edit, Create template; a group's title opens its editor. An agent's own skills, connectors, rules and plugins are on its sheet in Extensions, under Sign in | — |