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: clear stale toolRunning when transcript detects idle
libokai88944247579e
diff --git a/Codync-macOS/Services/ClaudeHookServer.swift b/Codync-macOS/Services/ClaudeHookServer.swiftindex 1a9cd01e..5ba8f4e7 100644--- a/Codync-macOS/Services/ClaudeHookServer.swift+++ b/Codync-macOS/Services/ClaudeHookServer.swift@@ -60,6 +60,10 @@ final class ClaudeHookServer: @unchecked Sendable {withLock { _stopSessions.remove(sessionId) }}+ func clearToolRunning(_ sessionId: String) {+ withLock { _toolRunningSessions.remove(sessionId) }+ }+/// Remove all state for sessions no longer alive.func pruneStale(activeSessionIds: Set<String>) {withLock {diff --git a/Codync-macOS/Services/SessionStateManager.swift b/Codync-macOS/Services/SessionStateManager.swiftindex fbfa5b03..b3f29707 100644--- a/Codync-macOS/Services/SessionStateManager.swift+++ b/Codync-macOS/Services/SessionStateManager.swift@@ -184,8 +184,14 @@ final class SessionStateManager: ObservableObject {}// 4. Hook: Tool currently running → working+ // But transcript idle/end_turn overrides stale toolRunning+ // (handles lost postToolUse hooks)if hookServer?.isToolRunning(sessionId) == true {- return (.working, nil)+ if let transcript, transcript.status == .idle {+ hookServer?.clearToolRunning(sessionId)+ } else {+ return (.working, nil)+ }}// 5. Transcript state (supplementary — for working/compacting/idle)