chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:22:33 +08:00
commit fc4fcbab58
1848 changed files with 472303 additions and 0 deletions
@@ -0,0 +1,30 @@
import Foundation
public enum CodexUsageDataSource: String, CaseIterable, Identifiable, Sendable {
case auto
case oauth
case cli
public var id: String {
self.rawValue
}
public var displayName: String {
switch self {
case .auto: "Auto"
case .oauth: "OAuth API"
case .cli: "CLI (RPC/PTY)"
}
}
public var sourceLabel: String {
switch self {
case .auto:
"auto"
case .oauth:
"oauth"
case .cli:
"cli"
}
}
}