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(apps): remove routine chat shortcuts
leepokai699e1276703b
diff --git a/apps/android/WhatsNew.md b/apps/android/WhatsNew.mdindex 8d5fc05d..de1ace24 100644--- a/apps/android/WhatsNew.md+++ b/apps/android/WhatsNew.md@@ -7,9 +7,9 @@ released version's section; a version without one gets the PRs' "What's New: Andelse a generic "Bug fixes and improvements" line. Delete old sections.-->-## 2.33.3+## 2.33.4### zh-Hant-- 可上下拖曳 section,連同其中的 bot 一起移動,也能放到「Bots」下方;此裝置會記住順序。+- 移除例行任務標題旁的聊天按鈕,介面更簡潔。仍可直接在聊天中請 bot 建立任務,或使用「+」自行設定。### en-US-- Drag sections up or down with their bots, including below Bots. This device remembers the order.+- Removed the chat shortcut beside Routines. Ask the bot directly in chat, or use + to set up a routine yourself.diff --git a/apps/android/app/src/androidTest/kotlin/com/codync/android/LiveRoutinesTest.kt b/apps/android/app/src/androidTest/kotlin/com/codync/android/LiveRoutinesTest.ktindex ee8e7d08..54f5500b 100644--- a/apps/android/app/src/androidTest/kotlin/com/codync/android/LiveRoutinesTest.kt+++ b/apps/android/app/src/androidTest/kotlin/com/codync/android/LiveRoutinesTest.kt@@ -40,10 +40,7 @@ class LiveRoutinesTest {assertNull(store.state.value.error)compose.runOnUiThread { store.openBot(bot.id) }compose.openChatDetails()- compose.onNodeWithContentDescription("Ask the bot for a routine").performScrollTo().performClick()- compose.waitUntil(10_000) { compose.onAllNodes(hasSetTextAction() and hasText("I want a routine that ")).fetchSemanticsNodes().size == 1 }- compose.runOnUiThread { store.editDraft(bot.id, "") }- compose.openChatDetails()+ compose.onNodeWithContentDescription("Ask the bot for a routine").assertDoesNotExist()compose.waitUntil(10_000) { "routines:${bot.id}" !in store.state.value.busy && store.state.value.routines[bot.id] != null }compose.onNodeWithText("No routines yet. Ask the bot for one, or set it up yourself with +.").assertIsDisplayed()compose.onNodeWithContentDescription("Set up a routine").performScrollTo().performClick()diff --git a/apps/android/app/src/main/kotlin/com/codync/android/BotDetailsView.kt b/apps/android/app/src/main/kotlin/com/codync/android/BotDetailsView.ktindex 976c9784..0c6c4000 100644--- a/apps/android/app/src/main/kotlin/com/codync/android/BotDetailsView.kt+++ b/apps/android/app/src/main/kotlin/com/codync/android/BotDetailsView.kt@@ -80,7 +80,7 @@ internal data class DetailsRequest(val tab: DetailsTab = DetailsTab.Details, valDetailsTab.Details -> Column(verticalArrangement = Arrangement.spacedBy(28.dp)) {BotSettingsForm(state, store, draft, { draft = it }, FormPart.Often)state.screen?.let { ComputerCard(it, draft.computer, online) { on -> draft = draft.copy(computer = on) } }- RoutinesView(bot, state, store, routineId, leave = dismiss)+ RoutinesView(bot, state, store, routineId)LaunchedEffect(Unit) { routineId = null }}DetailsTab.Library -> LibraryView(bot, state, store, openArtifact)diff --git a/apps/android/app/src/main/kotlin/com/codync/android/RoutinesView.kt b/apps/android/app/src/main/kotlin/com/codync/android/RoutinesView.ktindex f42c647a..102da1b3 100644--- a/apps/android/app/src/main/kotlin/com/codync/android/RoutinesView.kt+++ b/apps/android/app/src/main/kotlin/com/codync/android/RoutinesView.kt@@ -63,10 +63,9 @@ import kotlinx.coroutines.launch/*** A bot's routines, on its details' Details page (iOS `RoutinesView`); a row opens its editor.- * `initialId`: open on that routine's editor (a run's notice in the chat was tapped). `leave` goes back to the chat once a- * request to the bot is in the composer.+ * `initialId`: open on that routine's editor (a run's notice in the chat was tapped).*/-@Composable fun RoutinesView(bot: Bot, state: AppState, store: AppStore, initialId: String?, leave: () -> Unit) {+@Composable fun RoutinesView(bot: Bot, state: AppState, store: AppStore, initialId: String?) {val online = state.actualConnection is LinkState.Readyval listing = state.routines[bot.id]val busy = "routines:${bot.id}" in state.busy@@ -76,7 +75,6 @@ import kotlinx.coroutines.launchColumn(verticalArrangement = Arrangement.spacedBy(10.dp)) {Row(verticalAlignment = Alignment.CenterVertically) {SectionHeading("Routines", Modifier.weight(1f).padding(start = 2.dp))- IconButton("Ask the bot for a routine", "text.bubble", enabled = online) { store.editDraft(bot.id, "I want a routine that "); leave() }IconButton("Set up a routine", "plus", enabled = online) { editing = "" }}val routines = listing?.routines.orEmpty()diff --git a/apps/desktop/src/renderer/store/bot-mirror.ts b/apps/desktop/src/renderer/store/bot-mirror.tsindex 2ddbf664..fb9bcaf6 100644--- a/apps/desktop/src/renderer/store/bot-mirror.ts+++ b/apps/desktop/src/renderer/store/bot-mirror.ts@@ -85,7 +85,6 @@ export class BotMirror extends Observable {/** A new network's recovery code until the user says they saved it: the host keeps it nowhere. */recoveryCode: RecoveryCode | null = nullhistoryComplete = new Set<string>()- routineDrafts = new Map<string, string>()readonly composerDrafts: ComposerDraftslastError: string | null = null/** A kit view selected a bot on this store (new bot or group, editor); the account picks it up. */diff --git a/apps/desktop/src/renderer/store/bot-store.ts b/apps/desktop/src/renderer/store/bot-store.tsindex b588fa00..af507c7f 100644--- a/apps/desktop/src/renderer/store/bot-store.ts+++ b/apps/desktop/src/renderer/store/bot-store.ts@@ -447,20 +447,6 @@ export class BotStore extends BotSync {this.selection = idthis.changed()}-- consumeRoutineDraft(botId: string) {- const value = this.routineDrafts.get(botId)- if (value !== undefined) {- this.routineDrafts.delete(botId)- this.changed()- }- return value- }-- setRoutineDraft(botId: string, text: string) {- this.routineDrafts.set(botId, text)- this.changed()- }}/** A full editor update must explicitly clear a previous model override. */diff --git a/apps/desktop/src/renderer/views/routines/RoutinesView.tsx b/apps/desktop/src/renderer/views/routines/RoutinesView.tsxindex 18a5a331..92c1ce1a 100644--- a/apps/desktop/src/renderer/views/routines/RoutinesView.tsx+++ b/apps/desktop/src/renderer/views/routines/RoutinesView.tsx@@ -111,10 +111,6 @@ export function RoutinesView({ botId, initialId, onClose }: { botId: string; ini<HStack><Text size="body" weight="semibold" className="routines-title">{tr(`Routines`)}</Text><Spacer />- <IconButton title="Ask the bot for a routine" icon="text.bubble" disabled={store.isOffline} onClick={() => {- store.setRoutineDraft(botId, 'I want a routine that ')- onClose?.()- }} /><IconButton title="Set up a routine" icon="plus" disabled={store.isOffline} onClick={() => open(null)} />{onClose ? <IconButton title="Close routines" icon="xmark" onClick={onClose} /> : null}</HStack>diff --git a/apps/desktop/src/renderer/views/thread/Composer.tsx b/apps/desktop/src/renderer/views/thread/Composer.tsxindex 728c6a78..1af21540 100644--- a/apps/desktop/src/renderer/views/thread/Composer.tsx+++ b/apps/desktop/src/renderer/views/thread/Composer.tsx@@ -85,17 +85,6 @@ function DestinationComposer({ botId, reply, about, cancelReply, onCall, onInter? tr('Queue a message for {name}').replace('{name}', name): tr('Ask {name}').replace('{name}', name)- // A routine's "Try it" fills the chat's box (an artifact's leaves it for the chat).- const routineDraft = about ? undefined : store.routineDrafts.get(botId)- useEffect(() => {- if (routineDraft === undefined) return- const incoming = store.consumeRoutineDraft(botId)- if (incoming === undefined) return- const previous = drafts.get(botId)- drafts.set(botId, previous ? `${previous}\n${incoming}` : incoming)- field.current?.focus()- }, [routineDraft, botId, store, drafts])-// Picking a message to reply to brings the caret here.useEffect(() => {if (reply) field.current?.focus()diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.jsonindex caa82c11..c4cef7c2 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json@@ -423,7 +423,7 @@"Set up on the computer: Codync → Settings → Computer access": "Auf dem Computer einrichten: Codync → Einstellungen → Computerzugriff","No routines yet. Ask the bot for one, or set it up yourself with +.": "Noch keine Routinen. Bitte den Bot um eine oder richte selbst eine mit + ein.","Loading routines…": "Routinen werden geladen…",- "No routines. c asks the bot for one; n sets one up here.": "Keine Routinen. c bittet den Bot um eine; n richtet hier eine ein.",+ "No routines. n sets one up here, or ask the bot in chat.": "Keine Routinen. Mit n hier eine einrichten oder den Bot im Chat darum bitten.","Close routines": "Routinen schließen","Choose project folder…": "Projektordner wählen…","If {agent} runs out of usage or can't answer, the bot carries on with the next one. Chat, memory and workspace carry over.": "Wenn {agent} sein Nutzungslimit erreicht oder nicht antworten kann, macht der Bot mit dem nächsten weiter. Chat, Gedächtnis und Arbeitsbereich bleiben erhalten.",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.jsonindex 54a5e17e..99ba481c 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json@@ -423,7 +423,7 @@"Set up on the computer: Codync → Settings → Computer access": "Configurar en la computadora: Codync → Ajustes → Acceso a la computadora","No routines yet. Ask the bot for one, or set it up yourself with +.": "Aún no hay rutinas. Pídele una al bot o configúrala con +.","Loading routines…": "Cargando rutinas…",- "No routines. c asks the bot for one; n sets one up here.": "No hay rutinas. c le pide una al bot; n configura una aquí.",+ "No routines. n sets one up here, or ask the bot in chat.": "No hay rutinas. Pulsa n para configurar una aquí o pídesela al bot en el chat.","Close routines": "Cerrar rutinas","Choose project folder…": "Elegir carpeta del proyecto…","If {agent} runs out of usage or can't answer, the bot carries on with the next one. Chat, memory and workspace carry over.": "Si {agent} agota su uso o no puede responder, el bot continúa con el siguiente. El chat, la memoria y el espacio de trabajo se conservan.",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.jsonindex e1821c79..d708dd55 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json@@ -423,7 +423,7 @@"Set up on the computer: Codync → Settings → Computer access": "Configurer sur l’ordinateur : Codync → Réglages → Accès à l’ordinateur","No routines yet. Ask the bot for one, or set it up yourself with +.": "Aucune routine pour le moment. Demandez-en une au bot ou créez-en une avec +.","Loading routines…": "Chargement des routines…",- "No routines. c asks the bot for one; n sets one up here.": "Aucune routine. c en demande une au bot ; n en crée une ici.",+ "No routines. n sets one up here, or ask the bot in chat.": "Aucune routine. Appuyez sur n pour en créer une ici, ou demandez au bot dans le chat.","Close routines": "Fermer les routines","Choose project folder…": "Choisir le dossier du projet…","If {agent} runs out of usage or can't answer, the bot carries on with the next one. Chat, memory and workspace carry over.": "Si {agent} atteint sa limite ou ne peut pas répondre, le bot continue avec le suivant. La discussion, la mémoire et l’espace de travail sont conservés.",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.jsonindex d39b3ca4..86294b11 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json@@ -423,7 +423,7 @@"Set up on the computer: Codync → Settings → Computer access": "コンピューターでのセットアップ: Codync → 設定 → コンピューターアクセス","No routines yet. Ask the bot for one, or set it up yourself with +.": "まだルーチンはありません。ボットにリクエストするか、+ を使用して自分で設定します。","Loading routines…": "ルーチンをロード中…",- "No routines. c asks the bot for one; n sets one up here.": "ルーチンはありません。 c はボットに要求します。 n はここで 1 つを設定します。",+ "No routines. n sets one up here, or ask the bot in chat.": "ルーチンはありません。n で設定するか、チャットでボットに依頼してください。","Close routines": "ルーチンを閉じる","Choose project folder…": "プロジェクトフォルダーを選択してください…","If {agent} runs out of usage or can't answer, the bot carries on with the next one. Chat, memory and workspace carry over.": "{agent} の使用量がなくなるか応答できない場合、ボットは次のボットを続行します。チャット、記憶、ワークスペースは引き継がれます。",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.jsonindex cc12b31f..fe97438b 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json@@ -423,7 +423,7 @@"Set up on the computer: Codync → Settings → Computer access": "컴퓨터에서 설정: Codync → 설정 → 컴퓨터 액세스","No routines yet. Ask the bot for one, or set it up yourself with +.": "아직 루틴이 없습니다. 봇에게 요청하거나 +를 사용하여 직접 설정하세요.","Loading routines…": "루틴 로드 중…",- "No routines. c asks the bot for one; n sets one up here.": "루틴이 없습니다. c는 봇에게 하나를 요청합니다. n은 여기에 하나를 설정합니다.",+ "No routines. n sets one up here, or ask the bot in chat.": "루틴이 없습니다. n으로 설정하거나 채팅에서 봇에게 요청하세요.","Close routines": "루틴 종료","Choose project folder…": "프로젝트 폴더 선택…","If {agent} runs out of usage or can't answer, the bot carries on with the next one. Chat, memory and workspace carry over.": "{agent}의 사용량이 부족하거나 응답할 수 없는 경우 봇은 다음 작업을 계속합니다. 채팅, 메모리 및 작업 공간이 이어집니다.",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.jsonindex f02a2bdf..191a29ee 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json@@ -423,7 +423,7 @@"Set up on the computer: Codync → Settings → Computer access": "在电脑上设置:Codync → 设置 → 电脑访问","No routines yet. Ask the bot for one, or set it up yourself with +.": "还没有例行任务。让 Bot 建一个,或点 + 自己设置。","Loading routines…": "正在加载例行任务…",- "No routines. c asks the bot for one; n sets one up here.": "还没有例行任务。按 c 让 Bot 建一个;按 n 在这里设置。",+ "No routines. n sets one up here, or ask the bot in chat.": "还没有例行任务。按 n 在这里设置,或直接在聊天中请 Bot 创建。","Close routines": "关闭例行任务","Choose project folder…": "选择项目文件夹…","If {agent} runs out of usage or can't answer, the bot carries on with the next one. Chat, memory and workspace carry over.": "如果 {agent} 用量用完或无法回答,Bot 会交给下一个继续。对话、记忆和工作区都会带过去。",diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.jsonindex 3dc29ac9..88ff39e3 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json@@ -423,7 +423,7 @@"Set up on the computer: Codync → Settings → Computer access": "在電腦上設定:Codync → 設定 → 電腦訪問","No routines yet. Ask the bot for one, or set it up yourself with +.": "還沒有例行任務。讓 Bot 建一個,或點 + 自己設定。","Loading routines…": "正在載入例行任務…",- "No routines. c asks the bot for one; n sets one up here.": "還沒有例行任務。按 c 讓 Bot 建一個;按 n 在這裡設定。",+ "No routines. n sets one up here, or ask the bot in chat.": "還沒有例行任務。按 n 在這裡設定,或直接在聊天中請 Bot 建立。","Close routines": "關閉例行任務","Choose project folder…": "選擇專案資料夾…","If {agent} runs out of usage or can't answer, the bot carries on with the next one. Chat, memory and workspace carry over.": "如果 {agent} 用量用完或無法回答,Bot 會交給下一個繼續。對話、記憶和工作區都會帶過去。",diff --git a/apps/ios/Kit/Sources/CodyncUI/Bots/BotDetailsView.swift b/apps/ios/Kit/Sources/CodyncUI/Bots/BotDetailsView.swiftindex 484bba2b..1218bb5b 100644--- a/apps/ios/Kit/Sources/CodyncUI/Bots/BotDetailsView.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Bots/BotDetailsView.swift@@ -134,7 +134,7 @@ struct BotDetailsView: View {.outlinedCard()}}- RoutinesView(botId: botId, initialId: routineId) { dismiss() }+ RoutinesView(botId: botId, initialId: routineId)}case .library:LibraryView(botId: botId, openArtifact: openArtifact)diff --git a/apps/ios/Kit/Sources/CodyncUI/Routines/RoutinesView.swift b/apps/ios/Kit/Sources/CodyncUI/Routines/RoutinesView.swiftindex 22b91510..5fbfcf6f 100644--- a/apps/ios/Kit/Sources/CodyncUI/Routines/RoutinesView.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Routines/RoutinesView.swift@@ -5,8 +5,6 @@ import SwiftUIstruct RoutinesView: View {let botId: Stringvar initialId: String?- /// Goes back to the chat once a request to the bot is in the composer.- var leave: (() -> Void)?@Environment(BotStore.self) private var model@Environment(\.accessibilityReduceMotion) private var reduceMotion@State private var routines: [Routine] = []@@ -26,7 +24,6 @@ struct RoutinesView: View {.foregroundStyle(Palette.text).padding(.leading, 2)Spacer(minLength: 0)- askInChatIconButton("Set up a routine", systemImage: "plus") { open(nil) }.disabled(model.isOffline)}@@ -115,13 +112,6 @@ struct RoutinesView: View {return routine.triggerDescriptions.joined(separator: " · ")}- private var askInChat: some View {- IconButton("Ask the bot for a routine", systemImage: "text.bubble") {- edit("I want a routine that ")- }- .disabled(model.isOffline)- }-private func runLabel(_ run: RoutineRun) -> String {switch run.status {case "pending": run.notBefore.map(retrying) ?? "Queued"@@ -142,12 +132,7 @@ struct RoutinesView: View {private func animate(_ change: () -> Void) { withAnimation(Motion.reduced(Motion.layout, reduceMotion), change) }private func open(_ id: String?) { animate { editing = EditorTarget(id: UUID().uuidString, routineId: id) } }- private func edit(_ text: String) {- animate {- model.routineDrafts[botId] = text- leave?()- }- }+private func action(_ method: String, _ routine: Routine, enabled: Bool? = nil) {guard !busy, let client = model.client else { return }busy = truediff --git a/apps/ios/Kit/Sources/CodyncUI/Store/BotStore.swift b/apps/ios/Kit/Sources/CodyncUI/Store/BotStore.swiftindex 86c32935..f4e17181 100644--- a/apps/ios/Kit/Sources/CodyncUI/Store/BotStore.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Store/BotStore.swift@@ -78,7 +78,6 @@ public final class BotStore {var composerDrafts: [String: String] = [:]/// What was pasted into each draft, sent along so memory never takes it as the user's own words.@ObservationIgnored var composerPasted: [String: [String]] = [:]- public var routineDrafts: [String: String] = [:]public let fileDownloads = FileDownloads()var artifacts = ArtifactCache()public var lastError: String?diff --git a/apps/ios/Kit/Sources/CodyncUI/Thread/Composer.swift b/apps/ios/Kit/Sources/CodyncUI/Thread/Composer.swiftindex a27197af..e10bfb94 100644--- a/apps/ios/Kit/Sources/CodyncUI/Thread/Composer.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Thread/Composer.swift@@ -287,13 +287,6 @@ struct Composer: View {// Starting a command: list the computer's skills again.if value == "/" { Task { await model.refreshPlugins() } }}- .onChange(of: model.routineDrafts[botId]) { _, value in- // A request for a routine belongs in the chat.- guard let value, artifact == nil else { return }- draft = draft.isEmpty ? value : draft + "\n" + value- model.routineDrafts.removeValue(forKey: botId)- focused = true- }}/// The quoted message, one line, with a way to drop the reply.diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.mdindex 54b2dad4..f28c9cdb 100644--- a/apps/ios/WhatsNew.md+++ b/apps/ios/WhatsNew.md@@ -6,11 +6,9 @@ any left). tools/asc-submit.py reads the released version's section;a version without one gets a generic "Bug fixes and improvements" line. Delete old sections.-->-## 2.33.3+## 2.33.4### zh-Hant-- 可上下拖曳 section,連同其中的 bot 一起移動,也能放到「Bots」下方;此裝置會記住順序。-- 儲存 bot 設定或編輯群組後,自訂圖示不會再消失。+- 移除例行任務標題旁的聊天按鈕,介面更簡潔。仍可直接在聊天中請 bot 建立任務,或使用「+」自行設定。### en-US-- Drag sections up or down with their bots, including below Bots. This device remembers the order.-- Custom bot icons now stay after you save a bot's settings or edit a group.+- Removed the chat shortcut beside Routines. Ask the bot directly in chat, or use + to set up a routine yourself.diff --git a/docs/design/ui-conventions.md b/docs/design/ui-conventions.mdindex 1d10daee..b1383645 100644--- a/docs/design/ui-conventions.md+++ b/docs/design/ui-conventions.md@@ -99,7 +99,7 @@ Preserve the original character avatar design: dotted shading, highlight-only coThe details inspector (`apps/desktop/src/renderer/views/thread/DetailsPanel.tsx`) copies Grok Bot's: share (Create template) and close (X) as round buttons in the corner, in the page color with a soft ring, over a 54-point band that drags the window; the bot's 60-point avatar, name and runtime centered on top; then page tabs (`TabChoice`: plain labels, the chosen one on a light capsule) for **Details**, **Library** (the chat's [artifacts and files](../features/artifacts.md)), **Memory** and **Settings**, all in one scroll. The chat's `<<` button (in the same ringed style) and the title pill open it; hovering the pill shows a `>` after the name. Details holds what changes often: Instructions, Agent (the agent with its logo, its model, fast mode and its [fallbacks](../features/agent-fallback.md#apps)), the Use the computer switch and Routines (one card per routine); Settings holds the rest: Profile (avatar row, name, and "Created by" for a bot another bot created), Workspace (computer, workspace, permissions), Activity, Connectors and Skills. Both are parts of `BotSettingsForm` (`part`), saved as you edit; the editor sheet shows all of it. Every bot settings form (these, the editor sheets, the terminal's form) keeps a change made elsewhere while it is open (a bot that manages the team, another device): it takes the new value in each field not edited there, or the terminal sends only what it changed. Memory is the read-only memory card, its sections in the same tabs; each layer's note ends with "To change it, tell the bot." and the Dreams tab has an info button. Every group in the panel is Grok Bot's outlined card (an outline on the page, no fill, inputs filled instead), a row with a note puts its control under the note, and long notes (skill descriptions, explanations, a note's description) stop at two lines with an ellipsis. A group shows its avatar, name, bot count and members instead of tabs. Use 16-point horizontal insets and 28-point section gaps; sections use the `CardSection` look: filled 16-point groups without borders, hairline-split rows, a note under each option. The iPhone's Details sheet (`BotDetailsView`, from tapping the chat's title, a routine notice or a failure's Add a fallback) has the same corner buttons, header, tabs, pages, outlined cards (`cardStyle`) and two-line notes (`noteLines`), and saves as you edit too. Android's (`BotDetailsView.kt`) ports it, without the Memory tab until the read-only memory screen is ported ([Android plan](../plans/android-app.md)).-Routines are a compact grouped list: name, a one-line schedule (or the live run state), and an on/off switch per row; tapping a row opens the same form as +, filled in, with delete and test run beside Save. On the desktop the form card fits its content. The header's chat button asks the bot (puts "I want a routine that " in the composer); + opens the form, where When to run is a type choice (a segmented control on the desktop, the system menu on iPhone) and a schedule is a Repeat choice (Hourly, Daily, Weekdays, Weekly, Custom) with only the fields that choice needs (minute, time, weekday, or a typed cron for Custom) and a time zone picked from a searchable list. On the desktop these sit in one `CardSection` of labeled rows, Repeat and the weekday as `ChipChoice` chips with the chosen one on a light capsule. The empty state is one line of text. A saved webhook routine's form shows the public URL and key as monospaced rows (in the same group on the desktop) with copy, show/hide and replace-key (confirmed) icon buttons, and one caption on how to send and that deliveries pass through the Codync cloud. Agent metadata uses Runtime and Workspace labels for personal bots, or Project folder for explicitly configured projects; project paths remain selectable and wrap. Personal workspace paths stay out of the default details UI. Keep status and section headings readable in both appearances through `Palette`.+Routines are a compact grouped list: name, a one-line schedule (or the live run state), and an on/off switch per row; tapping a row opens the same form as +, filled in, with delete and test run beside Save. On the desktop the form card fits its content. Requests to the bot are typed directly in chat; + opens the form, where When to run is a type choice (a segmented control on the desktop, the system menu on iPhone) and a schedule is a Repeat choice (Hourly, Daily, Weekdays, Weekly, Custom) with only the fields that choice needs (minute, time, weekday, or a typed cron for Custom) and a time zone picked from a searchable list. On the desktop these sit in one `CardSection` of labeled rows, Repeat and the weekday as `ChipChoice` chips with the chosen one on a light capsule. The empty state is one line of text. A saved webhook routine's form shows the public URL and key as monospaced rows (in the same group on the desktop) with copy, show/hide and replace-key (confirmed) icon buttons, and one caption on how to send and that deliveries pass through the Codync cloud. Agent metadata uses Runtime and Workspace labels for personal bots, or Project folder for explicitly configured projects; project paths remain selectable and wrap. Personal workspace paths stay out of the default details UI. Keep status and section headings readable in both appearances through `Palette`.On iPhone, the routine editor keeps the full-width save action in a fixed footer on the sheet background. When required fields are empty, the footer explains why saving is unavailable.diff --git a/docs/features/routines.md b/docs/features/routines.mdindex 68308730..5651cd47 100644--- a/docs/features/routines.md+++ b/docs/features/routines.md@@ -4,8 +4,8 @@ Routines belong to an agent bot and are usually created by talking to it ("I wana routine that…"); the host gives the [lead bot](lead-bot.md) one of its own, *Check in*. Every agent receives the built-in `routines` MCP server. The Details pageof the bot's details (the desktop's details panel; the phones' details sheet, which tapping thechat's title or a routine's notice opens) shows a compact list-(name, schedule, on/off switch). The header's chat button puts "I want a routine-that " in the composer; **+** opens the form for doing it by hand. A row opens+(name, schedule, on/off switch). **+** opens the form for doing it by hand;+requests to the bot are typed directly in the chat. A row opensthe same form filled in, with delete and test run beside Save; the row's switchpauses and resumes. Run results appear in the chat. The form is name, instruction, a **When to run** type (Schedule or Webhook, the twoClaude Code routines also offer besides GitHub events) and a run timeout. A schedule@@ -16,7 +16,7 @@ cron, checks it and shows the summary and next run. One-off times, intervals, evtriggers are left to the bot: editing such a routine shows its current triggers asthe selected type and keeps them until Schedule or Webhook replaces them. The TUI (`n` form with a typed When: `daily 09:00`, `weekdays 09:00`,`weekly mon 09:00`, `hourly :30`, `every 2h`, a cron or `webhook`, optionally ending-in a time zone that Tab completes; `c` asks the bot) match.+in a time zone that Tab completes) offers the same actions.A saved webhook routine's form shows its public URL and key (copy, reveal, replacewith confirmation; TUI `w` copies a curl command and `W` replaces thekey). Creation/update notices open the routine.diff --git a/host/src/tui/app/tests.rs b/host/src/tui/app/tests.rsindex 9578a9aa..4bec36aa 100644--- a/host/src/tui/app/tests.rs+++ b/host/src/tui/app/tests.rs@@ -1,5 +1,29 @@use super::*;+#[tokio::test]+async fn routines_keep_the_chat_draft_until_the_user_returns_to_chat() {+ use crate::tui::manage::RoutineList;+ use crossterm::event::{KeyCode, KeyEvent};++ let mut app = test_app();+ app.selected = Some("b".into());+ app.drafts.insert("b".into(), Editor::with("My unfinished message"));+ app.overlays.push(Overlay::Routines(RoutineList {+ bot: "b".into(),+ items: Some(Vec::new()),+ runs: Vec::new(),+ cursor: 0,+ }));++ app.on_key(KeyEvent::from(KeyCode::Char('c')));+ assert!(matches!(app.overlays.last(), Some(Overlay::Routines(_))));+ assert_eq!(app.drafts["b"].text, "My unfinished message");++ app.on_key(KeyEvent::from(KeyCode::Char('n')));+ assert!(matches!(app.overlays.last(), Some(Overlay::Routine(_))));+ assert_eq!(app.drafts["b"].text, "My unfinished message");+}+#[test]fn fuzzy_is_a_subsequence_match() {assert!(fuzzy("rx", &["Rex"]));diff --git a/host/src/tui/manage/routines.rs b/host/src/tui/manage/routines.rsindex 8b782b1b..185dd571 100644--- a/host/src/tui/manage/routines.rs+++ b/host/src/tui/manage/routines.rs@@ -3,7 +3,7 @@use crossterm::event::{KeyCode, KeyEvent};use serde_json::{Value, json};-use super::super::app::{After, App, Confirm, ConfirmAct, Editor, FIELDS, Field, Focus, Overlay};+use super::super::app::{After, App, Confirm, ConfirmAct, Editor, FIELDS, Field, Overlay};use super::when::{complete_zone, parse_when, when_text};use super::{Page, Reply, RoutineField, RoutineForm, RoutineList, ctrl, newline, s};use crate::routines::local_zone;@@ -64,17 +64,6 @@ impl App {})));return None;}- (KeyCode::Char('c'), _) => {- // Or ask the bot to set one up: start the ask in its chat.- let draft = self.drafts.entry(bot).or_default();- if !draft.text.is_empty() {- draft.insert("\n");- }- draft.insert("I want a routine that ");- self.focus = Focus::Chat;- self.typing = true;- return None;- }(KeyCode::Enter | KeyCode::Char('e'), Some(r)) => {let triggers = r["triggers"].clone();let text = when_text(&triggers, &local_zone());diff --git a/host/src/tui/sheets.rs b/host/src/tui/sheets.rsindex 5b344318..1929cbbe 100644--- a/host/src/tui/sheets.rs+++ b/host/src/tui/sheets.rs@@ -137,7 +137,7 @@ pub fn routines(buf: &mut Buffer, area: Rect, app: &App, l: &RoutineList) {inner.x,inner.y + 1,inner.width,- &tr("No routines. c asks the bot for one; n sets one up here."),+ &tr("No routines. n sets one up here, or ask the bot in chat."),t.secondary.patch(t.panel),);}@@ -176,12 +176,7 @@ pub fn routines(buf: &mut Buffer, area: Rect, app: &App, l: &RoutineList) {}}}- footer(- buf,- inner,- None,- "n new · c ask the bot · ↵ edit · space on/off · r run now · w copy webhook · W new key · x delete · esc",- );+ footer(buf, inner, None, "n new · ↵ edit · space on/off · r run now · w copy webhook · W new key · x delete · esc");}pub fn routine(buf: &mut Buffer, area: Rect, f: &RoutineForm) {diff --git a/web/content/docs/routines.mdx b/web/content/docs/routines.mdxindex e917749e..62b2b11d 100644--- a/web/content/docs/routines.mdx+++ b/web/content/docs/routines.mdx@@ -20,7 +20,7 @@ Tell the bot what you want, in its chat:> I want a routine that summarizes yesterday's commits in ~/code/shop every weekday at 9:00.-The speech-bubble button in the routine list (**Ask the bot for a routine**) puts "I want a routine that " in the message box for you. In the terminal UI, press `c` in the routine list.+Type your request directly in the chat. To set up a routine by hand, use **+** in the routine list (`n` in the terminal UI).The bot saves it with Codync's built-in routine tools; your system's cron isn't involved. It asks only about what's missing or unclear, such as the time zone. It checks that the tools, sign-ins and files the task needs are there, looks at its existing routines so it doesn't make a duplicate, then saves and tells you what it saved: the schedule, time zone, next run and whether it's on. A "Created routine" line appears in the chat; tap it to open the routine.