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.

chore: restore debug-only alert logs, bump build to 5, update CLAUDE.md

libokai259dcd99ffaf
diff --git a/CLAUDE.md b/CLAUDE.md
index 2b9c94dc..b1daf74f 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -19,6 +19,10 @@
- **Do NOT register HTTP hooks** — they block Claude Code on ECONNREFUSED when app is down
- Command hooks for PreToolUse/PostToolUse are safe — script exits in <20ms, imperceptible delay
+## App Store Upload
+
+- **IMPORTANT**: Every time you archive and upload a new build to App Store Connect, you MUST increment `CURRENT_PROJECT_VERSION` in the Xcode project first. App Store Connect rejects duplicate build numbers.
+
## Targets
- `Codync-macOS` — macOS menu bar app
diff --git a/Codync-macOS/Services/CloudKitSync.swift b/Codync-macOS/Services/CloudKitSync.swift
index c5c12f1b..1d2c6773 100644
--- a/Codync-macOS/Services/CloudKitSync.swift
+++ b/Codync-macOS/Services/CloudKitSync.swift
@@ -110,7 +110,7 @@ final class CloudKitSync {
#if DEBUG
let primarySession = toSave.first(where: { $0.sessionId == primary.sessionId })
let prevStatus = primary.sessionId.flatMap { previousStates[$0]?.status }
- Self.log("ALERT CHECK: primaryId=\(primary.sessionId ?? "nil") locked=\(primary.locked) sessionStatus=\(primarySession?.status.rawValue ?? "not-in-toSave") prevStatus=\(prevStatus?.rawValue ?? "nil")")
+ Self.log("ALERT CHECK: primaryId=\(primary.sessionId ?? "nil") locked=\(primary.locked) status=\(primarySession?.status.rawValue ?? "not-in-toSave") prev=\(prevStatus?.rawValue ?? "nil")")
#endif
if let lockedPrimaryId = primary.sessionId, primary.locked,
let session = toSave.first(where: { $0.sessionId == lockedPrimaryId && ($0.status == .idle || $0.status == .needsInput) }),
diff --git a/Codync.xcodeproj/project.pbxproj b/Codync.xcodeproj/project.pbxproj
index 566dad42..48b4b669 100644
--- a/Codync.xcodeproj/project.pbxproj
+++ b/Codync.xcodeproj/project.pbxproj
@@ -617,7 +617,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- CURRENT_PROJECT_VERSION = 2;
+ CURRENT_PROJECT_VERSION = 5;
MARKETING_VERSION = 1.0.0;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
@@ -774,7 +774,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
- CURRENT_PROJECT_VERSION = 2;
+ CURRENT_PROJECT_VERSION = 5;
MARKETING_VERSION = 1.0.0;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";