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: start new bots with an agent Codync knows
leepokai668a395d997c
diff --git a/apps/desktop/src/renderer/views/bots/drafts.ts b/apps/desktop/src/renderer/views/bots/drafts.tsindex 92af5de5..52686be1 100644--- a/apps/desktop/src/renderer/views/bots/drafts.ts+++ b/apps/desktop/src/renderer/views/bots/drafts.ts@@ -38,11 +38,14 @@ export const isValid = (d: BotDraft) => !d.id ||d.name.trim() !== ''/** What the host should get: no stale command unless the agent is custom. */export const normalized = (d: BotDraft): BotDraft => (d.backend === 'custom' ? d : { ...d, command: null })-/** Picks an installed agent; empty cwd requests a personal workspace from the host. */+/**+ * Picks an installed agent we know (a registry agent nobody chose is never the default);+ * empty cwd requests a personal workspace from the host.+ */export function fillDefaults(store: BotStore, draft: BotDraft, connectors: InstalledConnector[]): BotDraft {const next = { ...draft }const backends = store.hello?.backends ?? []- const first = backends.find((b) => b.available)+ const first = backends.find((b) => b.available && b.curated === true)if (backends.find((b) => b.id === next.backend)?.available !== true && first) next.backend = first.id// Connectors start on; left unset, the host turns on every one.if (next.connectors === undefined && connectors.length) next.connectors = connectors.map((c) => c.id)diff --git a/apps/ios/Kit/Sources/CodyncUI/Bots/BotEditorView.swift b/apps/ios/Kit/Sources/CodyncUI/Bots/BotEditorView.swiftindex 5e84f95b..6a1f0752 100644--- a/apps/ios/Kit/Sources/CodyncUI/Bots/BotEditorView.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Bots/BotEditorView.swift@@ -314,10 +314,11 @@ extension BotDraft {}public extension BotStore {- /// Picks an installed agent; empty cwd requests a personal workspace from the host.+ /// Picks an installed agent we know (a registry agent nobody chose is never the default);+ /// empty cwd requests a personal workspace from the host.func fillDefaults(_ draft: inout BotDraft) {if hello?.backends.first(where: { $0.id == draft.backend })?.available != true,- let first = hello?.backends.first(where: \.available) {+ let first = hello?.backends.first(where: { $0.available && $0.curated == true }) {draft.backend = first.id}// Connectors start on; left unset, the host turns on every one.diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.mdindex 624179c2..38f70244 100644--- a/apps/ios/WhatsNew.md+++ b/apps/ios/WhatsNew.md@@ -10,7 +10,9 @@ a version without one gets a generic "Bug fixes and improvements" line. Delete o### zh-Hant- 同一台電腦上的 bot 可以自己排順序:按住一列再拖到想要的位置。釘選的 bot 仍在最上面,排好的順序會同步到你的每台裝置。+- 新增 bot 時,預設會選電腦上已安裝、Codync 認得的 agent,不再挑到沒聽過的 agent。### en-US- Arrange the bots on a computer your way: touch and hold a row, then drag it where you want it. Pinned bots stay on top, and the order syncs to all your devices.+- A new bot now starts with an agent that's installed on your computer and that Codync knows, instead of an unfamiliar one.