CodexBar 是一个 macOS 菜单栏应用,用于查看本机 Codex 账号状态、额度、Token 用量、详细统计信息
Swift appkitcodexcodex-clideveloper-toolsmacosmacos-appmenu-bar-appopenai-codexproductivityswiftswiftuiusage-tracker
feat: 统一全局主题与界面动画体验
Bob3b3e68943bde
diff --git a/CodexBar/App/CodexBarAppDelegate.swift b/CodexBar/App/CodexBarAppDelegate.swiftindex 88bf64d..a9a27be 100644--- a/CodexBar/App/CodexBarAppDelegate.swift+++ b/CodexBar/App/CodexBarAppDelegate.swift@@ -1,4 +1,5 @@import AppKit+import Combineimport os/// 应用级对象装配点, 持有服务和 ViewModel 生命周期@@ -21,6 +22,7 @@ final class CodexBarAppDelegate: NSObject, NSApplicationDelegate {let syncSettings = SyncSettings()let globalHotKeySettings = GlobalHotKeySettings()let menuBarQuotaSettings = MenuBarQuotaSettings()+ let appearanceSettings = AppearanceSettings()let mainPanelSettings = MainPanelSettings()let serviceStatusMonitor = CodexServiceStatusMonitor()let taskGlowSettings = TaskGlowSettings()@@ -29,6 +31,8 @@ final class CodexBarAppDelegate: NSObject, NSApplicationDelegate {let appUpdater = AppUpdater()private var statusItemController: StatusItemController?+ private var appearanceObserver: AnyCancellable?+ private var appearanceTransition: AppearanceTransition?private var taskGlowController: TaskGlowController?private var notificationService: NotificationService?private var autoResetController: AutoResetController?@@ -40,6 +44,7 @@ final class CodexBarAppDelegate: NSObject, NSApplicationDelegate {func applicationDidFinishLaunching(_: Notification) {AppProcessDiagnostics.install()+ configureAppearance()let controller = StatusItemController(viewModel: viewModel,historyViewModel: historyViewModel,@@ -48,6 +53,7 @@ final class CodexBarAppDelegate: NSObject, NSApplicationDelegate {syncSettings: syncSettings,globalHotKeySettings: globalHotKeySettings,menuBarQuotaSettings: menuBarQuotaSettings,+ appearanceSettings: appearanceSettings,mainPanelSettings: mainPanelSettings,serviceStatusMonitor: serviceStatusMonitor,taskGlowSettings: taskGlowSettings,@@ -118,8 +124,27 @@ final class CodexBarAppDelegate: NSObject, NSApplicationDelegate {}}+ private func configureAppearance() {+ NSApplication.shared.appearance = appearanceSettings.theme.appearance+ appearanceTransition = AppearanceTransition { [weak self] in+ self?.mainPanelSettings.areAnimationsEnabled ?? false+ }+ appearanceObserver = appearanceSettings.$theme+ .dropFirst()+ // @Published 在属性赋值前通知, 截图必须等本轮赋值完成后再刷新 SwiftUI+ .receive(on: RunLoop.main)+ .sink { [weak self] theme in+ guard let self,+ theme == appearanceSettings.theme,+ NSApplication.shared.appearance?.name != theme.appearance?.name else { return }+ NSApplication.shared.appearance = theme.appearance+ statusItemController?.applyAppearance(theme.appearance)+ }+ }+func applicationWillTerminate(_: Notification) {AppLog.app.notice("App 即将退出: reason=userQuit")+ appearanceTransition?.stop()startupTask?.cancel()startupTask = nilterminationPreparationTask?.cancel()diff --git a/CodexBar/Controllers/GlobalHotKeyController.swift b/CodexBar/Controllers/GlobalHotKeyController.swiftindex 5250a7f..07efe17 100644--- a/CodexBar/Controllers/GlobalHotKeyController.swift+++ b/CodexBar/Controllers/GlobalHotKeyController.swift@@ -54,7 +54,7 @@ final class GlobalHotKeyController {return false}- AppLog.settings.notice("快捷键已注册")+ AppLog.settings.notice("快捷键已注册: \(shortcut.label, privacy: .public)")clearCurrentRegistration()registration = GlobalHotKeyRegistration(diff --git a/CodexBar/Controllers/HeatmapPanelController.swift b/CodexBar/Controllers/HeatmapPanelController.swiftindex e36be27..c5a736b 100644--- a/CodexBar/Controllers/HeatmapPanelController.swift+++ b/CodexBar/Controllers/HeatmapPanelController.swift@@ -5,6 +5,7 @@ import SwiftUI/// 热力图 hover 详情控制器, 负责左右贴边定位和抽屉式切换动画@MainActorfinal class HeatmapPanelController {+ private let mainPanelSettings: MainPanelSettingsprivate let contentHost = SidePanelContentHost<HeatmapDetailView>(initialSize: HeatmapDetailView.panelSize,ignoresMouseEvents: true,@@ -25,6 +26,10 @@ final class HeatmapPanelController {private var pendingSideSwitchRequest: PanelRequest?private weak var menuSurfaceWindow: NSWindow?+ init(mainPanelSettings: MainPanelSettings) {+ self.mainPanelSettings = mainPanelSettings+ }+func containsScreenPoint(_ screenPoint: NSPoint) -> Bool {contentHost.containsScreenPoint(screenPoint)}@@ -290,7 +295,7 @@ final class HeatmapPanelController {private func updateContent(_ context: UsageHeatmapHoverContext) {contentHost.updateContent(- HeatmapDetailView(context: context),+ HeatmapDetailView(context: context, mainPanelSettings: mainPanelSettings),size: HeatmapDetailView.panelSize)}diff --git a/CodexBar/Controllers/LogWindowController.swift b/CodexBar/Controllers/LogWindowController.swiftindex 1ce43ac..9796506 100644--- a/CodexBar/Controllers/LogWindowController.swift+++ b/CodexBar/Controllers/LogWindowController.swift@@ -6,12 +6,15 @@ import SwiftUIfinal class LogWindowController: HostingWindowController {private var closeObserver: (any NSObjectProtocol)?private let store: AppServerLogViewModel+ private let mainPanelSettings: MainPanelSettingsinit(+ mainPanelSettings: MainPanelSettings,store: AppServerLogViewModel = .shared,screenProvider: @escaping () -> NSScreen?) {self.store = store+ self.mainPanelSettings = mainPanelSettingssuper.init(screenProvider: screenProvider)}@@ -21,7 +24,7 @@ final class LogWindowController: HostingWindowController {}override func makeWindow() -> NSWindow {- let hostingController = NSHostingController(rootView: LogView(store: store))+ let hostingController = NSHostingController(rootView: LogView(store: store, mainPanelSettings: mainPanelSettings))let window = AuxiliaryHostingWindow(contentViewController: hostingController)window.title = String(localized: "log.window.title")diff --git a/CodexBar/Controllers/OptionsPanelController.swift b/CodexBar/Controllers/OptionsPanelController.swiftindex 24a15cf..a8fd2f9 100644--- a/CodexBar/Controllers/OptionsPanelController.swift+++ b/CodexBar/Controllers/OptionsPanelController.swift@@ -70,6 +70,7 @@ final class OptionsPanelController {private var isEntryAnimationRunning = falseinit(+ mainPanelSettings: MainPanelSettings,animationKey: String,initialPanelSize: CGSize,willShow: (() -> Void)? = nil,@@ -85,6 +86,7 @@ final class OptionsPanelController {contentControllerProvider = { cue inlet controller = NSHostingController(rootView: SidePanelEntryRebuildHost(cue: cue, content: contentProvider())+ .contentAnimations(settings: mainPanelSettings))// 高度重算依赖 preferredContentSize 提交的 fitting sizecontroller.sizingOptions = [.preferredContentSize]diff --git a/CodexBar/Controllers/ResetCreditsPanelController.swift b/CodexBar/Controllers/ResetCreditsPanelController.swiftindex 10d9dd7..cd27058 100644--- a/CodexBar/Controllers/ResetCreditsPanelController.swift+++ b/CodexBar/Controllers/ResetCreditsPanelController.swift@@ -4,6 +4,7 @@ import SwiftUI/// 重置次数详情控制器, 复用共享侧边抽屉定位和动画@MainActorfinal class ResetCreditsPanelController {+ private let mainPanelSettings: MainPanelSettingsprivate let contentHost = SidePanelContentHost<ResetCreditsPanelView>(initialSize: ResetCreditsPanelView.initialPanelSize,ignoresMouseEvents: false,@@ -17,6 +18,10 @@ final class ResetCreditsPanelController {})+ init(mainPanelSettings: MainPanelSettings) {+ self.mainPanelSettings = mainPanelSettings+ }+var isVisible: Bool {presenter.isVisible}@@ -84,7 +89,10 @@ final class ResetCreditsPanelController {SidePanelSupport.restoreMenuSurfaceKeyWindow(menuSurfaceWindow)}- contentHost.updateContent(ResetCreditsPanelView(context: resolvedContext), size: panelSize)+ contentHost.updateContent(+ ResetCreditsPanelView(context: resolvedContext, mainPanelSettings: mainPanelSettings),+ size: panelSize+ )presenter.present(panel, at: position, relativeTo: menuSurfaceWindow)}diff --git a/CodexBar/Controllers/SettingsWindowController.swift b/CodexBar/Controllers/SettingsWindowController.swiftindex 5ff7fe9..0319884 100644--- a/CodexBar/Controllers/SettingsWindowController.swift+++ b/CodexBar/Controllers/SettingsWindowController.swift@@ -11,6 +11,7 @@ final class SettingsWindowController: HostingWindowController {private let syncSettings: SyncSettingsprivate let globalHotKeySettings: GlobalHotKeySettingsprivate let menuBarQuotaSettings: MenuBarQuotaSettings+ private let appearanceSettings: AppearanceSettingsprivate let mainPanelSettings: MainPanelSettingsprivate let taskGlowSettings: TaskGlowSettingsprivate let notificationSettings: NotificationSettings@@ -38,6 +39,7 @@ final class SettingsWindowController: HostingWindowController {syncSettings: SyncSettings,globalHotKeySettings: GlobalHotKeySettings,menuBarQuotaSettings: MenuBarQuotaSettings,+ appearanceSettings: AppearanceSettings,mainPanelSettings: MainPanelSettings,taskGlowSettings: TaskGlowSettings,notificationSettings: NotificationSettings,@@ -54,6 +56,7 @@ final class SettingsWindowController: HostingWindowController {self.syncSettings = syncSettingsself.globalHotKeySettings = globalHotKeySettingsself.menuBarQuotaSettings = menuBarQuotaSettings+ self.appearanceSettings = appearanceSettingsself.mainPanelSettings = mainPanelSettingsself.taskGlowSettings = taskGlowSettingsself.notificationSettings = notificationSettings@@ -81,6 +84,7 @@ final class SettingsWindowController: HostingWindowController {syncSettings: syncSettings,globalHotKeySettings: globalHotKeySettings,menuBarQuotaSettings: menuBarQuotaSettings,+ appearanceSettings: appearanceSettings,mainPanelSettings: mainPanelSettings,taskGlowSettings: taskGlowSettings,notificationSettings: notificationSettings,@@ -152,6 +156,7 @@ final class SettingsWindowController: HostingWindowController {tuiNotificationSettings.refresh()syncSettings.refresh()menuBarQuotaSettings.refresh()+ appearanceSettings.refresh()mainPanelSettings.refresh()taskGlowSettings.refresh()autoResetSettings.refresh()@@ -186,6 +191,7 @@ final class SettingsWindowController: HostingWindowController {makeMainPanelOptionsPanelController()case .taskGlow:OptionsPanelController(+ mainPanelSettings: mainPanelSettings,animationKey: "CodexBar.taskGlowOptionsDrawerTransform",initialPanelSize: TaskGlowOptionsView.initialPanelSize,willHide: { [taskGlowSettings] in taskGlowSettings.endColorPreview() },@@ -195,6 +201,7 @@ final class SettingsWindowController: HostingWindowController {)case .notification:OptionsPanelController(+ mainPanelSettings: mainPanelSettings,animationKey: "CodexBar.notificationOptionsDrawerTransform",initialPanelSize: NotificationOptionsView.initialPanelSize,willShow: { [tuiNotificationSettings] in@@ -225,6 +232,7 @@ final class SettingsWindowController: HostingWindowController {)case .autoReset:OptionsPanelController(+ mainPanelSettings: mainPanelSettings,animationKey: "CodexBar.autoResetOptionsDrawerTransform",initialPanelSize: AutoResetOptionsView.initialPanelSize,contentProvider: { [autoResetSettings] in@@ -233,6 +241,7 @@ final class SettingsWindowController: HostingWindowController {)case .keepAlive:OptionsPanelController(+ mainPanelSettings: mainPanelSettings,animationKey: "CodexBar.keepAliveOptionsDrawerTransform",initialPanelSize: KeepAliveOptionsView.initialPanelSize,contentProvider: { [keepAliveController, protectionSettings] in@@ -251,6 +260,7 @@ final class SettingsWindowController: HostingWindowController {private func makeMainPanelOptionsPanelController() -> OptionsPanelController {OptionsPanelController(+ mainPanelSettings: mainPanelSettings,animationKey: "CodexBar.mainPanelOptionsDrawerTransform",initialPanelSize: MainPanelOptionsView.initialPanelSize,willShow: { [mainPanelSettings] indiff --git a/CodexBar/Controllers/StatusItemController.swift b/CodexBar/Controllers/StatusItemController.swiftindex 362bfe6..1704b0f 100644--- a/CodexBar/Controllers/StatusItemController.swift+++ b/CodexBar/Controllers/StatusItemController.swift@@ -12,6 +12,7 @@ final class StatusItemController: NSObject, NSMenuDelegate {private let syncSettings: SyncSettingsprivate let globalHotKeySettings: GlobalHotKeySettingsprivate let menuBarQuotaSettings: MenuBarQuotaSettings+ private let appearanceSettings: AppearanceSettingsprivate let mainPanelSettings: MainPanelSettingsprivate let serviceStatusMonitor: CodexServiceStatusMonitorprivate let taskGlowSettings: TaskGlowSettings@@ -25,8 +26,8 @@ final class StatusItemController: NSObject, NSMenuDelegate {private let popoverAnimationState = MenuSurfaceAnimationState()private let fallbackPanelAnimationState = MenuSurfaceAnimationState()private let activityCenterPresentationState = ActivityCenterPresentationState()- private let heatmapDetailPanelController = HeatmapPanelController()- private let resetCreditsPanelController = ResetCreditsPanelController()+ private lazy var heatmapDetailPanelController = HeatmapPanelController(mainPanelSettings: mainPanelSettings)+ private lazy var resetCreditsPanelController = ResetCreditsPanelController(mainPanelSettings: mainPanelSettings)private lazy var activityCenterPanelController = ActivityPanelController(activityMonitor: activityMonitor,presentationState: activityCenterPresentationState,@@ -48,6 +49,7 @@ final class StatusItemController: NSObject, NSMenuDelegate {syncSettings: syncSettings,globalHotKeySettings: globalHotKeySettings,menuBarQuotaSettings: menuBarQuotaSettings,+ appearanceSettings: appearanceSettings,mainPanelSettings: mainPanelSettings,taskGlowSettings: taskGlowSettings,notificationSettings: notificationSettings,@@ -67,7 +69,7 @@ final class StatusItemController: NSObject, NSMenuDelegate {syncScheduler.requestRebuild(for: dateKeys, completion: completion)}- private lazy var logWindowController = LogWindowController { [weak self] in+ private lazy var logWindowController = LogWindowController(mainPanelSettings: mainPanelSettings) { [weak self] inself?.statusItem.button?.window?.screen}@@ -119,6 +121,7 @@ final class StatusItemController: NSObject, NSMenuDelegate {syncSettings: SyncSettings,globalHotKeySettings: GlobalHotKeySettings,menuBarQuotaSettings: MenuBarQuotaSettings,+ appearanceSettings: AppearanceSettings,mainPanelSettings: MainPanelSettings,serviceStatusMonitor: CodexServiceStatusMonitor,taskGlowSettings: TaskGlowSettings,@@ -134,6 +137,7 @@ final class StatusItemController: NSObject, NSMenuDelegate {self.syncSettings = syncSettingsself.globalHotKeySettings = globalHotKeySettingsself.menuBarQuotaSettings = menuBarQuotaSettings+ self.appearanceSettings = appearanceSettingsself.mainPanelSettings = mainPanelSettingsself.serviceStatusMonitor = serviceStatusMonitorself.taskGlowSettings = taskGlowSettings@@ -225,6 +229,14 @@ final class StatusItemController: NSObject, NSMenuDelegate {popover.behavior = .applicationDefinedpopover.animates = falsepopover.contentViewController = hostingController++ applyAppearance(appearanceSettings.theme.appearance)+ }++ func applyAppearance(_ appearance: NSAppearance?) {+ // NSPopover 和 NSMenu 有独立的外观继承路径, 与应用外观在同一轮过渡中更新+ popover.appearance = appearance+ activeStatusItemMenu?.appearance = appearance}private func makeMenuHostingController(@@ -600,6 +612,7 @@ final class StatusItemController: NSObject, NSMenuDelegate {private func makeContextMenu() -> NSMenu {let menu = NSMenu()+ menu.appearance = appearanceSettings.theme.appearancemenu.addItem(menuItem(title: "app.menu.settings",@@ -830,7 +843,8 @@ final class StatusItemController: NSObject, NSMenuDelegate {// MARK: - 侧边面板private func updateHeatmapDetailPanel(_ context: UsageHeatmapHoverContext?) {- guard isActiveMenuSurfaceVisible,+ guard menuSurfaceVisibility.isVisible,+ isActiveMenuSurfaceVisible,let menuSurfaceContentView = activeMenuSurfaceContentView,let menuSurfaceWindow = activeMenuSurfaceWindow else {heatmapDetailPanelController.hide(immediate: true)diff --git a/CodexBar/Resources/Localizable.xcstrings b/CodexBar/Resources/Localizable.xcstringsindex 91f0c3f..1930abe 100644--- a/CodexBar/Resources/Localizable.xcstrings+++ b/CodexBar/Resources/Localizable.xcstrings@@ -2737,22 +2737,6 @@}}},- "common.action.click-to-copy" : {- "localizations" : {- "en" : {- "stringUnit" : {- "state" : "translated",- "value" : "Click to Copy"- }- },- "zh-Hans" : {- "stringUnit" : {- "state" : "translated",- "value" : "点击复制"- }- }- }- },"common.action.close" : {"localizations" : {"en" : {@@ -5137,6 +5121,70 @@}}},+ "settings.appearance.theme.dark" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Dark Mode"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "深色模式"+ }+ }+ }+ },+ "settings.appearance.theme.light" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Light Mode"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "浅色模式"+ }+ }+ }+ },+ "settings.appearance.theme.system" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Follow System"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "跟随系统"+ }+ }+ }+ },+ "settings.appearance.theme.title" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Theme"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "主题模式"+ }+ }+ }+ },"settings.auto-reset.title" : {"localizations" : {"en" : {@@ -5494,13 +5542,13 @@"en" : {"stringUnit" : {"state" : "translated",- "value" : "Update Status"+ "value" : "Data Status"}},"zh-Hans" : {"stringUnit" : {"state" : "translated",- "value" : "更新状态"+ "value" : "数据状态"}}}@@ -6108,7 +6156,7 @@"zh-Hans" : {"stringUnit" : {"state" : "translated",- "value" : "亮度"+ "value" : "流光亮度"}}}@@ -6374,7 +6422,7 @@"en" : {"stringUnit" : {"state" : "translated",- "value" : "CodexBar is up to date"+ "value" : "Up to date"}},"zh-Hans" : {@@ -6390,7 +6438,7 @@"en" : {"stringUnit" : {"state" : "translated",- "value" : "Version v%@ is available"+ "value" : "New version: v%@"}},"zh-Hans" : {@@ -6707,4 +6755,4 @@}},"version" : "1.0"-}\ No newline at end of file+}diff --git a/CodexBar/Services/Settings/AppearanceSettings.swift b/CodexBar/Services/Settings/AppearanceSettings.swiftnew file mode 100644index 0000000..2826661--- /dev/null+++ b/CodexBar/Services/Settings/AppearanceSettings.swift@@ -0,0 +1,54 @@+import AppKit+import Combine++@MainActor+final class AppearanceSettings: ObservableObject {+ @Published private(set) var theme: Theme++ private let defaults: UserDefaults+ private static let themeKey = "Appearance.theme"++ init(defaults: UserDefaults = .standard) {+ self.defaults = defaults+ theme = Self.loadTheme(from: defaults)+ }++ func setTheme(_ theme: Theme) {+ guard theme != self.theme else { return }+ defaults.set(theme.rawValue, forKey: Self.themeKey)+ self.theme = theme+ }++ func refresh() {+ let theme = Self.loadTheme(from: defaults)+ if theme != self.theme {+ self.theme = theme+ }+ }++ private static func loadTheme(from defaults: UserDefaults) -> Theme {+ defaults.string(forKey: themeKey).flatMap(Theme.init(rawValue:)) ?? .system+ }++ enum Theme: String, CaseIterable {+ case system+ case light+ case dark++ var title: String {+ switch self {+ case .system: String(localized: "settings.appearance.theme.system")+ case .light: String(localized: "settings.appearance.theme.light")+ case .dark: String(localized: "settings.appearance.theme.dark")+ }+ }++ var appearance: NSAppearance? {+ switch self {+ case .system: nil+ case .light: NSAppearance(named: .aqua)+ case .dark: NSAppearance(named: .darkAqua)+ }+ }+ }+}diff --git a/CodexBar/Views/Log/LogView.swift b/CodexBar/Views/Log/LogView.swiftindex 74e2b02..ec93e20 100644--- a/CodexBar/Views/Log/LogView.swift+++ b/CodexBar/Views/Log/LogView.swift@@ -4,6 +4,7 @@ import SwiftUI/// app-server 交互日志窗口根视图struct LogView: View {@ObservedObject var store: AppServerLogViewModel+ let mainPanelSettings: MainPanelSettings@State private var preview = LogPreviewPresentation()@State private var scrollPosition = ScrollPosition(idType: UUID.self, edge: .top)@@ -40,6 +41,7 @@ struct LogView: View {.onDisappear { preview.dismiss(item) }}.onDisappear { preview.cancel() }+ .contentAnimations(settings: mainPanelSettings)}private var header: some View {diff --git a/CodexBar/Views/Menu/ActivityCard.swift b/CodexBar/Views/Menu/ActivityCard.swiftindex 829f3f6..8146983 100644--- a/CodexBar/Views/Menu/ActivityCard.swift+++ b/CodexBar/Views/Menu/ActivityCard.swift@@ -7,7 +7,7 @@ struct ActivityCard: View {@ObservedObject var presentationState: ActivityCenterPresentationState@ObservedObject var keepAliveController: KeepAliveControllerlet onTaskCenterTap: (ScreenFrameProvider) -> Void- @Environment(\.mainPanelAnimationsEnabled) private var allowsAnimations+ @Environment(\.contentAnimationsEnabled) private var allowsAnimations@State private var frameProvider = ScreenFrameProvider()@State private var isHovered = false@State private var wrappedHeaderTaskIDs: Set<UUID> = []@@ -156,7 +156,7 @@ struct ActivityCard: View {text: detail, tint: content.tint, effect: allowsAnimations ? content.statusTextEffect : .none,lineLimit: nil, supplement: content.detailSupplement)- .numericTransition(value: [detail, content.detailSupplement], enabled: allowsAnimations)+ .numericTransition(value: [detail, content.detailSupplement]).fixedSize(horizontal: false, vertical: true).clipped()}@@ -164,7 +164,7 @@ struct ActivityCard: View {Text(recent).font(.caption2).foregroundStyle(Color.codexSecondaryLabel)- .numericTransition(value: recent, enabled: allowsAnimations)+ .numericTransition(value: recent).fixedSize(horizontal: false, vertical: true).clipped()}@@ -187,7 +187,7 @@ struct ActivityCard: View {).font(.caption.weight(.semibold)).foregroundStyle(Color.codexLabel)- .numericTransition(value: content.header, enabled: allowsAnimations)+ .numericTransition(value: content.header).fixedSize(horizontal: false, vertical: true).clipped().frame(maxWidth: .infinity, alignment: .leading)@@ -225,7 +225,7 @@ struct ActivityCard: View {.font(.caption2.monospacedDigit().weight(.semibold))// 必须是具体 Color, 层级样式在 numericText 的过渡层里会被重新解析成别的层级.foregroundStyle(Color.codexSecondaryLabel)- .numericTransition(value: content.otherTaskCount, comparison: Double(content.otherTaskCount), enabled: allowsAnimations)+ .numericTransition(value: content.otherTaskCount, comparison: Double(content.otherTaskCount)).padding(.horizontal, 6).padding(.vertical, 3).background(.secondary.opacity(0.12), in: Capsule())@@ -254,10 +254,11 @@ struct ActivityCard: View {private func tokenUsageMetrics(_ tokenUsage: TokenUsage) -> some View {HStack(alignment: .top, spacing: 0) {tokenMetric("usage.token-usage.total", tokens: tokenUsage.totalTokens)- tokenMetric("usage.token-usage.input", tokens: tokenUsage.inputTokens)tokenMetric("usage.token-usage.output", tokens: tokenUsage.outputTokens)- tokenMetric("usage.token-usage.cached-input", tokens: tokenUsage.cachedInputTokens)+ tokenMetric("usage.token-usage.input", tokens: tokenUsage.inputTokens)+ tokenMetric("usage.token-usage.reasoning-output", tokens: tokenUsage.reasoningOutputTokens)tokenMetric("usage.token-usage.cache-write-input", tokens: tokenUsage.cacheWriteInputTokens)+ tokenMetric("usage.token-usage.cached-input", tokens: tokenUsage.cachedInputTokens)VStack(spacing: 3) {Text("usage.token-usage.cache-hit-rate").font(.caption2)@@ -266,10 +267,9 @@ struct ActivityCard: View {Text(tokenUsage.cacheHitRate.map { $0.formatted(.percent.precision(.fractionLength(0 ... 1))) } ?? "—").font(.caption2.monospacedDigit().weight(.semibold)).foregroundStyle(Color.codexLabel)- .numericTransition(value: tokenUsage.cacheHitRate, comparison: tokenUsage.cacheHitRate ?? 0, enabled: allowsAnimations)+ .numericTransition(value: tokenUsage.cacheHitRate, comparison: tokenUsage.cacheHitRate ?? 0)}.frame(minWidth: 0, maxWidth: .infinity)- tokenMetric("usage.token-usage.reasoning-output", tokens: tokenUsage.reasoningOutputTokens)}.lineLimit(1).animation(allowsAnimations ? .codexStatus : nil, value: tokenUsage)diff --git a/CodexBar/Views/Menu/ActivityCenterView.swift b/CodexBar/Views/Menu/ActivityCenterView.swiftindex 6e09034..f696d24 100644--- a/CodexBar/Views/Menu/ActivityCenterView.swift+++ b/CodexBar/Views/Menu/ActivityCenterView.swift@@ -62,6 +62,7 @@ struct ActivityCenterView: View {).activityStatusParticles(cornerRadius: Metrics.cornerRadius).sidePanelChrome(cornerRadius: Metrics.cornerRadius)+ .contentAnimations(settings: mainPanelSettings, isVisible: presentationState.isPresented)}static var initialPanelSize: CGSize {@@ -153,7 +154,7 @@ struct ActivityCenterView: View {Text(headerSummary).font(.caption2.monospacedDigit()).foregroundStyle(Color.codexSecondaryLabel)- .numericTransition(value: headerSummary, enabled: allowsAnimations)+ .numericTransition(value: headerSummary).lineLimit(1)}.padding(.horizontal, Metrics.horizontalPadding)@@ -243,7 +244,7 @@ struct ActivityCenterView: View {Text(verbatim: "\(count)").font(.caption2.monospacedDigit()).foregroundStyle(Color(nsColor: .tertiaryLabelColor))- .numericTransition(value: count, comparison: Double(count), enabled: allowsAnimations)+ .numericTransition(value: count, comparison: Double(count))}.frame(height: Metrics.sectionHeaderHeight)@@ -334,7 +335,7 @@ struct ActivityCenterView: View {tint: tint,effect: allowsAnimations ? effect : .none)- .numericTransition(value: detail, enabled: allowsAnimations)+ .numericTransition(value: detail)if let tokenUsage {Spacer(minLength: 0)TokenUsageText(tokenUsage: tokenUsage)@@ -367,7 +368,7 @@ struct ActivityCenterView: View {Text(metadata).font(.caption2).foregroundStyle(Color.codexSecondaryLabel)- .numericTransition(value: metadata, enabled: allowsAnimations)+ .numericTransition(value: metadata).lineLimit(1).truncationMode(.middle)}diff --git a/CodexBar/Views/Menu/ActivitySectionReveal.swift b/CodexBar/Views/Menu/ActivitySectionReveal.swiftindex 0d1d83d..5a80510 100644--- a/CodexBar/Views/Menu/ActivitySectionReveal.swift+++ b/CodexBar/Views/Menu/ActivitySectionReveal.swift@@ -11,7 +11,7 @@ nonisolated struct ActivityCardNaturalHeightKey: PreferenceKey {struct ActivitySection<Content: View>: View {let isVisible: Bool@ViewBuilder let content: () -> Content- @Environment(\.mainPanelAnimationsEnabled) private var allowsAnimations+ @Environment(\.contentAnimationsEnabled) private var allowsAnimations@State private var retainsContent: Bool@State private var naturalHeight: CGFloat = 0@State private var height: CGFloatdiff --git a/CodexBar/Views/Menu/CodexServiceStatusRow.swift b/CodexBar/Views/Menu/CodexServiceStatusRow.swiftindex f9a88ba..d1ed612 100644--- a/CodexBar/Views/Menu/CodexServiceStatusRow.swift+++ b/CodexBar/Views/Menu/CodexServiceStatusRow.swift@@ -2,7 +2,7 @@ import SwiftUIstruct CodexServiceStatusRow: View {@ObservedObject var monitor: CodexServiceStatusMonitor- @Environment(\.mainPanelAnimationsEnabled) private var allowsAnimations+ @Environment(\.contentAnimationsEnabled) private var allowsAnimations@Environment(\.colorScheme) private var colorScheme@State private var isHovered = false@@ -24,7 +24,7 @@ struct CodexServiceStatusRow: View {Text(statusTitle).font(.caption).foregroundStyle(Color.codexLabel)- .numericTransition(value: monitor.state, enabled: allowsAnimations)+ .numericTransition(value: monitor.state).layoutPriority(1)Spacer(minLength: 8)@@ -33,7 +33,7 @@ struct CodexServiceStatusRow: View {Text(verbatim: displayedComponents.map { Self.shortComponentName($0) }.joined(separator: " • ")).font(.caption2.weight(.medium)).foregroundStyle(statusColor)- .numericTransition(value: displayedComponents, enabled: allowsAnimations)+ .numericTransition(value: displayedComponents).truncationMode(.tail).layoutPriority(-1).transition(allowsAnimations ? .opacity : .identity)diff --git a/CodexBar/Views/Menu/CodexStatusMenuSections.swift b/CodexBar/Views/Menu/CodexStatusMenuSections.swiftindex 08150ff..adc5d57 100644--- a/CodexBar/Views/Menu/CodexStatusMenuSections.swift+++ b/CodexBar/Views/Menu/CodexStatusMenuSections.swift@@ -157,7 +157,6 @@ struct EmptyDataPanel: View {/// 多个 limit 的额度区, 使用 stale 透明度标记缓存回退数据struct QuotaLimitsSection: View {- @Environment(\.mainPanelAnimationsEnabled) private var allowsAnimationslet limits: [CodexQuotaLimitSnapshot]let credits: RateLimitCreditsSnapshot?let resetCreditsAvailableCount: Int?@@ -263,7 +262,7 @@ struct QuotaLimitsSection: View {.font(.caption2.weight(.medium)).monospacedDigit().foregroundStyle(tint)- .numericTransition(value: text, enabled: allowsAnimations)+ .numericTransition(value: text).lineLimit(1).fixedSize(horizontal: true, vertical: false).padding(.horizontal, 6)@@ -274,7 +273,6 @@ struct QuotaLimitsSection: View {/// 底部更新时间行, 同时承载 Sparkle 被动更新提示struct UpdatedAtRow: View {- @Environment(\.mainPanelAnimationsEnabled) private var allowsAnimationslet updatedAt: Datelet countdownInterval: TimeIntervallet isCountdownActive: Bool@@ -293,13 +291,12 @@ struct UpdatedAtRow: View {HStack(spacing: 5) {Text("usage.status.last-updated")- .foregroundStyle(Self.secondaryTextColor)Text(Self.timeFormatter.string(from: updatedAt)).monospacedDigit()- .numericTransition(value: updatedAt, comparison: updatedAt.timeIntervalSinceReferenceDate, enabled: allowsAnimations)- .foregroundStyle(Self.secondaryTextColor)+ .numericTransition(value: updatedAt, comparison: updatedAt.timeIntervalSinceReferenceDate)}+ .foregroundStyle(Color.codexLabel)}.font(.caption2).animation(Metrics.statusAnimation, value: updatedAt)@@ -311,7 +308,7 @@ struct UpdatedAtRow: View {.font(.caption2.monospacedDigit()).foregroundStyle(Color.codexSecondaryLabel).lineLimit(1)- .numericTransition(value: updateMessage, enabled: allowsAnimations)+ .numericTransition(value: updateMessage).transition(.opacity)}@@ -335,8 +332,6 @@ struct UpdatedAtRow: View {return formatter}()- private static let secondaryTextColor = Color.codexSecondaryLabel-private enum Metrics {static let statusAnimation = Animation.codexStatusstatic let syncIconWidth: CGFloat = 16diff --git a/CodexBar/Views/Menu/CodexStatusMenuView.swift b/CodexBar/Views/Menu/CodexStatusMenuView.swiftindex 5d30500..4d03649 100644--- a/CodexBar/Views/Menu/CodexStatusMenuView.swift+++ b/CodexBar/Views/Menu/CodexStatusMenuView.swift@@ -2,8 +2,6 @@ import Combineimport SwiftUIextension EnvironmentValues {- // 持续动画需要显式停用, 不能只依赖 transaction 的动画禁用- @Entry var mainPanelAnimationsEnabled: Bool = false@Entry var mainPanelEntranceAnimationsEnabled: Bool = true}@@ -61,10 +59,6 @@ struct CodexStatusMenuView: View {MenuSectionLayout(spacing: Metrics.verticalSpacing) {content}- .environment(- \.mainPanelAnimationsEnabled,- animationState.allowsAnimations && mainPanelSettings.areAnimationsEnabled- ).environment(\.mainPanelEntranceAnimationsEnabled,mainPanelSettings.areAnimationsEnabled@@ -82,14 +76,7 @@ struct CodexStatusMenuView: View {.map { snapshot, isHealthy in snapshot.hasTaskCenterContent || !isHealthy }.removeDuplicates()) { activitySectionVisibility = $0 }- .transaction { transaction in- // 已关闭的 NSPopover 仍可能绘制数字过渡, 让字体缓存逐轮增长- guard !animationState.allowsAnimations else {- return- }- transaction.animation = nil- transaction.disablesAnimations = true- }+ .contentAnimations(settings: mainPanelSettings, isVisible: animationState.allowsAnimations)}}diff --git a/CodexBar/Views/Menu/HeatmapDetailView.swift b/CodexBar/Views/Menu/HeatmapDetailView.swiftindex a842cad..63c5698 100644--- a/CodexBar/Views/Menu/HeatmapDetailView.swift+++ b/CodexBar/Views/Menu/HeatmapDetailView.swift@@ -2,6 +2,7 @@ import SwiftUIstruct HeatmapDetailView: View {let context: UsageHeatmapHoverContext+ let mainPanelSettings: MainPanelSettings@Environment(\.colorScheme) private var colorSchemevar body: some View {@@ -18,6 +19,7 @@ struct HeatmapDetailView: View {).sidePanelChrome(cornerRadius: Metrics.cornerRadius).animation(Metrics.statusAnimation, value: context)+ .contentAnimations(settings: mainPanelSettings)}static var panelCornerRadius: CGFloat {@@ -88,10 +90,11 @@ struct HeatmapDetailView: View {let cacheHitRate = tokenUsage?.cacheHitRate ?? 0return Grid(alignment: .leading, horizontalSpacing: Metrics.metricRowSpacing, verticalSpacing: Metrics.metricSpacing) {tokenUsageRow("usage.token-usage.total", tokens: tokenUsage?.totalTokens, tint: .blue)- tokenUsageRow("usage.token-usage.input", tokens: tokenUsage?.inputTokens, tint: .indigo)tokenUsageRow("usage.token-usage.output", tokens: tokenUsage?.outputTokens, tint: .orange)- tokenUsageRow("usage.token-usage.cached-input", tokens: tokenUsage?.cachedInputTokens, tint: .green)+ tokenUsageRow("usage.token-usage.input", tokens: tokenUsage?.inputTokens, tint: .indigo)+ tokenUsageRow("usage.token-usage.reasoning-output", tokens: tokenUsage?.reasoningOutputTokens, tint: .cyan)tokenUsageRow("usage.token-usage.cache-write-input", tokens: tokenUsage?.cacheWriteInputTokens, tint: .purple)+ tokenUsageRow("usage.token-usage.cached-input", tokens: tokenUsage?.cachedInputTokens, tint: .green)metricRowLayout {metricDot(tint: .teal)Text("usage.token-usage.cache-hit-rate")@@ -103,7 +106,6 @@ struct HeatmapDetailView: View {comparison: cacheHitRate)}- tokenUsageRow("usage.token-usage.reasoning-output", tokens: tokenUsage?.reasoningOutputTokens, tint: .cyan)}}@@ -116,7 +118,7 @@ struct HeatmapDetailView: View {.lineLimit(1).fixedSize(horizontal: true, vertical: false).frame(height: Metrics.metricRowHeight)- fittingMetricValue(TokenCountFormatter.parts(from: Int(count)).text, comparison: Double(count))+ fittingMetricValue(TokenCountFormatter.text(from: Int(count)), comparison: Double(count))}}@@ -214,8 +216,7 @@ struct HeatmapDetailView: View {HeatmapTokenText(tokenState: context.period.tokenState,font: tokenFont,- numericWidth: Metrics.tokenMinimumWidth,- unitWidth: Metrics.tokenUnitWidth+ minimumWidth: Metrics.tokenMinimumWidth)}@@ -276,7 +277,7 @@ struct HeatmapDetailView: View {private func fittingMetricValue(_ value: String, comparison: Double) -> some View {fittingValueContent(value)- .contentTransition(.numericText(value: comparison))+ .numericTransition(value: value, comparison: comparison).layoutPriority(1).frame(maxWidth: .infinity, alignment: .trailing)}@@ -285,7 +286,7 @@ struct HeatmapDetailView: View {metricValueText(value).minimumScaleFactor(Metrics.metricValueMinimumScale).allowsTightening(true)- .contentTransition(.numericText())+ .numericTransition(value: value).layoutPriority(1).frame(maxWidth: .infinity, alignment: .trailing)}@@ -328,8 +329,7 @@ struct HeatmapDetailView: View {static let horizontalPadding: CGFloat = 12static let verticalPadding: CGFloat = 10static let cornerRadius: CGFloat = 12- static let tokenMinimumWidth: CGFloat = 38- static let tokenUnitWidth: CGFloat = 14+ static let tokenMinimumWidth: CGFloat = 52static let metricSpacing: CGFloat = 5static let metricRowSpacing: CGFloat = 6static let metricDotSize: CGFloat = 5@@ -345,10 +345,10 @@ struct HeatmapDetailView: View {/// token 详情在数字和占位状态之间切换时只做淡入淡出, 数字之间仍保留滚动过渡private struct HeatmapTokenText: View {+ @Environment(\.contentAnimationsEnabled) private var allowsAnimationslet tokenState: UsageHeatmapTokenStatelet font: Font- let numericWidth: CGFloat- let unitWidth: CGFloat+ let minimumWidth: CGFloat@State private var displayedTokenState: UsageHeatmapTokenState@State private var isVisible = true@@ -356,21 +356,19 @@ private struct HeatmapTokenText: View {init(tokenState: UsageHeatmapTokenState,font: Font,- numericWidth: CGFloat,- unitWidth: CGFloat+ minimumWidth: CGFloat) {self.tokenState = tokenStateself.font = font- self.numericWidth = numericWidth- self.unitWidth = unitWidth+ self.minimumWidth = minimumWidth_displayedTokenState = State(initialValue: tokenState)}var body: some View {content.opacity(isVisible ? 1 : 0)- .frame(minWidth: width, alignment: .trailing)- .task(id: tokenState) {+ .frame(minWidth: minimumWidth, alignment: .trailing)+ .task(id: Update(state: tokenState, animated: allowsAnimations)) {await updateDisplayedTokenState(tokenState)}}@@ -379,13 +377,8 @@ private struct HeatmapTokenText: View {private var content: some View {switch displayedTokenState {case let .available(tokenCount):- TokenCountText(- tokens: tokenCount,- font: font,- reservedNumericWidth: numericWidth,- reservedUnitWidth: unitWidth- )- .foregroundStyle(Color.codexLabel)+ TokenCountText(tokens: tokenCount, font: font)+ .foregroundStyle(Color.codexLabel)case .pending:Image(systemName: "questionmark")@@ -400,6 +393,12 @@ private struct HeatmapTokenText: View {}private func updateDisplayedTokenState(_ newTokenState: UsageHeatmapTokenState) async {+ guard !Task.isCancelled else { return }+ guard allowsAnimations else {+ displayedTokenState = newTokenState+ isVisible = true+ return+ }guard displayedTokenState != newTokenState || !isVisible else {return}@@ -438,8 +437,9 @@ private struct HeatmapTokenText: View {}}- private var width: CGFloat {- numericWidth + unitWidth+ private struct Update: Equatable {+ let state: UsageHeatmapTokenState+ let animated: Bool}private enum Metrics {@@ -451,6 +451,7 @@ private struct HeatmapTokenText: View {/// 日期拆成三段以固定 yyyy-MM-dd 格式并保留自然的数字滚动过渡private struct AnimatedDateText: View {+ @Environment(\.contentAnimationsEnabled) private var allowsAnimationslet startDate: Stringlet font: Font@@ -464,11 +465,11 @@ private struct AnimatedDateText: View {Text(verbatim: components.day)}.font(font)- .contentTransition(.numericText(value: dateValue(components)))+ .contentTransition(allowsAnimations ? .numericText(value: dateValue(components)) : .identity)} else {Text(verbatim: startDate).font(font)- .contentTransition(.numericText())+ .contentTransition(allowsAnimations ? .numericText() : .identity)}}diff --git a/CodexBar/Views/Menu/QuotaRow.swift b/CodexBar/Views/Menu/QuotaRow.swiftindex dccdbe3..8c70130 100644--- a/CodexBar/Views/Menu/QuotaRow.swift+++ b/CodexBar/Views/Menu/QuotaRow.swift@@ -4,7 +4,6 @@ import SwiftUIstruct QuotaRow: View {let window: QuotaWindow@Environment(\.mainPanelEntranceAnimationsEnabled) private var animatesEntrance- @Environment(\.mainPanelAnimationsEnabled) private var allowsAnimations@State private var revealedPercent: Double = 0var body: some View {@@ -33,7 +32,7 @@ struct QuotaRow: View {Text(resetText).font(.caption2.monospacedDigit()).foregroundStyle(Color.codexSecondaryLabel)- .numericTransition(value: resetText, comparison: window.resetsAt?.timeIntervalSinceReferenceDate, enabled: allowsAnimations)+ .numericTransition(value: resetText, comparison: window.resetsAt?.timeIntervalSinceReferenceDate).lineLimit(1).minimumScaleFactor(0.75).allowsTightening(true)@@ -124,6 +123,7 @@ private extension QuotaRow {/// 通过 Animatable 的中间值让百分比数字和进度条保持同一动画进度private struct AnimatedQuotaPercentageText: View, Animatable {+ @Environment(\.contentAnimationsEnabled) private var allowsAnimationsvar percent: Doublelet targetPercent: Double@@ -140,7 +140,7 @@ private struct AnimatedQuotaPercentageText: View, Animatable {targetPercent: targetPercent))- .contentTransition(.numericText(value: Double(roundedPercent)))+ .contentTransition(allowsAnimations ? .numericText(value: Double(roundedPercent)) : .identity)}private var roundedPercent: Int {@@ -192,6 +192,7 @@ private enum QuotaBarPalette {/// 胶囊条, 与菜单面板宽度联动private struct SegmentedQuotaBar: View, Animatable {+ @Environment(\.colorScheme) private var colorSchemevar percent: Doublelet targetPercent: Double?var revealedWidth: CGFloat@@ -211,12 +212,13 @@ private struct SegmentedQuotaBar: View, Animatable {}var body: some View {+ let placeholderColor = colorScheme == .dark ? CodexDarkPalette.track : QuotaBarPalette.placeholderColorlet filledColor = targetPercent.map {QuotaBarPalette.animatedColor(for: percent, targetPercent: $0)- } ?? QuotaBarPalette.placeholderColor+ } ?? placeholderColorZStack(alignment: .leading) {- segments(color: QuotaBarPalette.placeholderColor)+ segments(color: placeholderColor)segments(color: filledColor).mask(alignment: .leading) {diff --git a/CodexBar/Views/Menu/ResetCreditsPanelView.swift b/CodexBar/Views/Menu/ResetCreditsPanelView.swiftindex ce3a48b..d0f6ec9 100644--- a/CodexBar/Views/Menu/ResetCreditsPanelView.swift+++ b/CodexBar/Views/Menu/ResetCreditsPanelView.swift@@ -35,6 +35,7 @@ nonisolated struct ResetCreditsPanelContext: Equatable {/// 重置次数侧边详情, 按过期时间从近到远展示struct ResetCreditsPanelView: View {let context: ResetCreditsPanelContext+ let mainPanelSettings: MainPanelSettingsvar body: some View {let groups = expirationGroups@@ -65,6 +66,7 @@ struct ResetCreditsPanelView: View {.frame(width: panelSize.width, height: panelSize.height, alignment: .topLeading).sidePanelChrome(cornerRadius: Metrics.cornerRadius).animation(Metrics.statusAnimation, value: context)+ .contentAnimations(settings: mainPanelSettings)}static var panelCornerRadius: CGFloat {diff --git a/CodexBar/Views/Menu/TokenCountText.swift b/CodexBar/Views/Menu/TokenCountText.swiftindex 0563f52..9de0c6c 100644--- a/CodexBar/Views/Menu/TokenCountText.swift+++ b/CodexBar/Views/Menu/TokenCountText.swift@@ -1,39 +1,17 @@import SwiftUI-/// token 数字展示组件, 负责 K/M/B 缩写和可选等宽保留+/// token 数字展示组件, 负责 K/M/B 缩写和数字滚动过渡struct TokenCountText: View {+ @Environment(\.contentAnimationsEnabled) private var allowsAnimationslet tokens: Intvar font: Font = .caption.monospacedDigit().weight(.semibold)- var reservedNumericWidth: CGFloat?- var reservedUnitWidth: CGFloat?var body: some View {- content+ Text(TokenCountFormatter.text(from: tokens))+ .contentTransition(allowsAnimations ? .numericText(value: Double(tokens)) : .identity).font(font).lineLimit(1)}-- @ViewBuilder- private var content: some View {- let parts = TokenCountFormatter.parts(from: tokens)-- if let reservedNumericWidth {- HStack(spacing: 0) {- Text(parts.number)- .contentTransition(.numericText(value: Double(tokens)))- .truncationMode(.tail)- .frame(minWidth: reservedNumericWidth, alignment: .trailing)-- if let unit = parts.unit {- Text(unit)- .frame(width: reservedUnitWidth, alignment: .trailing)- }- }- } else {- Text(parts.text)- .contentTransition(.numericText(value: Double(tokens)))- }- }}struct TokenUsageText: View {@@ -52,40 +30,21 @@ struct TokenUsageText: View {/// 1K 以下显示完整整数, 1K 起使用 K/M/Benum TokenCountFormatter {- static func parts(from tokens: Int) -> TokenCountParts {+ static func text(from tokens: Int) -> String {switch tokens {case 1000000000...:- TokenCountParts(number: decimal(Double(tokens) / 1000000000), unit: "B")+ decimal(Double(tokens) / 1000000000) + "B"case 1000000...:- TokenCountParts(number: decimal(Double(tokens) / 1000000), unit: "M")+ decimal(Double(tokens) / 1000000) + "M"case 1000...:- TokenCountParts(number: decimal(Double(tokens) / 1000), unit: "K")+ decimal(Double(tokens) / 1000) + "K"default:- TokenCountParts(number: String(tokens), unit: nil)+ String(tokens)}}private static func decimal(_ value: Double) -> String {- let roundingScale: Double = value >= 0.1 ? 10 : 100- let rounded = (value * roundingScale).rounded() / roundingScale- return formatter.string(from: NSNumber(value: rounded)) ?? String(format: "%.1f", rounded)- }-- private static let formatter: NumberFormatter = {- let formatter = NumberFormatter()- formatter.numberStyle = .decimal- formatter.locale = .autoupdatingCurrent- formatter.minimumFractionDigits = 0- formatter.maximumFractionDigits = 2- return formatter- }()-- struct TokenCountParts {- let number: String- let unit: String?-- var text: String {- number + (unit ?? "")- }+ let rounded = (value * 10).rounded() / 10+ return rounded.formatted(.number.precision(.fractionLength(0 ... 1)).locale(.autoupdatingCurrent))}}diff --git a/CodexBar/Views/Menu/UsageHeatmap.swift b/CodexBar/Views/Menu/UsageHeatmap.swiftindex f6a4e69..54a20d1 100644--- a/CodexBar/Views/Menu/UsageHeatmap.swift+++ b/CodexBar/Views/Menu/UsageHeatmap.swift@@ -16,11 +16,9 @@ nonisolated enum UsageHeatmapDetailSide: Equatable {case right}-/// 日期标识跟随数据刷新, 列/行位置只记录指针命中时的坐标+/// 选择跟随日期, 位置从最新网格计算nonisolated struct UsageHeatmapSelection: Equatable {let dateID: String- let column: Int- let row: Intfunc day(in days: [UsageHeatmapDay?]) -> UsageHeatmapDay? {days.lazy.compactMap(\.self).first { $0.id == dateID }@@ -47,7 +45,7 @@ nonisolated struct UsageHeatmapSelection: Equatable {let selectedRow = mode == .daily ? row : 0let index = column * CodexWeekGrid.rowCount + selectedRowguard days.indices.contains(index), let day = days[index] else { return nil }- return UsageHeatmapSelection(dateID: day.id, column: column, row: selectedRow)+ return UsageHeatmapSelection(dateID: day.id)}func highlights(column: Int, row: Int, in days: [UsageHeatmapDay?], mode: UsageHeatmapMode) -> Bool {@@ -65,7 +63,7 @@ struct UsageHeatmap: View {@Binding var selection: UsageHeatmapSelection?let peakTokens: Intvar onScreenFrameChange: (CGRect?) -> Void = { _ in }- @Environment(\.mainPanelAnimationsEnabled) private var allowsAnimations+ @Environment(\.contentAnimationsEnabled) private var allowsAnimationsvar body: some View {VStack(alignment: .leading, spacing: 6) {@@ -79,7 +77,8 @@ struct UsageHeatmap: View {} label: {Text(modeTitle).foregroundStyle(Color.codexSecondaryLabel)- .numericTransition(value: modeTitle, enabled: allowsAnimations)+ .contentTransition(allowsAnimations ? .numericText() : .identity)+ .animation(allowsAnimations ? .codexStatus : nil, value: modeTitle)}.buttonStyle(ModeButtonStyle())}@@ -92,8 +91,9 @@ struct UsageHeatmap: View {if let dateRangeText {Text(dateRangeText).font(.caption2.monospacedDigit())- .foregroundStyle(Color(nsColor: .tertiaryLabelColor))- .numericTransition(value: dateRangeText, enabled: allowsAnimations)+ .foregroundStyle(Color.codexSecondaryLabel)+ .contentTransition(allowsAnimations ? .numericText() : .identity)+ .animation(allowsAnimations ? .codexStatus : nil, value: dateRangeText).lineLimit(1)}}@@ -168,8 +168,10 @@ private struct UsageHeatmapGrid: View {@Environment(\.colorScheme) private var colorScheme@State private var areSquaresRevealed = false@State private var entranceStartedAt: TimeInterval?- @State private var snapSelection: UsageHeatmapSelection?@State private var hoverClearTask: Task<Void, Never>?+ @State private var frameProvider = ScreenFrameProvider()+ @State private var followsAppearanceTransition = false+ @State private var appearanceTransitionRevision = 0var body: some View {HStack(alignment: .top, spacing: Metrics.squareSpacing) {@@ -186,6 +188,9 @@ private struct UsageHeatmapGrid: View {}.frame(width: Metrics.totalWidth, height: Metrics.gridHeight, alignment: .topLeading).contentShape(Rectangle())+ .background {+ ScreenFrameReader(provider: frameProvider)+ }.onContinuousHover(coordinateSpace: .local) { phase inswitch phase {case let .active(point):@@ -197,16 +202,24 @@ private struct UsageHeatmapGrid: View {.task {await revealSquares()}- .onChange(of: days) { _, newDays in- guard let snapSelection, snapSelection.day(in: newDays) == nil else { return }- cancelHoverClearTask()- withAnimation(.snappy(duration: Metrics.snapAnimationDuration)) {- self.snapSelection = nil+ .onReceive(NotificationCenter.default.publisher(for: AppearanceTransition.didChangeNotification)) { notification in+ guard let window = notification.object as? NSWindow, window === frameProvider.window else { return }+ if selection != nil, AppearanceTransition.isActive(in: window) {+ followsAppearanceTransition = true}+ guard followsAppearanceTransition else { return }+ appearanceTransitionRevision &+= 1+ }+ .onChange(of: days.map { $0?.id }) { _, _ in+ guard followsAppearanceTransition else { return }+ appearanceTransitionRevision &+= 1+ }+ .task(id: appearanceTransitionRevision) { [appearanceTransitionRevision] in+ await followAppearanceTransition(revision: appearanceTransitionRevision)}.onDisappear {+ followsAppearanceTransition = falsecancelHoverClearTask()- snapSelection = nilselection = nil}}@@ -215,18 +228,20 @@ private struct UsageHeatmapGrid: View {private func square(column: Int, row: Int) -> some View {let index = column * Metrics.rowCount + rowlet day = days.indices.contains(index) ? days[index] : nil- let isHovered = snapSelection?.highlights(column: column, row: row, in: days, mode: mode) == true+ let isHovered = selection?.highlights(column: column, row: row, in: days, mode: mode) == trueif mode == .weekly, weeks.indices.contains(column), let week = weeks[column] {let filledRows = week.filledRowCount(peakTokens: peakTokens)let isFilled = row >= Metrics.rowCount - filledRowsRoundedRectangle(cornerRadius: 4, style: .continuous)- .fill(isFilled ? Color.blue.opacity(0.82) : Color.secondary.opacity(0.09))+ .fill(isFilled+ ? (colorScheme == .dark ? CodexDarkPalette.heatmap : Color.blue).opacity(0.82)+ : (colorScheme == .dark ? CodexDarkPalette.raisedSurface.opacity(0.70) : Color.secondary.opacity(0.09))).frame(width: Metrics.squareSize, height: Metrics.squareSize).overlay {RoundedRectangle(cornerRadius: 4, style: .continuous).fill(isFilled- ? (colorScheme == .dark ? Color.white : Color.black).opacity(0.25)- : Color.blue.opacity(0.15))+ ? (colorScheme == .dark ? Color.white.opacity(0.25) : Color.black.opacity(0.25))+ : CodexDarkPalette.heatmap.opacity(0.20)).opacity(isHovered ? 1 : 0).animation(.snappy(duration: 0.14), value: isHovered).allowsHitTesting(false)@@ -301,38 +316,48 @@ private struct UsageHeatmapGrid: View {cancelHoverClearTask()- if !matches(snapSelection, target) {- withAnimation(.snappy(duration: Metrics.snapAnimationDuration)) {- snapSelection = target- }- }-- if !matches(selection, target) {+ if selection != target {activate(target)}}private func snappedSelection(at point: CGPoint) -> UsageHeatmapSelection? {- // 以格子中心为准吸附, 指针离中心过远时视为离开格子- let column = Int(((point.x - Metrics.squareSize / 2) / Metrics.squarePitch).rounded())- let row = Int(((point.y - Metrics.squareSize / 2) / Metrics.squarePitch).rounded())-- guard (0 ..< Metrics.columnCount).contains(column),- (0 ..< Metrics.rowCount).contains(row),+ guard let (column, row) = Metrics.gridPosition(at: point),isSquareInteractive(column: column, row: row) else {return nil}+ return UsageHeatmapSelection.at(column: column, row: row, in: days, mode: mode)+ }- let center = CGPoint(- x: CGFloat(column) * Metrics.squarePitch + Metrics.squareSize / 2,- y: CGFloat(row) * Metrics.squarePitch + Metrics.squareSize / 2- )- guard abs(point.x - center.x) <= Metrics.snapHalfExtent,- abs(point.y - center.y) <= Metrics.snapHalfExtent else {- return nil+ private func followAppearanceTransition(revision: Int) async {+ guard !Task.isCancelled, revision == appearanceTransitionRevision,+ followsAppearanceTransition, let window = frameProvider.window else { return }+ defer {+ // 新任务可能已排队, 旧任务退出时不能清除它的跟踪状态+ if !Task.isCancelled, revision == appearanceTransitionRevision {+ followsAppearanceTransition = false+ }}-- return UsageHeatmapSelection.at(column: column, row: row, in: days, mode: mode)+ // 快照可能中断 hover, 只在过渡期间按真实指针核对, 结束时再校准一次+ repeat {+ guard !Task.isCancelled, revision == appearanceTransitionRevision,+ frameProvider.window === window,+ window.isVisible, !window.isMiniaturized else { return }+ if let frame = frameProvider.currentScreenFrame(in: window, allowingCachedFrame: false) {+ let pointer = NSEvent.mouseLocation+ let point = CGPoint(x: pointer.x - frame.minX, y: frame.maxY - pointer.y)+ if frame.contains(pointer), let target = snappedSelection(at: point) {+ cancelHoverClearTask()+ if selection != target {+ activate(target)+ }+ } else if selection != nil, hoverClearTask == nil {+ scheduleDeactivate()+ }+ }+ guard AppearanceTransition.isActive(in: window) else { return }+ try? await Task.sleep(for: .milliseconds(16))+ } while !Task.isCancelled}private func activate(_ target: UsageHeatmapSelection) {@@ -349,8 +374,8 @@ private struct UsageHeatmapGrid: View {return}+ hoverClearTask = nilwithAnimation(.easeInOut(duration: Metrics.hoverFadeDuration)) {- snapSelection = nilselection = nil}}@@ -360,10 +385,6 @@ private struct UsageHeatmapGrid: View {hoverClearTask?.cancel()hoverClearTask = nil}-- private func matches(_ lhs: UsageHeatmapSelection?, _ rhs: UsageHeatmapSelection) -> Bool {- lhs?.dateID == rhs.dateID && lhs?.column == rhs.column && lhs?.row == rhs.row- }}extension UsageHeatmap {@@ -374,15 +395,22 @@ extension UsageHeatmap {static let squareSpacing: CGFloat = 3static let squarePitch = squareSize + squareSpacingstatic let height: CGFloat = 120- static let snapAnimationDuration: TimeInterval = 0.12static let hoverFadeDuration: TimeInterval = 0.15static let hoverExitGraceMilliseconds: UInt64 = 160- static let snapHalfExtent: CGFloat = squareSize / 2 + squareSpacingstatic let entranceScale: CGFloat = 0.35static let entranceStagger: TimeInterval = 0.015static let entranceResponse: TimeInterval = 0.25static let entranceDampingFraction = 0.60+ static func gridPosition(at point: CGPoint) -> (column: Int, row: Int)? {+ let column = ((point.x - squareSize / 2) / squarePitch).rounded()+ let row = ((point.y - squareSize / 2) / squarePitch).rounded()+ // 先验证浮点索引, 避免非有限值或超大坐标在转为 Int 时崩溃+ guard column >= 0, column < CGFloat(columnCount),+ row >= 0, row < CGFloat(rowCount) else { return nil }+ return (Int(column), Int(row))+ }+static var totalWidth: CGFloat {CGFloat(columnCount) * squareSize + CGFloat(columnCount - 1) * squareSpacing}@@ -404,6 +432,7 @@ private struct UsageHeatmapSquare: View {let tokenState: UsageHeatmapTokenStatelet percent: Doublelet isHovered: Bool+ @Environment(\.colorScheme) private var colorSchemevar body: some View {RoundedRectangle(cornerRadius: 4, style: .continuous)@@ -428,15 +457,21 @@ private struct UsageHeatmapSquare: View {return Color.secondary.opacity(isHovered ? 0.12 : 0.05)}guard (tokenState.count ?? 0) > 0 else {- return Color.blue.opacity(isHovered ? 0.16 : 0.08)+ return colorScheme == .dark+ ? CodexDarkPalette.raisedSurface.opacity(isHovered ? 1 : 0.70)+ : Color.blue.opacity(isHovered ? 0.16 : 0.08)}let intensity = pow(clampedPercent, 0.62)let opacity = 0.18 + intensity * 0.68- return Color.blue.opacity(isHovered ? min(opacity + 0.10, 1.0) : opacity)+ return (colorScheme == .dark ? CodexDarkPalette.heatmap : Color.blue)+ .opacity(isHovered ? min(opacity + 0.10, 1.0) : opacity)}private var borderColor: Color {+ if colorScheme == .dark {+ return isHovered ? CodexDarkPalette.heatmap.opacity(0.55) : .clear+ }guard tokenState.count != nil else {return Color.secondary.opacity(isHovered ? 0.42 : 0.12)}@@ -448,6 +483,6 @@ private struct UsageHeatmapSquare: View {}private var shadowColor: Color {- tokenState.count == nil ? .clear : .blue.opacity(0.22)+ colorScheme == .dark || tokenState.count == nil ? .clear : .blue.opacity(0.22)}}diff --git a/CodexBar/Views/Menu/UsageSummaryView.swift b/CodexBar/Views/Menu/UsageSummaryView.swiftindex 4dc2963..4150fd7 100644--- a/CodexBar/Views/Menu/UsageSummaryView.swift+++ b/CodexBar/Views/Menu/UsageSummaryView.swift@@ -4,7 +4,7 @@ import SwiftUI/// Token 摘要和近期用量热力图的组合区struct UsageSummaryView: View {- @Environment(\.mainPanelAnimationsEnabled) private var allowsAnimations+ @Environment(\.contentAnimationsEnabled) private var allowsAnimationslet usage: CodexUsageSnapshot?let isStale: Boollet onHoverContextChange: (UsageHeatmapHoverContext?) -> Void@@ -115,7 +115,7 @@ struct UsageSummaryView: View {Text(value).font(.caption.monospacedDigit().weight(.semibold)).foregroundStyle(Color.codexLabel)- .numericTransition(value: value, enabled: allowsAnimations)+ .numericTransition(value: value).lineLimit(1).minimumScaleFactor(0.8)}diff --git a/CodexBar/Views/Settings/AppSettingsView.swift b/CodexBar/Views/Settings/AppSettingsView.swiftindex a732d82..a12253f 100644--- a/CodexBar/Views/Settings/AppSettingsView.swift+++ b/CodexBar/Views/Settings/AppSettingsView.swift@@ -12,6 +12,7 @@ struct AppSettingsView: View {@ObservedObject var syncSettings: SyncSettings@ObservedObject var globalHotKeySettings: GlobalHotKeySettings@ObservedObject var menuBarQuotaSettings: MenuBarQuotaSettings+ @ObservedObject var appearanceSettings: AppearanceSettingslet mainPanelSettings: MainPanelSettingslet taskGlowSettings: TaskGlowSettings@ObservedObject var notificationSettings: NotificationSettings@@ -73,13 +74,9 @@ struct AppSettingsView: View {),isOuterSurface: true)+ .contentAnimations(settings: mainPanelSettings, isVisible: animationState.allowsAnimations).onAppear {loginItemSettings.refresh()- syncSettings.refresh()- menuBarQuotaSettings.refresh()- mainPanelSettings.refresh()- taskGlowSettings.refresh()- autoResetSettings.refresh()appUpdater.refreshAutomaticCheckSetting()refreshStatusRows()}@@ -87,6 +84,7 @@ struct AppSettingsView: View {loginItemSettings.refresh()syncSettings.refresh()menuBarQuotaSettings.refresh()+ appearanceSettings.refresh()mainPanelSettings.refresh()taskGlowSettings.refresh()autoResetSettings.refresh()@@ -194,6 +192,7 @@ private extension AppSettingsView {static let tabContentSpacing = paddingstatic let windowChromeHeight = padding * 2 + tabBarHeight + tabContentSpacingstatic let dataUpdateIntervalPickerWidth: CGFloat = 90+ static let themePickerWidth: CGFloat = 140static let syncStatusRowHeight: CGFloat = 16static let syncStatusValueWidth: CGFloat = 160static let tabContentInitialScale = 0.975@@ -208,7 +207,7 @@ private extension AppSettingsView {static let releaseNotesURL: URL = {var components = URLComponents(string: "https://codexbar.zabrian.app/notes")!- let language = Bundle.main.preferredLocalizations.first == "zh-Hans" ? "zh-CN" : "en"+ let language = Bundle.main.preferredLocalizations.first == "zh-Hans" ? "zh-CN" : "en-US"components.queryItems = [URLQueryItem(name: "lang", value: language)]components.fragment = Bundle.main.shortVersionStringreturn components.url!@@ -242,7 +241,7 @@ private extension AppSettingsView {if isSelected {shape.fill(.clear)- .liquidGlassBadge(tint: .accentColor, in: shape)+ .liquidGlassBadge(tint: .accentColor, in: shape, showsTopHighlight: false)}}}@@ -286,6 +285,8 @@ private extension AppSettingsView {LiquidGlassDivider()notificationRowLiquidGlassDivider()+ themeRow+ LiquidGlassDivider()MainPanelAnimationsSettingsRow(settings: mainPanelSettings)LiquidGlassDivider()launchAtLoginRow@@ -349,6 +350,27 @@ private extension AppSettingsView {// MARK: - 通用页各行+ var themeRow: some View {+ HStack(spacing: SettingsRowMetrics.spacing) {+ Image(systemName: "circle.lefthalf.filled")+ .frame(width: SettingsRowMetrics.iconWidth)+ .foregroundStyle(.tint)+ Text("settings.appearance.theme.title")+ Spacer()+ SettingsOptionsPicker(+ title: "settings.appearance.theme.title",+ selection: Binding(+ get: { appearanceSettings.theme },+ set: { appearanceSettings.setTheme($0) }+ ),+ options: AppearanceSettings.Theme.allCases,+ label: { $0.title },+ width: Metrics.themePickerWidth,+ alignment: .trailing+ )+ }+ }+var launchAtLoginRow: some View {VStack(alignment: .leading, spacing: 4) {SettingsToggleRow(@@ -606,7 +628,7 @@ private extension AppSettingsView {.font(.caption).foregroundStyle(caption.isError ? Color.red : Color.codexSecondaryLabel).fixedSize(horizontal: false, vertical: true)- .numericTransition(value: caption.message, enabled: animationState.allowsAnimations)+ .numericTransition(value: caption.message)Spacer(minLength: 8)@@ -712,7 +734,7 @@ private extension AppSettingsView {Text(lastSyncText).font(.caption.monospacedDigit()).foregroundStyle(Color.codexSecondaryLabel)- .numericTransition(value: lastSyncText, enabled: animationState.allowsAnimations)+ .numericTransition(value: lastSyncText).lineLimit(1).transition(.opacity)}@@ -923,7 +945,7 @@ private extension AppSettingsView {.font(status.isVersionLabel ? .body.monospacedDigit() : .body).foregroundStyle(Color.codexSecondaryLabel).lineLimit(1)- .numericTransition(value: status.text, enabled: animationState.allowsAnimations)+ .numericTransition(value: status.text)if appUpdater.availableUpdateMessage != nil {Button {diff --git a/CodexBar/Views/Settings/CodexVersionSection.swift b/CodexBar/Views/Settings/CodexVersionSection.swiftindex c86e0c5..ddd7c33 100644--- a/CodexBar/Views/Settings/CodexVersionSection.swift+++ b/CodexBar/Views/Settings/CodexVersionSection.swift@@ -100,7 +100,7 @@ struct CodexVersionSection: View {Text(info.version).monospacedDigit().foregroundStyle(Color.codexSecondaryLabel)- .numericTransition(value: info.version, enabled: animationState.allowsAnimations)+ .numericTransition(value: info.version)}CopyablePathText(path: info.socketPath, isCopied: copiedPathResetTasks["shared"] != nil).onTapGesture { copyPathToPasteboard(info.socketPath, key: "shared") }@@ -131,7 +131,7 @@ struct CodexVersionSection: View {.font(hasVersion ? .body.monospacedDigit() : .body).foregroundStyle(Color(nsColor: hasVersion ? .secondaryLabelColor : .tertiaryLabelColor)).lineLimit(1)- .numericTransition(value: item.displayVersion, enabled: animationState.allowsAnimations)+ .numericTransition(value: item.displayVersion)if let path = item.path {CopyablePathText(path: path, isCopied: copiedPathResetTasks[item.source.rawValue] != nil)@@ -189,6 +189,5 @@ private struct CopyablePathText: View {}.frame(maxWidth: .infinity, alignment: .trailing).animation(.codexStatus, value: isCopied)- .help(isCopied ? "common.status.copied" : "common.action.click-to-copy")}}diff --git a/CodexBar/Views/Shared/AppearanceTransition.swift b/CodexBar/Views/Shared/AppearanceTransition.swiftnew file mode 100644index 0000000..c535765--- /dev/null+++ b/CodexBar/Views/Shared/AppearanceTransition.swift@@ -0,0 +1,259 @@+import AppKit+import QuartzCore++@MainActor+final class AppearanceTransition {+ static let didChangeNotification = Notification.Name("CodexBar.appearanceTransitionDidChange")++ static func isActive(in window: NSWindow) -> Bool {+ window.childWindows?.contains { $0 is SnapshotPanel } == true+ }++ private let animationsEnabled: () -> Bool+ private var observation: NSKeyValueObservation?+ private var pendingSnapshots: [(NSWindow, SnapshotPanel)]?++ init(animationsEnabled: @escaping () -> Bool) {+ self.animationsEnabled = animationsEnabled+ observation = NSApplication.shared.observe(\.effectiveAppearance, options: [.prior]) { [weak self] _, change in+ let isPrior = change.isPrior+ MainActor.assumeIsolated {+ guard let self else { return }+ if isPrior {+ self.capture()+ } else {+ // App 的通知先于窗口外观更新, 等本轮赋值和面板同步完成后再揭示新画面+ DispatchQueue.main.async { self.reveal() }+ }+ }+ }+ }++ func stop() {+ observation?.invalidate()+ observation = nil+ pendingSnapshots?.forEach { $0.1.dismiss() }+ pendingSnapshots = nil+ NSApplication.shared.windows.compactMap { $0 as? SnapshotPanel }.forEach { $0.dismiss() }+ }++ private func capture() {+ // 同一轮内连续切换时保留最初画面, 最终外观由 AppKit 决定+ guard pendingSnapshots == nil else { return }+ let animated = animationsEnabled()+ let windows = NSApplication.shared.windows.filter {+ $0.isVisible && !$0.isMiniaturized && !($0 is SnapshotPanel) && !($0 is TaskGlowPanel)+ }+ pendingSnapshots = windows.compactMap { window -> (NSWindow, SnapshotPanel)? in+ let previous = window.childWindows?.compactMap { $0 as? SnapshotPanel } ?? []+ previous.forEach { $0.snapshotView.freeze() }+ let snapshot = animated ? SnapshotPanel(capturing: window, previous: previous) : nil+ // 先接上新快照, 避免连续切换时短暂报告过渡已结束+ snapshot?.present(over: window)+ previous.forEach { $0.dismiss() }+ guard let snapshot else { return nil }+ return (window, snapshot)+ }+ }++ private func reveal() {+ guard let snapshots = pendingSnapshots else { return }+ pendingSnapshots = nil+ for (window, snapshot) in snapshots {+ guard animationsEnabled(), window.isVisible, !window.isMiniaturized,+ let view = window.contentView,+ view.effectiveAppearance.bestMatch(from: [.aqua, .darkAqua]) != snapshot.sourceAppearance else {+ snapshot.dismiss()+ continue+ }+ snapshot.reveal()+ }+ }++ /// 过渡使用独立子窗口, 不向 NSThemeFrame 或 NSHostingView 管理的层级插入视图+ private final class SnapshotPanel: NSPanel {+ let sourceAppearance: NSAppearance.Name?+ let snapshotView: SnapshotView+ private var observers: [any NSObjectProtocol] = []+ private var isDismissed = false++ override var canBecomeKey: Bool {+ false+ }++ override var canBecomeMain: Bool {+ false+ }++ init?(capturing window: NSWindow, previous: [SnapshotPanel]) {+ guard let view = Self.sourceView(in: window), !view.bounds.isEmpty,+ let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { return nil }+ view.cacheDisplay(in: view.bounds, to: bitmap)+ for panel in previous {+ panel.snapshotView.composite(over: bitmap)+ }+ sourceAppearance = view.effectiveAppearance.bestMatch(from: [.aqua, .darkAqua])+ let image = NSImage(size: view.bounds.size)+ image.addRepresentation(bitmap)+ snapshotView = SnapshotView(image: image)+ let hasTitlebar = window.styleMask.contains(.titled)+ super.init(+ contentRect: window.convertToScreen(view.convert(view.bounds, to: nil)),+ styleMask: hasTitlebar ? [.titled, .fullSizeContentView, .nonactivatingPanel] : [.borderless, .nonactivatingPanel],+ backing: .buffered,+ defer: false+ )+ if hasTitlebar {+ // 让 AppKit 裁剪原生窗口圆角, 快照覆盖标题栏和内容区域+ titleVisibility = .hidden+ titlebarAppearsTransparent = true+ for button in [NSWindow.ButtonType.closeButton, .miniaturizeButton, .zoomButton] {+ standardWindowButton(button)?.isHidden = true+ }+ }+ isReleasedWhenClosed = false+ isOpaque = false+ backgroundColor = .clear+ hasShadow = false+ ignoresMouseEvents = true+ hidesOnDeactivate = false+ isExcludedFromWindowsMenu = true+ collectionBehavior = [.fullScreenAuxiliary, .ignoresCycle]+ animationBehavior = .none+ // 原生窗口管理内容视图的裁剪, 渐变遮罩留在独立子视图上+ let container = NSView(frame: snapshotView.frame)+ container.addSubview(snapshotView)+ contentView = container+ }++ func present(over window: NSWindow) {+ guard let view = Self.sourceView(in: window) else {+ dismiss()+ return+ }+ setFrame(window.convertToScreen(view.convert(view.bounds, to: nil)), display: true)+ level = window.level+ let wasActive = AppearanceTransition.isActive(in: window)+ window.addChildWindow(self, ordered: .above)+ orderFront(nil)+ if !wasActive {+ NotificationCenter.default.post(name: AppearanceTransition.didChangeNotification, object: window)+ }+ for name in [+ NSWindow.willCloseNotification,+ NSWindow.didMiniaturizeNotification,+ NSWindow.didChangeOcclusionStateNotification,+ NSWindow.didResizeNotification+ ] {+ observers.append(NotificationCenter.default.addObserver(forName: name, object: window, queue: .main) { [weak self] _ in+ MainActor.assumeIsolated { self?.sourceWindowChanged(name) }+ })+ }+ }++ func reveal() {+ guard !isDismissed else { return }+ snapshotView.reveal { [weak self] in self?.dismiss() }+ }++ func dismiss() {+ guard !isDismissed else { return }+ isDismissed = true+ observers.forEach(NotificationCenter.default.removeObserver)+ observers.removeAll()+ snapshotView.freeze()+ let sourceWindow = parent+ sourceWindow?.removeChildWindow(self)+ orderOut(nil)+ close()+ if let sourceWindow, !AppearanceTransition.isActive(in: sourceWindow) {+ NotificationCenter.default.post(name: AppearanceTransition.didChangeNotification, object: sourceWindow)+ }+ }++ private func sourceWindowChanged(_ name: Notification.Name) {+ guard let window = parent, window.isVisible, !window.isMiniaturized else {+ dismiss()+ return+ }+ if name == NSWindow.didResizeNotification, let view = Self.sourceView(in: window) {+ setFrame(window.convertToScreen(view.convert(view.bounds, to: nil)), display: true)+ } else if name != NSWindow.didChangeOcclusionStateNotification {+ dismiss()+ }+ }++ private static func sourceView(in window: NSWindow) -> NSView? {+ guard let contentView = window.contentView else { return nil }+ // 有标题栏时读取完整窗口视图, 只生成快照, 不修改 AppKit 管理的视图层级+ return window.styleMask.contains(.titled) ? contentView.superview ?? contentView : contentView+ }+ }++ private final class SnapshotView: NSImageView {+ private let revealMask = CAGradientLayer()++ override var isFlipped: Bool {+ true+ }++ init(image: NSImage) {+ super.init(frame: NSRect(origin: .zero, size: image.size))+ self.image = image+ imageScaling = .scaleAxesIndependently+ autoresizingMask = [.width, .height]+ wantsLayer = true+ revealMask.colors = [NSColor.clear.cgColor, NSColor.black.cgColor]+ revealMask.startPoint = CGPoint(x: 0, y: 0)+ revealMask.endPoint = CGPoint(x: 1, y: 1)+ revealMask.locations = [0, 0]+ revealMask.frame = bounds+ layer?.mask = revealMask+ }++ @available(*, unavailable)+ required init?(coder _: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }++ override func layout() {+ super.layout()+ CATransaction.begin()+ CATransaction.setDisableActions(true)+ revealMask.frame = bounds+ CATransaction.commit()+ }++ func freeze() {+ let locations = revealMask.presentation()?.locations ?? revealMask.locations+ CATransaction.begin()+ CATransaction.setDisableActions(true)+ revealMask.locations = locations+ revealMask.removeAllAnimations()+ CATransaction.commit()+ }++ func composite(over bitmap: NSBitmapImageRep) {+ guard let context = NSGraphicsContext(bitmapImageRep: bitmap) else { return }+ context.cgContext.translateBy(x: 0, y: bounds.height)+ context.cgContext.scaleBy(x: 1, y: -1)+ layer?.render(in: context.cgContext)+ }++ func reveal(completion: @escaping @MainActor () -> Void) {+ let animation = CAKeyframeAnimation(keyPath: "locations")+ animation.values = [[0, 0], [0, 0.1], [0.9, 1], [1, 1]]+ animation.keyTimes = [0, 0.05, 0.95, 1]+ animation.duration = 0.45+ animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)+ CATransaction.begin()+ CATransaction.setDisableActions(true)+ CATransaction.setCompletionBlock {+ Task { @MainActor in completion() }+ }+ revealMask.locations = [1, 1]+ revealMask.add(animation, forKey: "appearanceReveal")+ CATransaction.commit()+ }+ }+}diff --git a/CodexBar/Views/Shared/LiquidGlassStyle.swift b/CodexBar/Views/Shared/LiquidGlassStyle.swiftindex 7f4e9c8..fca2195 100644--- a/CodexBar/Views/Shared/LiquidGlassStyle.swift+++ b/CodexBar/Views/Shared/LiquidGlassStyle.swift@@ -23,22 +23,68 @@ extension Color {}}+/// 深色界面用背景明度区分层级, 强调色只用于数据和交互状态+enum CodexDarkPalette {+ static let background = Color(hex: 0x171B22)+ static let surface = Color(hex: 0x222832)+ static let raisedSurface = Color(hex: 0x2B3340)+ static let track = Color(hex: 0x394350)+ static let heatmap = Color(hex: 0x749DE0)+ static let separator = Color.white.opacity(0.06)+ static let outline = Color.white.opacity(0.08)+}+// MARK: - View 修饰符+extension EnvironmentValues {+ @Entry var contentAnimationsEnabled = false+}+extension View {+ func contentAnimations(settings: MainPanelSettings, isVisible: Bool = true) -> some View {+ modifier(ContentAnimationsModifier(settings: settings, isVisible: isVisible))+ }+/// 数值比较决定滚动方向, 复合文案按显示内容触发过渡func numericTransition(value: some Equatable,- comparison: Double? = nil,- enabled: Bool = true+ comparison: Double? = nil) -> some View {+ modifier(NumericTransitionModifier(value: value, comparison: comparison))+ }+}++private struct ContentAnimationsModifier: ViewModifier {+ @ObservedObject var settings: MainPanelSettings+ let isVisible: Bool++ func body(content: Content) -> some View {+ let enabled = settings.areAnimationsEnabled && isVisible+ content+ .environment(\.contentAnimationsEnabled, enabled)+ .transaction { transaction in+ // 隐藏的宿主仍可能绘制数字过渡, 必须同时阻止子视图重新开启动画+ guard !enabled else { return }+ transaction.animation = nil+ transaction.disablesAnimations = true+ }+ }+}++private struct NumericTransitionModifier<Value: Equatable>: ViewModifier {+ @Environment(\.contentAnimationsEnabled) private var allowsAnimations+ let value: Value+ let comparison: Double?++ func body(content: Content) -> some View {let transition: ContentTransition = if let comparison {.numericText(value: comparison)} else {.numericText()}- return contentTransition(enabled ? transition : .identity)- .animation(enabled ? .codexStatus : nil, value: value)+ content+ .contentTransition(allowsAnimations ? transition : .identity)+ .animation(allowsAnimations ? .codexStatus : nil, value: value)}}@@ -75,9 +121,9 @@ extension View {liquidGlassBadge(tint: tint, in: Capsule(style: .continuous))}- func liquidGlassBadge(tint: Color, in shape: some InsettableShape) -> some View {+ func liquidGlassBadge(tint: Color, in shape: some InsettableShape, showsTopHighlight: Bool = true) -> some View {background {- LiquidGlassBadge(tint: tint, shape: shape)+ LiquidGlassBadge(tint: tint, shape: shape, showsTopHighlight: showsTopHighlight)}}@@ -111,13 +157,14 @@ private struct SidePanelChrome: ViewModifier {}private var backingFill: Color {- Color(nsColor: .windowBackgroundColor)- .opacity(colorScheme == .dark ? 0.90 : 0.86)+ colorScheme == .dark+ ? CodexDarkPalette.background+ : Color(nsColor: .windowBackgroundColor).opacity(0.86)}private var boundaryColor: Color {colorScheme == .dark- ? .white.opacity(0.18)+ ? .clear: .black.opacity(0.14)}}@@ -128,9 +175,15 @@ struct LiquidGlassDivider: View {@State private var isVisible = falsevar body: some View {- TimelineView(.animation(minimumInterval: 1.0 / 30, paused: !isVisible)) { timeline in- let phase = timeline.date.timeIntervalSinceReferenceDate * .pi / 4- line(offset: sin(phase) * 0.28)+ Group {+ if colorScheme == .dark {+ Rectangle().fill(CodexDarkPalette.separator)+ } else {+ TimelineView(.animation(minimumInterval: 1.0 / 30, paused: !isVisible)) { timeline in+ let phase = timeline.date.timeIntervalSinceReferenceDate * .pi / 4+ line(offset: sin(phase) * 0.28)+ }+ }}.mask {LinearGradient(@@ -165,7 +218,7 @@ struct LiquidGlassDivider: View {endPoint: UnitPoint(x: 1 + offset, y: 0.5)))- .opacity(colorScheme == .dark ? 0.36 : 0.30)+ .opacity(0.30)}}@@ -226,7 +279,7 @@ private struct LiquidGlassDividerVisibility: NSViewRepresentable {// MARK: - 表面绘制-/// 自绘玻璃面板, 由底色, 高光, 纹理, 描边和阴影叠加组成+/// 深色使用低对比表面, 浅色保留玻璃高光和纹理private struct LiquidGlassSurface: View {let cornerRadii: RectangleCornerRadiilet isOuterSurface: Bool@@ -235,59 +288,70 @@ private struct LiquidGlassSurface: View {var body: some View {let shape = UnevenRoundedRectangle(cornerRadii: cornerRadii, style: .continuous)- ZStack {+ if colorScheme == .dark {shape- .fill(baseFill)+ .fill(isOuterSurface ? CodexDarkPalette.background : CodexDarkPalette.surface)+ .overlay {+ if isOuterSurface {+ shape.strokeBorder(CodexDarkPalette.outline, lineWidth: 0.5)+ }+ }+ .shadow(color: .black.opacity(isOuterSurface ? 0.24 : 0.10), radius: isOuterSurface ? 12 : 4, y: isOuterSurface ? 6 : 1)+ } else {+ ZStack {+ shape+ .fill(baseFill)- shape- .fill(highlightFill)- .blendMode(.plusLighter)+ shape+ .fill(highlightFill)+ .blendMode(.plusLighter)- LiquidGlassFrostedTexture(isOuterSurface: isOuterSurface)- .clipShape(shape)+ LiquidGlassFrostedTexture(isOuterSurface: isOuterSurface)+ .clipShape(shape)- shape- .strokeBorder(- borderColor,- lineWidth: isOuterSurface ? 1.0 : 0.8- )+ shape+ .strokeBorder(+ borderColor,+ lineWidth: isOuterSurface ? 1.0 : 0.8+ )- shape- .strokeBorder(rimHighlightColor, lineWidth: rimLineWidth)- .shadow(- color: rimLightShadowColor,- radius: isOuterSurface ? 0.5 : 1.0,- x: 0,- y: isOuterSurface ? -0.2 : -0.4- )- .shadow(- color: rimDarkShadowColor,- radius: isOuterSurface ? 0.8 : 1.3,- x: 0,- y: isOuterSurface ? 0.6 : 1.0- )+ shape+ .strokeBorder(rimHighlightColor, lineWidth: rimLineWidth)+ .shadow(+ color: rimLightShadowColor,+ radius: isOuterSurface ? 0.5 : 1.0,+ x: 0,+ y: isOuterSurface ? -0.2 : -0.4+ )+ .shadow(+ color: rimDarkShadowColor,+ radius: isOuterSurface ? 0.8 : 1.3,+ x: 0,+ y: isOuterSurface ? 0.6 : 1.0+ )- LiquidGlassSpecular(cornerRadii: cornerRadii)- .opacity(isOuterSurface ? 0.82 : 0.64)+ LiquidGlassSpecular(cornerRadii: cornerRadii)+ .opacity(isOuterSurface ? 0.82 : 0.64)+ }+ .shadow(+ color: raisedHighlightShadowColor,+ radius: isOuterSurface ? 0 : 2,+ x: isOuterSurface ? 0 : -1,+ y: isOuterSurface ? 0 : -1+ )+ .shadow(+ color: ambientShadowColor,+ radius: isOuterSurface ? 18 : 12,+ x: 0,+ y: isOuterSurface ? 10 : 7+ )+ .shadow(+ color: contactShadowColor,+ radius: isOuterSurface ? 0 : 3,+ x: 0,+ y: isOuterSurface ? 0 : 2+ )}- .shadow(- color: raisedHighlightShadowColor,- radius: isOuterSurface ? 0 : 2,- x: isOuterSurface ? 0 : -1,- y: isOuterSurface ? 0 : -1- )- .shadow(- color: ambientShadowColor,- radius: isOuterSurface ? 18 : 12,- x: 0,- y: isOuterSurface ? 10 : 7- )- .shadow(- color: contactShadowColor,- radius: isOuterSurface ? 0 : 3,- x: 0,- y: isOuterSurface ? 0 : 2- )}private var baseFill: Color {@@ -307,11 +371,11 @@ private struct LiquidGlassSurface: View {}private var rimLightShadowColor: Color {- .white.opacity(colorScheme == .dark ? 0.05 : 0.20)+ .white.opacity(0.20)}private var rimDarkShadowColor: Color {- .black.opacity(colorScheme == .dark ? 0.28 : 0.12)+ .black.opacity(0.12)}private var rimLineWidth: CGFloat {@@ -319,23 +383,13 @@ private struct LiquidGlassSurface: View {}private var baseColor: Color {- if colorScheme == .dark {- return isOuterSurface- ? Color(red: 0.07, green: 0.08, blue: 0.095)- : Color(red: 0.16, green: 0.18, blue: 0.20)- }-- return isOuterSurface+ isOuterSurface? Color(red: 0.97, green: 0.985, blue: 1.0): Color.white}private var raisedHighlightShadowColor: Color {- if colorScheme == .dark {- return .white.opacity(0.08)- }-- return .white.opacity(0.46)+ .white.opacity(0.46)}private var ambientShadowColor: Color {@@ -343,27 +397,26 @@ private struct LiquidGlassSurface: View {return .black.opacity(0.16)}- return .black.opacity(colorScheme == .dark ? 0.34 : 0.18)+ return .black.opacity(0.18)}private var contactShadowColor: Color {- .black.opacity(colorScheme == .dark ? 0.20 : 0.08)+ .black.opacity(0.08)}}/// 稳定伪随机纹理, 不依赖运行时随机数以避免重绘闪烁private struct LiquidGlassFrostedTexture: View {let isOuterSurface: Bool- @Environment(\.colorScheme) private var colorSchemevar body: some View {Canvas(opaque: false, rendersAsynchronously: true) { context, size inlet step: CGFloat = isOuterSurface ? 4 : 3let columns = max(Int((size.width / step).rounded(.up)), 0)let rows = max(Int((size.height / step).rounded(.up)), 0)- let baseOpacity = colorScheme == .dark ? 0.035 : 0.045+ let baseOpacity = 0.045let outerScale = isOuterSurface ? 0.75 : 1.0- let shadowFactor = colorScheme == .dark ? 0.24 : 0.16+ let shadowFactor = 0.16// 按强度分桶合并同色点, 把上万次单点 fill 压缩成每桶一次路径填充// 桶内取中值不透明度, 与逐点绘制的偏差不超过 baseOpacity / (2 * bucketCount)@@ -419,52 +472,59 @@ private struct LiquidGlassFrostedTexture: View {private struct LiquidGlassBadge<S: InsettableShape>: View {let tint: Colorlet shape: S+ let showsTopHighlight: Bool@Environment(\.colorScheme) private var colorSchemevar body: some View {- shape- .fill(fillColor)- .overlay {- LiquidGlassFrostedTexture(isOuterSurface: false)- .clipShape(shape)- .opacity(0.55)- }- .overlay {- shape- .strokeBorder(borderColor, lineWidth: 0.8)- }- .overlay {- shape- .strokeBorder(innerRimColor, lineWidth: 0.45)- .padding(0.8)- }- .overlay(alignment: .top) {- Capsule(style: .continuous)- .fill(topHighlightColor)- .frame(height: 1)- .padding(.horizontal, 7)- .padding(.top, 1.5)- }+ if colorScheme == .dark {+ shape+ .fill(CodexDarkPalette.raisedSurface)+ .overlay {+ shape.fill(tint.opacity(0.12))+ }+ } else {+ shape+ .fill(fillColor)+ .overlay {+ LiquidGlassFrostedTexture(isOuterSurface: false)+ .clipShape(shape)+ .opacity(0.55)+ }+ .overlay {+ shape+ .strokeBorder(borderColor, lineWidth: 0.8)+ }+ .overlay {+ shape+ .strokeBorder(innerRimColor, lineWidth: 0.45)+ .padding(0.8)+ }+ .overlay(alignment: .top) {+ if showsTopHighlight {+ Capsule(style: .continuous)+ .fill(topHighlightColor)+ .frame(height: 1)+ .padding(.horizontal, 7)+ .padding(.top, 1.5)+ }+ }+ }}private var fillColor: Color {- colorScheme == .dark- ? Color(red: 0.18, green: 0.20, blue: 0.22)- : Color(red: 0.94, green: 0.96, blue: 0.98)+ Color(red: 0.94, green: 0.96, blue: 0.98)}private var borderColor: Color {- colorScheme == .dark- ? tint.opacity(0.34)- : tint.opacity(0.26)+ tint.opacity(0.26)}private var innerRimColor: Color {- .white.opacity(colorScheme == .dark ? 0.12 : 0.42)+ .white.opacity(0.42)}private var topHighlightColor: Color {- .white.opacity(colorScheme == .dark ? 0.10 : 0.30)+ .white.opacity(0.30)}}diff --git a/CodexBar/Views/Shared/ScreenFrameReader.swift b/CodexBar/Views/Shared/ScreenFrameReader.swiftindex fbf1961..ae3b5eb 100644--- a/CodexBar/Views/Shared/ScreenFrameReader.swift+++ b/CodexBar/Views/Shared/ScreenFrameReader.swift@@ -52,6 +52,10 @@ final class ScreenFrameProvider {private weak var lastValidWindow: NSWindow?private var lastValidFrame: CGRect?+ var window: NSWindow? {+ view?.window+ }+func bind(to view: NSView) {self.view = view}diff --git a/Config/Version.xcconfig b/Config/Version.xcconfigindex 0671bba..f02f4ac 100644--- a/Config/Version.xcconfig+++ b/Config/Version.xcconfig@@ -1,2 +1,2 @@-MARKETING_VERSION = 5.0.5-CURRENT_PROJECT_VERSION = 205+MARKETING_VERSION = 5.0.6+CURRENT_PROJECT_VERSION = 206diff --git a/Scripts/appcast.sh b/Scripts/appcast.shindex cde071a..8952139 100755--- a/Scripts/appcast.sh+++ b/Scripts/appcast.sh@@ -35,7 +35,7 @@ Environment:DOWNLOAD_BASE_URL Base URL for DMG downloads.Defaults to https://codexbar.zabrian.app/download.RELEASE_NOTES_BASE_URL Base URL for release notes and upgrade guides.- Both links append lang=en and lang=zh-CN query parameters.+ Both links append lang=en-US and lang=zh-CN query parameters.Release notes append the current version as #X.Y.Z.The browser upgrade link appends #${UPGRADE_GUIDE_VERSION}-Guide.Defaults to https://codexbar.zabrian.app/notes.@@ -243,7 +243,7 @@ SHORT_VERSION_ESCAPED="$(printf '%s' "${SHORT_VERSION}" | xml_escape)"UPGRADE_GUIDE_XML=""RELEASE_NOTES_XML=""-for NOTES_LANGUAGE in en zh-CN; do+for NOTES_LANGUAGE in en-US zh-CN; doUPGRADE_GUIDE_URL_ESCAPED="$(printf '%s%s#%s-Guide' "${RELEASE_NOTES_URL_PREFIX}" "${NOTES_LANGUAGE}" "${UPGRADE_GUIDE_VERSION}" | xml_escape)"UPGRADE_GUIDE_XML+="<link xml:lang=\"${NOTES_LANGUAGE}\">${UPGRADE_GUIDE_URL_ESCAPED}</link>"diff --git a/Tests/App/Activity/ActivityLivePresentationTests.swift b/Tests/App/Activity/ActivityLivePresentationTests.swiftindex 5244bc2..874f9cc 100644--- a/Tests/App/Activity/ActivityLivePresentationTests.swift+++ b/Tests/App/Activity/ActivityLivePresentationTests.swift@@ -309,16 +309,21 @@ struct ActivityLivePresentationTests {}@Test(arguments: [- (["read"], "command-read"), (["listFiles"], "command-listfiles"), (["search"], "command-search"),- (["search", "read", "read"], "command-read-search"), (["search", "listFiles"], "command-listfiles-search"),- (["listFiles", "read"], "command-read-listfiles"), (["search", "listFiles", "read"], "command-read-listfiles-search"),- (["read", "unknown"], "command"), (["future"], "command"), ([], "command")- ])- func commandActionsUseServerClassification(actions: [String], key: String) {+ (["read"], .init("command-read")), (["listFiles"], .init("command-listfiles")), (["search"], .init("command-search")),+ (["search", "read", "read"], .init("command-read-search")), (["search", "listFiles"], .init("command-listfiles-search")),+ (["listFiles", "read"], .init("command-read-listfiles")), (["search", "listFiles", "read"], .init("command-read-listfiles-search")),+ (["read", "unknown"], .init("command", detail: String(localized: "activity.live.actions-read"))),+ (["search", "unknown", "read"], .init("command", detail: String(localized: "activity.live.actions-read-search"))),+ (["search", "unknown", "read", "read"], .init("command", detail: String(localized: "activity.live.actions-read-search"))),+ (["future"], .init("command")), ([], .init("command"))+ ] as [([String], ActivityLiveLabel)])+ func commandActionsUseServerClassification(actions: [String], expected: ActivityLiveLabel) throws {let item = ActivityItem(id: "cmd", type: .commandExecution, commandActions: actions.map { .init(type: $0) })- #expect(item.liveLabel?.key == key)- if actions.contains("read"), actions.contains("unknown") {- #expect(item.liveLabel?.detail != nil)+ let label = try #require(item.liveLabel)+ #expect(label == expected)+ if let detail = expected.detail {+ #expect(label.text == String(localized: "activity.live.command-with-actions", defaultValue: "\(detail)"))+ #expect(!label.text.contains(" • "))}}@@ -380,13 +385,6 @@ struct ActivityLivePresentationTests {"item":{"id":"tool","type":"mcpToolCall","server":"server","tool":"tools","status":"completed"}"""), now: now.addingTimeInterval(1))#expect(try summary(reducer).recent?.label.detail == name)- let command = ActivityItem(- id: "cmd", type: .commandExecution, commandActions: ["search", "unknown", "read"].map { .init(type: $0) }- )- let label = try #require(command.liveLabel)- let detail = try #require(label.detail)- #expect(label.text == String(localized: "activity.live.command-with-actions", defaultValue: "\(detail)"))- #expect(!label.text.contains(" • "))}@Test func modelChangePreservesRouteDetails() throws {@@ -797,17 +795,6 @@ struct ActivityLivePresentationTests {#expect(try summary(reducer).waiting == nil)}- @Test func mixedCommandActionsResolveTheExplicitLocalizedKey() {- let item = ActivityItem(- id: "cmd", type: .commandExecution,- commandActions: ["search", "unknown", "read", "read"].map { .init(type: $0) }- )- #expect(item.liveLabel?.key == "command")- #expect(item.liveLabel?.detail == String(localized: "activity.live.actions-read-search"))- let actions = String(localized: "activity.live.actions-read-search")- #expect(item.liveLabel?.text == String(localized: "activity.live.command-with-actions", defaultValue: "\(actions)"))- }-@Test func resolvedRequestDoesNotClearThreadInputWait() throws {var live = ActivityLivePresentation()try live.consume(message("thread/status/changed", #""status":{"type":"active","activeFlags":["waitingOnUserInput"]}"#, turn: false), at: now)diff --git a/Tests/App/Activity/ActivityTaskTests.swift b/Tests/App/Activity/ActivityTaskTests.swiftindex fbd86be..c708bab 100644--- a/Tests/App/Activity/ActivityTaskTests.swift+++ b/Tests/App/Activity/ActivityTaskTests.swift@@ -137,20 +137,12 @@ struct ActivityTaskTests {#expect(monitor.graph.tasks.count == 1)}- @Test func subagentLinkRetentionDoesNotDependOnIdentityOrRefreshTime() throws {- let directory = try TestDirectory()- defer { try? directory.remove() }- let preferences = try TestPreferences()- defer { preferences.remove() }- let monitor = ActivityMonitor(- protectionSettings: ProtectionSettings(defaults: preferences.defaults),- protectionStore: ProtectionStore(directoryURL: directory.url), activityDataDirectoryURL: directory.url- )- defer { monitor.stop() }+ @Test func subagentLinkRetentionDoesNotDependOnIdentityOrRefreshTime() {+ var graph = ActivityTaskGraph()let root = ActivityTaskKey(thread: "root", turn: "root-turn")let child = ActivityTurnReference(threadID: "child", turnID: "child-turn")let expired = Date().addingTimeInterval(-ActivityRetention.window - 1)- monitor.graph.subagentTurnLinks[child] = (root, expired)+ graph.subagentTurnLinks[child] = (root, expired)var state = TurnLifecycleState(requestedThreadID: "child", turnID: "child-turn", startedAt: nil,effort: nil, lastProgressAt: nil, terminal: nil@@ -158,10 +150,10 @@ struct ActivityTaskTests {state.rootThreadID = "root"state.rootTurnID = "root-turn"state.parentThreadID = "root"- monitor.graph.applySubagentLifecycle(state)- #expect(monitor.graph.subagentTurnLinks[child]?.retainedAt == expired)- _ = monitor.graph.subagentLifecycleReferences()- #expect(monitor.graph.subagentTurnLinks[child] == nil)+ graph.applySubagentLifecycle(state)+ #expect(graph.subagentTurnLinks[child]?.retainedAt == expired)+ _ = graph.subagentLifecycleReferences()+ #expect(graph.subagentTurnLinks[child] == nil)}@Test func incompleteSubagentRootCannotBeGuessedFromQueuedEventsOrPreviousLink() throws {diff --git a/Tests/App/Activity/ActivityTokenUsageTests.swift b/Tests/App/Activity/ActivityTokenUsageTests.swiftindex 1d54101..bbb7ee3 100644--- a/Tests/App/Activity/ActivityTokenUsageTests.swift+++ b/Tests/App/Activity/ActivityTokenUsageTests.swift@@ -278,17 +278,8 @@ struct ActivityTokenUsageTests {@Test(arguments: [false, true])func historicalTerminalUpdatesHistoryWithoutPublishingEvents(aborted: Bool) throws {- let directory = try TestDirectory()- defer { try? directory.remove() }- let preferences = try TestPreferences()- defer { preferences.remove() }- let monitor = try makeMonitor(directory: directory, preferences: preferences)- monitor.isActivitySourceHealthy = true- monitor.isProtectionRecoveryInProgress = false+ var graph = ActivityTaskGraph()let now = Date()- monitor.turnTransitionNotBefore = now.addingTimeInterval(-1)- monitor.terminalPresentationNotBefore = now.addingTimeInterval(-1)- #expect(monitor.canPublishActivityTransitions)for publishesEvents in [false, true] {let event = TestFixtures.event(at: now, turn: publishesEvents ? "live-turn" : "historical-turn")let key = try #require(ActivityTaskKey(event: event))@@ -297,23 +288,23 @@ struct ActivityTokenUsageTests {startedAt: now, progressGeneration: 1)var transitions: [ActivityTransition] = []- monitor.graph.resolveTerminal(+ graph.resolveTerminal(aborted ? .aborted(at: now, duration: nil) : .completed(at: now, duration: 1),task: task, key: key, abortFallback: now, publishesEvents: publishesEvents, into: &transitions)#expect(transitions.isEmpty == (aborted || !publishesEvents))- #expect(monitor.graph.terminalEvents.isEmpty == !publishesEvents)- let observedResult15 = monitor.graph.recentEndedDate(for: key, now: now) != nil+ #expect(graph.terminalEvents.isEmpty == !publishesEvents)+ let observedResult15 = graph.recentEndedDate(for: key, now: now) != nil#expect(observedResult15)- let presentationCount = monitor.graph.terminalEvents.count- monitor.graph.resolveTerminal(+ let presentationCount = graph.terminalEvents.count+ graph.resolveTerminal(aborted ? .aborted(at: now, duration: nil) : .completed(at: now, duration: 1),task: task, key: key, abortFallback: now, publishesEvents: true, into: &transitions)- #expect(monitor.graph.terminalEvents.count == presentationCount)+ #expect(graph.terminalEvents.count == presentationCount)}- #expect(aborted ? monitor.graph.terminations.count == 2 : monitor.graph.completions.count == 2)- #expect(monitor.graph.terminalTokenUsageRequests.count == 2)+ #expect(aborted ? graph.terminations.count == 2 : graph.completions.count == 2)+ #expect(graph.terminalTokenUsageRequests.count == 2)}@Test(arguments: [false, true])diff --git a/Tests/App/Activity/AppServerActivityTests.swift b/Tests/App/Activity/AppServerActivityTests.swiftindex 04d7211..be34935 100644--- a/Tests/App/Activity/AppServerActivityTests.swift+++ b/Tests/App/Activity/AppServerActivityTests.swift@@ -4,6 +4,18 @@ import Testingstruct AppServerActivityTests {private let now = TestFixtures.now+ @Test func protocolBoundaryNormalizesStatusAndTimeUnits() throws {+ let input = try TestFixtures.decode(ActivityInput.self, """+ {"method":"turn/completed","params":{"threadId":"thread","turn":{"id":"turn","status":"completed","startedAt":1000,"completedAt":1002,"durationMs":1500}}}+ """)+ #expect(input.kind == .turnFinished)+ #expect(input.params.turn?.status == .completed)+ #expect(input.params.turn?.startedAt == Date(timeIntervalSince1970: 1000))+ #expect(input.params.turn?.duration == 1.5)+ let unknown = try TestFixtures.decode(ActivityInput.self, "{\"method\":\"future/event\",\"params\":{}}")+ #expect(unknown.kind == .ignored)+ }+private func thread(_ id: String = "main", source: String = #""cli""#) throws -> ActivityThread {try TestFixtures.decode(ActivityThread.self, """{"id":"\(id)","cwd":"/test","model":"gpt-5","reasoningEffort":"high","createdAt":\(now.timeIntervalSince1970),diff --git a/Tests/App/AppServer/AppServerLogTests.swift b/Tests/App/AppServer/AppServerLogTests.swiftindex 0fb5a34..680397f 100644--- a/Tests/App/AppServer/AppServerLogTests.swift+++ b/Tests/App/AppServer/AppServerLogTests.swift@@ -349,26 +349,6 @@ struct AppServerLogTests {#expect(store.entries.count == 1)}- @Test func closedWindowCanReloadFromDiskWithBoundedInitialRead() async throws {- let directory = try TestDirectory()- defer { try? directory.remove() }- let storage = AppServerLogStore(directoryURL: directory.url)- for _ in 0 ..< 10 {- storage.recordFailure(message: "failure")- }- let store = AppServerLogViewModel(storage: storage, pageSize: 3)- await store.refresh()- await store.loadMore()- #expect(store.entries.count == 6)- store.stop()- #expect(store.entries.isEmpty)- storage.recordFailure(message: "closed-window failure")- await store.refresh()- #expect(store.entries.count == 3)- #expect(store.totalCount == 11)- #expect(store.entries.first?.detail == "closed-window failure")- }-@Test func terminationDrainsQueuedWritesAndRejectsLateCallbacks() async throws {let directory = try TestDirectory()defer { try? directory.remove() }@@ -498,14 +478,20 @@ extension AppServerLogTests {visited.formUnion(model.entries.map(\.id))}#expect(visited.count == 20)+ #expect(model.entries.count == 6)let historyIDs = model.entries.map(\.id)storage.recordFailure(message: "latest")await model.refresh()#expect(model.entries.count <= 6)#expect(model.entries.map(\.id) == historyIDs)model.stop()+ #expect(model.entries.isEmpty)+ storage.recordFailure(message: "closed-window failure")await model.refresh()- #expect(model.entries.first?.detail == "latest")+ #expect(model.entries.count == 3)+ #expect(model.totalCount == 22)+ #expect(model.entries.first?.detail == "closed-window failure")+ #expect(model.entries.contains { $0.detail == "latest" })}}diff --git a/Tests/App/AppServer/AppServerSessionTests.swift b/Tests/App/AppServer/AppServerSessionTests.swiftindex aa8fbce..6e4f6c9 100644--- a/Tests/App/AppServer/AppServerSessionTests.swift+++ b/Tests/App/AppServer/AppServerSessionTests.swift@@ -479,8 +479,8 @@ struct AppServerSessionTests {try server.finish()}- @Test(arguments: ["account", "activity"])- func bothConnectionsPersistFullWireRequestAndError(_ connection: String) async throws {+ @Test func sessionPersistsConnectionLabelAndFullWireRequestAndError() async throws {+ let connection = "account"let directory = try TestDirectory()defer { try? directory.remove() }let storage = AppServerLogStore(directoryURL: directory.url)diff --git a/Tests/App/CodexStatus/AutoResetScheduleTests.swift b/Tests/App/CodexStatus/AutoResetScheduleTests.swiftindex c338890..db66c6e 100644--- a/Tests/App/CodexStatus/AutoResetScheduleTests.swift+++ b/Tests/App/CodexStatus/AutoResetScheduleTests.swift@@ -84,28 +84,22 @@ struct AutoResetScheduleTests {#expect(observed17 == nil)}- @Test func inFlightOrdinaryAttemptCoversFinalPoint() throws {+ @Test(arguments: [false, true])+ func inFlightAttemptAcrossFinalPointPreservesRetryBudget(transientFailure: Bool) throws {var schedule = AutoResetSchedule()let expiration = start.addingTimeInterval(900)- let observed18 = schedule.begin(expirationDate: expiration, leadTime: 900, now: start.addingTimeInterval(710))- let attempt = try #require(observed18)+ let started = schedule.begin(expirationDate: expiration, leadTime: 900, now: start.addingTimeInterval(710))+ let attempt = try #require(started)schedule.finish(attempt, transientFailure: true, leadTime: 900, now: start.addingTimeInterval(730))- schedule.coverFinalIfNeeded(attempt, expirationDate: expiration, transientFailure: false, now: start.addingTimeInterval(730))- let observed19 = schedule.plan(expirationDate: expiration, leadTime: 900, now: start.addingTimeInterval(730))- #expect(observed19 == nil)- }-- @Test func faultAcrossFinalPointUsesRemainingFinalAttempts() throws {- var schedule = AutoResetSchedule()- let expiration = start.addingTimeInterval(900)- let value = schedule.begin(expirationDate: expiration, leadTime: 900, now: start.addingTimeInterval(710))- let attempt = try #require(value)- schedule.finish(attempt, transientFailure: true, leadTime: 900, now: start.addingTimeInterval(730))- schedule.coverFinalIfNeeded(attempt, expirationDate: expiration, transientFailure: true, now: start.addingTimeInterval(730))+ schedule.coverFinalIfNeeded(attempt, expirationDate: expiration, transientFailure: transientFailure, now: start.addingTimeInterval(730))let plan = schedule.plan(expirationDate: expiration, leadTime: 900, now: start.addingTimeInterval(730))- #expect(plan?.evaluationDate == start.addingTimeInterval(745))- let next = schedule.begin(expirationDate: expiration, leadTime: 900, now: start.addingTimeInterval(745))- #expect(next?.phase == .final)+ if transientFailure {+ #expect(plan?.evaluationDate == start.addingTimeInterval(745))+ let next = schedule.begin(expirationDate: expiration, leadTime: 900, now: start.addingTimeInterval(745))+ #expect(next?.phase == .final)+ } else {+ #expect(plan == nil)+ }}@Test func extendingExpirationRearmsFinalWithoutRestoringInitialBudget() throws {diff --git a/Tests/App/CodexStatus/CodexServiceStatusTests.swift b/Tests/App/CodexStatus/CodexServiceStatusTests.swiftindex 8b381c1..7b23b9b 100644--- a/Tests/App/CodexStatus/CodexServiceStatusTests.swift+++ b/Tests/App/CodexStatus/CodexServiceStatusTests.swift@@ -176,8 +176,7 @@ struct CodexServiceStatusTests {#expect(await probe.calls == 2)}- @Test(arguments: [LogTrigger.manual, .auto, .launch, .panelOpen, .settings])- func sharedUpdateTimeWaitsForServiceStatus(_ trigger: LogTrigger) async throws {+ @Test func sharedUpdateTimeWaitsForServiceStatus() async throws {let preferences = try TestPreferences()defer { preferences.remove() }let probe = ServiceStatusProbe(holdsFirst: true)@@ -189,7 +188,7 @@ struct CodexServiceStatusTests {serviceStatusMonitor: monitor,defaults: preferences.defaults)- model.refresh(trigger: trigger)+ model.refresh(trigger: .manual)try await wait { await probe.calls == 1 }#expect(model.isRefreshing)#expect(model.autoRefreshCountdownStartedAt == nil)@@ -203,7 +202,7 @@ struct CodexServiceStatusTests {var states: [CodexServiceStatusMonitor.State] = []let observation = monitor.$state.sink { states.append($0) }defer { observation.cancel() }- model.refresh(trigger: trigger)+ model.refresh(trigger: .manual)try await wait { !model.isRefreshing }let outage = CodexServiceStatus(level: .fullOutage, componentNames: ["CLI"])#expect(states == [.available(.operational), .checking, .available(outage)])diff --git a/Tests/App/History/AggregationPolicyTests.swift b/Tests/App/History/AggregationPolicyTests.swiftindex 1ae86ca..1576f9c 100644--- a/Tests/App/History/AggregationPolicyTests.swift+++ b/Tests/App/History/AggregationPolicyTests.swift@@ -20,6 +20,16 @@ struct AggregationPolicyTests {#expect(object["observedAt"] != nil)}+ @Test func unsupportedTokenUsageAlgorithmCannotEnterLocalSnapshots() throws {+ let first = TestFixtures.tokenUsageAggregate(at: Date())+ var unsupported = first+ unsupported.aggregationVersion = 999+ #expect(throws: StorageCompatibilityError.self) { try TokenUsageSyncRecord.dailyRecords(local: [first, unsupported], deviceID: "device") }+ #expect(throws: StorageCompatibilityError.self) {+ try JSONLines.decoder.decode(TokenUsageAggregate.self, from: JSONLines.stableEncoder.encode(unsupported))+ }+ }+@Test func algorithmCompatibilityAcceptsPastAndRejectsFuture() throws {try AggregationVersion.require(1, current: 2, name: "test")#expect(throws: StorageCompatibilityError.self) { try AggregationVersion.require(3, current: 2, name: "test") }diff --git a/Tests/App/History/AppServerEventStorageTests.swift b/Tests/App/History/AppServerEventStorageTests.swiftindex 159f73b..88cec32 100644--- a/Tests/App/History/AppServerEventStorageTests.swift+++ b/Tests/App/History/AppServerEventStorageTests.swift@@ -4,27 +4,10 @@ import Testingstruct AppServerEventStorageTests {private let now = TestFixtures.now- @Test func nativeMetadataRoundTripsWithoutChangingBusinessIdentity() throws {- var event = TestFixtures.event(.toolStarted, thread: "root", turn: "child-turn", agentThreadID: "child", origin: .auxiliary)- event.context = ActivityDataContext(- method: "item/started", threadID: "child", turnID: "child-turn", parentThreadID: "parent",- rootThreadID: "root", rootTurnID: "root-turn", itemID: "item", itemType: "commandExecution", itemStatus: "inProgress"- )- let record = AppServerEventRecord(activityData: event, recordedAt: now)- let decoded = try AppServerEventRecord.decode(from: record.jsonLineData())- #expect(decoded.activityData == event)- #expect(decoded.context?.threadID == "child")- #expect(decoded.activityData?.threadID == "root")- let text = try #require(String(bytes: record.jsonLineData(), encoding: .utf8))- #expect(text.contains("toolStarted"))- #expect(!text.contains("PreToolUse"))- #expect(!text.contains("commandLine"))- }-@Test func activityDataStorageSeparatesProtocolContextFromBusinessFields() throws {- var event = TestFixtures.event(.approvalRequested, agentThreadID: "child")+ var event = TestFixtures.event(.toolStarted, thread: "root", turn: "child-turn", agentThreadID: "child", origin: .auxiliary)event.context = ActivityDataContext(- method: "item/commandExecution/requestApproval", threadID: "child", turnID: "child-turn",+ method: "item/started", threadID: "child", turnID: "child-turn",parentThreadID: "parent", rootThreadID: "root", rootTurnID: "root-turn", itemID: "item",itemType: "commandExecution", itemStatus: "inProgress", agentThreadID: "child",itemKind: "started", requestID: "request", turnStatus: .running,@@ -48,7 +31,14 @@ struct AppServerEventStorageTests {"timestamp", "name", "origin", "cwd", "toolName", "model", "effort","threadID", "turnID", "agentThreadID"])- #expect(try AppServerEventRecord.decode(from: data).activityData == event)+ let decoded = try AppServerEventRecord.decode(from: data)+ #expect(decoded.activityData == event)+ #expect(decoded.context?.threadID == "child")+ #expect(decoded.activityData?.threadID == "root")+ let text = try #require(String(bytes: data, encoding: .utf8))+ #expect(text.contains("toolStarted"))+ #expect(!text.contains("PreToolUse"))+ #expect(!text.contains("commandLine"))}@Test func unsupportedVersionAndMixedPayloadAreRejected() throws {diff --git a/Tests/App/History/HistoryAggregationTests.swift b/Tests/App/History/HistoryAggregationTests.swiftindex 6c6577c..acceed8 100644--- a/Tests/App/History/HistoryAggregationTests.swift+++ b/Tests/App/History/HistoryAggregationTests.swift@@ -21,13 +21,16 @@ struct HistoryAggregationTests {#expect(completed.syncedAggregate.metrics.toolCallCount == expected)}- @Test func commandActionCountsMatchBetweenIncrementalAndFullAggregation() {- let firstEvents = [+ @Test(arguments: [false, true])+ func incrementalAggregationMatchesFullReplay(withCommandActions: Bool) {+ let firstEvents = withCommandActions ? [commandEvent(.toolStarted, actions: ["search", "read", "read"]),commandEvent(.toolCompleted, actions: ["search", "read", "read"]),TestFixtures.event(.toolStarted)- ]- let laterEvents = [TestFixtures.event(.toolCompleted)]+ ] : [TestFixtures.event(), TestFixtures.event(.toolCompleted)]+ let laterEvents = withCommandActions+ ? [TestFixtures.event(.toolCompleted)]+ : [TestFixtures.event(.toolStarted), TestFixtures.event(turn: "turn-b")]var full = makeAccumulator()(firstEvents + laterEvents).forEach { full.record($0) }var initial = makeAccumulator()@@ -35,10 +38,11 @@ struct HistoryAggregationTests {var incremental = ActivityDataAccumulator(appending: initial.finalized(identifierStorage: .retained))laterEvents.forEach { incremental.record($0) }let aggregate = full.finalized(identifierStorage: .retained)- #expect(aggregate.metrics.toolCallCount == 4)+ #expect(aggregate.metrics.toolCallCount == (withCommandActions ? 4 : 1))#expect(aggregate.eventCount == 4)+ #expect(aggregate.turnIDs == (withCommandActions ? ["turn-a"] : ["turn-a", "turn-b"]))#expect(incremental.finalized(identifierStorage: .retained) == aggregate)- #expect(full.finalized(identifierStorage: .compacted).metrics.toolCallCount == 4)+ #expect(full.finalized(identifierStorage: .compacted).metrics.toolCallCount == (withCommandActions ? 4 : 1))}@Test func aggregateJSONLinesPreserveSlashesAndStableBytes() throws {@@ -157,18 +161,6 @@ struct HistoryAggregationTests {#expect(!compacted.supportsIncrementalAggregation)}- @Test func incrementalAggregationMatchesFullReplay() {- let firstEvents = [TestFixtures.event(), TestFixtures.event(.toolCompleted)]- let laterEvents = [TestFixtures.event(.toolStarted), TestFixtures.event(turn: "turn-b")]- var full = makeAccumulator()- (firstEvents + laterEvents).forEach { full.record($0) }- var initial = makeAccumulator()- firstEvents.forEach { initial.record($0) }- var incremental = ActivityDataAccumulator(appending: initial.finalized(identifierStorage: .retained))- laterEvents.forEach { incremental.record($0) }- #expect(incremental.finalized(identifierStorage: .retained) == full.finalized(identifierStorage: .retained))- }-@Test func historicalAggregationIncludesAutoReviewEvents() {var accumulator = makeAccumulator()accumulator.record(TestFixtures.event(origin: .autoReview))diff --git a/Tests/App/History/StorageEvolutionTests.swift b/Tests/App/History/StorageEvolutionTests.swiftdeleted file mode 100644index 3b720df..0000000--- a/Tests/App/History/StorageEvolutionTests.swift+++ /dev/null@@ -1,26 +0,0 @@-import Foundation-import Testing--struct StorageEvolutionTests {- @Test func unsupportedTokenUsageAlgorithmCannotEnterLocalSnapshots() throws {- let first = TestFixtures.tokenUsageAggregate(at: Date())- var unsupported = first- unsupported.aggregationVersion = 999- #expect(throws: StorageCompatibilityError.self) { try TokenUsageSyncRecord.dailyRecords(local: [first, unsupported], deviceID: "device") }- #expect(throws: StorageCompatibilityError.self) {- try JSONLines.decoder.decode(TokenUsageAggregate.self, from: JSONLines.stableEncoder.encode(unsupported))- }- }-- @Test func protocolBoundaryNormalizesStatusAndTimeUnits() throws {- let input = try TestFixtures.decode(ActivityInput.self, """- {"method":"turn/completed","params":{"threadId":"thread","turn":{"id":"turn","status":"completed","startedAt":1000,"completedAt":1002,"durationMs":1500}}}- """)- #expect(input.kind == .turnFinished)- #expect(input.params.turn?.status == .completed)- #expect(input.params.turn?.startedAt == Date(timeIntervalSince1970: 1000))- #expect(input.params.turn?.duration == 1.5)- let unknown = try TestFixtures.decode(ActivityInput.self, "{\"method\":\"future/event\",\"params\":{}}")- #expect(unknown.kind == .ignored)- }-}diff --git a/Tests/App/Presentation/DateAndPresentationTests.swift b/Tests/App/Presentation/DateAndPresentationTests.swiftindex 77da161..bcdd31a 100644--- a/Tests/App/Presentation/DateAndPresentationTests.swift+++ b/Tests/App/Presentation/DateAndPresentationTests.swift@@ -2,6 +2,28 @@ import Foundationimport Testingstruct DateAndPresentationTests {+ @Test(arguments: [+ (1000, 1.0, "K"),+ (1049, 1.0, "K"),+ (1050, 1.1, "K"),+ (999949, 999.9, "K"),+ (999950, 1000.0, "K"),+ (1000000, 1.0, "M"),+ (554400000, 554.4, "M"),+ (999950000, 1000.0, "M"),+ (1000000000, 1.0, "B"),+ (1100000000, 1.1, "B")+ ])+ func tokenCountsPreserveUnitThresholdsAndJoinLocalizedNumbers(tokens: Int, number: Double, unit: String) {+ let expectedNumber = number.formatted(.number.precision(.fractionLength(0 ... 1)).locale(.autoupdatingCurrent))+ #expect(TokenCountFormatter.text(from: tokens) == expectedNumber + unit)+ }++ @Test(arguments: [Int.min, -1000, -1, 0, 999])+ func tokenCountsBelowAbbreviationThresholdStayPlainIntegers(tokens: Int) {+ #expect(TokenCountFormatter.text(from: tokens) == String(tokens))+ }+@Test(arguments: [(-1.0, "0 秒"),(0.0, "0 秒"),@@ -60,9 +82,9 @@ struct DateAndPresentationTests {#expect(unavailable.allSatisfy { $0.tokenState == .unavailable })}- @Test func heatmapSelectionReadsLatestDayDataAndKeepsItsPosition() {+ @Test func heatmapSelectionReadsLatestDayDataByDate() {let date = "2026-09-15"- let selection = UsageHeatmapSelection(dateID: date, column: 8, row: 2)+ let selection = UsageHeatmapSelection(dateID: date)let initial = UsageHeatmapDay(startDate: date, tokenState: .pending, activityData: .empty(startDate: date))let updated = UsageHeatmapDay(startDate: date, tokenState: .available(120), activityData: .unavailable(startDate: date), tokenUsage: .zero@@ -70,7 +92,6 @@ struct DateAndPresentationTests {let unrelated = UsageHeatmapDay(startDate: "2026-09-14", tokenState: .available(5), activityData: .empty(startDate: "2026-09-14"))#expect(selection.day(in: [initial, unrelated]) == initial)#expect(selection.day(in: [nil, unrelated, updated]) == updated)- #expect(selection.column == 8 && selection.row == 2)#expect(selection.day(in: [nil, unrelated]) == nil)#expect(selection.day(in: []) == nil)}diff --git a/Tests/App/Presentation/UsageHeatmapTests.swift b/Tests/App/Presentation/UsageHeatmapTests.swiftindex 6cadebf..c0fb170 100644--- a/Tests/App/Presentation/UsageHeatmapTests.swift+++ b/Tests/App/Presentation/UsageHeatmapTests.swift@@ -2,6 +2,69 @@ import Foundationimport Testingstruct UsageHeatmapTests {+ @Test(arguments: [UsageHeatmapMode.daily, .weekly])+ func pointerReconciliationKeepsSelectionAndFollowsAnotherCell(mode: UsageHeatmapMode) throws {+ let today = try #require(CodexDateFormat.dayDate(from: "2026-10-24"))+ let days = UsageHeatmapDay.grid(usage: nil, history: .empty, columnCount: 30, today: today)+ let original = try #require(UsageHeatmapSelection.at(column: 28, row: 3, in: days, mode: mode))+ let position = try #require(UsageHeatmap.Metrics.gridPosition(at: CGPoint(x: 426, y: 51)))+ #expect(UsageHeatmapSelection.at(column: position.column, row: position.row, in: days, mode: mode) == original)++ let next = try #require(UsageHeatmap.Metrics.gridPosition(at: CGPoint(x: 441, y: 96)))+ let updated = try #require(UsageHeatmapSelection.at(column: next.column, row: next.row, in: days, mode: mode))+ #expect(updated != original)+ #expect(updated.highlights(column: 29, row: 6, in: days, mode: mode))+ }++ @Test func pointerReconciliationRejectsOutsideAndInvalidCoordinates() {+ for point in [+ CGPoint(x: -1.5, y: 6), CGPoint(x: 6, y: -1.5),+ CGPoint(x: 448.5, y: 6), CGPoint(x: 6, y: 103.5)+ ] {+ #expect(UsageHeatmap.Metrics.gridPosition(at: point) == nil)+ }+ for coordinate in [CGFloat.nan, .infinity, -.infinity, .greatestFiniteMagnitude, -.greatestFiniteMagnitude] {+ #expect(UsageHeatmap.Metrics.gridPosition(at: CGPoint(x: coordinate, y: 6)) == nil)+ #expect(UsageHeatmap.Metrics.gridPosition(at: CGPoint(x: 6, y: coordinate)) == nil)+ }+ }++ @Test func pointerReconciliationPreservesEdgesAndMidpointSnapping() {+ for (point, column, row) in [+ (CGPoint(x: 0, y: 0), 0, 0),+ (CGPoint(x: 446, y: 101), 29, 6),+ (CGPoint(x: -1.499, y: -1.499), 0, 0),+ (CGPoint(x: 448.499, y: 103.499), 29, 6),+ (CGPoint(x: 13.499, y: 13.499), 0, 0),+ (CGPoint(x: 13.5, y: 13.5), 1, 1),+ (CGPoint(x: 433.499, y: 88.499), 28, 5),+ (CGPoint(x: 433.5, y: 88.5), 29, 6)+ ] {+ let position = UsageHeatmap.Metrics.gridPosition(at: point)+ #expect(position?.column == column && position?.row == row)+ }+ }++ @Test(arguments: [UsageHeatmapMode.daily, .weekly])+ func stationaryPointerSelectsNewDateAfterWeekChanges(mode: UsageHeatmapMode) throws {+ let before = try #require(CodexDateFormat.dayDate(from: "2026-10-24"))+ let after = try #require(CodexDateFormat.dayDate(from: "2026-10-25"))+ let oldDays = UsageHeatmapDay.grid(usage: nil, history: .empty, columnCount: 30, today: before)+ let newDays = UsageHeatmapDay.grid(usage: nil, history: .empty, columnCount: 30, today: after)+ let position = try #require(UsageHeatmap.Metrics.gridPosition(at: CGPoint(x: 426, y: 51)))+ let original = try #require(UsageHeatmapSelection.at(column: position.column, row: position.row, in: oldDays, mode: mode))+ let updated = try #require(UsageHeatmapSelection.at(column: position.column, row: position.row, in: newDays, mode: mode))++ #expect(original.dateID == (mode == .daily ? "2026-10-14" : "2026-10-11"))+ #expect(updated.dateID == (mode == .daily ? "2026-10-21" : "2026-10-18"))+ #expect(original.currentColumn(in: newDays) == position.column - 1)+ #expect(!original.highlights(column: position.column, row: position.row, in: newDays, mode: mode))+ #expect(updated.highlights(column: position.column, row: position.row, in: newDays, mode: mode))+ let period = try #require(updated.period(in: newDays, weeks: UsageHeatmapPeriod.weeks(in: newDays), mode: mode))+ #expect(period.startDate == updated.dateID)+ #expect(period.endDate == (mode == .daily ? "2026-10-21" : "2026-10-24"))+ }+@Test(arguments: ["2026-10-18", "2026-10-20", "2026-10-24"])func currentWeekAlwaysHasSevenSelectableRowsWhileDailyFutureStaysEmpty(todayKey: String) throws {let today = try #require(CodexDateFormat.dayDate(from: todayKey))@@ -13,7 +76,6 @@ struct UsageHeatmapTests {for row in 0 ..< CodexWeekGrid.rowCount {let selection = try #require(UsageHeatmapSelection.at(column: 1, row: row, in: days, mode: .weekly))#expect(selection.dateID == week.startDate)- #expect(selection.row == 0)#expect(selection.period(in: days, weeks: weeks, mode: .weekly) == week)#expect(selection.highlights(column: 1, row: row, in: days, mode: .weekly))#expect(!selection.highlights(column: 0, row: row, in: days, mode: .weekly))@@ -143,6 +205,7 @@ struct UsageHeatmapTests {let currentColumn = try #require(selection.currentColumn(in: days))#expect(currentColumn == originalColumn - 1)+ #expect(UsageHeatmapSelection.at(column: currentColumn, row: selectedRow, in: days, mode: mode) == selection)#expect(UsageHeatmap.Metrics.preferredDetailSide(for: currentColumn) == .left)#expect(selection.period(in: days, weeks: UsageHeatmapPeriod.weeks(in: days), mode: mode) == initialPeriod)for row in 0 ..< CodexWeekGrid.rowCount {diff --git a/Tests/App/Settings/AppearanceSettingsTests.swift b/Tests/App/Settings/AppearanceSettingsTests.swiftnew file mode 100644index 0000000..9506f58--- /dev/null+++ b/Tests/App/Settings/AppearanceSettingsTests.swift@@ -0,0 +1,51 @@+import AppKit+import Combine+import Testing++struct AppearanceSettingsTests {+ @Test func missingOrInvalidPreferenceFollowsSystem() throws {+ let preferences = try TestPreferences()+ defer { preferences.remove() }+ #expect(AppearanceSettings(defaults: preferences.defaults).theme == .system)++ preferences.defaults.set("unknown", forKey: "Appearance.theme")+ #expect(AppearanceSettings(defaults: preferences.defaults).theme == .system)+ preferences.defaults.set(7, forKey: "Appearance.theme")+ #expect(AppearanceSettings(defaults: preferences.defaults).theme == .system)+ }++ @Test func selectionPersistsAndPublishesOnlyChanges() throws {+ let preferences = try TestPreferences()+ defer { preferences.remove() }+ let settings = AppearanceSettings(defaults: preferences.defaults)+ var published = [AppearanceSettings.Theme]()+ let observer = settings.$theme.sink { published.append($0) }+ defer { observer.cancel() }++ for theme in [AppearanceSettings.Theme.dark, .light, .system] {+ settings.setTheme(theme)+ settings.setTheme(theme)+ #expect(AppearanceSettings(defaults: preferences.defaults).theme == theme)+ }+ #expect(published == [.system, .dark, .light, .system])+ }++ @Test func refreshReloadsPreferenceAndRestoresSystemWhenRemoved() throws {+ let preferences = try TestPreferences()+ defer { preferences.remove() }+ let settings = AppearanceSettings(defaults: preferences.defaults)+ preferences.defaults.set("dark", forKey: "Appearance.theme")+ settings.refresh()+ #expect(settings.theme == .dark)++ preferences.defaults.removeObject(forKey: "Appearance.theme")+ settings.refresh()+ #expect(settings.theme == .system)+ }++ @Test func appearanceMatchesSelectionAndSystemRemovesOverride() {+ #expect(AppearanceSettings.Theme.system.appearance == nil)+ #expect(AppearanceSettings.Theme.light.appearance?.name == .aqua)+ #expect(AppearanceSettings.Theme.dark.appearance?.name == .darkAqua)+ }+}diff --git a/Tests/App/Support/ActivityUpdateFixtures.swift b/Tests/App/Support/ActivityUpdateFixtures.swiftindex 8b1eacd..18ecfe0 100644--- a/Tests/App/Support/ActivityUpdateFixtures.swift+++ b/Tests/App/Support/ActivityUpdateFixtures.swift@@ -92,15 +92,6 @@ extension ActivityMonitor {acceptFixtureGraph(next, phase: batch.phase, transitions: transitions)}- func apply(_ event: ActivityDataRecord, source: ActivityEventSource, into transitions: inout [ActivityTransition]) -> ActivityTaskKey? {- var next = graph- var changes: [ActivityTransition] = []- let waiting = next.apply(event, source: source, into: &changes)- acceptFixtureGraph(next)- transitions += changes.filter { isCurrentTransition($0) }- return waiting- }-func resolveTerminal(_ terminal: TurnTerminalState,task: ActivityTask,@@ -121,10 +112,4 @@ extension ActivityMonitor {next.applySubagentLifecycle(state)acceptFixtureGraph(next)}-- func publishWaitingApprovalTransitions(_ keys: [ActivityTaskKey]) {- for transition in graph.waitingApprovalTransitions(keys) where isCurrentTransition(transition) {- transitionSubject.send(transition)- }- }}diff --git a/Tests/App/Sync/SyncRecoveryTests.swift b/Tests/App/Sync/SyncRecoveryTests.swiftindex 67cdf50..0d6ecd5 100644--- a/Tests/App/Sync/SyncRecoveryTests.swift+++ b/Tests/App/Sync/SyncRecoveryTests.swift@@ -1034,40 +1034,35 @@ extension SyncRecoveryTests {#expect(try await service.snapshot(local: [daily], accountScopedDeviceID: "device")[daily.date] == .zero)}- @Test func otherDeviceDailyUsageIsNeverReuploadedAsLocalContribution() async throws {+ @Test(arguments: [100, 900] as [Int64])+ func deviceDailyContributionsStayIsolatedAndStableAcrossRestart(otherCount: Int64) async throws {let directory = try TestDirectory()defer { try? directory.remove() }let database = SyncDatabaseFixture()var local = Self.turn(0)local.tokenUsage = Self.counts(100)let date = local.date- let other = TokenUsageSyncRecord(deviceID: "other", date: date, tokenUsage: Self.counts(900))+ let other = TokenUsageSyncRecord(deviceID: "other", date: date, tokenUsage: Self.counts(otherCount))let otherRecord = try Self.tokenUsageRecord(other)await database.storeRecord(otherRecord)let service = TokenUsageSync(database: database, directoryURL: directory.url, isEnabled: { true })try await service.synchronize(local: [local], accountScopedDeviceID: "device", zoneID: Self.zone)- #expect(try await service.snapshot(local: [local], accountScopedDeviceID: "device")[date] == Self.counts(1000))+ #expect(try await service.snapshot(local: [local], accountScopedDeviceID: "device")[date] == Self.counts(100 + otherCount))let localID = TokenUsageSync.recordID("tokenUsage_device_\(date)", zoneID: Self.zone)let saved = try #require(try await database.records(for: [localID], desiredKeys: nil)[localID]?.get())#expect(try TokenUsageSync.dailyRecord(from: saved)?.tokenUsage == Self.counts(100))+ let cacheURL = directory.url.appendingPathComponent("Sync/tokenUsage.json")+ let cache = try JSONLines.decoder.decode(TokenUsageSyncCache.self, from: Data(contentsOf: cacheURL))+ let before = try #require(cache.records[localID.recordName])+ #expect(before.updatedAt != nil)let restarted = TokenUsageSync(database: database, directoryURL: directory.url, isEnabled: { true })+ #expect(await restarted.hasPendingUpdates(local: [local], accountScopedDeviceID: "device") == false)try await restarted.synchronize(local: [local], accountScopedDeviceID: "device", zoneID: Self.zone)+ let after = try JSONLines.decoder.decode(TokenUsageSyncCache.self, from: Data(contentsOf: cacheURL))+ #expect(after.records[before.id] == before)#expect(await database.savedTypes == ["TokenUsage"])#expect(try await restarted.snapshot(local: [local], accountScopedDeviceID: "new-account")[date] == Self.counts(100))- #expect(try await restarted.snapshot(local: [], accountScopedDeviceID: "device")[date] == Self.counts(1000))- }-- @Test func deviceDailyContributionsAreAddedWithoutComparingTurnIdentities() async throws {- let directory = try TestDirectory()- defer { try? directory.remove() }- let database = SyncDatabaseFixture()- var local = Self.turn(0)- local.tokenUsage = Self.counts(100)- let other = try #require(TokenUsageSyncRecord.dailyRecords(local: [local], deviceID: "other").first)- try await database.storeRecord(Self.tokenUsageRecord(other))- let sync = TokenUsageSync(database: database, directoryURL: directory.url, isEnabled: { true })- try await sync.synchronize(local: [local], accountScopedDeviceID: "device", zoneID: Self.zone)- #expect(try await sync.snapshot(local: [local], accountScopedDeviceID: "device")[other.date] == Self.counts(200))+ #expect(try await restarted.snapshot(local: [], accountScopedDeviceID: "device")[date] == Self.counts(100 + otherCount))}@Test func rebuiltLocalObservationsReplaceCloudDailyTotalsWithoutCloudTurnState() async throws {@@ -1177,23 +1172,4 @@ extension SyncRecoveryTests {}#expect(deviceIDs[0] == deviceIDs[1])}-- @Test func tokenUsageCloudTimestampSurvivesCacheRestartWithoutReupload() async throws {- let directory = try TestDirectory()- defer { try? directory.remove() }- let database = SyncDatabaseFixture()- let local = Self.turn(0)- let service = TokenUsageSync(database: database, directoryURL: directory.url, isEnabled: { true })- try await service.synchronize(local: [local], accountScopedDeviceID: "device", zoneID: Self.zone)- let url = directory.url.appendingPathComponent("Sync/tokenUsage.json")- let first = try JSONLines.decoder.decode(TokenUsageSyncCache.self, from: Data(contentsOf: url))- let before = try #require(first.sortedRecords.first)- #expect(before.updatedAt != nil)- let restarted = TokenUsageSync(database: database, directoryURL: directory.url, isEnabled: { true })- #expect(await restarted.hasPendingUpdates(local: [local], accountScopedDeviceID: "device") == false)- try await restarted.synchronize(local: [local], accountScopedDeviceID: "device", zoneID: Self.zone)- let after = try JSONLines.decoder.decode(TokenUsageSyncCache.self, from: Data(contentsOf: url))- #expect(after.records[before.id] == before)- #expect(await database.savedTypes == ["TokenUsage"])- }}diff --git a/appcast.xml b/appcast.xmlindex 3256f8c..2dcb5bb 100644--- a/appcast.xml+++ b/appcast.xml@@ -5,6 +5,20 @@<link>https://codexbar.zabrian.app/appcast.xml</link><description>CodexBar appcast feed</description><language>zh-CN</language>+ <item>+ <title>CodexBar.app 5.0.6</title>+ <sparkle:version>206</sparkle:version>+ <sparkle:shortVersionString>5.0.6</sparkle:shortVersionString>+ <sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>+ <sparkle:minimumAutoupdateVersion>200</sparkle:minimumAutoupdateVersion>+ <sparkle:informationalUpdate><sparkle:belowVersion>200</sparkle:belowVersion></sparkle:informationalUpdate>+ <link xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.0-Guide</link>+ <link xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.0-Guide</link>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.6</sparkle:releaseNotesLink>+ <pubDate>Sun, 25 Oct 2026 16:58:02 +0800</pubDate>+ <enclosure url="https://codexbar.zabrian.app/download/CodexBar-v5.0.6.dmg" sparkle:edSignature="s5hWX505ynnRl/IcEC4HSP2x89gZvEjQLgv80KHxe64WZE0pzdGVj7e0LWdg2vIxButdH1TqdKLRCGEDtkSCBA==" length="10262528" type="application/octet-stream"/>+ </item><item><title>CodexBar.app 5.0.5</title><sparkle:version>205</sparkle:version>@@ -12,9 +26,9 @@<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion><sparkle:minimumAutoupdateVersion>200</sparkle:minimumAutoupdateVersion><sparkle:informationalUpdate><sparkle:belowVersion>200</sparkle:belowVersion></sparkle:informationalUpdate>- <link xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.0-Guide</link>+ <link xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.0-Guide</link><link xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.0-Guide</link>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.5</sparkle:releaseNotesLink><pubDate>Sat, 24 Oct 2026 18:18:44 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v5.0.5.dmg" sparkle:edSignature="KQR+EQxiHLwGAiiKHTvk5zAQ/KCHsho3YJgYBjOXSQYXI0tGNAUWRkXILq7U38zb9NMEYV3qHdkfTPJjlJ+YCA==" length="10197504" type="application/octet-stream"/>@@ -26,9 +40,9 @@<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion><sparkle:minimumAutoupdateVersion>200</sparkle:minimumAutoupdateVersion><sparkle:informationalUpdate><sparkle:belowVersion>200</sparkle:belowVersion></sparkle:informationalUpdate>- <link xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.0-Guide</link>+ <link xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.0-Guide</link><link xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.0-Guide</link>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.4</sparkle:releaseNotesLink><pubDate>Fri, 23 Oct 2026 16:03:28 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v5.0.4.dmg" sparkle:edSignature="gv/hhtrCqrEnVW2bVIk2gxnoVrVcFQHGj+XjMf3FQedYvGoUjnt4um8h2gbpHbOb0tbraU94dT7VRe1S8YU8AA==" length="10167296" type="application/octet-stream"/>@@ -40,9 +54,9 @@<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion><sparkle:minimumAutoupdateVersion>200</sparkle:minimumAutoupdateVersion><sparkle:informationalUpdate><sparkle:belowVersion>200</sparkle:belowVersion></sparkle:informationalUpdate>- <link xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.0-Guide</link>+ <link xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.0-Guide</link><link xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.0-Guide</link>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.3</sparkle:releaseNotesLink><pubDate>Thu, 22 Oct 2026 10:03:58 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v5.0.3.dmg" sparkle:edSignature="BAZqS3TEuLIRnmbE2KzZn6KEgj6m0R1tOLHN0ThAOp18Yuosek2jRY4nM+620ZBnCUyZZ7l+dy25c0C/VsfYCA==" length="10174464" type="application/octet-stream"/>@@ -54,9 +68,9 @@<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion><sparkle:minimumAutoupdateVersion>200</sparkle:minimumAutoupdateVersion><sparkle:informationalUpdate><sparkle:belowVersion>200</sparkle:belowVersion></sparkle:informationalUpdate>- <link xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.0-Guide</link>+ <link xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.0-Guide</link><link xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.0-Guide</link>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.2</sparkle:releaseNotesLink><pubDate>Wed, 21 Oct 2026 18:45:06 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v5.0.2.dmg" sparkle:edSignature="4IiYcFroFPXC8q10rfPn+ueSaZ0+g1dt1VVfU+NxqZyGJ8v4y/czcAuYFPj0texO6WPJMlCPKeZgsYAUXZz9Ag==" length="10167296" type="application/octet-stream"/>@@ -68,9 +82,9 @@<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion><sparkle:minimumAutoupdateVersion>200</sparkle:minimumAutoupdateVersion><sparkle:informationalUpdate><sparkle:belowVersion>200</sparkle:belowVersion></sparkle:informationalUpdate>- <link xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.0-Guide</link>+ <link xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.0-Guide</link><link xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.0-Guide</link>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.1</sparkle:releaseNotesLink><pubDate>Tue, 20 Oct 2026 12:53:28 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v5.0.1.dmg" sparkle:edSignature="yaEo8eL/wEbTlTDzR5qYKmyh2i6SmOBGgrWw3hYfkDhAm0e0bROxengeaOU877k1e4lCJnyl6GG9p8PJkA8HCw==" length="10164736" type="application/octet-stream"/>@@ -82,9 +96,9 @@<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion><sparkle:minimumAutoupdateVersion>200</sparkle:minimumAutoupdateVersion><sparkle:informationalUpdate><sparkle:belowVersion>200</sparkle:belowVersion></sparkle:informationalUpdate>- <link xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.0-Guide</link>+ <link xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.0-Guide</link><link xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.0-Guide</link>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#5.0.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#5.0.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#5.0.0</sparkle:releaseNotesLink><pubDate>Mon, 19 Oct 2026 14:20:18 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v5.0.0.dmg" sparkle:edSignature="mNAWKIUQnsujXnLQlEtK/tGCkd/h774/uVJBtJS8tShImizRiJPCAlm383HoIzHEzrt0jByKb1L1Zje/2UzHAA==" length="10155520" type="application/octet-stream"/>@@ -94,7 +108,7 @@<sparkle:version>112</sparkle:version><sparkle:shortVersionString>4.1.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.1.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.1.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.1.2</sparkle:releaseNotesLink><pubDate>Fri, 16 Oct 2026 16:05:02 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.1.2.dmg" sparkle:edSignature="i+J/1R5++3mp/1jAmgF26yEhkSvpIfejR300yjc+QJMmn5OF95GvZSDXVQzrYcML83mbC90+UDHWZqSadnQoDQ==" length="8936448" type="application/octet-stream"/>@@ -104,7 +118,7 @@<sparkle:version>111</sparkle:version><sparkle:shortVersionString>4.1.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.1.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.1.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.1.1</sparkle:releaseNotesLink><pubDate>Fri, 02 Oct 2026 10:13:14 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.1.1.dmg" sparkle:edSignature="wpehOsAWbi0uDAGMSTqtSQAHjvp5BDuKF1NBrhnvWsUqyZWVQm1RItIVmoIgJOSx6Zre3+rZW1jFtE8VBgiUBA==" length="8765952" type="application/octet-stream"/>@@ -114,7 +128,7 @@<sparkle:version>110</sparkle:version><sparkle:shortVersionString>4.1.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.1.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.1.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.1.0</sparkle:releaseNotesLink><pubDate>Wed, 30 Sep 2026 14:16:33 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.1.0.dmg" sparkle:edSignature="o3P7LNUsv/rawY0upp4R2QXLZLN1rKWYM1w6zkIgAf/+jPZ937K0wEKWdPqztZekinzfUXgnCmvFILGKDxEOBw==" length="8689152" type="application/octet-stream"/>@@ -124,7 +138,7 @@<sparkle:version>109</sparkle:version><sparkle:shortVersionString>4.0.9</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.9</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.9</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.9</sparkle:releaseNotesLink><pubDate>Tue, 29 Sep 2026 10:19:18 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.9.dmg" sparkle:edSignature="oODBR1X6049kYbHveUV6YzY6eY6TskDhVpk2Oul/m0k4BNbbct8Ox758Oy47Wk8hpXq2AGVBKgYpOb3vCPzWBQ==" length="8687104" type="application/octet-stream"/>@@ -134,7 +148,7 @@<sparkle:version>108</sparkle:version><sparkle:shortVersionString>4.0.8</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.8</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.8</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.8</sparkle:releaseNotesLink><pubDate>Mon, 28 Sep 2026 14:11:47 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.8.dmg" sparkle:edSignature="xClBFa4SP6rZDtLwHIHc4XjF0eUuw38sxeeJEWVa7oZPjEBhyGE9fh3obPTx8V+c7Balp79Kj/XLIuWCDAaXCw==" length="8418816" type="application/octet-stream"/>@@ -144,7 +158,7 @@<sparkle:version>107</sparkle:version><sparkle:shortVersionString>4.0.7</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.7</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.7</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.7</sparkle:releaseNotesLink><pubDate>Sun, 27 Sep 2026 09:21:21 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.7.dmg" sparkle:edSignature="my1b6buFf1H9oCLCHiZmQ9pCycQyt5Te3IQ8rTzk/hh/yeVkdcqOCzRC+aIFbqZke7yybmDogEBDSqYkJ6xpBg==" length="8395264" type="application/octet-stream"/>@@ -154,7 +168,7 @@<sparkle:version>106</sparkle:version><sparkle:shortVersionString>4.0.6</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.6</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.6</sparkle:releaseNotesLink><pubDate>Sat, 26 Sep 2026 12:28:32 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.6.dmg" sparkle:edSignature="1MY2NtnI1PC+p6MIB8ulR8bwBQt/1hQrnOtqfKATjn0wOpgtxKLB5VMpoLvslK9R45gv8Z1pWB5QQofrI/kECw==" length="8389120" type="application/octet-stream"/>@@ -164,7 +178,7 @@<sparkle:version>105</sparkle:version><sparkle:shortVersionString>4.0.5</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.5</sparkle:releaseNotesLink><pubDate>Tue, 22 Sep 2026 18:30:39 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.5.dmg" sparkle:edSignature="1LP+QiJ6Ay/biCUfS+xzl2UTibj4Z4juM2RxCbuyAeQEYnCXiztHZp0QcemkPilUsxa+jcOymgvIZGMrmUNABw==" length="8369664" type="application/octet-stream"/>@@ -174,7 +188,7 @@<sparkle:version>104</sparkle:version><sparkle:shortVersionString>4.0.4</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.4</sparkle:releaseNotesLink><pubDate>Fri, 18 Sep 2026 18:00:21 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.4.dmg" sparkle:edSignature="XzeqZMC+9wS/21VT1VA5d4z6lKiFRDpv1HL6Hb/vfSDidRv81/wTgYp+xHgm0/hu16bYRs6DgRpJiJcn/4vRAw==" length="8299008" type="application/octet-stream"/>@@ -184,7 +198,7 @@<sparkle:version>103</sparkle:version><sparkle:shortVersionString>4.0.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.3</sparkle:releaseNotesLink><pubDate>Thu, 17 Sep 2026 12:49:39 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.3.dmg" sparkle:edSignature="sCcPcMguzYYIXTCjZS3rxE+cs13r89VUchTBu+swabtov6DCaCCVsGCc0XWssu+EaOYrVriT4sHjx4qYgh6hDQ==" length="8303616" type="application/octet-stream"/>@@ -194,7 +208,7 @@<sparkle:version>102</sparkle:version><sparkle:shortVersionString>4.0.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.2</sparkle:releaseNotesLink><pubDate>Tue, 15 Sep 2026 18:52:56 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.2.dmg" sparkle:edSignature="BwapF7NqkWMYh/nv09uUGLQYnrAJhzFhI8Qx7K9M7wQ5FKoQKspQnocupu4DDeoO9WZZbUwso6xwry8nvonOAA==" length="8160296" type="application/octet-stream"/>@@ -204,7 +218,7 @@<sparkle:version>101</sparkle:version><sparkle:shortVersionString>4.0.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.1</sparkle:releaseNotesLink><pubDate>Mon, 14 Sep 2026 20:17:36 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.1.dmg" sparkle:edSignature="78Yh/oljrOfxMdN3XpMuAog0JJLXldQ0K0Oh/Li5AMgJlMTmRSNswGakcMMP/Fn4xxi/W73oHcXXnfarOu8MAg==" length="8091527" type="application/octet-stream"/>@@ -214,7 +228,7 @@<sparkle:version>100</sparkle:version><sparkle:shortVersionString>4.0.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#4.0.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#4.0.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#4.0.0</sparkle:releaseNotesLink><pubDate>Mon, 14 Sep 2026 12:00:04 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v4.0.0.dmg" sparkle:edSignature="xokwKgzxP89UUEoIUopS+Xz6ENBQXcCYTyFwghnnYMGhAMXCCiYFCbIBwTGvf6hCFJ2SB5xe32kTNlKRJOzCBQ==" length="8031904" type="application/octet-stream"/>@@ -224,7 +238,7 @@<sparkle:version>90</sparkle:version><sparkle:shortVersionString>3.7.6</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.7.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.7.6</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.7.6</sparkle:releaseNotesLink><pubDate>Fri, 11 Sep 2026 21:52:37 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.7.6.dmg" sparkle:edSignature="99l57STdve1rEOvHIoIugvZrlVRGg8ST+nu3DVhu21m3abCR8cn0SnX3ZsA2dx+1lhzODnNO0cJNQ7fU6AZVDQ==" length="7947841" type="application/octet-stream"/>@@ -234,7 +248,7 @@<sparkle:version>89</sparkle:version><sparkle:shortVersionString>3.7.5</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.7.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.7.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.7.5</sparkle:releaseNotesLink><pubDate>Fri, 11 Sep 2026 17:22:09 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.7.5.dmg" sparkle:edSignature="porWGsr98IczjP6WR8JN4a5MViD4hZjHpV3YpjcAPNFizSdTfMbXlkJDYIVwTW7RD4cL2EWOIWIYa0G7CaZyDg==" length="7947703" type="application/octet-stream"/>@@ -244,7 +258,7 @@<sparkle:version>88</sparkle:version><sparkle:shortVersionString>3.7.4</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.7.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.7.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.7.4</sparkle:releaseNotesLink><pubDate>Fri, 11 Sep 2026 13:39:13 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.7.4.dmg" sparkle:edSignature="SrAqH6oyCF8tQJcUh6yPStv0FxgwWqynGg/CID6/KwutPCius0vK/OZzLkyrmRviv6X3KyRC7MBptdsXwOTuCg==" length="7938933" type="application/octet-stream"/>@@ -254,7 +268,7 @@<sparkle:version>87</sparkle:version><sparkle:shortVersionString>3.7.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.7.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.7.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.7.3</sparkle:releaseNotesLink><pubDate>Fri, 11 Sep 2026 10:54:05 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.7.3.dmg" sparkle:edSignature="flVY9wzxdXofkq6V49wbXltcNxvsNa5+6cuQLwntiu2xNZZE51sO6DcP+A6Q6ZthgeeRAG6hMbTzCAkPGKHpBw==" length="7927637" type="application/octet-stream"/>@@ -264,7 +278,7 @@<sparkle:version>86</sparkle:version><sparkle:shortVersionString>3.7.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.7.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.7.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.7.2</sparkle:releaseNotesLink><pubDate>Wed, 09 Sep 2026 22:18:59 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.7.2.dmg" sparkle:edSignature="EF3OF2kd1DSWAJzaWdMUCivhmbdqKblquHCKbH//06mM9brPJz53g6LLAbo4UaFC3nbZzmCIdKRkzEuhYD60CQ==" length="7902987" type="application/octet-stream"/>@@ -274,7 +288,7 @@<sparkle:version>85</sparkle:version><sparkle:shortVersionString>3.7.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.7.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.7.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.7.1</sparkle:releaseNotesLink><pubDate>Wed, 09 Sep 2026 16:59:49 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.7.1.dmg" sparkle:edSignature="S4gcEvTyLmV6esBoKLn+me18p+Oi+fm6oJhAKjRPgHcuUDCbRunMMo64aujo++M16iT3xIxzmyRRRgZD8xJhCw==" length="7900308" type="application/octet-stream"/>@@ -284,7 +298,7 @@<sparkle:version>84</sparkle:version><sparkle:shortVersionString>3.7.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.7.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.7.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.7.0</sparkle:releaseNotesLink><pubDate>Mon, 07 Sep 2026 23:05:04 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.7.0.dmg" sparkle:edSignature="7916h2Cdb90MLizxKzu+QDVoIg+r7vqiOXrJKzew0Af5oOI161b+MTwmpG1rxqskOXD8sgJq3XaXKZelHPlNBQ==" length="7892139" type="application/octet-stream"/>@@ -294,7 +308,7 @@<sparkle:version>83</sparkle:version><sparkle:shortVersionString>3.6.16</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.16</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.16</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.16</sparkle:releaseNotesLink><pubDate>Sat, 05 Sep 2026 16:42:13 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.16.dmg" sparkle:edSignature="n0bUA1ZSWByBAo23Jv7eHCRcg2vX/lNIfIpwy1AkJD7Y2GBDljHTYWaJdcp7U03d0cNTXEdP9QYHJdGxjyRIDw==" length="7722960" type="application/octet-stream"/>@@ -304,7 +318,7 @@<sparkle:version>82</sparkle:version><sparkle:shortVersionString>3.6.15</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.15</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.15</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.15</sparkle:releaseNotesLink><pubDate>Sat, 05 Sep 2026 10:30:10 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.15.dmg" sparkle:edSignature="WAZhZhbeqXm4o8EMnKB43rDi308owgPLJhGYs1yDmEBdNpfGay0kpvVqHqVmDhLaHL/6sup8vdksP18MB6z5BA==" length="7664898" type="application/octet-stream"/>@@ -314,7 +328,7 @@<sparkle:version>81</sparkle:version><sparkle:shortVersionString>3.6.14</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.14</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.14</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.14</sparkle:releaseNotesLink><pubDate>Fri, 04 Sep 2026 14:10:15 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.14.dmg" sparkle:edSignature="jIZoJhDg66tqVT8yu1cmgBJ0jjm2Pv813tyLrwAUYvtxZbXmG8wt035TtdM3Ef2gPocyXlYqxPdSDIa67Ym1Dw==" length="7640418" type="application/octet-stream"/>@@ -324,7 +338,7 @@<sparkle:version>80</sparkle:version><sparkle:shortVersionString>3.6.13</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.13</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.13</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.13</sparkle:releaseNotesLink><pubDate>Fri, 04 Sep 2026 12:32:29 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.13.dmg" sparkle:edSignature="mJtHp+TE/y1RSFiFVWvGjDVMe6VjWBKFGMQsIsCmpc2vBQtR9zeAPJBDeIMsabra5CxVKrpVcYosly3PAUKcAQ==" length="7636794" type="application/octet-stream"/>@@ -334,7 +348,7 @@<sparkle:version>79</sparkle:version><sparkle:shortVersionString>3.6.12</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.12</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.12</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.12</sparkle:releaseNotesLink><pubDate>Wed, 02 Sep 2026 19:30:41 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.12.dmg" sparkle:edSignature="rSbh8AMNrijzntjCPvjJepRRb1Cu7oRESYjBiQVQm5sbtw9GPxGV0nUnM6XFdG3rbm3lGKNOPt2XFczGfwj0Cw==" length="7624724" type="application/octet-stream"/>@@ -344,7 +358,7 @@<sparkle:version>78</sparkle:version><sparkle:shortVersionString>3.6.11</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.11</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.11</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.11</sparkle:releaseNotesLink><pubDate>Sat, 29 Aug 2026 21:03:51 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.11.dmg" sparkle:edSignature="6Rig20RatI1P6EJxQzlr2DvLQJuEIvzf3duRZIywEDOqbbx1IPa4ZSjYyzjFtGq2aQUgvqzZ5c9utnvzQwO8DQ==" length="7611320" type="application/octet-stream"/>@@ -354,7 +368,7 @@<sparkle:version>77</sparkle:version><sparkle:shortVersionString>3.6.10</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.10</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.10</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.10</sparkle:releaseNotesLink><pubDate>Fri, 28 Aug 2026 11:33:11 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.10.dmg" sparkle:edSignature="CsL8Is+YhUr7IR2sEB5DHhvWHmd1DMlB6HUfsEucDEvHdB9uXVX+JG6YULE0dGf6z32sqM1JF0zknci/nwSpAw==" length="7588102" type="application/octet-stream"/>@@ -364,7 +378,7 @@<sparkle:version>76</sparkle:version><sparkle:shortVersionString>3.6.9</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.9</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.9</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.9</sparkle:releaseNotesLink><pubDate>Wed, 26 Aug 2026 18:05:54 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.9.dmg" sparkle:edSignature="NGVVu88kgLRq9GhNS/O+t2RgQfVc06E0yK2TBppFnVv9k8ssPNXFrGngdjpEMCh8Z7jrwOmlFyPQa7yF6pIkCg==" length="7208639" type="application/octet-stream"/>@@ -374,7 +388,7 @@<sparkle:version>75</sparkle:version><sparkle:shortVersionString>3.6.8</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.8</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.8</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.8</sparkle:releaseNotesLink><pubDate>Wed, 26 Aug 2026 17:01:45 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.8.dmg" sparkle:edSignature="JlqlNXyWcWthF3G6e2mAD/9ThhNR6jjzJZNMcUMStsCWSguVJ7vL7cc2uPJ3sO0u9vPk8mcZF2c+gbBL/9IOBQ==" length="7210307" type="application/octet-stream"/>@@ -384,7 +398,7 @@<sparkle:version>74</sparkle:version><sparkle:shortVersionString>3.6.7</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.7</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.7</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.7</sparkle:releaseNotesLink><pubDate>Sun, 23 Aug 2026 20:22:04 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.7.dmg" sparkle:edSignature="63z8CpeoY/kizNamG2ZYmMFKUtrR3+KVArRWvIET5vduWsBLOtr3ohvpFbVh/LURKVvhwsHVt1IwG3PcYG9lAA==" length="7163785" type="application/octet-stream"/>@@ -394,7 +408,7 @@<sparkle:version>73</sparkle:version><sparkle:shortVersionString>3.6.6</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.6</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.6</sparkle:releaseNotesLink><pubDate>Sun, 23 Aug 2026 16:36:33 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.6.dmg" sparkle:edSignature="ot+67YOUAs+3NtNFDKxi1obrsVnbQtaBLFs9S+UVqlaUtXRxDOq0hWsghVo/CeK81PQk7hd9QPiUV+/q0XypCw==" length="7165228" type="application/octet-stream"/>@@ -404,7 +418,7 @@<sparkle:version>72</sparkle:version><sparkle:shortVersionString>3.6.5</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.5</sparkle:releaseNotesLink><pubDate>Sun, 23 Aug 2026 15:17:36 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.5.dmg" sparkle:edSignature="cOmTpbtv/9G6uuafebi1dnABglrn37tN6KcsM68RR+lkTW+hTKnh1PJQ2nkQTfnty83JIqa+RMr8T8RKJpgVAw==" length="7164758" type="application/octet-stream"/>@@ -414,7 +428,7 @@<sparkle:version>71</sparkle:version><sparkle:shortVersionString>3.6.4</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.4</sparkle:releaseNotesLink><pubDate>Fri, 14 Aug 2026 11:31:25 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.4.dmg" sparkle:edSignature="xwLME1JE73pbUKMoB2gLQ9/TxCAdqFpmbcuwnfSQpMByw9W/srQD0RyZ0S1JPzr4jZtMqKXe/VoHLLuko2XIDw==" length="7110859" type="application/octet-stream"/>@@ -424,7 +438,7 @@<sparkle:version>70</sparkle:version><sparkle:shortVersionString>3.6.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.3</sparkle:releaseNotesLink><pubDate>Thu, 13 Aug 2026 10:22:03 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.3.dmg" sparkle:edSignature="l73u49ZGsCqVuQqa8s1B6McU7mniIxdsEjWaZmcF3tKk/FWnhxAAYORc6MjbUT9cygVMSkoCvYj61nIiWbRVDg==" length="7115983" type="application/octet-stream"/>@@ -434,7 +448,7 @@<sparkle:version>69</sparkle:version><sparkle:shortVersionString>3.6.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.2</sparkle:releaseNotesLink><pubDate>Wed, 12 Aug 2026 15:45:59 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.2.dmg" sparkle:edSignature="HUViGbpYVc+CKjBaRy9lAi4AESb+2JfdbvMsAt7u4OSCtJI76Tf/NGMCgJqI49zk4OiMZsTA7Fx1hlTg9JR0BA==" length="7047070" type="application/octet-stream"/>@@ -444,7 +458,7 @@<sparkle:version>68</sparkle:version><sparkle:shortVersionString>3.6.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.1</sparkle:releaseNotesLink><pubDate>Thu, 06 Aug 2026 17:45:27 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.1.dmg" sparkle:edSignature="AO+5lECGFAxG3GOjnKYDRdOKWF4oF/q9osp+DqossUtBPvfioPiI79UHGMhenfYbD8Kz9OqB0BmFrebpp0zkBw==" length="6962517" type="application/octet-stream"/>@@ -454,7 +468,7 @@<sparkle:version>67</sparkle:version><sparkle:shortVersionString>3.6.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.6.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.6.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.6.0</sparkle:releaseNotesLink><pubDate>Wed, 05 Aug 2026 23:03:27 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.6.0.dmg" sparkle:edSignature="kBBvyCDY/rw3zB1yjxyFsrWLHuNd4IlOQmPUAzbtJHjL7cyou187asAFLYw5ZizCXxLsetsQmq/vbvJSbSzTBA==" length="6945058" type="application/octet-stream"/>@@ -464,7 +478,7 @@<sparkle:version>66</sparkle:version><sparkle:shortVersionString>3.5.12</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.12</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.12</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.12</sparkle:releaseNotesLink><pubDate>Tue, 04 Aug 2026 17:49:55 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.12.dmg" sparkle:edSignature="zeQWyGHg59V+G+jrTCgwEenEV3NZLDB6Cfz0HGkxon/4JewNFY3vPvfAuXIiO9Tiioh18Y7XlLyTBFW8VeiLBQ==" length="6680268" type="application/octet-stream"/>@@ -474,7 +488,7 @@<sparkle:version>65</sparkle:version><sparkle:shortVersionString>3.5.11</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.11</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.11</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.11</sparkle:releaseNotesLink><pubDate>Mon, 03 Aug 2026 22:42:26 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.11.dmg" sparkle:edSignature="j636O60LYYTXHiHyjktsFCSIhjIWVPraCavWdFwTbYLpTQg8mSg1BSNsTkQJm2V0HoioRRUxViNgmNQtnYd3BA==" length="6652072" type="application/octet-stream"/>@@ -484,7 +498,7 @@<sparkle:version>64</sparkle:version><sparkle:shortVersionString>3.5.10</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.10</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.10</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.10</sparkle:releaseNotesLink><pubDate>Sat, 01 Aug 2026 23:53:34 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.10.dmg" sparkle:edSignature="hODeMRnBs1RYwWDv4I8mre1z1cTw+vUzsaXQJHL5dVXw6kOGdz+62i+XNXY974m4LyDXFLhOug2MJHo1v5nODw==" length="6625904" type="application/octet-stream"/>@@ -494,7 +508,7 @@<sparkle:version>63</sparkle:version><sparkle:shortVersionString>3.5.9</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.9</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.9</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.9</sparkle:releaseNotesLink><pubDate>Fri, 31 Jul 2026 19:34:00 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.9.dmg" sparkle:edSignature="7YC53HMkr/TUCLtc9ioD3EwFtUjvWxPSEMzsOV4FH5P7AnyyMgnxUKDlA9VzK1uZVdIUR+IndvS73TypVxBxBw==" length="6558815" type="application/octet-stream"/>@@ -504,7 +518,7 @@<sparkle:version>62</sparkle:version><sparkle:shortVersionString>3.5.8</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.8</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.8</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.8</sparkle:releaseNotesLink><pubDate>Thu, 30 Jul 2026 11:51:19 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.8.dmg" sparkle:edSignature="pG3e0I+c/8ePLmTImZiKtvXiavt+HAShuAXH7DgJYokmjxCCqPnn1v7cHtZ1cIncjE+eE3yVXl5ljEOKvPRKAg==" length="6001866" type="application/octet-stream"/>@@ -514,7 +528,7 @@<sparkle:version>61</sparkle:version><sparkle:shortVersionString>3.5.7</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.7</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.7</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.7</sparkle:releaseNotesLink><pubDate>Wed, 29 Jul 2026 22:35:50 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.7.dmg" sparkle:edSignature="x7G0gxH2UBgUEKVK25EhibiVyfexk2JOshkWOxXUdjkE/pMsfZuCLwxX+SdSfcvDKsVAFp4Xu0Qfm1lEh4SvCg==" length="5996332" type="application/octet-stream"/>@@ -524,7 +538,7 @@<sparkle:version>60</sparkle:version><sparkle:shortVersionString>3.5.6</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.6</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.6</sparkle:releaseNotesLink><pubDate>Wed, 29 Jul 2026 11:41:16 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.6.dmg" sparkle:edSignature="WNs2hQy/XsKr7YVt5oVBFy0Dw/iTP5RHt/jQBB1mWeho7Bh511e5aAWIf7tE1ql47Y5x10NhqpEwX/zKieQjBg==" length="5944501" type="application/octet-stream"/>@@ -534,7 +548,7 @@<sparkle:version>59</sparkle:version><sparkle:shortVersionString>3.5.5</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.5</sparkle:releaseNotesLink><pubDate>Mon, 27 Jul 2026 16:29:01 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.5.dmg" sparkle:edSignature="7SsxaIRyGOmmLK+x4v7hgRqd8EAUbFcD3/4InMLJBMY4YG5gBHj2/WPt7yW/Gh+k6aiw5u/bWBVN07NJVe07DQ==" length="5914638" type="application/octet-stream"/>@@ -544,7 +558,7 @@<sparkle:version>58</sparkle:version><sparkle:shortVersionString>3.5.4</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.4</sparkle:releaseNotesLink><pubDate>Sun, 26 Jul 2026 21:50:11 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.4.dmg" sparkle:edSignature="rd23OmvFIlTEZT+SA7mZ05uw8v24PmYixMFsiRBqlEFN3i9HFM42cWg4/IzfscYwNHl1OG0hQCVdksltgIYgBw==" length="5864512" type="application/octet-stream"/>@@ -554,7 +568,7 @@<sparkle:version>57</sparkle:version><sparkle:shortVersionString>3.5.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.3</sparkle:releaseNotesLink><pubDate>Sun, 26 Jul 2026 12:41:46 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.3.dmg" sparkle:edSignature="UvbfP+3O+lrBf3dRWJ2ghCcz1+LVSxGTZQf0Sr3qidbgmhH5Ho7UFUNijSTG+uXmTVc7L9DhNzg6sopc3YCHBg==" length="5865018" type="application/octet-stream"/>@@ -564,7 +578,7 @@<sparkle:version>56</sparkle:version><sparkle:shortVersionString>3.5.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.2</sparkle:releaseNotesLink><pubDate>Sat, 25 Jul 2026 20:21:25 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.2.dmg" sparkle:edSignature="BM53jQdnyfrX5Qy4Ny4dVNcwannh4NWT+mdhSOVTXbZKu5FKMwUr22sC295hzbY5Fu2VgvqhN1OSCSmUPbosDg==" length="5861330" type="application/octet-stream"/>@@ -574,7 +588,7 @@<sparkle:version>55</sparkle:version><sparkle:shortVersionString>3.5.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.1</sparkle:releaseNotesLink><pubDate>Sat, 25 Jul 2026 11:45:55 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.1.dmg" sparkle:edSignature="O1TzaDZPnX0hYJs+ZhJjz8CWU2Fdzm+xpX+j6a9eyPifD1J07J7KKeSukdAMw6T4hYrzLfQelbQc2P9+HoVtDQ==" length="5843097" type="application/octet-stream"/>@@ -584,7 +598,7 @@<sparkle:version>54</sparkle:version><sparkle:shortVersionString>3.5.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.5.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.5.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.5.0</sparkle:releaseNotesLink><pubDate>Fri, 24 Jul 2026 19:03:37 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.5.0.dmg" sparkle:edSignature="3qaofG00ROUq5OWFQ0SClpIbo1v6SCUJcekOyvhrfj6DdPMf6DSeXMNO0hBYorKws6BzfaZWforXEgGIBmIzAg==" length="5807840" type="application/octet-stream"/>@@ -594,7 +608,7 @@<sparkle:version>53</sparkle:version><sparkle:shortVersionString>3.4.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.4.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.4.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.4.3</sparkle:releaseNotesLink><pubDate>Thu, 23 Jul 2026 16:29:02 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.4.3.dmg" sparkle:edSignature="t2uhg2bwGtLsQu7vq/SmUQXKKCJOQD0CxviTd689rfe0ahGzOrVRDyH8MDED7D4RRDPeyisiObC+rNSYKCf1AA==" length="5676850" type="application/octet-stream"/>@@ -604,7 +618,7 @@<sparkle:version>52</sparkle:version><sparkle:shortVersionString>3.4.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.4.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.4.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.4.2</sparkle:releaseNotesLink><pubDate>Thu, 23 Jul 2026 14:20:05 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.4.2.dmg" sparkle:edSignature="yLOeDCaJForqKjgFIORG3jBzbyWozlONQSM66pq9FLdL+cj4YYCbSkCtDAPiaDk4BlqN2pcVTcSTM4YEo3foAw==" length="5686121" type="application/octet-stream"/>@@ -614,7 +628,7 @@<sparkle:version>51</sparkle:version><sparkle:shortVersionString>3.4.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.4.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.4.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.4.1</sparkle:releaseNotesLink><pubDate>Wed, 22 Jul 2026 11:10:11 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.4.1.dmg" sparkle:edSignature="ET2yGbVBwxCYVtUGjyqMD4CxkEhHdtdigdsFdsvr3AZFnkohhltcwuM+mpl9LdKV6T2FdL1vm3N9Rf4NMwNtBA==" length="4177727" type="application/octet-stream"/>@@ -624,7 +638,7 @@<sparkle:version>50</sparkle:version><sparkle:shortVersionString>3.4.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.4.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.4.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.4.0</sparkle:releaseNotesLink><pubDate>Tue, 21 Jul 2026 16:06:26 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.4.0.dmg" sparkle:edSignature="tonVt6j9oDtgI7FAqBH5y+qg38WAJEycXBnHSyw7eMv9br5ppuOBYtfsngqCkBP/QkMFKnn6QZqlUlkbSMZHCA==" length="4176079" type="application/octet-stream"/>@@ -634,7 +648,7 @@<sparkle:version>49</sparkle:version><sparkle:shortVersionString>3.3.11</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.11</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.11</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.11</sparkle:releaseNotesLink><pubDate>Tue, 21 Jul 2026 15:05:35 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.11.dmg" sparkle:edSignature="xTVz2I+N7uQUQj2UdapIM8Jj+4VRTcoSntuQqlL084JpY7/Pcr5L8lIRAWxD+1Xw0Frvuutz0xD1LyusXq63BA==" length="4204885" type="application/octet-stream"/>@@ -644,7 +658,7 @@<sparkle:version>48</sparkle:version><sparkle:shortVersionString>3.3.10</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.10</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.10</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.10</sparkle:releaseNotesLink><pubDate>Mon, 20 Jul 2026 16:20:40 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.10.dmg" sparkle:edSignature="Dv5jMFE4wzTDrSVGQM9uabHkQk1n0VxY/tcPIti902ml684AvlDPKG5LgLRuMv82Ca1blYdGWTlQQrJ5j6htBw==" length="4097809" type="application/octet-stream"/>@@ -654,7 +668,7 @@<sparkle:version>47</sparkle:version><sparkle:shortVersionString>3.3.9</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.9</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.9</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.9</sparkle:releaseNotesLink><pubDate>Mon, 20 Jul 2026 11:15:50 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.9.dmg" sparkle:edSignature="1xAbFt/eCKbbbW5BQo0o23jEDYAUXBixoeqHOqdexFMMTr7oH9e3rZZ9migi37Sv8MWHf5WO063SPjEq/X2eBA==" length="4021546" type="application/octet-stream"/>@@ -664,7 +678,7 @@<sparkle:version>46</sparkle:version><sparkle:shortVersionString>3.3.8</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.8</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.8</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.8</sparkle:releaseNotesLink><pubDate>Fri, 17 Jul 2026 11:31:35 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.8.dmg" sparkle:edSignature="UiA7DCQmrW4eBptwdwLnWkaurM65YtzJQrn075sw4KvwwZWWmS+3N9ylXiKMdwAQJjvSzAFktjRVFFjDpsLkAQ==" length="4033885" type="application/octet-stream"/>@@ -674,7 +688,7 @@<sparkle:version>45</sparkle:version><sparkle:shortVersionString>3.3.7</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.7</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.7</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.7</sparkle:releaseNotesLink><pubDate>Wed, 15 Jul 2026 13:19:43 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.7.dmg" sparkle:edSignature="OENHqBRBwEnuJKsqRm2xFTcF6s5VTFIYEfnseThCLDHuP4iepCRGqfu+/+ZpcjCm/ad97uo9m4XwfC7rxz0QAg==" length="4004319" type="application/octet-stream"/>@@ -684,7 +698,7 @@<sparkle:version>44</sparkle:version><sparkle:shortVersionString>3.3.6</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.6</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.6</sparkle:releaseNotesLink><pubDate>Mon, 13 Jul 2026 13:08:37 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.6.dmg" sparkle:edSignature="11eKrUdEUbpfIR8n6ZWrS72p6RFzbMIwoiImuts4VzMtibrn4qtZt3zrZFmGhFiwEnYKCLZRabqtqtlbEoSuCQ==" length="4003530" type="application/octet-stream"/>@@ -694,7 +708,7 @@<sparkle:version>43</sparkle:version><sparkle:shortVersionString>3.3.5</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.5</sparkle:releaseNotesLink><pubDate>Sun, 12 Jul 2026 21:26:55 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.5.dmg" sparkle:edSignature="uRaQAj2G+Ru+oaxcYckQXTKkIHc9h2NtJdjusTe7Xr+c9q4LwP36M2oc2jk+ftWpppsU5jyx7EDTQWSzLF4KAA==" length="3986637" type="application/octet-stream"/>@@ -704,7 +718,7 @@<sparkle:version>42</sparkle:version><sparkle:shortVersionString>3.3.4</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.4</sparkle:releaseNotesLink><pubDate>Sun, 12 Jul 2026 10:14:23 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.4.dmg" sparkle:edSignature="X+JMSEHQ8WzjaREXFoLzTmZIa2NCWIBfoVwekABTdS2T8oBCv5htgZ1v3H9GGXYDPZ3ZLnWr5DlI8mM6HZhpDA==" length="3979311" type="application/octet-stream"/>@@ -714,7 +728,7 @@<sparkle:version>41</sparkle:version><sparkle:shortVersionString>3.3.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.3</sparkle:releaseNotesLink><pubDate>Sat, 11 Jul 2026 14:25:23 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.3.dmg" sparkle:edSignature="QKwjgbH2p2f1nkGm8aCfdP2+GALaw+NCwWlPzjFYFxFJerxHPTFnqfPx4To7UpnGKBzxBbV2QkFms4mkHD1LBA==" length="3862343" type="application/octet-stream"/>@@ -724,7 +738,7 @@<sparkle:version>40</sparkle:version><sparkle:shortVersionString>3.3.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.2</sparkle:releaseNotesLink><pubDate>Fri, 10 Jul 2026 19:58:06 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.2.dmg" sparkle:edSignature="9Ev14FIUNz82Onbbzu0cwKOzvZAMepoktYCBSXrKlEhv8LBWqCJrp7yweV2pUERx+VH1M3UvTo+oR3STwZSkDQ==" length="3858056" type="application/octet-stream"/>@@ -734,7 +748,7 @@<sparkle:version>39</sparkle:version><sparkle:shortVersionString>3.3.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.1</sparkle:releaseNotesLink><pubDate>Fri, 10 Jul 2026 16:30:18 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.1.dmg" sparkle:edSignature="Qk0AW44MHcOn4t8XpDGcnLScEH3DxilCf86pUxLiFEY7V1tDZzlfN1ydQe0NHxRjuTln2ks1bMZIQo5Y6l2XAQ==" length="3859263" type="application/octet-stream"/>@@ -744,7 +758,7 @@<sparkle:version>38</sparkle:version><sparkle:shortVersionString>3.3.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.3.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.3.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.3.0</sparkle:releaseNotesLink><pubDate>Fri, 10 Jul 2026 10:30:19 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.3.0.dmg" sparkle:edSignature="u5Qwjjj8I7QHEE+wtsyjZ8mOlafk+L5a1AE9xRo0NnF28nz6ExB5Gk8ZMmtc5XhqwCvoG9/Kli+g5cZ7tYFOCw==" length="3608469" type="application/octet-stream"/>@@ -754,7 +768,7 @@<sparkle:version>37</sparkle:version><sparkle:shortVersionString>3.2.9</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.9</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.9</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.9</sparkle:releaseNotesLink><pubDate>Tue, 07 Jul 2026 13:35:43 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.9.dmg" sparkle:edSignature="WUhGhr7nzZx5kexAzC6t7FgWJij8scl/DGvlhhLL1qKFhgRIy+UkA5khALdGB0U2AHX6jVrHjkB0fO6+rF+/Cg==" length="3481077" type="application/octet-stream"/>@@ -764,7 +778,7 @@<sparkle:version>36</sparkle:version><sparkle:shortVersionString>3.2.8</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.8</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.8</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.8</sparkle:releaseNotesLink><pubDate>Tue, 30 Jun 2026 22:23:34 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.8.dmg" sparkle:edSignature="ZHmnBkhfSld8TGsxIS2ZrcZNX4MNdEIGfWkUswBdZyz6Rb3GWCiFvrDB/+utQW+MfkfkNSFLif0/UCeM6DHmAQ==" length="3480360" type="application/octet-stream"/>@@ -774,7 +788,7 @@<sparkle:version>35</sparkle:version><sparkle:shortVersionString>3.2.7</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.7</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.7</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.7</sparkle:releaseNotesLink><pubDate>Tue, 30 Jun 2026 13:36:55 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.7.dmg" sparkle:edSignature="v1CNOWyRse3F/axyOBG17ZePKw43EzRYAeZHcFp4jm6tz8Q0zPN/MPLcfTvo/H710N36B4xqwuHclu9/3gFvAg==" length="3474123" type="application/octet-stream"/>@@ -784,7 +798,7 @@<sparkle:version>34</sparkle:version><sparkle:shortVersionString>3.2.6</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.6</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.6</sparkle:releaseNotesLink><pubDate>Tue, 30 Jun 2026 12:40:30 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.6.dmg" sparkle:edSignature="Nj+fF98ifI/Jgf04s1UT6Yv/brvj2Ik4izOAwQN32BmMvjgvaB+IC/9P9ViqO2LZlO9aC/avpoPdPYRlNOl/DA==" length="3462024" type="application/octet-stream"/>@@ -794,7 +808,7 @@<sparkle:version>33</sparkle:version><sparkle:shortVersionString>3.2.5</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.5</sparkle:releaseNotesLink><pubDate>Mon, 29 Jun 2026 20:21:01 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.5.dmg" sparkle:edSignature="W76KGNhsrZvQ5FqxXtSgUknMMt3b+nEl50BXWCvgh2nw167KgBdQDsSBkXx7mkrM+RkZQ4dzHUsJLB0Whf5dAQ==" length="3420026" type="application/octet-stream"/>@@ -804,7 +818,7 @@<sparkle:version>32</sparkle:version><sparkle:shortVersionString>3.2.4</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.4</sparkle:releaseNotesLink><pubDate>Mon, 29 Jun 2026 20:09:25 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.4.dmg" sparkle:edSignature="d3YF/XAZ0Yx7MZzFaLzjScIrXk7waqYpK8lNWVfabcPWe/QMeMEVXp0U7x3S9fon6r8KxZtRBbkH4Hhi4TgqBA==" length="3421733" type="application/octet-stream"/>@@ -814,7 +828,7 @@<sparkle:version>31</sparkle:version><sparkle:shortVersionString>3.2.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.3</sparkle:releaseNotesLink><pubDate>Mon, 29 Jun 2026 13:04:49 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.3.dmg" sparkle:edSignature="OXJfyNWHk28CvigPBo2OHFW2jbAw9d2pz+OCXVtpIu2WGGylOnLN1Gs5qvGRqd5DsTqMhbuF/zq79eAT3PBVAA==" length="3384594" type="application/octet-stream"/>@@ -824,7 +838,7 @@<sparkle:version>30</sparkle:version><sparkle:shortVersionString>3.2.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.2</sparkle:releaseNotesLink><pubDate>Sun, 28 Jun 2026 11:37:15 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.2.dmg" sparkle:edSignature="dqOKvzZ1wgiB/n2Vvkuve7F3eDFOZ2WEbXJaLxm7AmauIY/a/O7vPG0Y0jfhFO0cIZ1eUmLNx2EUJq6ANNGgBw==" length="3350670" type="application/octet-stream"/>@@ -834,7 +848,7 @@<sparkle:version>29</sparkle:version><sparkle:shortVersionString>3.2.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.1</sparkle:releaseNotesLink><pubDate>Sat, 27 Jun 2026 20:16:03 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.1.dmg" sparkle:edSignature="c/Yt/6GzPzxK95iqBO8rdFgMs9drbLI0zeIOpeLwLW26KUnNTEKotMknRQvWaIy+9vj9iIcKGYj2O+3WCnvCBA==" length="3349526" type="application/octet-stream"/>@@ -844,7 +858,7 @@<sparkle:version>28</sparkle:version><sparkle:shortVersionString>3.2.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.2.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.2.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.2.0</sparkle:releaseNotesLink><pubDate>Thu, 25 Jun 2026 21:08:27 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.2.0.dmg" sparkle:edSignature="wnmcvQEIyI4jBIDmAaAWOWP/sGLw9tT5KBDYdBhzOAB+jIz5hbALMFZzf40F5lW0dV0Hy9SJ8r0DO3ab9b12Bw==" length="3329866" type="application/octet-stream"/>@@ -854,7 +868,7 @@<sparkle:version>27</sparkle:version><sparkle:shortVersionString>3.1.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.1.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.1.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.1.3</sparkle:releaseNotesLink><pubDate>Thu, 25 Jun 2026 12:03:41 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.1.3.dmg" sparkle:edSignature="RRlH9tMTga4XjHhRiRQS3g5GA9BIQHkKfcFMaQP8wYbmJxXqE/PJ6METPSB9enHh8DSZMJq4qGlhnLvR1bM9Bg==" length="3158065" type="application/octet-stream"/>@@ -864,7 +878,7 @@<sparkle:version>26</sparkle:version><sparkle:shortVersionString>3.1.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.1.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.1.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.1.2</sparkle:releaseNotesLink><pubDate>Thu, 25 Jun 2026 00:29:59 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.1.2.dmg" sparkle:edSignature="l0umYKfi2dvZxxuwWQOK3lm/ZBG2A5MbOvvKyo/odpcOYxKlvyxf9ktTstKwQ7N0+3IEZ1Q/cLajJn9HL2EMAg==" length="3131191" type="application/octet-stream"/>@@ -874,7 +888,7 @@<sparkle:version>25</sparkle:version><sparkle:shortVersionString>3.1.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.1.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.1.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.1.1</sparkle:releaseNotesLink><pubDate>Wed, 24 Jun 2026 23:38:10 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.1.1.dmg" sparkle:edSignature="ZAqYx2b6FLAS3Qy1hKM8GAcBQr3vHQkd9TEzPYrkBepYl8FrwKBM9FVjhVuTO4kc7DeCipofmjFGfO3Jytk6Dw==" length="3134760" type="application/octet-stream"/>@@ -884,7 +898,7 @@<sparkle:version>24</sparkle:version><sparkle:shortVersionString>3.1.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.1.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.1.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.1.0</sparkle:releaseNotesLink><pubDate>Wed, 24 Jun 2026 20:18:38 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.1.0.dmg" sparkle:edSignature="FppmuKHgGue1IKo9TCjzm7hmoE2YjPKPnXKHNIh4mbhn9fkHs5qcSsjCq9pygIwr3ZqkJbQ+3u49bBcvPAexBA==" length="3084556" type="application/octet-stream"/>@@ -894,7 +908,7 @@<sparkle:version>23</sparkle:version><sparkle:shortVersionString>3.0.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#3.0.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#3.0.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#3.0.0</sparkle:releaseNotesLink><pubDate>Wed, 24 Jun 2026 14:32:55 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v3.0.0.dmg" sparkle:edSignature="i0pBg41pJVgmZCUctggIWCZmjcTI6ZMPnpPj2CAsgv9UmrnB7grm9eE0no/Ja6by1v/cx0A0CEKmOHFxkWSmDA==" length="3030047" type="application/octet-stream"/>@@ -904,7 +918,7 @@<sparkle:version>22</sparkle:version><sparkle:shortVersionString>2.4.6</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.4.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.4.6</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.4.6</sparkle:releaseNotesLink><pubDate>Tue, 23 Jun 2026 13:32:15 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.4.6.dmg" sparkle:edSignature="2PmJ48M8JsOyyC39M815vZf8+/AgzVC8cNqjhfNl0XBc8NzoUPUtsYiVMGTrjYr3Lw3JphP5haHcLsxshVetDQ==" length="3025786" type="application/octet-stream"/>@@ -914,7 +928,7 @@<sparkle:version>21</sparkle:version><sparkle:shortVersionString>2.4.5</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.4.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.4.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.4.5</sparkle:releaseNotesLink><pubDate>Tue, 23 Jun 2026 12:04:18 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.4.5.dmg" sparkle:edSignature="GPNqVI92o8IBzzNR1mgs2B4xRql6SQy2SSu58FiIRsFYo3z/Ir8DRzvlPLbeYNHYXaGOnw42SyrqAieJPhyHDQ==" length="3023597" type="application/octet-stream"/>@@ -924,7 +938,7 @@<sparkle:version>20</sparkle:version><sparkle:shortVersionString>2.4.4</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.4.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.4.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.4.4</sparkle:releaseNotesLink><pubDate>Tue, 23 Jun 2026 00:21:01 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.4.4.dmg" sparkle:edSignature="86Arq3i4v0VziTt0/t7g6vLjiLNMA4NpT39mp1E4gA+s+u5Md6MDITfZGlDUeCGBskLhNofYoHGn1h/a/UJpDg==" length="3023619" type="application/octet-stream"/>@@ -934,7 +948,7 @@<sparkle:version>19</sparkle:version><sparkle:shortVersionString>2.4.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.4.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.4.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.4.3</sparkle:releaseNotesLink><pubDate>Mon, 22 Jun 2026 22:57:37 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.4.3.dmg" sparkle:edSignature="CMho4+yF++HMGdebevoxoS12vtvTDefc89Lu++musO9/3/rC7SE8ZRIHHqrn1YXqaS24kkwsKuXZNluMudlfAw==" length="3020530" type="application/octet-stream"/>@@ -944,7 +958,7 @@<sparkle:version>18</sparkle:version><sparkle:shortVersionString>2.4.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.4.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.4.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.4.2</sparkle:releaseNotesLink><pubDate>Mon, 22 Jun 2026 10:19:47 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.4.2.dmg" sparkle:edSignature="KyzjZ4lj6KWA/idFXs/2IZp5MTdfVfyCVxSEwbJ92KRLeNQzY0+ZMjfvR919KezFzp+qRo/Svt0gC+aY+/brCw==" length="2894098" type="application/octet-stream"/>@@ -954,7 +968,7 @@<sparkle:version>17</sparkle:version><sparkle:shortVersionString>2.4.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.4.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.4.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.4.1</sparkle:releaseNotesLink><pubDate>Sun, 21 Jun 2026 23:11:45 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.4.1.dmg" sparkle:edSignature="TBEbo3dJ65fTF3RotYnDQXBhZCk0SKGy0V5NN/YPNTiQY11xhFT6Z+w1luumWdEZJqZuSXC+vbLmiDZYh2dkDw==" length="2887949" type="application/octet-stream"/>@@ -964,7 +978,7 @@<sparkle:version>16</sparkle:version><sparkle:shortVersionString>2.4.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.4.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.4.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.4.0</sparkle:releaseNotesLink><pubDate>Sun, 21 Jun 2026 22:32:31 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.4.0.dmg" sparkle:edSignature="h375ImnKqMc1M+q26ouBl/wlEMoaoMC2vSBHqFEIu106ShDdr2UaKF/6i9ms10qiItyNVDjspv6bQFVIlJ0qBA==" length="2887904" type="application/octet-stream"/>@@ -974,7 +988,7 @@<sparkle:version>13</sparkle:version><sparkle:shortVersionString>2.3.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.3.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.3.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.3.0</sparkle:releaseNotesLink><pubDate>Sun, 21 Jun 2026 11:46:37 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.3.0.dmg" sparkle:edSignature="n8vjt1rxRaJwa261pU5Fo0BNaETL6nygdfkLLfnK+K+fd1XWk8SJMzVCp/w536MTWtSN8W3+L118jCb8LV+QDA==" length="2849403" type="application/octet-stream"/>@@ -984,7 +998,7 @@<sparkle:version>12</sparkle:version><sparkle:shortVersionString>2.2.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.2.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.2.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.2.0</sparkle:releaseNotesLink><pubDate>Fri, 19 Jun 2026 15:36:20 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.2.0.dmg" sparkle:edSignature="L/6jFdturq7Mz31UItkx5aO6uPu7uOKfFdHEvov44W+PZVLD1BDf/jiSujDED9xuBnvXk8GoIg5mRAFnoIo5Dw==" length="2681727" type="application/octet-stream"/>@@ -994,7 +1008,7 @@<sparkle:version>11</sparkle:version><sparkle:shortVersionString>2.1.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.1.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.1.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.1.0</sparkle:releaseNotesLink><pubDate>Thu, 18 Jun 2026 16:05:00 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.1.0.dmg" sparkle:edSignature="2FBNtL8I4tLW1hfkA6kDgLaShjnGw55q3qQbaUwW2238ulf8IzJeLemzGju0b9LRdrSVQoavheydTljCHJyMDQ==" length="1564567" type="application/octet-stream"/>@@ -1004,7 +1018,7 @@<sparkle:version>10</sparkle:version><sparkle:shortVersionString>2.0.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#2.0.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#2.0.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#2.0.0</sparkle:releaseNotesLink><pubDate>Mon, 15 Jun 2026 22:25:38 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v2.0.0.dmg" sparkle:edSignature="cSN94/EgbLzV9LvRznE+dsrSlUpIPT9ustcr28E+fZa/0VEz9wtLC3OUriYTZXHvFnixmjHJBaF0s6G+unSUDg==" length="1492881" type="application/octet-stream"/>@@ -1014,7 +1028,7 @@<sparkle:version>9</sparkle:version><sparkle:shortVersionString>1.3.6</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.3.6</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.3.6</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.3.6</sparkle:releaseNotesLink><pubDate>Mon, 15 Jun 2026 16:06:15 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.3.6.dmg" sparkle:edSignature="xkRTJRxVthwJw1oIUZMmSmJ3UDCqDP3YREuK1Qf+zBbeEx2UWcJBuDQW5BNxC3lZ+krPqgz/oWySGwbJfjyVAw==" length="1482951" type="application/octet-stream"/>@@ -1024,7 +1038,7 @@<sparkle:version>8</sparkle:version><sparkle:shortVersionString>1.3.5</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.3.5</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.3.5</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.3.5</sparkle:releaseNotesLink><pubDate>Mon, 15 Jun 2026 14:45:43 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.3.5.dmg" sparkle:edSignature="+O1seqtfFeoNPUjkzdu+h3gMm6wTkWExRtyOObZNqnDu3FPiOxhqWT/Zm/AKSw091CyFmG1rhwYQfmafFwJwBA==" length="1461278" type="application/octet-stream"/>@@ -1034,7 +1048,7 @@<sparkle:version>7</sparkle:version><sparkle:shortVersionString>1.3.4</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.3.4</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.3.4</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.3.4</sparkle:releaseNotesLink><pubDate>Mon, 15 Jun 2026 13:59:04 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.3.4.dmg" sparkle:edSignature="1Eozkv41L4r7ecCVr6wpAeOR2ZPLcnKOfGEtsFv6EZZuNaFSpMw5EUvc1KESoReaxVZU7PkpVGhZrCw4FexPAA==" length="1461243" type="application/octet-stream"/>@@ -1044,7 +1058,7 @@<sparkle:version>6</sparkle:version><sparkle:shortVersionString>1.3.3</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.3.3</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.3.3</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.3.3</sparkle:releaseNotesLink><pubDate>Sun, 14 Jun 2026 22:10:39 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.3.3.dmg" sparkle:edSignature="1auvaT2F0dJ4GOQAN7CpC1cFWBRq+eZGzjj6lIFj0iI4vwMVuUl4QcY9usI9UpfSOPDyJniARYkEXrIJoJZYCQ==" length="1405208" type="application/octet-stream"/>@@ -1054,7 +1068,7 @@<sparkle:version>5</sparkle:version><sparkle:shortVersionString>1.3.2</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.3.2</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.3.2</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.3.2</sparkle:releaseNotesLink><pubDate>Sun, 14 Jun 2026 15:12:18 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.3.2.dmg" sparkle:edSignature="FWk4PT/QIvq17Z3NzHZD7hao5NEhpLMsoOL3UMHl5l08nFZINtrUj4w4Hapkh8V4rkk6BbxN08kayns5L73wAg==" length="1396203" type="application/octet-stream"/>@@ -1064,7 +1078,7 @@<sparkle:version>4</sparkle:version><sparkle:shortVersionString>1.3.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.3.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.3.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.3.1</sparkle:releaseNotesLink><pubDate>Sat, 13 Jun 2026 11:54:40 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.3.1.dmg" sparkle:edSignature="1WyJkqYmdHveZMBB7Ne+GLwz6agqklZ6F+RXqLiu3l30cXo9PnsnDOiyjEC8Dl5Sb4oFo+7oGjSZoZci0tdBCg==" length="1331802" type="application/octet-stream"/>@@ -1074,7 +1088,7 @@<sparkle:version>3</sparkle:version><sparkle:shortVersionString>1.3.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.3.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.3.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.3.0</sparkle:releaseNotesLink><pubDate>Fri, 12 Jun 2026 16:48:27 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.3.0.dmg" sparkle:edSignature="9d/fZdrMGXjOlKoKOTRutWZcNIdjxxQEbK0WqV+vg2rlEyaUYK973gD/JlX6S6+mhrSFQjAPdw5nd3y/C4j0CA==" length="1330236" type="application/octet-stream"/>@@ -1084,7 +1098,7 @@<sparkle:version>2</sparkle:version><sparkle:shortVersionString>1.2.1</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.2.1</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.2.1</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.2.1</sparkle:releaseNotesLink><pubDate>Thu, 11 Jun 2026 21:47:07 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.2.1.dmg" sparkle:edSignature="28wK6sVULaMiv6vL2nG+I2AYVtgJN1AKVDWhfYebKYdldbKmz4aOmggolKlXk9F2p1IlctC+713KIvPeRwWcCw==" length="1323377" type="application/octet-stream"/>@@ -1094,7 +1108,7 @@<sparkle:version>1</sparkle:version><sparkle:shortVersionString>1.2.0</sparkle:shortVersionString><sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>- <sparkle:releaseNotesLink xml:lang="en">https://codexbar.zabrian.app/notes?lang=en#1.2.0</sparkle:releaseNotesLink>+ <sparkle:releaseNotesLink xml:lang="en-US">https://codexbar.zabrian.app/notes?lang=en-US#1.2.0</sparkle:releaseNotesLink><sparkle:releaseNotesLink xml:lang="zh-CN">https://codexbar.zabrian.app/notes?lang=zh-CN#1.2.0</sparkle:releaseNotesLink><pubDate>Thu, 11 Jun 2026 21:19:36 +0800</pubDate><enclosure url="https://codexbar.zabrian.app/download/CodexBar-v1.2.0.dmg" sparkle:edSignature="uwe29fAr5NHr+Id4H0cEMqVDmFxWZb/R+GE0yxvbqKDet+NvY6tlWphl9GxbEW8FwVow5B9BF0nsg1PSJ7NIDQ==" length="1323252" type="application/octet-stream"/>