=== Aaggrruu AI Chat Agent ===
Contributors: aaggrruu
Tags: chat, support, ai, widget, customer service
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a smart AI support agent to your site in seconds. It reads your knowledge base and answers customers 24/7. No servers, no coding.

== Description ==

Aaggrruu AI Chat Agent provides a complete AI support solution that works out of the box. Add an intelligent support agent to your WordPress site in just 60 seconds. 

The AI agent reads the knowledge base you provide (via a simple JSON file) and gives accurate, helpful answers to your visitors automatically, 24/7.

= Everything You Need =

* **Browser Cache:** Repeated questions get answered instantly from localStorage. Zero API calls, zero cost.
* **Powered by Top AI:** Uses advanced LLM models via secure API connection with automatic fallback for 99.9% uptime.
* **Fully Customizable:** Custom colors, operator names, and themes to match your brand perfectly.
* **7+ Languages:** English, Russian, Ukrainian, Polish, German, Spanish, French — with localized operator names and UI strings.
* **Lightweight & Fast:** No dependencies. No jQuery. No frameworks. Just works.

= Create Your Knowledge Base =
Simply create a `supports-chat.json` file in your WordPress root directory with your business info, FAQs, and any data the AI should know! The AI also scans your website for additional context.

For more information, visit [Supports.Chat](https://supports.chat/).

== External services ==

This plugin relies on external services to provide the AI chat functionality.

It connects to the Supports.Chat platform (`https://supports.chat/chat.js`) to load the widget interface and process visitor messages using AI models. The visitor's message and browser context are sent to the service to provide accurate answers based on your knowledge base. 
This service is provided by Supports.Chat:
* [Terms of Service](https://supports.chat/terms)
* [Privacy Policy](https://supports.chat/privacy)

== Installation ==

1. Install and activate the plugin through the 'Plugins' menu in WordPress.
2. Go to 'Settings' > 'AI Support Chat' to configure your widget.
3. Select your preferred language, theme color, and custom operator name.
4. Save your settings. The chat widget will automatically appear on the frontend of your website!
5. (Recommended) Create a `supports-chat.json` file in your site's root directory with your business knowledge base.

== Frequently Asked Questions ==

= Does it really work out of the box? =
Yes! Just activate the plugin and the chat widget is immediately live on your site.

= Where do I put my knowledge base? =
Create a simple JSON file (`supports-chat.json`) in your website's root directory with your business info, FAQs, stock levels, policies — anything you want the AI to know. 

= Does it support my language? =
We currently support English, Russian, Ukrainian, Polish, German, Spanish, and French. You can select the language from the plugin settings.

= Where is the data processed? =
Questions are processed by the AI and not saved on our servers. The cache lives only in the visitor's browser.

== Screenshots ==

1. The AI Support Chat widget on your website.
2. The simple WordPress settings page to customize your widget.

== Changelog ==

= 1.0.1 =
* Changed name to clarify ownership and resolve trademarks issue.
* Fixed WordPress core wp_enqueue_script standards.
* Added External services documentation.

= 1.0.0 =
* Initial release.

