Description
## Overview I am looking for an experienced JavaScript/Node.js developer to help finalize an AI-powered messaging automation system. The project already includes: * AI engine with support for multiple providers (OpenAI, Claude, local LLMs) * Human behavior module for configurable delays and response pacing * REST API backend * Chrome extension dashboard * Existing conversation management logic The remaining work involves implementing reliable message detection, message processing, response delivery workflows, testing, and production hardening. ## Scope of Work ### 1. Message Detection & Processing Implement a reliable system that can: * Detect incoming messages in near real time * Extract message metadata: * Username * Message content * Timestamp * Message ID * Attachment information (if available) * Filter duplicate, system, or blocked-user messages * Maintain conversation state and message history ### 2. Message Delivery Workflow Implement a robust message sending pipeline: * Locate and interact with chat interfaces reliably * Handle UI state changes gracefully * Integrate with the existing human behavior module * Verify message delivery * Implement retry mechanisms and timeout handling ### 3. Error Handling & Recovery Implement comprehensive recovery mechanisms for: * Network interruptions * Session expiration * Authentication issues * UI changes * Timeout scenarios Requirements: * Automatic retries * Exponential backoff * Detailed logging * Graceful recovery workflows ###