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(ios): show the task's progress line in the Live Activity
leepokai75ec98852b1f
diff --git a/apps/android/app/src/main/kotlin/com/codync/android/LiveUpdateGallery.kt b/apps/android/app/src/main/kotlin/com/codync/android/LiveUpdateGallery.ktindex 927a272a..9a8bd60f 100644--- a/apps/android/app/src/main/kotlin/com/codync/android/LiveUpdateGallery.kt+++ b/apps/android/app/src/main/kotlin/com/codync/android/LiveUpdateGallery.kt@@ -214,7 +214,8 @@ private val TaskPhase.mood get() = when (this) { TaskPhase.Working -> "working";@Composable private fun ProgressLine(phase: TaskPhase) {val tint = phase.tint()val filled = when (phase) { TaskPhase.Sending, TaskPhase.Queued -> 1; TaskPhase.Working, TaskPhase.Stale -> 2; TaskPhase.NeedsInput -> 3; else -> 4 }- Canvas(Modifier.fillMaxWidth().height(6.dp).semantics { contentDescription = "Progress, step $filled of 4" }) {+ val label = tr("Progress, step $filled of 4")+ Canvas(Modifier.fillMaxWidth().height(6.dp).semantics { contentDescription = label }) {val gap = 3.dp.toPx(); val width = (size.width - gap * 3) / 4for (i in 0 until 4) drawRoundRect(if (i < filled) tint else tint.copy(alpha = 0.16f), Offset(i * (width + gap), 0f),Size(width, size.height), CornerRadius(size.height / 2))diff --git a/apps/ios/Kit/Sources/CodyncKit/Design/ActivityCards.swift b/apps/ios/Kit/Sources/CodyncKit/Design/ActivityCards.swiftindex 96aa7184..7abe5c47 100644--- a/apps/ios/Kit/Sources/CodyncKit/Design/ActivityCards.swift+++ b/apps/ios/Kit/Sources/CodyncKit/Design/ActivityCards.swift@@ -23,6 +23,16 @@ public extension BotActivityPresentation {/// The caption stays quiet while the bot works and takes the state's color otherwise.var captionTint: Color { phase == .working ? Palette.secondary : tint }+ /// How many of the progress line's four segments are filled, as on Android's Live update.+ var progressStep: Int {+ switch phase {+ case .sending, .queued: 1+ case .working, .stale, .waiting: 2+ case .needsInput: 3+ case .completed, .failed: 4+ }+ }+var mood: CharacterAvatar.Mood {switch phase {case .working: .working@@ -89,6 +99,22 @@ public struct ActivityCaption: View {}}+/// The task's progress: four segments that fill as it moves, in the state's color.+public struct ActivityProgress: View {+ let state: BotActivityPresentation++ public init(state: BotActivityPresentation) { self.state = state }++ public var body: some View {+ HStack(spacing: 3) {+ ForEach(0..<4, id: \.self) { index in+ Capsule().fill(index < state.progressStep ? state.tint : state.tint.opacity(0.16))+ }+ }+ .frame(height: 6)+ }+}+/// Opens the conversation on the request; approval itself stays on the permission card.public struct ActivityReviewButton: View {let state: BotActivityPresentation@@ -142,6 +168,7 @@ public struct BotActivityCard<Face: View, Mark: View>: View {Spacer(minLength: 8)mark}+ ActivityProgress(state: state)if state.phase == .needsInput {ActivityReviewButton(state: state, link: link).transition(.activityRow)}@@ -149,7 +176,7 @@ public struct BotActivityCard<Face: View, Mark: View>: View {.padding(16).animation(Motion.activityPhase, value: state).accessibilityElement(children: .combine)- .accessibilityLabel("\(name), \(state.title). \(state.caption)")+ .accessibilityLabel("\(name), \(state.title). \(state.caption). \(L10n.tr("Progress, step \(state.progressStep) of 4"))")}}diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.jsonindex 27ee3d8f..a46515d7 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json@@ -697,7 +697,7 @@"Minimal": "Minimal","The Dynamic Island shows the same Live Activity as the Lock Screen, so this switch turns off both.": "Die Dynamic Island zeigt dieselbe Live-Aktivität wie der Sperrbildschirm. Dieser Schalter deaktiviert daher beide.","Starts when you send a task from this iPhone. Follow its progress, then open the conversation when your bot needs you.": "Beginnt, wenn du von diesem iPhone eine Aufgabe sendest. Verfolge den Fortschritt und öffne das Gespräch, wenn dein Bot dich braucht.",- "The bot in its mood, its current step in the state's color, the running time and a thinking orb. When the bot needs you, Review opens the request.": "Der Bot mit seiner Stimmung, sein aktueller Schritt in der Statusfarbe, die Laufzeit und eine Denkkugel. Wenn der Bot dich braucht, öffnet „Prüfen“ die Anfrage.",+ "The bot in its mood, its current step in the state's color, the running time, a thinking orb and its progress. When the bot needs you, Review opens the request.": "Der Bot mit seiner Stimmung, sein aktueller Schritt in der Statusfarbe, die Laufzeit, eine Denkkugel und sein Fortschritt. Wenn der Bot dich braucht, öffnet „Prüfen“ die Anfrage.","The bot and a thinking orb beside the camera, outlined in the state's color. The orb becomes a check or warning when the task ends.": "Der Bot und eine Denkkugel neben der Kamera, mit einer Umrandung in der Statusfarbe. Die Kugel wird am Aufgabenende zu einem Häkchen oder Warnzeichen.","Just the orb when iOS displays multiple Live Activities.": "Nur die Kugel, wenn iOS mehrere Live-Aktivitäten anzeigt.","Touch and hold the Dynamic Island for the current step and the running time, or Review when the bot needs you. Tap to open the conversation.": "Halte die Dynamic Island gedrückt, um den aktuellen Schritt und die Laufzeit zu sehen, oder „Prüfen“, wenn der Bot dich braucht. Tippe, um das Gespräch zu öffnen.",@@ -1164,5 +1164,6 @@"Remote screen relay is temporarily unavailable. Try again shortly.": "Das Remote-Bildschirm-Relay ist vorübergehend nicht verfügbar. Versuche es in Kürze erneut.","Too many screen connections. Try again in a minute.": "Zu viele Bildschirmverbindungen. Versuche es in einer Minute erneut.","Choose the language for this device. Unsupported system languages use English.": "Wähle die Sprache für dieses Gerät. Nicht unterstützte Systemsprachen verwenden Englisch.",- "resets in {time}": "Zurücksetzung in {time}"+ "resets in {time}": "Zurücksetzung in {time}",+ "Progress, step {step} of 4": "Fortschritt, Schritt {step} von 4"}diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.jsonindex d1e0a3a3..210c5131 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json@@ -697,7 +697,7 @@"Minimal": "Mínimo","The Dynamic Island shows the same Live Activity as the Lock Screen, so this switch turns off both.": "Dynamic Island muestra la misma actividad en directo que la pantalla de bloqueo, así que este interruptor desactiva ambas.","Starts when you send a task from this iPhone. Follow its progress, then open the conversation when your bot needs you.": "Se inicia cuando envías una tarea desde este iPhone. Sigue su progreso y abre la conversación cuando el bot te necesite.",- "The bot in its mood, its current step in the state's color, the running time and a thinking orb. When the bot needs you, Review opens the request.": "El bot con su estado de ánimo, el paso actual en el color del estado, el tiempo transcurrido y una esfera de reflexión. Cuando te necesita, Revisar abre la solicitud.",+ "The bot in its mood, its current step in the state's color, the running time, a thinking orb and its progress. When the bot needs you, Review opens the request.": "El bot con su estado de ánimo, el paso actual en el color del estado, el tiempo transcurrido, una esfera de reflexión y su progreso. Cuando te necesita, Revisar abre la solicitud.","The bot and a thinking orb beside the camera, outlined in the state's color. The orb becomes a check or warning when the task ends.": "El bot y una esfera de reflexión junto a la cámara, con un borde del color del estado. La esfera se convierte en una marca o aviso cuando termina la tarea.","Just the orb when iOS displays multiple Live Activities.": "Solo la esfera cuando iOS muestra varias actividades en directo.","Touch and hold the Dynamic Island for the current step and the running time, or Review when the bot needs you. Tap to open the conversation.": "Mantén pulsada Dynamic Island para ver el paso actual y el tiempo, o Revisar cuando el bot te necesite. Toca para abrir la conversación.",@@ -1164,5 +1164,6 @@"Remote screen relay is temporarily unavailable. Try again shortly.": "El relé de pantalla remota no está disponible temporalmente. Inténtalo de nuevo en breve.","Too many screen connections. Try again in a minute.": "Hay demasiadas conexiones de pantalla. Inténtalo de nuevo en un minuto.","Choose the language for this device. Unsupported system languages use English.": "Elige el idioma de este dispositivo. Los idiomas del sistema no compatibles usan inglés.",- "resets in {time}": "se restablece en {time}"+ "resets in {time}": "se restablece en {time}",+ "Progress, step {step} of 4": "Progreso, paso {step} de 4"}diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.jsonindex 220d6ea3..ea453740 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json@@ -697,7 +697,7 @@"Minimal": "Minimal","The Dynamic Island shows the same Live Activity as the Lock Screen, so this switch turns off both.": "La Dynamic Island affiche la même activité en direct que l’écran verrouillé ; ce commutateur désactive donc les deux.","Starts when you send a task from this iPhone. Follow its progress, then open the conversation when your bot needs you.": "Démarre lorsque vous envoyez une tâche depuis cet iPhone. Suivez sa progression, puis ouvrez la conversation lorsque le bot a besoin de vous.",- "The bot in its mood, its current step in the state's color, the running time and a thinking orb. When the bot needs you, Review opens the request.": "Le bot et son humeur, l’étape en cours dans la couleur de l’état, la durée et une sphère de réflexion. Lorsque le bot a besoin de vous, Examiner ouvre la demande.",+ "The bot in its mood, its current step in the state's color, the running time, a thinking orb and its progress. When the bot needs you, Review opens the request.": "Le bot et son humeur, l’étape en cours dans la couleur de l’état, la durée, une sphère de réflexion et sa progression. Lorsque le bot a besoin de vous, Examiner ouvre la demande.","The bot and a thinking orb beside the camera, outlined in the state's color. The orb becomes a check or warning when the task ends.": "Le bot et une sphère de réflexion près de la caméra, entourés de la couleur de l’état. La sphère devient une coche ou un avertissement à la fin de la tâche.","Just the orb when iOS displays multiple Live Activities.": "Uniquement la sphère lorsque iOS affiche plusieurs activités en direct.","Touch and hold the Dynamic Island for the current step and the running time, or Review when the bot needs you. Tap to open the conversation.": "Maintenez le doigt sur la Dynamic Island pour voir l’étape et la durée, ou Examiner si le bot a besoin de vous. Touchez pour ouvrir la conversation.",@@ -1164,5 +1164,6 @@"Remote screen relay is temporarily unavailable. Try again shortly.": "Le relais d’écran distant est temporairement indisponible. Réessayez dans un instant.","Too many screen connections. Try again in a minute.": "Trop de connexions à l’écran. Réessayez dans une minute.","Choose the language for this device. Unsupported system languages use English.": "Choisissez la langue de cet appareil. Les langues système non prises en charge utilisent l’anglais.",- "resets in {time}": "réinitialisation dans {time}"+ "resets in {time}": "réinitialisation dans {time}",+ "Progress, step {step} of 4": "Progression, étape {step} sur 4"}diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.jsonindex c89db66f..54fb8b73 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json@@ -697,7 +697,7 @@"Minimal": "最小限","The Dynamic Island shows the same Live Activity as the Lock Screen, so this switch turns off both.": "Dynamic Islandにはロック画面と同じライブアクティビティが表示されるため、このスイッチで両方がオフになります。","Starts when you send a task from this iPhone. Follow its progress, then open the conversation when your bot needs you.": "このiPhoneからタスクを送信すると開始します。進行状況を追跡し、ボットがあなたを必要とするときに会話を開きます。",- "The bot in its mood, its current step in the state's color, the running time and a thinking orb. When the bot needs you, Review opens the request.": "ボットの気分、状態の色での現在のステップ、実行時間、思考オーブ。ボットがあなたを必要とするとき、Review はリクエストを開きます。",+ "The bot in its mood, its current step in the state's color, the running time, a thinking orb and its progress. When the bot needs you, Review opens the request.": "ボットの気分、状態の色での現在のステップ、実行時間、思考オーブと進捗。ボットがあなたを必要とするとき、Review はリクエストを開きます。","The bot and a thinking orb beside the camera, outlined in the state's color. The orb becomes a check or warning when the task ends.": "ボットとカメラの横にある考える球体が州の色で縁取られています。タスクが終了すると、オーブはチェックまたは警告になります。","Just the orb when iOS displays multiple Live Activities.": "iOS が複数のライブ アクティビティを表示するときのオーブだけです。","Touch and hold the Dynamic Island for the current step and the running time, or Review when the bot needs you. Tap to open the conversation.": "Dynamic Islandを長押しすると現在の手順と実行時間を確認できます。対応が必要なときは「確認」が表示されます。タップすると会話が開きます。",@@ -1164,5 +1164,6 @@"Remote screen relay is temporarily unavailable. Try again shortly.": "リモート画面リレーが一時的に利用できなくなりました。しばらくしてからもう一度お試しください。","Too many screen connections. Try again in a minute.": "画面接続が多すぎます。 1分後にもう一度試してください。","Choose the language for this device. Unsupported system languages use English.": "このデバイスの言語を選択します。サポートされていないシステム言語では英語が使用されます。",- "resets in {time}": "{time}でリセット"+ "resets in {time}": "{time}でリセット",+ "Progress, step {step} of 4": "進捗、4 段階中 {step} 段階目"}diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.jsonindex 98b5f0a8..eb2c6e4f 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json@@ -697,7 +697,7 @@"Minimal": "최소형","The Dynamic Island shows the same Live Activity as the Lock Screen, so this switch turns off both.": "Dynamic Island는 잠금 화면과 같은 실시간 현황을 표시하므로 이 스위치를 끄면 둘 다 꺼집니다.","Starts when you send a task from this iPhone. Follow its progress, then open the conversation when your bot needs you.": "이 iPhone에서 작업을 보내면 시작됩니다. 진행 상황을 확인하고 봇이 나를 필요로 할 때 대화를 여세요.",- "The bot in its mood, its current step in the state's color, the running time and a thinking orb. When the bot needs you, Review opens the request.": "봇의 표정, 상태 색상의 현재 단계, 실행 시간과 생각 중인 구체를 표시합니다. 도움이 필요하면 검토를 눌러 요청을 엽니다.",+ "The bot in its mood, its current step in the state's color, the running time, a thinking orb and its progress. When the bot needs you, Review opens the request.": "봇의 표정, 상태 색상의 현재 단계, 실행 시간, 생각 중인 구체와 진행 상황을 표시합니다. 도움이 필요하면 검토를 눌러 요청을 엽니다.","The bot and a thinking orb beside the camera, outlined in the state's color. The orb becomes a check or warning when the task ends.": "카메라 옆에 봇과 생각 중인 구체가 상태 색상의 테두리로 표시됩니다. 작업이 끝나면 구체가 체크 표시나 경고로 바뀝니다.","Just the orb when iOS displays multiple Live Activities.": "iOS가 여러 실시간 현황을 표시할 때는 구체만 표시됩니다.","Touch and hold the Dynamic Island for the current step and the running time, or Review when the bot needs you. Tap to open the conversation.": "Dynamic Island를 길게 누르면 현재 단계와 실행 시간을 볼 수 있습니다. 도움이 필요하면 검토가 표시됩니다. 탭하면 대화가 열립니다.",@@ -1164,5 +1164,6 @@"Remote screen relay is temporarily unavailable. Try again shortly.": "원격 화면 릴레이를 일시적으로 사용할 수 없습니다. 잠시 후 다시 시도하세요.","Too many screen connections. Try again in a minute.": "화면 연결이 너무 많습니다. 1분 후 다시 시도하세요.","Choose the language for this device. Unsupported system languages use English.": "이 기기의 언어를 선택하세요. 지원하지 않는 시스템 언어는 영어로 표시됩니다.",- "resets in {time}": "{time} 후 초기화"+ "resets in {time}": "{time} 후 초기화",+ "Progress, step {step} of 4": "진행 상황, 4단계 중 {step}단계"}diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.jsonindex 1f232a85..149108e2 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json@@ -697,7 +697,7 @@"Minimal": "最小","The Dynamic Island shows the same Live Activity as the Lock Screen, so this switch turns off both.": "灵动岛和锁定屏幕用的是同一个实时活动,所以这个开关会同时关掉两边。","Starts when you send a task from this iPhone. Follow its progress, then open the conversation when your bot needs you.": "从这台 iPhone 发出任务时开始。可以看进度,Bot 需要你时再打开对话。",- "The bot in its mood, its current step in the state's color, the running time and a thinking orb. When the bot needs you, Review opens the request.": "显示 Bot 的状态、当前步骤(颜色跟着状态走)、已运行时间和一个思考球。需要你时,点「查看」打开请求。",+ "The bot in its mood, its current step in the state's color, the running time, a thinking orb and its progress. When the bot needs you, Review opens the request.": "显示 Bot 的状态、当前步骤(颜色跟着状态走)、已运行时间、一个思考球和进度。需要你时,点「查看」打开请求。","The bot and a thinking orb beside the camera, outlined in the state's color. The orb becomes a check or warning when the task ends.": "摄像头旁边是 Bot 和一个思考球,描边颜色跟着状态走。任务结束时,球会变成对勾或警告。","Just the orb when iOS displays multiple Live Activities.": "iOS 同时显示多个实时活动时,只留下这个球。","Touch and hold the Dynamic Island for the current step and the running time, or Review when the bot needs you. Tap to open the conversation.": "按住灵动岛可看当前步骤和已运行时间。Bot 需要你时会显示「查看」。点一下打开对话。",@@ -1164,5 +1164,6 @@"Remote screen relay is temporarily unavailable. Try again shortly.": "远程屏幕中继暂时不可用。请稍后再试。","Too many screen connections. Try again in a minute.": "屏幕连接太多了。请过一分钟再试。","Choose the language for this device. Unsupported system languages use English.": "选择此设备的界面语言。不支持的系统语言将使用英文。",- "resets in {time}": "{time}后重置"+ "resets in {time}": "{time}后重置",+ "Progress, step {step} of 4": "进度,第 {step} 步,共 4 步"}diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.jsonindex 28c60c5c..e957d9de 100644--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json@@ -697,7 +697,7 @@"Minimal": "最小","The Dynamic Island shows the same Live Activity as the Lock Screen, so this switch turns off both.": "靈動島和鎖定螢幕用的是同一個實時活動,所以這個開關會同時關掉兩邊。","Starts when you send a task from this iPhone. Follow its progress, then open the conversation when your bot needs you.": "從這臺 iPhone 發出任務時開始。可以看進度,Bot 需要你時再開啟對話。",- "The bot in its mood, its current step in the state's color, the running time and a thinking orb. When the bot needs you, Review opens the request.": "顯示 Bot 的狀態、當前步驟(顏色跟著狀態走)、已執行時間和一個思考球。需要你時,點「檢視」開啟請求。",+ "The bot in its mood, its current step in the state's color, the running time, a thinking orb and its progress. When the bot needs you, Review opens the request.": "顯示 Bot 的狀態、當前步驟(顏色跟著狀態走)、已執行時間、一個思考球和進度。需要你時,點「檢視」開啟請求。","The bot and a thinking orb beside the camera, outlined in the state's color. The orb becomes a check or warning when the task ends.": "攝像頭旁邊是 Bot 和一個思考球,描邊顏色跟著狀態走。任務結束時,球會變成對勾或警告。","Just the orb when iOS displays multiple Live Activities.": "iOS 同時顯示多個實時活動時,只留下這個球。","Touch and hold the Dynamic Island for the current step and the running time, or Review when the bot needs you. Tap to open the conversation.": "按住靈動島可看當前步驟和已執行時間。Bot 需要你時會顯示「檢視」。點一下開啟對話。",@@ -1164,5 +1164,6 @@"Remote screen relay is temporarily unavailable. Try again shortly.": "遠端螢幕中繼暫時不可用。請稍後再試。","Too many screen connections. Try again in a minute.": "螢幕連線太多了。請過一分鐘再試。","Choose the language for this device. Unsupported system languages use English.": "選擇此裝置的介面語言。不支援的系統語言會使用英文。",- "resets in {time}": "{time}後重置"+ "resets in {time}": "{time}後重置",+ "Progress, step {step} of 4": "進度,第 {step} 步,共 4 步"}diff --git a/apps/ios/Kit/Tests/CodyncKitTests/ActivityPresentationTests.swift b/apps/ios/Kit/Tests/CodyncKitTests/ActivityPresentationTests.swiftindex 966e479b..04eaf642 100644--- a/apps/ios/Kit/Tests/CodyncKitTests/ActivityPresentationTests.swift+++ b/apps/ios/Kit/Tests/CodyncKitTests/ActivityPresentationTests.swift@@ -7,9 +7,11 @@ import Testing#expect(error.phase == .failed)#expect(error.title == "Failed")#expect(error.symbol != "checkmark")+ #expect(error.progressStep == 4)let unknown = BotActivityPresentation(status: "new-host-status", activity: "")#expect(unknown.phase == .waiting)#expect(unknown.symbol != "checkmark")+ #expect(unknown.progressStep < 4)}@Test func staleActivityStopsPresentingLiveProgress() {diff --git a/apps/ios/Views/ActivityGalleryView.swift b/apps/ios/Views/ActivityGalleryView.swiftindex 36da6733..be2cfcea 100644--- a/apps/ios/Views/ActivityGalleryView.swift+++ b/apps/ios/Views/ActivityGalleryView.swift@@ -98,7 +98,7 @@ struct ActivityGalleryView: View {private func explanation(_ form: BotActivityPreview.Form) -> some View {let detail = switch form {- case .lockScreen: "The bot in its mood, its current step in the state's color, the running time and a thinking orb. When the bot needs you, Review opens the request."+ case .lockScreen: "The bot in its mood, its current step in the state's color, the running time, a thinking orb and its progress. When the bot needs you, Review opens the request."case .compact: "The bot and a thinking orb beside the camera, outlined in the state's color. The orb becomes a check or warning when the task ends."case .minimal: "Just the orb when iOS displays multiple Live Activities."case .expanded: "Touch and hold the Dynamic Island for the current step and the running time, or Review when the bot needs you. Tap to open the conversation."diff --git a/docs/design/push-and-live-activity.md b/docs/design/push-and-live-activity.mdindex e36de3e5..2953a42f 100644--- a/docs/design/push-and-live-activity.md+++ b/docs/design/push-and-live-activity.md@@ -19,7 +19,7 @@ The encrypted title is limited to 80 characters and the body to 400 characters.Notification actions open the scoped conversation. Permission approval still requires the normal in-app permission card. An account mismatch does not navigate into another account. Notifications are grouped by computer plus bot. Muted and hidden bots do not alert. The existing host-wide suppression while an iOS event connection is open remains in place; independent foreground suppression for multiple phones is not implemented.-Use Settings → Notifications to switch push notifications off for this iPhone (the app calls `unregisterDevice`, so every computer drops its alert ticket; Live Activities are unaffected), and to request access or open the iOS notification settings. Per-bot notification preferences remain in the bot editor. State → Live Activity controls automatic activity creation and shows system authorization. Turning it off ends this phone's activities. State → Dynamic Island shows the same switch: iOS renders one activity in both places and offers no island-only opt-out. The expanded island centers the bot name and current step under the camera, between the avatar and the orb (both vertically centered), so no text reaches the island's 44 pt corners. Its bottom row shows the elapsed time (from `startedAt`, counted by the system) or, when the bot needs you, a Review button that opens the conversation.+Use Settings → Notifications to switch push notifications off for this iPhone (the app calls `unregisterDevice`, so every computer drops its alert ticket; Live Activities are unaffected), and to request access or open the iOS notification settings. Per-bot notification preferences remain in the bot editor. State → Live Activity controls automatic activity creation and shows system authorization. Turning it off ends this phone's activities. State → Dynamic Island shows the same switch: iOS renders one activity in both places and offers no island-only opt-out. Under the bot's row (above Review when the bot needs you), the Lock Screen card shows a progress line, four segments in the state's color that fill as the task moves (one while sending or queued, two while working, three when the bot needs you, four once it ends), the same line as Android's Live update. The expanded island centers the bot name and current step under the camera, between the avatar and the orb (both vertically centered), so no text reaches the island's 44 pt corners. Its bottom row shows the elapsed time (from `startedAt`, counted by the system) or, when the bot needs you, a Review button that opens the conversation.## Responsibilities and privacy