=== Aria — AI Receptionist (Chat & Voice) ===
Contributors:      dandurand14
Tags:              chat, ai chatbot, live chat, lead capture, ai assistant
Requires at least: 5.8
Tested up to:      6.9
Requires PHP:      7.4
Stable tag:        1.0.4
License:           GPLv2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Add the Aria AI receptionist to your WordPress site in one click. Aria handles bookings, FAQs, and lead capture 24/7 — by chat, voice, and SMS.

== Description ==

Aria is an AI receptionist for small businesses. She answers customer questions on your website, books appointments straight into your calendar, and captures leads when you're closed. This plugin drops the Aria chat widget on every page of your WordPress site — no copy-paste, no theme edits.

= What you get =

* **Conversational chat widget** — Aria answers visitor questions using your business info, hours, services, and FAQs.
* **Booking** — Aria captures booking requests with name, contact info, and preferred time, and sends them to your dashboard or Google Calendar.
* **Lead capture** — when Aria can't book, she takes a message with the customer's contact info so you can follow up.
* **Bilingual** — English and Quebec French out of the box; Aria adapts to whichever language the visitor opens with.

= How it works =

1. Sign up at https://heyaria.ca and configure your Aria.
2. Install this plugin, activate it, and paste your Aria slug under Settings → Aria.
3. Done. Visit any page on your site — the chat bubble appears in the bottom corner.

This plugin is free; an Aria account is required (free trial available at https://heyaria.ca).

= External service =

This plugin requires an Aria account and connects your site to Aria, a third-party AI receptionist service operated by Aria AI Inc. ( https://heyaria.ca ). When the plugin is active and a slug is configured, every page on your site loads a single JavaScript file from `https://heyaria.ca/widget.js`. That script runs in your visitors' browsers and renders the Aria chat bubble. The widget then exchanges messages directly between your visitors' browsers and Aria's servers — your WordPress install itself is not in the data path; the plugin only inserts the script tag.

* Aria Terms of Service: https://heyaria.ca/terms
* Aria Privacy Policy: https://heyaria.ca/privacy

= What data is sent =

* From your WordPress site to Aria's servers: nothing. The plugin makes no server-to-server requests.
* From your visitors' browsers (after they interact with the chat bubble) to Aria's servers: chat messages they send, page URL they're on, and any contact info they provide voluntarily for booking or follow-up. Standard for any chat widget.
* From your WordPress admin: nothing — the plugin stores your slug locally in your WordPress options table and does not transmit it.

= Privacy =

This plugin does not collect, store, or transmit any personal data from your WordPress install on its own. Visitor chat data is processed by Aria; see Aria's privacy policy ( https://heyaria.ca/privacy ) for details on retention and rights.

== Installation ==

1. In your WordPress admin, go to **Plugins → Add New**.
2. Search for "Aria AI Receptionist".
3. Click **Install Now**, then **Activate**.
4. Open **Settings → Aria** and paste your Aria slug (find it in your Aria dashboard under Chat widget → Install).
5. Save. The widget is live on every page.

To verify, visit your site as a regular visitor — you should see the Aria chat bubble in the bottom-right corner. You can also click "Check installation" inside your Aria dashboard.

== Frequently Asked Questions ==

= Do I need an Aria account? =

Yes — sign up at https://heyaria.ca. There's a free trial.

= Where do I find my Aria slug? =

In your Aria dashboard, open Chat widget → Install. Your slug is shown at the top of the install card.

= Will this slow down my site? =

The Aria widget loads asynchronously after your page finishes rendering, so it has no impact on Core Web Vitals or initial paint. The script weighs about 30 KB gzipped.

= How do I change the widget colors or position? =

Inside your Aria dashboard, open Chat widget → Appearance and Behavior. Changes propagate live; you don't need to re-install or re-save anything in WordPress.

= Can I hide the widget on certain pages? =

Yes — in your Aria dashboard, configure page-level visibility rules under Chat widget → Behavior. The plugin itself injects on every page; per-page targeting is handled inside the widget.

= How do I uninstall? =

Deactivate the plugin from Plugins. The widget is removed instantly. Your Aria account and conversation history stay intact.

== Screenshots ==

1. Settings page — paste your Aria slug.
2. The chat widget on a customer's site.
3. Aria answering a question with industry-specific knowledge.

== Changelog ==

= 1.0.4 =
* Plugin URI now points at https://heyaria.ca/integrations/wordpress
  — a real plugin-specific landing page (install steps, FAQ, EN+FR
  copy) instead of the generic homepage we used in 1.0.3 to clear
  the wp.org reviewer's 404. No runtime changes versus 1.0.3.

= 1.0.3 =
* Plugin metadata cleanup for wp.org review: Plugin URI now points
  at https://heyaria.ca/ (the prior integrations/wordpress path
  404'd) and Contributors lists the wp.org username of the plugin
  owner. No runtime changes — same Shadow-DOM widget bundle as 1.0.2.

= 1.0.2 =
* Switched to the standalone widget.js bundle (Shadow DOM mount) so
  the widget renders inline on every page identically to the
  dashboard's Live Preview. Replaces the 1.0.1 iframe loader path.
  No customer action needed — re-saving Settings → Aria isn't
  required after the update.

= 1.0.1 =
* Fix: switched the widget loader URL from /widget.js (placeholder) to
  /api/embed?id=<slug>, which is the live Aria embed endpoint. The
  initial 1.0.0 build pointed at a path that returned 404; with 1.0.1
  the chat bubble loads correctly on every page.

= 1.0.0 =
* Initial public release.
* One-field settings page; widget injected via wp_footer on the frontend.
* Plugin action link to Settings.
* Slug sanitization (alphanumeric + hyphen + underscore).

== Upgrade Notice ==

= 1.0.4 =
Plugin URI updated to a plugin-specific landing page. No behavior
change versus 1.0.3.

= 1.0.3 =
Metadata fixes for wp.org review (Plugin URI + Contributors). No
behavior change versus 1.0.2.

= 1.0.2 =
Switches the widget to the standalone Shadow-DOM bundle so it renders
inline (no iframe). Visual fidelity matches the Aria dashboard preview.

= 1.0.1 =
Fixes the widget loader URL — the 1.0.0 build never actually rendered
the chat bubble because the script src 404'd. Update immediately.

= 1.0.0 =
First release.
