feat(automation): add nut.js OS-level automation adapter per architecture spec - Create NutJsAutomationAdapter implementing IBrowserAutomation with OS-level mouse/keyboard control - Use mouse.move(), mouse.leftClick(), keyboard.type(), keyboard.pressKey() for real OS automation - Cross-platform support (Command key for macOS, Control key for Windows/Linux) - Production mode in DI container now uses NutJsAutomationAdapter - Add mouseSpeed and keyboardDelay configuration options - Add companion:production npm script for production mode - Step 18 (TRACK_CONDITIONS) maintains safety stop before checkout

This commit is contained in:
2025-11-21 21:53:46 +01:00
parent 92db83a3c4
commit 27dd4b87a5
7 changed files with 1692 additions and 6 deletions

View File

@@ -188,6 +188,8 @@ describe('AutomationConfig', () => {
browserWSEndpoint: 'ws://localhost:9222/devtools/browser/test',
},
nutJs: {
mouseSpeed: 1000,
keyboardDelay: 50,
windowTitle: 'iRacing',
templatePath: './resources/templates',
confidence: 0.9,