How a9t9/rpa works
Main System Components
a) Browser Extension Layer
• Three separate browser contexts (Chrome/Edge, Firefox)
• Extension's main components:
• Background Script (src/ext/bg.js)
• Content Scripts (src/ext/content_script)
• Popup UI (src/ext/popup)
• Side Panel (src/containers/sidepanel)
b) Core Services Layer
• AI Services (src/services/ai)
• Vision Services (src/services/vision)
• Storage Services (src/services/storage)
• Player Services (src/services/player)
• OCR Services (src/services/ocr)
• Desktop Integration (src/services/desktop)
• File System Services (src/services/filesystem)
c) User Interface Components
• Dashboard (src/containers/dashboard)
• Vision Editor (src/vision_editor)
• CSV Editor (src/csv_editor)
• Settings Modal (src/components/settings_modal)
Interaction Flows
a) Data Flow
• Storage interactions between browser storage and filesystem
• Command execution flow from UI → Player → Content Scripts
• Vision/OCR processing pipeline
• AI service integration paths
b) Control Flow
• RPA execution pipeline
• Event handling and message passing between components
• Browser extension communication channels
Key Architectural Patterns to Highlight
a) Service Architecture
• Separation of services in src/services
• Modular structure of each service
b) State Management
• Redux store (src/redux)
• Action/reducer flow (src/actions, src/reducers)
c) Extension Architecture
• Demonstrate the separation between background, content scripts, and UI
• IPC (Inter-Process Communication) patterns (src/common/ipc)
Integration Points
External integrations:
• Native host communication
• AI services connection
• File system access
• Desktop automation capabilities