Skip to content

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.

fix: keep sparkle animation alive with 8-second tick updates

libokai0c942ec01935
diff --git a/Codync-iOS/Services/LiveActivityManager.swift b/Codync-iOS/Services/LiveActivityManager.swift
index 21d07bfb..04cc934d 100644
--- a/Codync-iOS/Services/LiveActivityManager.swift
+++ b/Codync-iOS/Services/LiveActivityManager.swift
@@ -216,7 +216,7 @@ final class LiveActivityManager: ObservableObject {
let state = contentState(from: session)
let prev = lastPushedState[session.sessionId]
- let meaningfulChange = prev == nil
+ let fieldChange = prev == nil
|| prev?.status != state.status
|| prev?.model != state.model
|| prev?.completedCount != state.completedCount
@@ -224,8 +224,10 @@ final class LiveActivityManager: ObservableObject {
|| prev?.currentTask != state.currentTask
|| prev?.contextPct != state.contextPct
|| prev?.costUSD != state.costUSD
+ // Update every 8s for sparkle animation cycle, even without field changes
+ let animationTick = prev != nil && (state.durationSec / 8 != prev!.durationSec / 8)
- guard meaningfulChange else { return }
+ guard fieldChange || animationTick else { return }
if let prev, prev.status != state.status {
logger.info("[\(session.projectName)] status changed: \(prev.status) → \(state.status)")