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