native macOS codings agent orchestrator prowl.onev.cat
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637nonisolated struct AgentScreenRuleID: Equatable, Hashable, Sendable { let rawValue: String
nonisolated init(_ rawValue: String) { precondition(!rawValue.isEmpty, "Agent screen rule IDs must not be empty.") self.rawValue = rawValue }}
nonisolated enum AgentScreenDetectionReason: Equatable, Sendable { case matched(AgentScreenRuleID) case noRuleMatched case legacyDetector /// Not a classification: the screen was not consulted because an eligible OSC 7501 /// root record holds authority (docs-ai 079). Only a decision carries it; a scan /// never produces it. case delegated
nonisolated var identifier: String { switch self { case .matched(let ruleID): return ruleID.rawValue case .noRuleMatched: return "fallback.noRuleMatched" case .legacyDetector: return "legacy.detector" case .delegated: return "screen.delegated" } }}
nonisolated struct AgentScreenDetection: Equatable, Sendable { let state: AgentRawState let reason: AgentScreenDetectionReason}