diff --git a/apps/macos/Sources/OpenClaw/CanvasFileWatcher.swift b/apps/macos/Sources/OpenClaw/CanvasFileWatcher.swift index 02f69bc91fa..16cf8a39c39 100644 --- a/apps/macos/Sources/OpenClaw/CanvasFileWatcher.swift +++ b/apps/macos/Sources/OpenClaw/CanvasFileWatcher.swift @@ -9,5 +9,4 @@ final class CanvasFileWatcher: @unchecked Sendable, SimpleFileWatcherOwner { queueLabel: "ai.openclaw.canvaswatcher", onChange: onChange)) } - } diff --git a/apps/macos/Sources/OpenClaw/ConfigFileWatcher.swift b/apps/macos/Sources/OpenClaw/ConfigFileWatcher.swift index 9a6d5aed4dd..c7bda8cb640 100644 --- a/apps/macos/Sources/OpenClaw/ConfigFileWatcher.swift +++ b/apps/macos/Sources/OpenClaw/ConfigFileWatcher.swift @@ -30,5 +30,4 @@ final class ConfigFileWatcher: @unchecked Sendable, SimpleFileWatcherOwner { }, onChange: onChange)) } - } diff --git a/apps/macos/Sources/OpenClaw/ExecSystemRunCommandValidator.swift b/apps/macos/Sources/OpenClaw/ExecSystemRunCommandValidator.swift index 46ba6c4417a..f8ff84155e1 100644 --- a/apps/macos/Sources/OpenClaw/ExecSystemRunCommandValidator.swift +++ b/apps/macos/Sources/OpenClaw/ExecSystemRunCommandValidator.swift @@ -124,12 +124,12 @@ enum ExecSystemRunCommandValidator { let lower = token.lowercased() let flag = lower.split(separator: "=", maxSplits: 1).first.map(String.init) ?? lower - if ExecEnvOptions.flagOnly.contains(flag) { + if ExecEnvOptions.flagOnly.contains(flag) { usesModifiers = true idx += 1 continue } - if ExecEnvOptions.withValue.contains(flag) { + if ExecEnvOptions.withValue.contains(flag) { usesModifiers = true if !lower.contains("=") { expectsOptionValue = true diff --git a/apps/macos/Sources/OpenClaw/HostEnvSecurityPolicy.generated.swift b/apps/macos/Sources/OpenClaw/HostEnvSecurityPolicy.generated.swift index b126d03de21..e4927331b4f 100644 --- a/apps/macos/Sources/OpenClaw/HostEnvSecurityPolicy.generated.swift +++ b/apps/macos/Sources/OpenClaw/HostEnvSecurityPolicy.generated.swift @@ -22,17 +22,17 @@ enum HostEnvSecurityPolicy { "PS4", "GCONV_PATH", "IFS", - "SSLKEYLOGFILE" + "SSLKEYLOGFILE", ] static let blockedOverrideKeys: Set = [ "HOME", - "ZDOTDIR" + "ZDOTDIR", ] static let blockedPrefixes: [String] = [ "DYLD_", "LD_", - "BASH_FUNC_" + "BASH_FUNC_", ] } diff --git a/apps/macos/Sources/OpenClaw/NodesMenu.swift b/apps/macos/Sources/OpenClaw/NodesMenu.swift index f96451fa20d..c597b39de31 100644 --- a/apps/macos/Sources/OpenClaw/NodesMenu.swift +++ b/apps/macos/Sources/OpenClaw/NodesMenu.swift @@ -184,9 +184,9 @@ struct NodeMenuRowView: View { VStack(alignment: .leading, spacing: 2) { HStack(alignment: .firstTextBaseline, spacing: 8) { - Text(NodeMenuEntryFormatter.primaryName(self.entry)) - .font(.callout.weight(NodeMenuEntryFormatter.isConnected(self.entry) ? .semibold : .regular)) - .foregroundStyle(self.palette.primary) + Text(NodeMenuEntryFormatter.primaryName(self.entry)) + .font(.callout.weight(NodeMenuEntryFormatter.isConnected(self.entry) ? .semibold : .regular)) + .foregroundStyle(self.palette.primary) .lineLimit(1) .truncationMode(.middle) .layoutPriority(1) @@ -195,9 +195,9 @@ struct NodeMenuRowView: View { HStack(alignment: .firstTextBaseline, spacing: 6) { if let right = NodeMenuEntryFormatter.headlineRight(self.entry) { - Text(right) - .font(.caption.monospacedDigit()) - .foregroundStyle(self.palette.secondary) + Text(right) + .font(.caption.monospacedDigit()) + .foregroundStyle(self.palette.secondary) .lineLimit(1) .truncationMode(.middle) .layoutPriority(2) diff --git a/apps/macos/Sources/OpenClaw/OnboardingView+Pages.swift b/apps/macos/Sources/OpenClaw/OnboardingView+Pages.swift index 7edd422be03..e8e3ee772ca 100644 --- a/apps/macos/Sources/OpenClaw/OnboardingView+Pages.swift +++ b/apps/macos/Sources/OpenClaw/OnboardingView+Pages.swift @@ -311,7 +311,7 @@ extension OnboardingView { .font(.caption.monospaced()) .foregroundStyle(.secondary) .lineLimit(1) - .truncationMode(.middle) + .truncationMode(.middle) } } Spacer(minLength: 0) diff --git a/apps/macos/Sources/OpenClaw/VoicePushToTalk.swift b/apps/macos/Sources/OpenClaw/VoicePushToTalk.swift index 4b891d262b0..1a76804b247 100644 --- a/apps/macos/Sources/OpenClaw/VoicePushToTalk.swift +++ b/apps/macos/Sources/OpenClaw/VoicePushToTalk.swift @@ -172,9 +172,9 @@ actor VoicePushToTalk { let adoptedPrefix = self.adoptedPrefix let adoptedAttributed: NSAttributedString? = adoptedPrefix.isEmpty ? nil : VoiceOverlayTextFormatting .makeAttributed( - committed: adoptedPrefix, - volatile: "", - isFinal: false) + committed: adoptedPrefix, + volatile: "", + isFinal: false) self.overlayToken = await MainActor.run { VoiceSessionCoordinator.shared.startSession( source: .pushToTalk, @@ -406,5 +406,4 @@ actor VoicePushToTalk { if suffix.isEmpty { return prefix } return "\(prefix) \(suffix)" } - } diff --git a/apps/macos/Sources/OpenClaw/VoiceWakeRuntime.swift b/apps/macos/Sources/OpenClaw/VoiceWakeRuntime.swift index 7b4d60afd7a..55775ecbe0b 100644 --- a/apps/macos/Sources/OpenClaw/VoiceWakeRuntime.swift +++ b/apps/macos/Sources/OpenClaw/VoiceWakeRuntime.swift @@ -773,5 +773,4 @@ actor VoiceWakeRuntime { } #endif - }