=== Aysa.ai - Research & Analysis ===
Contributors: aysaai
Tags: seo, analysis, research, domain authority, keyword research, competitor analysis
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.3.56
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A powerful SEO research and analysis tool for WordPress that helps you analyze domain authority, discover keywords, and analyze competitors.

== Description ==

Aysa.ai is a comprehensive SEO research and analysis tool that provides valuable insights for your website's optimization. The plugin offers the following features:

* Domain Authority Analysis
* Keyword Discovery
* Competitor Keyword Gap Analysis
* Competitor Identification
* Competitor Backlink Analysis
* Competitor Content Strategy
* Google Local SEO & Listings

= Features =

* **Domain Authority Analysis**: Get detailed insights about your domain's authority and performance metrics.
* **Keyword Discovery**: Find relevant keywords for your content strategy.
* **Competitor Analysis**: Analyze your competitors' strategies and identify opportunities.
* **Local SEO**: Optimize your local search presence and listings.

= Installation =

1. Upload the `aysa` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to 'Aysa.ai' in your WordPress admin menu to access the dashboard

= Frequently Asked Questions =

= Does this plugin require API credentials? =

Yes. The plugin requires an active AYSA account, authentication, and a valid activation/access key to unlock features.

= Can I use this plugin on multiple sites? =

Yes, the plugin is licensed under GPL v2, which allows you to use it on multiple sites.

= Support =

For support, please visit our [support page](https://aysa.ai/support).

= Changelog =

= 1.2.18 =
* Publish important conversational events to AYSA Notification Center.
* Send keyword refresh completion/failure and approval-required events through the app notification pipeline.
* Keep plugin chat notifications aligned with app notifications and conversational email delivery.

= 1.2.17 =
* Moved keyword suggestion refresh to a background worker flow in chat and Keyword Discovery.
* Added live completion/failure notifications for background keyword refresh jobs.
* Improved async intent contract for keyword refresh in the conversational agent.

= 1.2.1 =
- Fix duplicate "Connect Google" setup button and add inline Google CTA inside the setup chat.

= 1.2.0 =
* Introduced AYSA Apprentice as the main novice-first experience
* Unified setup and execution into a single visible agent flow
* Reduced visible navigation so users can work through the agent without module hopping
* Improved action-first guidance with approval before sensitive SEO changes

= 1.1.0 =
* Fixed credit display issues in settings page - now loads credits from dashboard component
* Implemented proper credit analytics loading with current balance, total used, monthly usage, and daily average
* Fixed transaction history balance calculations - now correctly shows running balance from current credits
* Enhanced credit data loading with proper error handling and fallback mechanisms
* Improved transaction formatting with proper date display and transaction type badges
* Added comprehensive credit summary statistics and transaction history rendering
* Fixed "Balance After" calculations to show correct historical balances
* Enhanced credit component integration across all settings page sections

= 1.0.9 =
* Converted settings page from jQuery to plain JavaScript for better compatibility
* Fixed "Unexpected end of input" syntax error by properly closing all functions
* Replaced jQuery AJAX calls with native fetch API
* Improved tab switching functionality using vanilla JavaScript
* Enhanced error handling and null checks throughout the settings page
* Added proper function closures and modular code structure
* Fixed authentication status display and API controls
* Improved range input functionality and advanced settings
* Made utility functions globally available for onclick handlers

= 1.0.7 =
* Fixed settings page display issues - added missing HTML content structure
* Resolved JavaScript errors preventing settings page from loading
* Added proper null checks for DOM elements to prevent errors
* Fixed authentication status display and chart rendering issues
* Enhanced settings page with complete tab navigation and content areas
* Improved error handling for missing DOM elements

= 1.0.6 =
* Added calculable "Balance After" field in credit transaction history
* Improved credit analytics display with proper balance tracking
* Enhanced transaction history with running balance calculations
* Fixed horizontal tab navigation in settings page
* Added proper date formatting for transaction history

= 1.0.5 =
* Enhanced dashboard with call-to-action buttons
* Improved user experience with better navigation

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.8 =
This update fixes critical JavaScript errors in the settings page that were causing "Cannot set properties of null" errors. All DOM element access now includes proper null checks, and missing helper functions have been added for complete functionality. 
