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: remove macOS-only debug log from shared CloudKitManager

libokaid48e21fb7c0b
diff --git a/CodePulseShared/Sources/CloudKit/CloudKitManager.swift b/CodePulseShared/Sources/CloudKit/CloudKitManager.swift
index d5178d80..7bb7b68e 100644
--- a/CodePulseShared/Sources/CloudKit/CloudKitManager.swift
+++ b/CodePulseShared/Sources/CloudKit/CloudKitManager.swift
@@ -36,14 +36,6 @@ public final class CloudKitManager: Sendable {
}
}
logger.info("Fetch phase: \(existingRecords.count) existing, \(sessions.count - existingRecords.count) new")
- // File-based debug log (os.Logger not visible from CLI)
- let debugLine = "[\(Date())] CK fetch: \(existingRecords.count) existing, \(sessions.count - existingRecords.count) new\n"
- let debugURL = FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".codepulse/cloudkit-debug.log")
- if let handle = try? FileHandle(forWritingTo: debugURL) {
- handle.seekToEndOfFile()
- handle.write(debugLine.data(using: .utf8)!)
- try? handle.close()
- }
// Build records: update existing or create new
let records: [CKRecord] = sessions.map { session in