=== OnlyAI SEO ===
Contributors: onlyaimatters
Tags: seo, artificial intelligence, content optimization, keyword research, google analytics, search console, multi-agent, ai automation
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Stable tag: 2.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

World's most advanced SEO system with 29 specialized AI agents. Complete SEO automation including neural networks, self-healing, edge computing, privacy-first compliance, and predictive analytics.

== Description ==

OnlyAI SEO is a revolutionary WordPress plugin that deploys 29 specialized AI agents working collaboratively to automate every aspect of your SEO strategy.

= Key Features =

* **29 AI Agents**: Specialized agents for keyword research, content generation, competitor analysis, SERP monitoring, predictive analytics, voice search, social amplification, video synthesis, programmatic SEO, A/B testing, and more
* **Multi-Agent Collaboration**: Agents communicate and work together via swarm intelligence with consensus voting
* **Neural Network Optimization**: Deep learning for content scoring, reinforcement learning for strategy, semantic understanding at scale
* **Self-Healing System**: Autonomous error detection, automatic issue resolution, crisis management, predictive maintenance
* **Real-Time SERP Monitoring**: 5-minute interval tracking of keyword positions, competitor movements, and ranking changes
* **Predictive Analytics**: Forecast ranking trends, traffic potential, content performance using advanced ML models
* **Privacy-First Architecture**: Full GDPR/CCPA/PIPL compliance with cookieless tracking and built-in consent management
* **Edge Computing**: Sub-100ms global latency with WebAssembly modules and distributed SEO processing
* **OnlyAI Hub Integration**: Centralized AI intelligence platform for simplified setup and enhanced capabilities

= How It Works =

1. **Setup**: Connect OnlyAI Hub (2-minute setup at onlyaiseo.com)
2. **Agent Activation**: 29 AI agents initialize and begin collaborative work
3. **Real-Time Monitoring**: SERP tracker monitors positions every 5 minutes
4. **Predictive Analysis**: Neural networks forecast trends and opportunities
5. **Content Automation**: Agents generate, optimize, and update content autonomously
6. **Self-Healing**: System detects and fixes issues automatically
7. **Continuous Optimization**: 24/7 autonomous operation with zero manual intervention

= Use Cases =

* Automate entire SEO workflow with 29 specialized AI agents
* Generate thousands of optimized content pieces via programmatic SEO
* Monitor rankings in real-time and respond to changes within minutes
* Predict SEO trends and optimize strategy proactively
* Scale content operations without increasing team size
* Maintain perfect SEO health with self-healing automation

== Installation ==

1. Upload `onlyai-seo` folder to `/wp-content/plugins/`
2. Activate plugin through WordPress Plugins menu
3. Register at onlyaiseo.com to get your Hub API key
4. Go to SEO → OnlyAI SEO → Settings to connect Hub
5. All 29 agents activate automatically!

== Configuration ==

= Google Integrations =

1. Create a Google Cloud project
2. Enable Analytics API and Search Console API
3. Create service account or OAuth credentials
4. Paste JSON credentials in settings
5. Add GA profile ID and Search Console URL

= AutoArticle AI (Optional) =

For AI-powered updates:
1. Get API key from autoarticleai.com
2. Paste in plugin settings
3. Enable auto-updates
4. Review and approve suggestions

== Frequently Asked Questions ==

= Does this work with Rank Math or Yoast SEO? =

Yes! OnlyAI SEO integrates with both Rank Math and Yoast SEO for technical SEO scoring.

= Is my data safe? =

Absolutely. All API keys are encrypted in the database. We don't store your data on external servers except for optional AutoArticle AI integration.

= How often does it update? =

Keywords are fetched hourly. Posts are scored twice daily. AI updates run on schedule based on your settings.

= Can I control what gets updated? =

Yes! All AI updates require your approval before being applied. You can review changes side-by-side.

== Screenshots ==

1. Dashboard overview with stats
2. Keyword research table with opportunity scores
3. Post scores with breakdown by factor
4. AI update approval queue
5. Topic suggestions from multiple sources

== Changelog ==

= 1.0.0 =
* Initial release
* Multi-source keyword research
* 5-factor post scoring system
* AI agent for content updates
* Topic suggestions
* Google API integrations
* Real-time dashboard

== Upgrade Notice ==

= 1.0.0 =
First stable release. Enjoy automated SEO optimization!

== Credits ==

Developed by OnlyAI Matters team.
Powered by AutoArticle AI API for agentic features.

== License ==

GPLv2 or later

= OnlyAI Hub Setup =

OnlyAI Hub (onlyaiseo.com) is the centralized AI intelligence platform that powers all 29 agents.

== Quick Setup ==

1. Register at onlyaiseo.com (free account available)
2. Generate API Key from Account → API Keys
3. Enter key in Settings → Hub Connection
4. Test connection and start using agents!

== Hub Plans ==

* Starter (Free): 1,000 API calls/month, 10 basic agents
* Pro ($29/mo): 25,000 calls/month, all 29 agents, analytics
* Enterprise ($99/mo): Unlimited calls, priority processing, SLA

== FAQ ==

= Do I need Claude API key? =

No! OnlyAI Hub handles all AI integration. Just get your Hub API key and start.

= Can I use multiple sites? =

Yes! One Hub API key works across unlimited WordPress sites. Usage aggregates in your Hub account.

= What happens if I exceed my limit? =

Agents pause automatically. Upgrade your plan or wait for monthly reset (1st of each month).

= Is my data secure? =

Yes! All data encrypted in transit, never stored on Hub servers, GDPR/CCPA/PIPL compliant.

= How do I cancel? =

Cancel anytime at onlyaiseo.com/account. Plugin continues working with Hub connection.

== Changelog ==

= 2.0.2 =
* Change: Hub API endpoint moved to api.onlyaiseo.com (WordPress backend for agent intelligence)
* Fixed: Download button on onlyaiseo.com now serves the plugin zip directly

= 2.0.1 =
* Fixed: Database schema/code alignment (agent messages, logs, feature tables)
* Fixed: Google OAuth flow now uses nonce-verified AJAX with proper redirect
* Fixed: Settings page Google/Search Console actions (save/clear/load sites) wired up
* Fixed: AI Updates queue now populated by content health checks; approve/dismiss/bulk actions work
* Fixed: Missing admin scripts re-enqueued (dashboard stats, OAuth, updates queue)
* Security: SQL injection hardening in keywords and post scores tables
* Security: Token manager redacts credentials before logging
* Fixed: Cron task wiring, engine status/autopilot option names

= 2.0.0 =
* Major: OnlyAI Hub integration - centralized AI intelligence
* Major: 29 specialized AI agents with swarm intelligence
* New: Neural network optimization with deep learning
* New: Self-healing system for autonomous error recovery
* New: Real-time SERP monitoring (5-minute intervals)
* New: Predictive analytics for SEO forecasting
* New: Edge computing integration for global performance
* New: Privacy-first architecture (GDPR/CCPA/PIPL)
* New: Programmatic SEO for automated page generation
* Improved: Multi-agent collaboration with consensus voting
* Improved: Advanced schema markup (15+ rich snippet types)
* Fixed: All 29 agents now production-ready
* Updated: Simplified setup via Hub (2-minute configuration)

= 1.2.8 =
* Fixed: Movie title extraction issues
* Fixed: Focus keyword entity overrides
* Fixed: Array slice data corruption handling
* Security: Enhanced input validation

== Upgrade Notice ==

Upgrading from 1.x? See migration guide in plugin documentation. Hub integration replaces direct Claude API - simpler setup, better analytics!

== Support ==

* Documentation: onlyaiseo.com/docs
* Support: support@onlyaiseo.com
* Community: onlyaiseo.com/community
* Status: status.onlyaiseo.com
