π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
bump buildnumber
Prateek Sunal5e343dcb24eb
diff --git a/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj b/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxprojindex e8ba2269ed..26d768eb32 100644--- a/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj+++ b/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj@@ -509,7 +509,7 @@ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 13;+ CURRENT_PROJECT_VERSION = 14;DEVELOPMENT_TEAM = 6Z68YJY9Q2;ENABLE_PREVIEWS = YES;ENABLE_USER_SCRIPT_SANDBOXING = NO;@@ -570,7 +570,7 @@ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 13;+ CURRENT_PROJECT_VERSION = 14;DEVELOPMENT_TEAM = 6Z68YJY9Q2;ENABLE_PREVIEWS = YES;ENABLE_USER_SCRIPT_SANDBOXING = NO;diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatViewModel.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatViewModel.swiftindex 51ce439755..d9ad0c7681 100644--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatViewModel.swift+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatViewModel.swift@@ -387,7 +387,7 @@ final class ChatViewModel: ObservableObject {private static let systemPrompt = "You are a helpful assistant. Use Markdown **bold** to emphasize important terms and key points. For math equations, put $$ on its own line (never inline). Example:\n$$\nx^2 + y^2 = z^2\n$$"private static let overflowSafetyTokens = 128private static let imageTokenEstimate = 768- private static let sessionTitleMaxLength = 40+ private nonisolated static let sessionTitleMaxLength = 40private static let sessionSummaryMaxWords = 7private static let sessionSummaryStoreKey = "ensu.session_summaries"private static let sessionSummarySystemPrompt = "You create concise chat titles. Given the provided message, summarize the user's goal in 5-7 words. Use plain words. Don't use markdown characters in the title. No quotes, no emojis, no trailing punctuation, and output only the title."@@ -1788,7 +1788,7 @@ final class ChatViewModel: ObservableObject {startNextAttachmentDownloads()}- private static func buildSessions(+ private nonisolated static func buildSessions(from loaded: [LlmChatSession],chatDb: LlmChatDb,summaries: [String: String]@@ -2135,14 +2135,14 @@ final class ChatViewModel: ObservableObject {return summaryWords.joined(separator: " ")}- private static func sanitizeTitleText(_ text: String) -> String {+ private nonisolated static func sanitizeTitleText(_ text: String) -> String {text.replacingOccurrences(of: "[\\r\\n\\t]+", with: " ", options: .regularExpression).replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression).trimmingCharacters(in: .whitespacesAndNewlines)}- static func sessionTitle(from text: String, fallback: String = "New chat") -> String {+ nonisolated static func sessionTitle(from text: String, fallback: String = "New chat") -> String {let trimmed = sanitizeTitleText(text)guard !trimmed.isEmpty else { return fallback }if trimmed.count <= Self.sessionTitleMaxLength {diff --git a/mobile/native/darwin/Apps/ensu/ensu/Info.plist b/mobile/native/darwin/Apps/ensu/ensu/Info.plistindex 0d47968b0c..e3bf3ed29f 100644--- a/mobile/native/darwin/Apps/ensu/ensu/Info.plist+++ b/mobile/native/darwin/Apps/ensu/ensu/Info.plist@@ -24,7 +24,7 @@<string>0.1.0</string><key>CFBundleVersion</key>- <string>13</string>+ <string>14</string><key>UILaunchStoryboardName</key><string>LaunchScreen</string>