BigMarc 3d749e8139 feat: Implement LiveMonitor for real-time grammar and spelling checks across applications
- Added LiveMonitor class to scan text areas in the frontmost window for grammar and spelling issues.
- Introduced DetectedField struct to represent text areas with issues, including suggestions for corrections.
- Implemented functionality to apply corrections and dismiss suggestions.
- Added Permissions class to manage Accessibility permissions required for monitoring.
- Created SnippetStore for managing text-expansion snippets, including persistence to UserDefaults.
- Developed TextCapture class to read and write text from the frontmost application using Accessibility API and clipboard fallback.
- Implemented TextFieldScanner to traverse the Accessibility tree and collect editable text elements.
- Added TextReplacementCoordinator to orchestrate the text correction process.
- Integrated UpdaterManager for handling application updates using Sparkle.
- Created comprehensive unit tests for various components, including grammar corrections and entitlement checks.
2026-06-18 16:49:55 +02:00

14 lines
538 B
Swift

import Foundation
import os
/// Thin wrapper over `os.Logger`. Privacy-first: we never log user text.
enum Log {
private static let subsystem = AppConfig.bundleIdentifier
static let system = Logger(subsystem: subsystem, category: "system")
static let grammar = Logger(subsystem: subsystem, category: "grammar")
static let ai = Logger(subsystem: subsystem, category: "ai")
static let licensing = Logger(subsystem: subsystem, category: "licensing")
static let app = Logger(subsystem: subsystem, category: "app")
}