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: hover pin on macOS session rows, Glass Morph Live Activity widget
libokaic1d053ec6527
diff --git a/Codync-macOS/Views/SessionListView.swift b/Codync-macOS/Views/SessionListView.swiftindex 3cdb6fca..13589d7c 100644--- a/Codync-macOS/Views/SessionListView.swift+++ b/Codync-macOS/Views/SessionListView.swift@@ -10,6 +10,7 @@ struct SessionListView: View {@State private var reorderTimer: Timer?@State private var previousOrder: [String] = []@State private var cardStyles: [String: GlassCardStyle] = [:]+ @State private var pinnedSessionIds: Set<String> = []@Environment(\.theme) private var injectedThemeprivate var theme: CodyncTheme {@@ -34,6 +35,7 @@ struct SessionListView: View {.preferredColorScheme(theme.isDark ? .dark : .light).task {displayedSessions = stateManager.sessions+ pinnedSessionIds = (try? await CloudKitManager.shared.fetchPinnedSessionIds()) ?? []reorderTimer = Timer.scheduledTimer(withTimeInterval: 3, repeats: true) { _ inTask { @MainActor inlet sorted = stateManager.sessions@@ -61,7 +63,7 @@ struct SessionListView: View {ScrollView(.vertical, showsIndicators: false) {VStack(spacing: 2) {ForEach(displayedSessions) { session in- SessionRowView(session: session) {+ SessionRowView(session: session, isPinned: pinnedSessionIds.contains(session.sessionId)) {withAnimation(.easeInOut(duration: 0.2)) { selectedSession = session }}.glassCard(cardStyles[session.sessionId] ?? .normal, isDark: theme.isDark)diff --git a/Codync-macOS/Views/SessionRowView.swift b/Codync-macOS/Views/SessionRowView.swiftindex ffb7dcb7..4b5d1657 100644--- a/Codync-macOS/Views/SessionRowView.swift+++ b/Codync-macOS/Views/SessionRowView.swift@@ -3,6 +3,7 @@ import CodyncSharedstruct SessionRowView: View {let session: SessionState+ var isPinned: Bool = falselet onSelect: () -> Void@Environment(\.theme) private var theme@State private var isHovered = false@@ -65,6 +66,32 @@ struct SessionRowView: View {.onHover { hovering inwithAnimation(.easeOut(duration: 0.12)) { isHovered = hovering }}+ .overlay(alignment: .topTrailing) {+ if isHovered {+ Button(action: { togglePin() }) {+ Image(systemName: isPinned ? "pin.fill" : "pin")+ .font(.system(size: 9))+ .foregroundStyle(theme.secondaryText)+ .padding(4)+ }+ .buttonStyle(.plain)+ .transition(.opacity)+ }+ }+ }++ private func togglePin() {+ Task {+ do {+ if isPinned {+ try await CloudKitManager.shared.unpinSession(session.sessionId)+ } else {+ try await CloudKitManager.shared.pinSession(session.sessionId)+ }+ } catch {+ // Silently fail — pin is best-effort+ }+ }}private var subtitleColor: Color {diff --git a/CodyncLiveActivity/CodyncLiveActivityWidget.swift b/CodyncLiveActivity/CodyncLiveActivityWidget.swiftindex 7b86a97e..6fb2ab21 100644--- a/CodyncLiveActivity/CodyncLiveActivityWidget.swift+++ b/CodyncLiveActivity/CodyncLiveActivityWidget.swift@@ -34,6 +34,8 @@ struct CodyncLiveActivityWidget: Widget {.font(.subheadline).foregroundStyle(.secondary).lineLimit(2)+ .id(context.state.currentTask ?? context.state.status)+ .transition(.blurReplace)}}DynamicIslandExpandedRegion(.trailing) {@@ -194,6 +196,12 @@ struct CodyncLiveActivityWidget: Widget {.padding(.vertical, 10).frame(height: 160).background(Color.white.opacity(state.isCompleted ? 1 : 0.75))+ .background(.thinMaterial)+ .clipShape(RoundedRectangle(cornerRadius: 20, style: .continuous))+ .overlay(+ RoundedRectangle(cornerRadius: 20, style: .continuous)+ .stroke(Color.white.opacity(0.15), lineWidth: 0.5)+ ).activityBackgroundTint(.clear)}@@ -278,6 +286,12 @@ struct CodyncLiveActivityWidget: Widget {.padding(.vertical, 10).frame(height: 160).background(Color.white.opacity(isWaiting || state.isCompleted ? 1 : 0.75))+ .background(.thinMaterial)+ .clipShape(RoundedRectangle(cornerRadius: 20, style: .continuous))+ .overlay(+ RoundedRectangle(cornerRadius: 20, style: .continuous)+ .stroke(Color.white.opacity(0.15), lineWidth: 0.5)+ ).activityBackgroundTint(.clear)}@@ -464,7 +478,10 @@ struct TaskCard: View {.padding(12).frame(maxWidth: .infinity, alignment: .leading).frame(height: 60)- .background(Color.white, in: RoundedRectangle(cornerRadius: isBehind ? 10 : 16, style: .continuous))+ .background(+ RoundedRectangle(cornerRadius: isBehind ? 10 : 16, style: .continuous)+ .fill(Color(.secondarySystemGroupedBackground))+ ).scaleEffect(isBehind ? 0.9 : 1).offset(y: isBehind ? 10 : 0).opacity(isBehind ? 0.72 : 1)