- Add user-agent-updater.js to automatically fetch latest factory-cli version - Fetch version from https://downloads.factory.ai/factory-cli/LATEST on startup - Automatically refresh version every hour - Implement retry mechanism: max 3 retries with 1-minute intervals on failure - Use user_agent from config.json as fallback value - Update config.js to use dynamic user-agent - Initialize updater in server.js startup sequence
3.0 KiB
3.0 KiB