native macOS codings agent orchestrator prowl.onev.cat
Something went wrong. Try again.
771 B · 44 lines
Swift
123456789101112131415161718192021222324252627282930313233343536373839404142434445import Foundation
enum DetectedAgent: String, CaseIterable, Equatable, Identifiable, Sendable { // swiftlint:disable:next identifier_name case pi case omp case claude case codex case gemini case cursor = "cursor-agent" case cline case opencode case copilot case kimi case droid case amp case qoder = "qodercli" case qwen case grok
var id: String { rawValue }
nonisolated var displayName: String { switch self { case .cursor: return "cursor" default: return rawValue } }
nonisolated var iconLookupToken: String { switch self { case .claude: return "claude" case .copilot: return "copilot" case .cursor: return "cursor" default: return rawValue } }}