import CodexBarCoreimport CodexBarMacroSupportimport Foundation @ProviderImplementationRegistrationstruct CursorProviderImplementation: ProviderImplementation { let id: UsageProvider = .cursor let supportsLoginFlow: Bool = true @MainActor func runLoginFlow(context: ProviderLoginContext) async -> Bool { await context.controller.runCursorLoginFlow() return true }}
import CodexBarCore
import CodexBarMacroSupport
import Foundation
@ProviderImplementationRegistration
struct CursorProviderImplementation: ProviderImplementation {
let id: UsageProvider = .cursor
let supportsLoginFlow: Bool = true
@MainActor
func runLoginFlow(context: ProviderLoginContext) async -> Bool {
await context.controller.runCursorLoginFlow()
return true
}
}