=== AxG AI Site Assistant ===
Contributors: mathiasax
Tags: chatbot, ai assistant, chat bubble, customer support, dialogflow
Requires at least: 5.0
Tested up to: 7.0.3
Stable tag: 6.8.9
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

An elegant, fully responsive floating AI Chatbot bubble for your WordPress site. Connects securely to our secure AI Search platform.

== Description ==

AxG AI Site Assistant is a beautiful, fully customizable floating chat bubble that connects securely to your personal AI chatbot. 

With this plugin, you can easily embed your custom-trained AI assistant directly on your WordPress site to answer customer questions, book meetings, and handle support requests 24/7.

= Secure Proxy Authentication =
This plugin connects to a secure central API hosted at `https://europe-west3-wp-vertex-chatbot.cloudfunctions.net/generate_demo_chatbot` to relay chat messages securely. No private API keys or credentials are exposed to the browser, ensuring 100% security for your service quota.

= Key Features =
*   **Easy Installation:** Just enter your custom Agent ID in the admin settings.
*   **Highly Responsive:** Beautiful floating bubble designed to look gorgeous on both mobile and desktop.
*   **Polite Fallbacks:** Configured to always respond in Sweden, English, or German with professional fallback smalltalk.
*   **Session Message Budgeting:** Safeguards your API quota automatically.

== Installation ==

1.  Search for `AxG AI Site Assistant` directly in your WordPress Admin Dashboard under **Plugins > Add New**.
2.  Click **Install Now** and then **Activate**.
3.  Navigate to **Settings > AxG AI** in your WordPress sidebar.
4.  Enter your custom **Agent ID**, **Language**, and styling preferences, then click **Save Settings**.
5.  *(Optional)* Place the shortcode `[axgai_chat]` anywhere on your site to render the bubble explicitly on a specific page.

== External services ==

This plugin connects to a third-party API to process and relay your website chat conversations securely.

- **Service Name:** Axelsson Graphics AI Platform
- **Endpoint URL:** `https://europe-west3-wp-vertex-chatbot.cloudfunctions.net`
- **Why it is used:** Relays the website visitor's chat messages to our secure AI Search platform to generate AI search responses securely, protecting your server credentials from being exposed in public front-end code.
- **Data sent:** Relays the raw chat messages typed by the visitor, their selected session ID, and the configured language code. No personal identifying information (PII) is sent unless typed by the user.
- **Terms of Service:** [Axelsson Graphics Terms of Service](https://axelsson.graphics/terms/)
- **Privacy Policy:** [Axelsson Graphics Privacy Policy](https://axelsson.graphics/privacy/)

== Frequently Asked Questions ==

= Do I need a Google Cloud account? =
No! You can generate a free 30-day trial bot directly on axelsson.graphics, receive your custom Agent ID, and paste it into this plugin to be live in seconds!

= Is my data secure? =
Yes. All communication is routed securely via an authenticated proxy, protecting your site and your users.

== Changelog ==

= 6.8.9 =
* Feature: Added direct admin setting toggle for the 25-second Smart Cart/Checkout Nudge under Proactive Sales Triggers.
* Feature: Added 1-Click Custom Q&A AI Training box directly inside the admin settings page.
* Enhancement: General admin UI clarity and performance improvements.

= 6.8.8 =
* Feature: Zero-Config Auto-Connect on activation — automatically connects your website domain to your customized AI Agent, Client Slug, and Brand Theme Color with 1 click.
* Feature: Smart Cart Abandonment Nudge and context-prefilled WhatsApp support handoff.
* Enhancement: General stability, conversion attribution, and performance improvements.

= 6.8.7 =
* Feature: Interactive Mouse-Tracking Animated Mascot Eyes with real-time cursor tracking.
* Feature: Web Speech API Voice Input microphone transcription button in chat input bar.
* Feature: Automatic toggle button fallback to classic circular theme button when mascot animation is disabled.
* Enhancement: General UI responsiveness, smooth pupil physics, and accessibility improvements.

= 6.8.6 =
* Feature: Refactored admin settings panel for clean, streamlined configuration.
* Enhancement: General UI stability, performance optimizations, and cache-buster asset enqueue updates.

= 6.8.5 =
* Feature: Refined AI Persona & System Prompt configuration interface for clean, lightweight website integration.
* Value: Seamlessly customize system instructions for Gemini 2.5 Flash on your WordPress site.

= 6.8.4 =
* Feature: Added AI Sales Persona & Custom System Prompt settings with 4 instant persona presets (Pro Sales, Customer Support, Luxury Concierge, Playful).
* Feature: Improved storefront chat responsiveness with smooth multimodal visual search and instant product recommendations.
* Feature: Updated admin settings interface for cleaner configuration across desktop and mobile views.

= 6.8.3 =
* Feature: Refactored UI with Shadow DOM for 100% CSS encapsulation and zero theme conflicts.
* Feature: Added support for horizontal product carousels and smooth visual pagination.
* Feature: Added typing indicator animation ("Svarar...") and image attachment previews.
* Enhancement: General UI responsiveness and layout stability improvements.

= 6.7.20 =
* Feature: Integrated seamless white-label checkout and premium subscription management.
* Feature: Added support for quick-ask questions, custom contact info, and opening hours.
* Enhancement: Redesigned mobile experience with full-screen overlay for touch devices.
* Enhancement: Integrated WordPress Media Library for easy avatar and header image selection.

= 6.7.0 =
* Feature: Added Proactive Sales Triggers (Inactivity, Scroll Depth, Exit Intent).
* Feature: Multi-language support for Swedish, English, and German.
* Enhancement: Direct integration with Stripe checkout and automated onboarding tracking.

= 6.5.0 =
* Feature: Initial release of AxG AI Site Assistant.
* Feature: Secure AI proxy integration, custom theme styling, and polite fallbacks.

