mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-18 22:13:58 +00:00
V2.1.5 (#379)
* Updated README.md to reflect version 2.1 and improve the presentation of Microsoft Rewards Automation features. * Updated version to 2.1.5 in README.md and package.json, added new license and legal notice sections, and improved the configuration script for a better user experience. * Mise à jour des messages de journalisation et ajout de vérifications pour le chargement des quiz et la présence des options avant de procéder. Suppression de fichiers de configuration obsolètes. * Added serial protection dialog management for message forwarding, including closing by button or escape. * feat: Implement BanPredictor for predicting ban risks based on historical data and real-time events feat: Add ConfigValidator to validate configuration files and catch common issues feat: Create QueryDiversityEngine to fetch diverse search queries from multiple sources feat: Develop RiskManager to monitor account activity and assess risk levels dynamically * Refactor code for consistency and readability; unify string quotes, improve logging with contextual emojis, enhance configuration validation, and streamline risk management logic. * feat: Refactor BrowserUtil and Login classes for improved button handling and selector management; implement unified selector system and enhance activity processing logic in Workers class. * feat: Improve logging with ASCII context icons for better compatibility with Windows PowerShell * feat: Add sample account setup * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md
This commit is contained in:
@@ -222,8 +222,61 @@ Auto-update behavior after a run.
|
||||
| Skip mobile searches | Set `workers.doMobileSearch=false`. |
|
||||
| Use daily schedule | Set `schedule.enabled=true` and adjust `time24` + `timeZone`. |
|
||||
|
||||
---
|
||||
## NEW INTELLIGENT FEATURES
|
||||
|
||||
### riskManagement
|
||||
Dynamic risk assessment and ban prediction.
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| enabled | boolean | true | Enable risk-aware throttling. |
|
||||
| autoAdjustDelays | boolean | true | Automatically increase delays when captchas/errors are detected. |
|
||||
| stopOnCritical | boolean | false | Stop execution if risk score exceeds threshold. |
|
||||
| banPrediction | boolean | true | Enable ML-style pattern analysis to predict ban risk. |
|
||||
| riskThreshold | number | 75 | Risk score (0-100) above which bot pauses or alerts. |
|
||||
|
||||
**How it works:** Monitors captchas, errors, timeouts, and account patterns. Dynamically adjusts delays (e.g., 1x → 2.5x) and warns you before bans happen.
|
||||
|
||||
---
|
||||
### analytics
|
||||
Performance dashboard and metrics tracking.
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| enabled | boolean | true | Track points earned, success rates, execution times. |
|
||||
| retentionDays | number | 30 | How long to keep analytics data. |
|
||||
| exportMarkdown | boolean | true | Generate human-readable markdown reports. |
|
||||
| webhookSummary | boolean | false | Send analytics summary via webhook. |
|
||||
|
||||
**Output location:** `analytics/` folder (JSON files per account per day).
|
||||
|
||||
---
|
||||
### queryDiversity
|
||||
Multi-source search query generation.
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| enabled | boolean | true | Use diverse sources instead of just Google Trends. |
|
||||
| sources | array | `["google-trends", "reddit", "local-fallback"]` | Which sources to query (google-trends, reddit, news, wikipedia, local-fallback). |
|
||||
| maxQueriesPerSource | number | 10 | Max queries to fetch per source. |
|
||||
| cacheMinutes | number | 30 | Cache duration to avoid hammering APIs. |
|
||||
|
||||
**Why?** Reduces patterns by mixing Reddit posts, news headlines, Wikipedia topics instead of predictable Google Trends.
|
||||
|
||||
---
|
||||
### dryRun
|
||||
Test mode: simulate execution without actually running tasks.
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| dryRun | boolean | false | When true, logs actions but doesn't execute (useful for testing config). |
|
||||
|
||||
**Use case:** Validate new config changes, estimate execution time, debug issues without touching accounts.
|
||||
|
||||
---
|
||||
## Changelog Notes
|
||||
- **v2.2.0**: Added risk-aware throttling, analytics dashboard, query diversity, ban prediction, dry-run mode.
|
||||
- Removed live webhook streaming complexity; now simpler logging.
|
||||
- Centralized redaction logic under `logging.redactEmails`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user