Includes provider integrations, settings, NSStatusItem UI, tests, Makefile, and README with screenshot. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
420 B
Swift
22 lines
420 B
Swift
import Foundation
|
|
|
|
enum ProviderID: String, Codable, CaseIterable, Identifiable, Sendable {
|
|
case cursor
|
|
case claude
|
|
|
|
var id: String { rawValue }
|
|
|
|
var displayName: String {
|
|
switch self {
|
|
case .cursor: "Cursor"
|
|
case .claude: "Claude"
|
|
}
|
|
}
|
|
|
|
var defaultMenuBarLabel: String {
|
|
switch self {
|
|
case .cursor: "Cu"
|
|
case .claude: "C"
|
|
}
|
|
}
|
|
}
|