Files
gridpilot.gg/packages/infrastructure/adapters/automation/index.ts

35 lines
1.4 KiB
TypeScript

/**
* Automation adapters for OS-level screen automation.
*
* Exports:
* - MockBrowserAutomationAdapter: Mock adapter for testing
* - NutJsAutomationAdapter: OS-level automation via nut.js
* - PermissionService: macOS permission checking for automation
* - ScreenRecognitionService: Image template matching for UI detection
* - TemplateMatchingService: Low-level template matching operations
* - WindowFocusService: Window management for automation
* - IRacingTemplateMap: Image templates for iRacing UI elements
*/
// Adapters
export { MockBrowserAutomationAdapter } from './MockBrowserAutomationAdapter';
export { NutJsAutomationAdapter } from './NutJsAutomationAdapter';
export type { NutJsConfig } from './NutJsAutomationAdapter';
// Services
export { PermissionService } from './PermissionService';
export type { PermissionStatus, PermissionCheckResult } from './PermissionService';
export { ScreenRecognitionService } from './ScreenRecognitionService';
export { TemplateMatchingService } from './TemplateMatchingService';
export { WindowFocusService } from './WindowFocusService';
// Template map and utilities
export {
IRacingTemplateMap,
getStepTemplates,
getStepName,
isModalStep,
getLoginIndicators,
getLogoutIndicators,
} from './templates/IRacingTemplateMap';
export type { IRacingTemplateMapType, StepTemplates } from './templates/IRacingTemplateMap';