import AppIntents import UIKit @available(iOS 16.0, *) struct ClockOutIntent: AppIntent { static var title: LocalizedStringResource = "Clock Out" static var description = IntentDescription("Stop the running beenvoice timer and save your time.") static var openAppWhenRun: Bool = false func perform() async throws -> some IntentResult { guard let url = URL(string: "beenvoice://shortcuts/clock-out") else { return .result() } await MainActor.run { UIApplication.shared.open(url) } return .result() } }